@resolution/confluence-api-client 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
  3. package/lib/openapi/v1/services/AnalyticsService.js +62 -59
  4. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
  5. package/lib/openapi/v1/services/AuditService.d.ts +25 -25
  6. package/lib/openapi/v1/services/AuditService.js +205 -202
  7. package/lib/openapi/v1/services/AuditService.js.map +1 -1
  8. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
  9. package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
  10. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
  11. package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
  12. package/lib/openapi/v1/services/ContentBodyService.js +140 -137
  13. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  14. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
  15. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
  16. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
  17. package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
  18. package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
  19. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
  20. package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
  21. package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
  22. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
  23. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
  24. package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
  25. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
  26. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
  27. package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
  28. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
  29. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
  30. package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
  31. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
  32. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
  33. package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
  34. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
  35. package/lib/openapi/v1/services/ContentService.d.ts +50 -50
  36. package/lib/openapi/v1/services/ContentService.js +475 -472
  37. package/lib/openapi/v1/services/ContentService.js.map +1 -1
  38. package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
  39. package/lib/openapi/v1/services/ContentStatesService.js +359 -356
  40. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
  41. package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
  42. package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
  43. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
  44. package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
  45. package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
  46. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
  47. package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
  48. package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
  49. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
  50. package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
  51. package/lib/openapi/v1/services/ExperimentalService.js +151 -148
  52. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
  53. package/lib/openapi/v1/services/GroupService.d.ts +52 -52
  54. package/lib/openapi/v1/services/GroupService.js +445 -442
  55. package/lib/openapi/v1/services/GroupService.js.map +1 -1
  56. package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
  57. package/lib/openapi/v1/services/InlineTasksService.js +118 -115
  58. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
  59. package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
  60. package/lib/openapi/v1/services/LabelInfoService.js +37 -34
  61. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
  62. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
  63. package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
  64. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
  65. package/lib/openapi/v1/services/RelationService.d.ts +37 -37
  66. package/lib/openapi/v1/services/RelationService.js +231 -228
  67. package/lib/openapi/v1/services/RelationService.js.map +1 -1
  68. package/lib/openapi/v1/services/SearchService.d.ts +20 -20
  69. package/lib/openapi/v1/services/SearchService.js +136 -133
  70. package/lib/openapi/v1/services/SearchService.js.map +1 -1
  71. package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
  72. package/lib/openapi/v1/services/SettingsService.js +204 -201
  73. package/lib/openapi/v1/services/SettingsService.js.map +1 -1
  74. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
  75. package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
  76. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
  77. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
  78. package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
  79. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
  80. package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
  81. package/lib/openapi/v1/services/SpaceService.js +320 -317
  82. package/lib/openapi/v1/services/SpaceService.js.map +1 -1
  83. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
  84. package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
  85. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
  86. package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
  87. package/lib/openapi/v1/services/TemplateService.js +214 -211
  88. package/lib/openapi/v1/services/TemplateService.js.map +1 -1
  89. package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
  90. package/lib/openapi/v1/services/ThemesService.js +179 -176
  91. package/lib/openapi/v1/services/ThemesService.js.map +1 -1
  92. package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
  93. package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
  94. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
  95. package/lib/openapi/v1/services/UsersService.d.ts +21 -21
  96. package/lib/openapi/v1/services/UsersService.js +229 -226
  97. package/lib/openapi/v1/services/UsersService.js.map +1 -1
  98. package/lib/openapi/v2/models/user.d.ts +0 -2
  99. package/lib/openapi/v2/models/user.js +0 -2
  100. package/lib/openapi/v2/models/user.js.map +1 -1
  101. package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
  102. package/lib/openapi/v2/services/AncestorsService.js +174 -171
  103. package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
  104. package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
  105. package/lib/openapi/v2/services/AttachmentService.js +261 -258
  106. package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
  107. package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
  108. package/lib/openapi/v2/services/BlogPostService.js +270 -267
  109. package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
  110. package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
  111. package/lib/openapi/v2/services/ChildrenService.js +77 -74
  112. package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
  113. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
  114. package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
  115. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
  116. package/lib/openapi/v2/services/CommentService.d.ts +136 -136
  117. package/lib/openapi/v2/services/CommentService.js +635 -632
  118. package/lib/openapi/v2/services/CommentService.js.map +1 -1
  119. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
  120. package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
  121. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
  122. package/lib/openapi/v2/services/ContentService.d.ts +2 -2
  123. package/lib/openapi/v2/services/ContentService.js +40 -37
  124. package/lib/openapi/v2/services/ContentService.js.map +1 -1
  125. package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
  126. package/lib/openapi/v2/services/CustomContentService.js +299 -296
  127. package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
  128. package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
  129. package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
  130. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
  131. package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
  132. package/lib/openapi/v2/services/DatabaseService.js +90 -87
  133. package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
  134. package/lib/openapi/v2/services/LabelService.d.ts +57 -57
  135. package/lib/openapi/v2/services/LabelService.js +263 -260
  136. package/lib/openapi/v2/services/LabelService.js.map +1 -1
  137. package/lib/openapi/v2/services/LikeService.d.ts +36 -36
  138. package/lib/openapi/v2/services/LikeService.js +250 -247
  139. package/lib/openapi/v2/services/LikeService.js.map +1 -1
  140. package/lib/openapi/v2/services/OperationService.d.ts +20 -20
  141. package/lib/openapi/v2/services/OperationService.js +298 -295
  142. package/lib/openapi/v2/services/OperationService.js.map +1 -1
  143. package/lib/openapi/v2/services/PageService.d.ts +73 -73
  144. package/lib/openapi/v2/services/PageService.js +272 -269
  145. package/lib/openapi/v2/services/PageService.js.map +1 -1
  146. package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
  147. package/lib/openapi/v2/services/SmartLinkService.js +92 -89
  148. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
  149. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
  150. package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
  151. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
  152. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
  153. package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
  154. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
  155. package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
  156. package/lib/openapi/v2/services/SpaceService.js +83 -80
  157. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  158. package/lib/openapi/v2/services/TaskService.d.ts +40 -40
  159. package/lib/openapi/v2/services/TaskService.js +120 -117
  160. package/lib/openapi/v2/services/TaskService.js.map +1 -1
  161. package/lib/openapi/v2/services/UserService.d.ts +11 -11
  162. package/lib/openapi/v2/services/UserService.js +91 -88
  163. package/lib/openapi/v2/services/UserService.js.map +1 -1
  164. package/lib/openapi/v2/services/VersionService.d.ts +59 -59
  165. package/lib/openapi/v2/services/VersionService.js +395 -392
  166. package/lib/openapi/v2/services/VersionService.js.map +1 -1
  167. package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
  168. package/lib/openapi/v2/services/WhiteboardService.js +90 -87
  169. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  170. package/package.json +4 -3
@@ -11,266 +11,269 @@ const common_1 = require("../models/common");
11
11
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
12
12
  /** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label */
13
13
  class LabelService extends CommonHttpService_1.CommonHttpService {
14
- /**
15
- * Returns the labels of specific attachment. The number of results is limited by
16
- * the `limit` parameter and additional results (if available)
17
- * will be available through the `next` URL present in the `Link` response header.
18
- *
19
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
20
- * Permission to view the parent content of the attachment and its corresponding
21
- * space.
22
- *
23
- * @returns Returned if the requested labels are returned.
24
- * @path {GET} /attachments/{id}/labels
25
- * @scopes-current read:attachment:confluence
26
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
27
- */
28
- getAttachmentLabels({ id, prefix, sort, cursor, limit, }) {
29
- return this.getClientInstance()
30
- .request({
31
- path: "/attachments/{id}/labels",
32
- method: "GET",
33
- pathParams: {
34
- id,
35
- },
36
- query: {
37
- prefix,
38
- sort,
39
- cursor,
40
- limit,
41
- },
42
- })
43
- .then(this.getClientInstance().responseHandler({
44
- 200: {
45
- "application/json": "json",
46
- },
47
- }))
48
- .then(commonHttpClient.castResponse())
49
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getAttachmentLabels.response"))
50
- .then(commonHttpClient.getBody);
51
- }
52
- /**
53
- * Returns the labels of specific blog post. The number of results is limited by
54
- * the `limit` parameter and additional results (if available)
55
- * will be available through the `next` URL present in the `Link` response header.
56
- *
57
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
58
- * Permission to view the content of the blog post and its corresponding space.
59
- *
60
- * @returns Returned if the requested labels are returned.
61
- * @path {GET} /blogposts/{id}/labels
62
- * @scopes-current read:page:confluence
63
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
64
- */
65
- getBlogPostLabels({ id, prefix, sort, cursor, limit, }) {
66
- return this.getClientInstance()
67
- .request({
68
- path: "/blogposts/{id}/labels",
69
- method: "GET",
70
- pathParams: {
71
- id,
72
- },
73
- query: {
74
- prefix,
75
- sort,
76
- cursor,
77
- limit,
78
- },
79
- })
80
- .then(this.getClientInstance().responseHandler({
81
- 200: {
82
- "application/json": "json",
83
- },
84
- }))
85
- .then(commonHttpClient.castResponse())
86
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getBlogPostLabels.response"))
87
- .then(commonHttpClient.getBody);
88
- }
89
- /**
90
- * Returns the labels for a specific piece of custom content. The number of
91
- * results is limited by the `limit` parameter and additional results (if
92
- * available)
93
- * will be available through the `next` URL present in the `Link` response header.
94
- *
95
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
96
- * Permission to view the custom content and its corresponding space.
97
- *
98
- * @returns Returned if the requested labels are returned.
99
- * @path {GET} /custom-content/{id}/labels
100
- * @scopes-current read:custom-content:confluence
101
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
102
- */
103
- getCustomContentLabels({ id, prefix, sort, cursor, limit, }) {
104
- return this.getClientInstance()
105
- .request({
106
- path: "/custom-content/{id}/labels",
107
- method: "GET",
108
- pathParams: {
109
- id,
110
- },
111
- query: {
112
- prefix,
113
- sort,
114
- cursor,
115
- limit,
116
- },
117
- })
118
- .then(this.getClientInstance().responseHandler({
119
- 200: {
120
- "application/json": "json",
121
- },
122
- }))
123
- .then(commonHttpClient.castResponse())
124
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getCustomContentLabels.response"))
125
- .then(commonHttpClient.getBody);
126
- }
127
- /**
128
- * Returns all labels. The number of results is limited by the `limit` parameter
129
- * and additional results (if available)
130
- * will be available through the `next` URL present in the `Link` response header.
131
- *
132
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
133
- * Permission to access the Confluence site ('Can use' global permission).
134
- * Only labels that the user has permission to view will be returned.
135
- *
136
- * @returns Returned if the requested labels are returned.
137
- * @path {GET} /labels
138
- * @scopes-current read:label:confluence
139
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
140
- */
141
- getLabels({ labelId, prefix, cursor, sort, limit, } = {}) {
142
- return this.getClientInstance()
143
- .request({
144
- path: "/labels",
145
- method: "GET",
146
- query: {
147
- "label-id": labelId,
148
- prefix,
149
- cursor,
150
- sort,
151
- limit,
152
- },
153
- })
154
- .then(this.getClientInstance().responseHandler({
155
- 200: {
156
- "application/json": "json",
157
- },
158
- }))
159
- .then(commonHttpClient.castResponse())
160
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getLabels.response"))
161
- .then(commonHttpClient.getBody);
162
- }
163
- /**
164
- * Returns the labels of specific page. The number of results is limited by the
165
- * `limit` parameter and additional results (if available)
166
- * will be available through the `next` URL present in the `Link` response header.
167
- *
168
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
169
- * Permission to view the content of the page and its corresponding space.
170
- *
171
- * @returns Returned if the requested labels are returned.
172
- * @path {GET} /pages/{id}/labels
173
- * @scopes-current read:page:confluence
174
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
175
- */
176
- getPageLabels({ id, prefix, sort, cursor, limit, }) {
177
- return this.getClientInstance()
178
- .request({
179
- path: "/pages/{id}/labels",
180
- method: "GET",
181
- pathParams: {
182
- id,
183
- },
184
- query: {
185
- prefix,
186
- sort,
187
- cursor,
188
- limit,
189
- },
190
- })
191
- .then(this.getClientInstance().responseHandler({
192
- 200: {
193
- "application/json": "json",
194
- },
195
- }))
196
- .then(commonHttpClient.castResponse())
197
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getPageLabels.response"))
198
- .then(commonHttpClient.getBody);
199
- }
200
- /**
201
- * Returns the labels of space content (pages, blogposts etc). The number of
202
- * results is limited by the `limit` parameter and additional results (if
203
- * available)
204
- * will be available through the `next` URL present in the `Link` response header.
205
- *
206
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
207
- * Permission to view the space.
208
- *
209
- * @returns Returned if the requested labels are returned.
210
- * @path {GET} /spaces/{id}/content/labels
211
- * @scopes-current read:space:confluence
212
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
213
- */
214
- getSpaceContentLabels({ id, prefix, sort, cursor, limit, }) {
215
- return this.getClientInstance()
216
- .request({
217
- path: "/spaces/{id}/content/labels",
218
- method: "GET",
219
- pathParams: {
220
- id,
221
- },
222
- query: {
223
- prefix,
224
- sort,
225
- cursor,
226
- limit,
227
- },
228
- })
229
- .then(this.getClientInstance().responseHandler({
230
- 200: {
231
- "application/json": "json",
232
- },
233
- }))
234
- .then(commonHttpClient.castResponse())
235
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceContentLabels.response"))
236
- .then(commonHttpClient.getBody);
237
- }
238
- /**
239
- * Returns the labels of specific space. The number of results is limited by the
240
- * `limit` parameter and additional results (if available)
241
- * will be available through the `next` URL present in the `Link` response header.
242
- *
243
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
244
- * Permission to view the space.
245
- *
246
- * @returns Returned if the requested labels are returned.
247
- * @path {GET} /spaces/{id}/labels
248
- * @scopes-current read:space:confluence
249
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
250
- */
251
- getSpaceLabels({ id, prefix, sort, cursor, limit, }) {
252
- return this.getClientInstance()
253
- .request({
254
- path: "/spaces/{id}/labels",
255
- method: "GET",
256
- pathParams: {
257
- id,
258
- },
259
- query: {
260
- prefix,
261
- sort,
262
- cursor,
263
- limit,
264
- },
265
- })
266
- .then(this.getClientInstance().responseHandler({
267
- 200: {
268
- "application/json": "json",
269
- },
270
- }))
271
- .then(commonHttpClient.castResponse())
272
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceLabels.response"))
273
- .then(commonHttpClient.getBody);
14
+ constructor() {
15
+ super(...arguments);
16
+ /**
17
+ * Returns the labels of specific attachment. The number of results is limited by
18
+ * the `limit` parameter and additional results (if available)
19
+ * will be available through the `next` URL present in the `Link` response header.
20
+ *
21
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
22
+ * Permission to view the parent content of the attachment and its corresponding
23
+ * space.
24
+ *
25
+ * @returns Returned if the requested labels are returned.
26
+ * @path {GET} /attachments/{id}/labels
27
+ * @scopes-current read:attachment:confluence
28
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
29
+ */
30
+ this.getAttachmentLabels = ({ id, prefix, sort, cursor, limit, }) => {
31
+ return this.getClientInstance()
32
+ .request({
33
+ path: "/attachments/{id}/labels",
34
+ method: "GET",
35
+ pathParams: {
36
+ id,
37
+ },
38
+ query: {
39
+ prefix,
40
+ sort,
41
+ cursor,
42
+ limit,
43
+ },
44
+ })
45
+ .then(this.getClientInstance().responseHandler({
46
+ 200: {
47
+ "application/json": "json",
48
+ },
49
+ }))
50
+ .then(commonHttpClient.castResponse())
51
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getAttachmentLabels.response"))
52
+ .then(commonHttpClient.getBody);
53
+ };
54
+ /**
55
+ * Returns the labels of specific blog post. The number of results is limited by
56
+ * the `limit` parameter and additional results (if available)
57
+ * will be available through the `next` URL present in the `Link` response header.
58
+ *
59
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
60
+ * Permission to view the content of the blog post and its corresponding space.
61
+ *
62
+ * @returns Returned if the requested labels are returned.
63
+ * @path {GET} /blogposts/{id}/labels
64
+ * @scopes-current read:page:confluence
65
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
66
+ */
67
+ this.getBlogPostLabels = ({ id, prefix, sort, cursor, limit, }) => {
68
+ return this.getClientInstance()
69
+ .request({
70
+ path: "/blogposts/{id}/labels",
71
+ method: "GET",
72
+ pathParams: {
73
+ id,
74
+ },
75
+ query: {
76
+ prefix,
77
+ sort,
78
+ cursor,
79
+ limit,
80
+ },
81
+ })
82
+ .then(this.getClientInstance().responseHandler({
83
+ 200: {
84
+ "application/json": "json",
85
+ },
86
+ }))
87
+ .then(commonHttpClient.castResponse())
88
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getBlogPostLabels.response"))
89
+ .then(commonHttpClient.getBody);
90
+ };
91
+ /**
92
+ * Returns the labels for a specific piece of custom content. The number of
93
+ * results is limited by the `limit` parameter and additional results (if
94
+ * available)
95
+ * will be available through the `next` URL present in the `Link` response header.
96
+ *
97
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
98
+ * Permission to view the custom content and its corresponding space.
99
+ *
100
+ * @returns Returned if the requested labels are returned.
101
+ * @path {GET} /custom-content/{id}/labels
102
+ * @scopes-current read:custom-content:confluence
103
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
104
+ */
105
+ this.getCustomContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
106
+ return this.getClientInstance()
107
+ .request({
108
+ path: "/custom-content/{id}/labels",
109
+ method: "GET",
110
+ pathParams: {
111
+ id,
112
+ },
113
+ query: {
114
+ prefix,
115
+ sort,
116
+ cursor,
117
+ limit,
118
+ },
119
+ })
120
+ .then(this.getClientInstance().responseHandler({
121
+ 200: {
122
+ "application/json": "json",
123
+ },
124
+ }))
125
+ .then(commonHttpClient.castResponse())
126
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getCustomContentLabels.response"))
127
+ .then(commonHttpClient.getBody);
128
+ };
129
+ /**
130
+ * Returns all labels. The number of results is limited by the `limit` parameter
131
+ * and additional results (if available)
132
+ * will be available through the `next` URL present in the `Link` response header.
133
+ *
134
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
135
+ * Permission to access the Confluence site ('Can use' global permission).
136
+ * Only labels that the user has permission to view will be returned.
137
+ *
138
+ * @returns Returned if the requested labels are returned.
139
+ * @path {GET} /labels
140
+ * @scopes-current read:label:confluence
141
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
142
+ */
143
+ this.getLabels = ({ labelId, prefix, cursor, sort, limit, } = {}) => {
144
+ return this.getClientInstance()
145
+ .request({
146
+ path: "/labels",
147
+ method: "GET",
148
+ query: {
149
+ "label-id": labelId,
150
+ prefix,
151
+ cursor,
152
+ sort,
153
+ limit,
154
+ },
155
+ })
156
+ .then(this.getClientInstance().responseHandler({
157
+ 200: {
158
+ "application/json": "json",
159
+ },
160
+ }))
161
+ .then(commonHttpClient.castResponse())
162
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getLabels.response"))
163
+ .then(commonHttpClient.getBody);
164
+ };
165
+ /**
166
+ * Returns the labels of specific page. The number of results is limited by the
167
+ * `limit` parameter and additional results (if available)
168
+ * will be available through the `next` URL present in the `Link` response header.
169
+ *
170
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
171
+ * Permission to view the content of the page and its corresponding space.
172
+ *
173
+ * @returns Returned if the requested labels are returned.
174
+ * @path {GET} /pages/{id}/labels
175
+ * @scopes-current read:page:confluence
176
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
177
+ */
178
+ this.getPageLabels = ({ id, prefix, sort, cursor, limit, }) => {
179
+ return this.getClientInstance()
180
+ .request({
181
+ path: "/pages/{id}/labels",
182
+ method: "GET",
183
+ pathParams: {
184
+ id,
185
+ },
186
+ query: {
187
+ prefix,
188
+ sort,
189
+ cursor,
190
+ limit,
191
+ },
192
+ })
193
+ .then(this.getClientInstance().responseHandler({
194
+ 200: {
195
+ "application/json": "json",
196
+ },
197
+ }))
198
+ .then(commonHttpClient.castResponse())
199
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getPageLabels.response"))
200
+ .then(commonHttpClient.getBody);
201
+ };
202
+ /**
203
+ * Returns the labels of space content (pages, blogposts etc). The number of
204
+ * results is limited by the `limit` parameter and additional results (if
205
+ * available)
206
+ * will be available through the `next` URL present in the `Link` response header.
207
+ *
208
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
209
+ * Permission to view the space.
210
+ *
211
+ * @returns Returned if the requested labels are returned.
212
+ * @path {GET} /spaces/{id}/content/labels
213
+ * @scopes-current read:space:confluence
214
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
215
+ */
216
+ this.getSpaceContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
217
+ return this.getClientInstance()
218
+ .request({
219
+ path: "/spaces/{id}/content/labels",
220
+ method: "GET",
221
+ pathParams: {
222
+ id,
223
+ },
224
+ query: {
225
+ prefix,
226
+ sort,
227
+ cursor,
228
+ limit,
229
+ },
230
+ })
231
+ .then(this.getClientInstance().responseHandler({
232
+ 200: {
233
+ "application/json": "json",
234
+ },
235
+ }))
236
+ .then(commonHttpClient.castResponse())
237
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceContentLabels.response"))
238
+ .then(commonHttpClient.getBody);
239
+ };
240
+ /**
241
+ * Returns the labels of specific space. The number of results is limited by the
242
+ * `limit` parameter and additional results (if available)
243
+ * will be available through the `next` URL present in the `Link` response header.
244
+ *
245
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
246
+ * Permission to view the space.
247
+ *
248
+ * @returns Returned if the requested labels are returned.
249
+ * @path {GET} /spaces/{id}/labels
250
+ * @scopes-current read:space:confluence
251
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
252
+ */
253
+ this.getSpaceLabels = ({ id, prefix, sort, cursor, limit, }) => {
254
+ return this.getClientInstance()
255
+ .request({
256
+ path: "/spaces/{id}/labels",
257
+ method: "GET",
258
+ pathParams: {
259
+ id,
260
+ },
261
+ query: {
262
+ prefix,
263
+ sort,
264
+ cursor,
265
+ limit,
266
+ },
267
+ })
268
+ .then(this.getClientInstance().responseHandler({
269
+ 200: {
270
+ "application/json": "json",
271
+ },
272
+ }))
273
+ .then(commonHttpClient.castResponse())
274
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceLabels.response"))
275
+ .then(commonHttpClient.getBody);
276
+ };
274
277
  }
275
278
  static initialize() {
276
279
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getAttachmentLabels.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"LabelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LabelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,S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AAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sCAAsC,EACtC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,sCAAsC,CAAC,CACpD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAtuBD,oCAsuBC"}
1
+ {"version":3,"file":"LabelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LabelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;;WAaG;QACH,wBAAmB,GAAG,CAAC,EACrB,EAAE,EACF,MAAM,EACN,IAAI,EACJ,MAAM,EACN,KAAK,GA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