confluence.js 2.0.0 → 2.2.0-dev20260318121920

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 (229) hide show
  1. package/CHANGELOG.md +67 -2
  2. package/README.md +168 -181
  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 +17 -2
  53. package/dist/cjs/clients/baseClient.cjs.map +1 -1
  54. package/dist/cjs/clients/confluenceClient.cjs +6 -0
  55. package/dist/cjs/clients/confluenceClient.cjs.map +1 -1
  56. package/dist/cjs/config.cjs +7 -4
  57. package/dist/cjs/config.cjs.map +1 -1
  58. package/dist/cjs/paramSerializer.cjs.map +1 -1
  59. package/dist/cjs/services/authenticationService/authenticationService.cjs.map +1 -1
  60. package/dist/cjs/services/authenticationService/authentications/createBasicAuthenticationToken.cjs.map +1 -1
  61. package/dist/cjs/services/authenticationService/authentications/createJWTAuthentication.cjs +1 -1
  62. package/dist/cjs/services/authenticationService/authentications/createJWTAuthentication.cjs.map +1 -1
  63. package/dist/cjs/services/authenticationService/base64Encoder.cjs.map +1 -1
  64. package/dist/esm/api/analytics.mjs.map +1 -1
  65. package/dist/esm/api/audit.mjs.map +1 -1
  66. package/dist/esm/api/content.mjs +0 -5
  67. package/dist/esm/api/content.mjs.map +1 -1
  68. package/dist/esm/api/contentAttachments.mjs +1 -0
  69. package/dist/esm/api/contentAttachments.mjs.map +1 -1
  70. package/dist/esm/api/contentBody.mjs +18 -0
  71. package/dist/esm/api/contentBody.mjs.map +1 -1
  72. package/dist/esm/api/contentChildrenAndDescendants.mjs +2 -0
  73. package/dist/esm/api/contentChildrenAndDescendants.mjs.map +1 -1
  74. package/dist/esm/api/contentComments.mjs +1 -0
  75. package/dist/esm/api/contentComments.mjs.map +1 -1
  76. package/dist/esm/api/contentLabels.mjs.map +1 -1
  77. package/dist/esm/api/contentMacroBody.mjs.map +1 -1
  78. package/dist/esm/api/contentPermissions.mjs.map +1 -1
  79. package/dist/esm/api/contentProperties.mjs +1 -0
  80. package/dist/esm/api/contentProperties.mjs.map +1 -1
  81. package/dist/esm/api/contentRestrictions.mjs.map +1 -1
  82. package/dist/esm/api/contentStates.mjs +13 -0
  83. package/dist/esm/api/contentStates.mjs.map +1 -1
  84. package/dist/esm/api/contentVersions.mjs.map +1 -1
  85. package/dist/esm/api/contentWatches.mjs.map +1 -1
  86. package/dist/esm/api/dynamicModules.mjs.map +1 -1
  87. package/dist/esm/api/experimental.mjs.map +1 -1
  88. package/dist/esm/api/group.mjs +18 -17
  89. package/dist/esm/api/group.mjs.map +1 -1
  90. package/dist/esm/api/index.mjs +1 -0
  91. package/dist/esm/api/index.mjs.map +1 -1
  92. package/dist/esm/api/inlineTasks.mjs +1 -0
  93. package/dist/esm/api/inlineTasks.mjs.map +1 -1
  94. package/dist/esm/api/labelInfo.mjs.map +1 -1
  95. package/dist/esm/api/longRunningTask.mjs +1 -0
  96. package/dist/esm/api/longRunningTask.mjs.map +1 -1
  97. package/dist/esm/api/models/labeledContentType.mjs.map +1 -1
  98. package/dist/esm/api/relation.mjs.map +1 -1
  99. package/dist/esm/api/search.mjs +1 -0
  100. package/dist/esm/api/search.mjs.map +1 -1
  101. package/dist/esm/api/settings.mjs.map +1 -1
  102. package/dist/esm/api/space.mjs +4 -2
  103. package/dist/esm/api/space.mjs.map +1 -1
  104. package/dist/esm/api/spacePermissions.mjs.map +1 -1
  105. package/dist/esm/api/spaceProperties.mjs +1 -0
  106. package/dist/esm/api/spaceProperties.mjs.map +1 -1
  107. package/dist/esm/api/spaceSettings.mjs.map +1 -1
  108. package/dist/esm/api/template.mjs.map +1 -1
  109. package/dist/esm/api/themes.mjs.map +1 -1
  110. package/dist/esm/api/userProperties.mjs +54 -0
  111. package/dist/esm/api/userProperties.mjs.map +1 -0
  112. package/dist/esm/api/users.mjs.map +1 -1
  113. package/dist/esm/clients/baseClient.mjs +18 -3
  114. package/dist/esm/clients/baseClient.mjs.map +1 -1
  115. package/dist/esm/clients/confluenceClient.mjs +6 -0
  116. package/dist/esm/clients/confluenceClient.mjs.map +1 -1
  117. package/dist/esm/config.mjs +7 -4
  118. package/dist/esm/config.mjs.map +1 -1
  119. package/dist/esm/paramSerializer.mjs.map +1 -1
  120. package/dist/esm/services/authenticationService/authenticationService.mjs.map +1 -1
  121. package/dist/esm/services/authenticationService/authentications/createBasicAuthenticationToken.mjs.map +1 -1
  122. package/dist/esm/services/authenticationService/authentications/createJWTAuthentication.mjs +1 -1
  123. package/dist/esm/services/authenticationService/authentications/createJWTAuthentication.mjs.map +1 -1
  124. package/dist/esm/services/authenticationService/base64Encoder.mjs.map +1 -1
  125. package/dist/esm/types/api/analytics.d.ts +1 -1
  126. package/dist/esm/types/api/audit.d.ts +3 -3
  127. package/dist/esm/types/api/content.d.ts +33 -7
  128. package/dist/esm/types/api/contentAttachments.d.ts +5 -1
  129. package/dist/esm/types/api/contentBody.d.ts +73 -7
  130. package/dist/esm/types/api/contentChildrenAndDescendants.d.ts +37 -5
  131. package/dist/esm/types/api/contentComments.d.ts +5 -0
  132. package/dist/esm/types/api/contentLabels.d.ts +17 -9
  133. package/dist/esm/types/api/contentMacroBody.d.ts +79 -1
  134. package/dist/esm/types/api/contentPermissions.d.ts +1 -1
  135. package/dist/esm/types/api/contentProperties.d.ts +25 -0
  136. package/dist/esm/types/api/contentRestrictions.d.ts +19 -7
  137. package/dist/esm/types/api/contentStates.d.ts +23 -5
  138. package/dist/esm/types/api/contentVersions.d.ts +9 -1
  139. package/dist/esm/types/api/contentWatches.d.ts +1 -1
  140. package/dist/esm/types/api/dynamicModules.d.ts +1 -1
  141. package/dist/esm/types/api/experimental.d.ts +21 -1
  142. package/dist/esm/types/api/group.d.ts +47 -27
  143. package/dist/esm/types/api/index.d.ts +1 -0
  144. package/dist/esm/types/api/inlineTasks.d.ts +13 -0
  145. package/dist/esm/types/api/labelInfo.d.ts +1 -1
  146. package/dist/esm/types/api/longRunningTask.d.ts +1 -1
  147. package/dist/esm/types/api/models/spaceCreate.d.ts +11 -2
  148. package/dist/esm/types/api/models/spacePrivateCreate.d.ts +11 -2
  149. package/dist/esm/types/api/parameters/bulkAsyncConvertContentBodyRequest.d.ts +58 -0
  150. package/dist/esm/types/api/parameters/bulkAsyncConvertContentBodyResponse.d.ts +4 -0
  151. package/dist/esm/types/api/parameters/deleteGroupById.d.ts +4 -0
  152. package/dist/esm/types/api/parameters/downloadAttachment.d.ts +6 -0
  153. package/dist/esm/types/api/parameters/getContentChildren.d.ts +6 -1
  154. package/dist/esm/types/api/parameters/getContentsWithState.d.ts +17 -0
  155. package/dist/esm/types/api/parameters/getGroupMembersByGroupId.d.ts +7 -0
  156. package/dist/esm/types/api/parameters/getGroupMembershipsForUser.d.ts +4 -0
  157. package/dist/esm/types/api/parameters/getTasks.d.ts +2 -0
  158. package/dist/esm/types/api/parameters/getUser.d.ts +4 -0
  159. package/dist/esm/types/api/parameters/index.d.ts +4 -0
  160. package/dist/esm/types/api/parameters/searchUser.d.ts +7 -0
  161. package/dist/esm/types/api/relation.d.ts +13 -15
  162. package/dist/esm/types/api/search.d.ts +7 -1
  163. package/dist/esm/types/api/settings.d.ts +5 -1
  164. package/dist/esm/types/api/space.d.ts +23 -7
  165. package/dist/esm/types/api/spacePermissions.d.ts +1 -1
  166. package/dist/esm/types/api/spaceProperties.d.ts +25 -0
  167. package/dist/esm/types/api/spaceSettings.d.ts +1 -1
  168. package/dist/esm/types/api/template.d.ts +1 -1
  169. package/dist/esm/types/api/themes.d.ts +1 -1
  170. package/dist/esm/types/api/userProperties.d.ts +102 -0
  171. package/dist/esm/types/api/users.d.ts +21 -9
  172. package/dist/esm/types/clients/baseClient.d.ts +1 -0
  173. package/dist/esm/types/clients/confluenceClient.d.ts +6 -1
  174. package/dist/esm/types/config.d.ts +29 -240
  175. package/eslint.config.ts +11 -16
  176. package/package.json +34 -33
  177. package/rollup.config.ts +8 -8
  178. package/src/api/analytics.ts +1 -1
  179. package/src/api/audit.ts +3 -3
  180. package/src/api/content.ts +33 -12
  181. package/src/api/contentAttachments.ts +6 -1
  182. package/src/api/contentBody.ts +113 -7
  183. package/src/api/contentChildrenAndDescendants.ts +39 -5
  184. package/src/api/contentComments.ts +5 -0
  185. package/src/api/contentLabels.ts +17 -9
  186. package/src/api/contentMacroBody.ts +79 -1
  187. package/src/api/contentPermissions.ts +1 -1
  188. package/src/api/contentProperties.ts +25 -0
  189. package/src/api/contentRestrictions.ts +19 -7
  190. package/src/api/contentStates.ts +47 -5
  191. package/src/api/contentVersions.ts +9 -1
  192. package/src/api/contentWatches.ts +1 -1
  193. package/src/api/dynamicModules.ts +1 -1
  194. package/src/api/experimental.ts +21 -1
  195. package/src/api/group.ts +96 -75
  196. package/src/api/index.ts +1 -0
  197. package/src/api/inlineTasks.ts +13 -0
  198. package/src/api/labelInfo.ts +1 -1
  199. package/src/api/longRunningTask.ts +2 -1
  200. package/src/api/models/spaceCreate.ts +11 -2
  201. package/src/api/models/spacePrivateCreate.ts +11 -2
  202. package/src/api/parameters/bulkAsyncConvertContentBodyRequest.ts +88 -0
  203. package/src/api/parameters/bulkAsyncConvertContentBodyResponse.ts +4 -0
  204. package/src/api/parameters/deleteGroupById.ts +4 -0
  205. package/src/api/parameters/downloadAttachment.ts +6 -0
  206. package/src/api/parameters/getContentChildren.ts +7 -1
  207. package/src/api/parameters/getContentsWithState.ts +17 -0
  208. package/src/api/parameters/getGroupMembersByGroupId.ts +7 -0
  209. package/src/api/parameters/getGroupMembershipsForUser.ts +4 -0
  210. package/src/api/parameters/getTasks.ts +2 -0
  211. package/src/api/parameters/getUser.ts +4 -0
  212. package/src/api/parameters/index.ts +4 -0
  213. package/src/api/parameters/searchUser.ts +7 -0
  214. package/src/api/relation.ts +13 -15
  215. package/src/api/search.ts +8 -1
  216. package/src/api/settings.ts +5 -1
  217. package/src/api/space.ts +27 -9
  218. package/src/api/spacePermissions.ts +1 -1
  219. package/src/api/spaceProperties.ts +25 -0
  220. package/src/api/spaceSettings.ts +1 -1
  221. package/src/api/template.ts +1 -1
  222. package/src/api/themes.ts +1 -1
  223. package/src/api/userProperties.ts +185 -0
  224. package/src/api/users.ts +21 -9
  225. package/src/clients/baseClient.ts +24 -8
  226. package/src/clients/confluenceClient.ts +6 -0
  227. package/src/config.ts +8 -4
  228. package/src/services/authenticationService/authentications/createJWTAuthentication.ts +1 -1
  229. 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 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
  }
@@ -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 ContentRestrictions {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -87,26 +87,30 @@ export declare class ContentRestrictions {
87
87
  * Returns whether the specified content restriction applies to a group. For example, if a page with `id=123` has a
88
88
  * `read` restriction for the `admins` group, the following request will return `true`:
89
89
  *
90
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/group/admins`
90
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/group/admins`
91
91
  *
92
92
  * Note that a response of `true` does not guarantee that the group can view the page, as it does not account for
93
93
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
94
94
  * permissions](https://confluence.atlassian.com/x/_AozKw).
95
95
  *
96
96
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content.
97
+ *
98
+ * @deprecated Will be removed in next major version.
97
99
  */
98
100
  getContentRestrictionStatusForGroup<T = unknown>(parameters: Parameters.GetContentRestrictionStatusForGroup, callback: Callback<T>): Promise<void>;
99
101
  /**
100
102
  * Returns whether the specified content restriction applies to a group. For example, if a page with `id=123` has a
101
103
  * `read` restriction for the `admins` group, the following request will return `true`:
102
104
  *
103
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/group/admins`
105
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/group/admins`
104
106
  *
105
107
  * Note that a response of `true` does not guarantee that the group can view the page, as it does not account for
106
108
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
107
109
  * permissions](https://confluence.atlassian.com/x/_AozKw).
108
110
  *
109
111
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content.
112
+ *
113
+ * @deprecated Will be removed in next major version.
110
114
  */
111
115
  getContentRestrictionStatusForGroup<T = unknown>(parameters: Parameters.GetContentRestrictionStatusForGroup, callback?: never): Promise<T>;
112
116
  /**
@@ -114,6 +118,8 @@ export declare class ContentRestrictions {
114
118
  * content.
115
119
  *
116
120
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
121
+ *
122
+ * @deprecated Will be removed in next major version.
117
123
  */
118
124
  addGroupToContentRestriction<T = unknown>(parameters: Parameters.AddGroupToContentRestriction, callback: Callback<T>): Promise<void>;
119
125
  /**
@@ -121,6 +127,8 @@ export declare class ContentRestrictions {
121
127
  * content.
122
128
  *
123
129
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
130
+ *
131
+ * @deprecated Will be removed in next major version.
124
132
  */
125
133
  addGroupToContentRestriction<T = unknown>(parameters: Parameters.AddGroupToContentRestriction, callback?: never): Promise<T>;
126
134
  /**
@@ -128,6 +136,8 @@ export declare class ContentRestrictions {
128
136
  * content.
129
137
  *
130
138
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
139
+ *
140
+ * @deprecated Will be removed in next major version.
131
141
  */
132
142
  removeGroupByName<T = unknown>(parameters: Parameters.RemoveGroupByName, callback: Callback<T>): Promise<void>;
133
143
  /**
@@ -135,13 +145,15 @@ export declare class ContentRestrictions {
135
145
  * content.
136
146
  *
137
147
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
148
+ *
149
+ * @deprecated Will be removed in next major version.
138
150
  */
139
151
  removeGroupByName<T = unknown>(parameters: Parameters.RemoveGroupByName, callback?: never): Promise<T>;
140
152
  /**
141
153
  * Returns whether the specified content restriction applies to a group. For example, if a page with `id=123` has a
142
154
  * `read` restriction for the `123456` group id, the following request will return `true`:
143
155
  *
144
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/byGroupId/123456`
156
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/byGroupId/123456`
145
157
  *
146
158
  * Note that a response of `true` does not guarantee that the group can view the page, as it does not account for
147
159
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
@@ -154,7 +166,7 @@ export declare class ContentRestrictions {
154
166
  * Returns whether the specified content restriction applies to a group. For example, if a page with `id=123` has a
155
167
  * `read` restriction for the `123456` group id, the following request will return `true`:
156
168
  *
157
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/byGroupId/123456`
169
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/byGroupId/123456`
158
170
  *
159
171
  * Note that a response of `true` does not guarantee that the group can view the page, as it does not account for
160
172
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
@@ -196,7 +208,7 @@ export declare class ContentRestrictions {
196
208
  * `read` restriction for a user with an account ID of `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`, the following
197
209
  * request will return `true`:
198
210
  *
199
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/user?accountId=384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`
211
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/user?accountId=384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`
200
212
  *
201
213
  * Note that a response of `true` does not guarantee that the user can view the page, as it does not account for
202
214
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
@@ -210,7 +222,7 @@ export declare class ContentRestrictions {
210
222
  * `read` restriction for a user with an account ID of `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`, the following
211
223
  * request will return `true`:
212
224
  *
213
- * `https://your-domain.atlassian.net/wiki/rest/api/content/123/restriction/byOperation/read/user?accountId=384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`
225
+ * `https://your-domain.atlassian.net/api/content/123/restriction/byOperation/read/user?accountId=384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`
214
226
  *
215
227
  * Note that a response of `true` does not guarantee that the user can view the page, as it does not account for
216
228
  * account-inherited restrictions, space permissions, or even product access. For more information, see [Confluence
@@ -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 ContentStates {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -94,27 +94,45 @@ export declare class ContentStates {
94
94
  /**
95
95
  * Get content states that are suggested in the space.
96
96
  *
97
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Space view permission
97
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
98
98
  */
99
99
  getSpaceContentStates<T = Models.ContentState[]>(parameters: Parameters.GetSpaceContentStates, callback: Callback<T>): Promise<void>;
100
100
  /**
101
101
  * Get content states that are suggested in the space.
102
102
  *
103
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Space view permission
103
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
104
104
  */
105
105
  getSpaceContentStates<T = Models.ContentState[]>(parameters: Parameters.GetSpaceContentStates, callback?: never): Promise<T>;
106
106
  /**
107
107
  * Get object describing whether content states are allowed at all, if custom content states or space content states
108
108
  * are restricted, and a list of space content states allowed for the space if they are not restricted.
109
109
  *
110
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Space admin permission
110
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
111
111
  */
112
112
  getContentStateSettings<T = Models.ContentStateSettings>(parameters: Parameters.GetContentStateSettings, callback: Callback<T>): Promise<void>;
113
113
  /**
114
114
  * Get object describing whether content states are allowed at all, if custom content states or space content states
115
115
  * are restricted, and a list of space content states allowed for the space if they are not restricted.
116
116
  *
117
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Space admin permission
117
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
118
118
  */
119
119
  getContentStateSettings<T = Models.ContentStateSettings>(parameters: Parameters.GetContentStateSettings, callback?: never): Promise<T>;
120
+ /**
121
+ * Returns all content that has the provided content state in a space.
122
+ *
123
+ * If the expand query parameter is used with the `body.export_view` and/or `body.styled_view` properties, then the
124
+ * query limit parameter will be restricted to a maximum value of 25.
125
+ *
126
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
127
+ */
128
+ getContentsWithState<T = Models.ContentArray>(parameters: Parameters.GetContentsWithState, callback: Callback<T>): Promise<void>;
129
+ /**
130
+ * Returns all content that has the provided content state in a space.
131
+ *
132
+ * If the expand query parameter is used with the `body.export_view` and/or `body.styled_view` properties, then the
133
+ * query limit parameter will be restricted to a maximum value of 25.
134
+ *
135
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
136
+ */
137
+ getContentsWithState<T = Models.ContentArray>(parameters: Parameters.GetContentsWithState, callback?: never): Promise<T>;
120
138
  }
@@ -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 ContentVersions {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -10,6 +10,8 @@ export declare class ContentVersions {
10
10
  *
11
11
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
12
12
  * content is a blog post, 'View' permission for the space is required.
13
+ *
14
+ * @deprecated Will be removed in next major version.
13
15
  */
14
16
  getContentVersions<T = Models.VersionArray>(parameters: Parameters.GetContentVersions, callback: Callback<T>): Promise<void>;
15
17
  /**
@@ -17,6 +19,8 @@ export declare class ContentVersions {
17
19
  *
18
20
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
19
21
  * content is a blog post, 'View' permission for the space is required.
22
+ *
23
+ * @deprecated Will be removed in next major version.
20
24
  */
21
25
  getContentVersions<T = Models.VersionArray>(parameters: Parameters.GetContentVersions, callback?: never): Promise<T>;
22
26
  /**
@@ -38,6 +42,8 @@ export declare class ContentVersions {
38
42
  *
39
43
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
40
44
  * content is a blog post, 'View' permission for the space is required.
45
+ *
46
+ * @deprecated Will be removed in next major version.
41
47
  */
42
48
  getContentVersion<T = Models.Version>(parameters: Parameters.GetContentVersion, callback: Callback<T>): Promise<void>;
43
49
  /**
@@ -45,6 +51,8 @@ export declare class ContentVersions {
45
51
  *
46
52
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
47
53
  * content is a blog post, 'View' permission for the space is required.
54
+ *
55
+ * @deprecated Will be removed in next major version.
48
56
  */
49
57
  getContentVersion<T = Models.Version>(parameters: Parameters.GetContentVersion, callback?: never): Promise<T>;
50
58
  /**
@@ -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 ContentWatches {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -1,6 +1,6 @@
1
1
  import type * as Parameters from "./parameters/index.js";
2
- import type { Callback } from "../callback.js";
3
2
  import type { Client } from "../clients/index.js";
3
+ import type { Callback } from "../callback.js";
4
4
  export declare class DynamicModules {
5
5
  private client;
6
6
  constructor(client: Client);
@@ -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 Experimental {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -76,6 +76,8 @@ export declare class Experimental {
76
76
  *
77
77
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
78
78
  * ('Can use' global permission).
79
+ *
80
+ * @deprecated Will be removed in next major version. Use `userProperties.getUserProperties` instead.
79
81
  */
80
82
  getUserProperties<T = Models.UserPropertyKeyArray>(parameters: Parameters.GetUserProperties, callback: Callback<T>): Promise<void>;
81
83
  /**
@@ -85,6 +87,8 @@ export declare class Experimental {
85
87
  *
86
88
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
87
89
  * ('Can use' global permission).
90
+ *
91
+ * @deprecated Will be removed in next major version. Use `userProperties.getUserProperties` instead.
88
92
  */
89
93
  getUserProperties<T = Models.UserPropertyKeyArray>(parameters: Parameters.GetUserProperties, callback?: never): Promise<T>;
90
94
  /**
@@ -94,6 +98,8 @@ export declare class Experimental {
94
98
  *
95
99
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
96
100
  * ('Can use' global permission).
101
+ *
102
+ * @deprecated Will be removed in next major version. Use `userProperties.getUserProperty` instead.
97
103
  */
98
104
  getUserProperty<T = Models.UserProperty>(parameters: Parameters.GetUserProperty, callback: Callback<T>): Promise<void>;
99
105
  /**
@@ -103,6 +109,8 @@ export declare class Experimental {
103
109
  *
104
110
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
105
111
  * ('Can use' global permission).
112
+ *
113
+ * @deprecated Will be removed in next major version. Use `userProperties.getUserProperty` instead.
106
114
  */
107
115
  getUserProperty<T = Models.UserProperty>(parameters: Parameters.GetUserProperty, callback?: never): Promise<T>;
108
116
  /**
@@ -113,6 +121,8 @@ export declare class Experimental {
113
121
  * `Note:` the number of properties which could be created per app in a tenant for each user might be restricted by
114
122
  * fixed system limits. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access
115
123
  * the Confluence site ('Can use' global permission).
124
+ *
125
+ * @deprecated Will be removed in next major version. Use `userProperties.createUserProperty` instead.
116
126
  */
117
127
  createUserProperty<T = unknown>(parameters: Parameters.CreateUserProperty, callback: Callback<T>): Promise<void>;
118
128
  /**
@@ -123,6 +133,8 @@ export declare class Experimental {
123
133
  * `Note:` the number of properties which could be created per app in a tenant for each user might be restricted by
124
134
  * fixed system limits. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access
125
135
  * the Confluence site ('Can use' global permission).
136
+ *
137
+ * @deprecated Will be removed in next major version. Use `userProperties.createUserProperty` instead.
126
138
  */
127
139
  createUserProperty<T = unknown>(parameters: Parameters.CreateUserProperty, callback?: never): Promise<T>;
128
140
  /**
@@ -133,6 +145,8 @@ export declare class Experimental {
133
145
  *
134
146
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
135
147
  * ('Can use' global permission).
148
+ *
149
+ * @deprecated Will be removed in next major version. Use `userProperties.updateUserProperty` instead.
136
150
  */
137
151
  updateUserProperty<T = void>(parameters: Parameters.UpdateUserProperty, callback: Callback<T>): Promise<void>;
138
152
  /**
@@ -143,6 +157,8 @@ export declare class Experimental {
143
157
  *
144
158
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
145
159
  * ('Can use' global permission).
160
+ *
161
+ * @deprecated Will be removed in next major version. Use `userProperties.updateUserProperty` instead.
146
162
  */
147
163
  updateUserProperty<T = void>(parameters: Parameters.UpdateUserProperty, callback?: never): Promise<T>;
148
164
  /**
@@ -152,6 +168,8 @@ export declare class Experimental {
152
168
  *
153
169
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
154
170
  * ('Can use' global permission).
171
+ *
172
+ * @deprecated Will be removed in next major version. Use `userProperties.deleteUserProperty` instead.
155
173
  */
156
174
  deleteUserProperty<T = void>(parameters: Parameters.DeleteUserProperty, callback: Callback<T>): Promise<void>;
157
175
  /**
@@ -161,6 +179,8 @@ export declare class Experimental {
161
179
  *
162
180
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
163
181
  * ('Can use' global permission).
182
+ *
183
+ * @deprecated Will be removed in next major version. Use `userProperties.deleteUserProperty` instead.
164
184
  */
165
185
  deleteUserProperty<T = void>(parameters: Parameters.DeleteUserProperty, callback?: never): Promise<T>;
166
186
  }