@resolution/confluence-api-client 0.4.4 → 0.4.6

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 (183) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +60 -1
  3. package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +32 -33
  4. package/lib/openapi/v1/BaseConfluenceApiV1Client.js +151 -88
  5. package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
  6. package/lib/openapi/v1/core/CommonHttpService.d.ts +2 -0
  7. package/lib/openapi/v1/core/CommonHttpService.js +9 -0
  8. package/lib/openapi/v1/core/CommonHttpService.js.map +1 -1
  9. package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
  10. package/lib/openapi/v1/services/AnalyticsService.js +62 -59
  11. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
  12. package/lib/openapi/v1/services/AuditService.d.ts +25 -25
  13. package/lib/openapi/v1/services/AuditService.js +205 -202
  14. package/lib/openapi/v1/services/AuditService.js.map +1 -1
  15. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
  16. package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
  17. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
  18. package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
  19. package/lib/openapi/v1/services/ContentBodyService.js +140 -137
  20. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  21. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
  22. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
  23. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
  24. package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
  25. package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
  26. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
  27. package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
  28. package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
  29. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
  30. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
  31. package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
  32. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
  33. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
  34. package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
  35. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
  36. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
  37. package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
  38. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
  39. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
  40. package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
  41. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
  42. package/lib/openapi/v1/services/ContentService.d.ts +50 -50
  43. package/lib/openapi/v1/services/ContentService.js +475 -472
  44. package/lib/openapi/v1/services/ContentService.js.map +1 -1
  45. package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
  46. package/lib/openapi/v1/services/ContentStatesService.js +359 -356
  47. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
  48. package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
  49. package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
  50. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
  51. package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
  52. package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
  53. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
  54. package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
  55. package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
  56. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
  57. package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
  58. package/lib/openapi/v1/services/ExperimentalService.js +151 -148
  59. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
  60. package/lib/openapi/v1/services/GroupService.d.ts +52 -52
  61. package/lib/openapi/v1/services/GroupService.js +445 -442
  62. package/lib/openapi/v1/services/GroupService.js.map +1 -1
  63. package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
  64. package/lib/openapi/v1/services/InlineTasksService.js +118 -115
  65. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
  66. package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
  67. package/lib/openapi/v1/services/LabelInfoService.js +37 -34
  68. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
  69. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
  70. package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
  71. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
  72. package/lib/openapi/v1/services/RelationService.d.ts +37 -37
  73. package/lib/openapi/v1/services/RelationService.js +231 -228
  74. package/lib/openapi/v1/services/RelationService.js.map +1 -1
  75. package/lib/openapi/v1/services/SearchService.d.ts +20 -20
  76. package/lib/openapi/v1/services/SearchService.js +136 -133
  77. package/lib/openapi/v1/services/SearchService.js.map +1 -1
  78. package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
  79. package/lib/openapi/v1/services/SettingsService.js +204 -201
  80. package/lib/openapi/v1/services/SettingsService.js.map +1 -1
  81. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
  82. package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
  83. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
  84. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
  85. package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
  86. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
  87. package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
  88. package/lib/openapi/v1/services/SpaceService.js +320 -317
  89. package/lib/openapi/v1/services/SpaceService.js.map +1 -1
  90. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
  91. package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
  92. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
  93. package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
  94. package/lib/openapi/v1/services/TemplateService.js +214 -211
  95. package/lib/openapi/v1/services/TemplateService.js.map +1 -1
  96. package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
  97. package/lib/openapi/v1/services/ThemesService.js +179 -176
  98. package/lib/openapi/v1/services/ThemesService.js.map +1 -1
  99. package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
  100. package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
  101. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
  102. package/lib/openapi/v1/services/UsersService.d.ts +21 -21
  103. package/lib/openapi/v1/services/UsersService.js +229 -226
  104. package/lib/openapi/v1/services/UsersService.js.map +1 -1
  105. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +23 -24
  106. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -47
  107. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
  108. package/lib/openapi/v2/core/CommonHttpService.d.ts +2 -0
  109. package/lib/openapi/v2/core/CommonHttpService.js +9 -0
  110. package/lib/openapi/v2/core/CommonHttpService.js.map +1 -1
  111. package/lib/openapi/v2/models/user.d.ts +0 -2
  112. package/lib/openapi/v2/models/user.js +0 -2
  113. package/lib/openapi/v2/models/user.js.map +1 -1
  114. package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
  115. package/lib/openapi/v2/services/AncestorsService.js +174 -171
  116. package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
  117. package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
  118. package/lib/openapi/v2/services/AttachmentService.js +261 -258
  119. package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
  120. package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
  121. package/lib/openapi/v2/services/BlogPostService.js +270 -267
  122. package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
  123. package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
  124. package/lib/openapi/v2/services/ChildrenService.js +77 -74
  125. package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
  126. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
  127. package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
  128. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
  129. package/lib/openapi/v2/services/CommentService.d.ts +136 -136
  130. package/lib/openapi/v2/services/CommentService.js +635 -632
  131. package/lib/openapi/v2/services/CommentService.js.map +1 -1
  132. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
  133. package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
  134. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
  135. package/lib/openapi/v2/services/ContentService.d.ts +2 -2
  136. package/lib/openapi/v2/services/ContentService.js +40 -37
  137. package/lib/openapi/v2/services/ContentService.js.map +1 -1
  138. package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
  139. package/lib/openapi/v2/services/CustomContentService.js +299 -296
  140. package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
  141. package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
  142. package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
  143. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
  144. package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
  145. package/lib/openapi/v2/services/DatabaseService.js +90 -87
  146. package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
  147. package/lib/openapi/v2/services/LabelService.d.ts +57 -57
  148. package/lib/openapi/v2/services/LabelService.js +263 -260
  149. package/lib/openapi/v2/services/LabelService.js.map +1 -1
  150. package/lib/openapi/v2/services/LikeService.d.ts +36 -36
  151. package/lib/openapi/v2/services/LikeService.js +250 -247
  152. package/lib/openapi/v2/services/LikeService.js.map +1 -1
  153. package/lib/openapi/v2/services/OperationService.d.ts +20 -20
  154. package/lib/openapi/v2/services/OperationService.js +298 -295
  155. package/lib/openapi/v2/services/OperationService.js.map +1 -1
  156. package/lib/openapi/v2/services/PageService.d.ts +73 -73
  157. package/lib/openapi/v2/services/PageService.js +272 -269
  158. package/lib/openapi/v2/services/PageService.js.map +1 -1
  159. package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
  160. package/lib/openapi/v2/services/SmartLinkService.js +92 -89
  161. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
  162. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
  163. package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
  164. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
  165. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
  166. package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
  167. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
  168. package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
  169. package/lib/openapi/v2/services/SpaceService.js +83 -80
  170. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  171. package/lib/openapi/v2/services/TaskService.d.ts +40 -40
  172. package/lib/openapi/v2/services/TaskService.js +120 -117
  173. package/lib/openapi/v2/services/TaskService.js.map +1 -1
  174. package/lib/openapi/v2/services/UserService.d.ts +11 -11
  175. package/lib/openapi/v2/services/UserService.js +91 -88
  176. package/lib/openapi/v2/services/UserService.js.map +1 -1
  177. package/lib/openapi/v2/services/VersionService.d.ts +59 -59
  178. package/lib/openapi/v2/services/VersionService.js +395 -392
  179. package/lib/openapi/v2/services/VersionService.js.map +1 -1
  180. package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
  181. package/lib/openapi/v2/services/WhiteboardService.js +90 -87
  182. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  183. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mEAOqC;AACrC,wEAAqE;AACrE;;;GAGG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAC7D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,qBAAqB,CAAC,EACpB,EAAE,EACF,qBAAqB,GAMtB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,sCAAsC;YAC5C,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,EAAE;aACH;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,qBAAqB;SAC5B,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yDAAyD,CAC1D,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,2BAA2B,CAAC,EAC1B,EAAE,EACF,GAAG,EACH,0BAA0B,GAQ3B;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,4CAA4C;YAClD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,EAAE;gBACF,GAAG;aACJ;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;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AAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,+DAA+D,EAC/D,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,iDAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CACP,+DAA+D,CAChE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,8DAA0C;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AAncD,4DAmcC"}
1
+ {"version":3,"file":"ContentPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mEAOqC;AACrC,wEAAqE;AACrE;;;GAGG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAA/D;;QACE;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,0BAAqB,GAAG,CAAC,EACvB,EAAE,EACF,qBAAqB,GAMtB,EAA8B,EAAE;YAC/B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sCAAsC;gBAC5C,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,qBAAqB;aAC5B,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH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,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sDAAsD,EACtD,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,iDAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CAAC,sDAAsD,CAAC,CACpE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,yDAAyD,EACzD,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,iDAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,+DAA+D,EAC/D,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,iDAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CACP,+DAA+D,CAChE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,8DAA0C;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AAncD,4DAmcC"}
@@ -19,14 +19,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
19
19
  * @scopes-beta write:content.restriction:confluence
20
20
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-put
21
21
  */
22
- addGroupToContentRestriction({ id, operationKey, groupName, }: {
22
+ addGroupToContentRestriction: ({ id, operationKey, groupName, }: {
23
23
  /** The ID of the content that the restriction applies to. */
24
24
  id: string;
25
25
  /** The operation that the restriction applies to. */
26
26
  operationKey: "read" | "update";
27
27
  /** The name of the group to add to the content restriction. */
28
28
  groupName: string;
29
- }): Promise<void>;
29
+ }) => Promise<void>;
30
30
  /**
31
31
  * Adds a group to a content restriction by Group Id. That is, grant read or update
32
32
  * permission to the group for a piece of content.
@@ -40,14 +40,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
40
40
  * @scopes-beta write:content.restriction:confluence
41
41
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-put
42
42
  */
43
- addGroupToContentRestrictionByGroupId({ id, operationKey, groupId, }: {
43
+ addGroupToContentRestrictionByGroupId: ({ id, operationKey, groupId, }: {
44
44
  /** The ID of the content that the restriction applies to. */
45
45
  id: string;
46
46
  /** The operation that the restriction applies to. */
47
47
  operationKey: "read" | "update";
48
48
  /** The groupId of the group to add to the content restriction. */
49
49
  groupId: string;
50
- }): Promise<void>;
50
+ }) => Promise<void>;
51
51
  /**
52
52
  * Adds restrictions to a piece of content. Note, this does not change any
53
53
  * existing restrictions on the content.
@@ -61,7 +61,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
61
61
  * @scopes-beta read:content-details:confluence, write:content.restriction:confluence
62
62
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-post
63
63
  */
64
- addRestrictions({ id, expand, contentRestrictionAddOrUpdateArray, }: {
64
+ addRestrictions: ({ id, expand, contentRestrictionAddOrUpdateArray, }: {
65
65
  /** The ID of the content to add restrictions to. */
66
66
  id: string;
67
67
  /**
@@ -75,10 +75,10 @@ export declare class ContentRestrictionsService extends CommonHttpService {
75
75
  * - `content` returns the piece of content that the restrictions are
76
76
  * applied to.
77
77
  */
78
- expand?: ("restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group" | "content")[];
78
+ expand?: ("content" | "restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group")[] | undefined;
79
79
  /** The restrictions to be added to the content. */
80
80
  contentRestrictionAddOrUpdateArray: ContentRestrictionAddOrUpdateArray;
81
- }): Promise<ContentRestrictionArray>;
81
+ }) => Promise<ContentRestrictionArray>;
82
82
  /**
83
83
  * Adds a user to a content restriction. That is, grant read or update
84
84
  * permission to the user for a piece of content.
@@ -91,7 +91,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
91
91
  * @scopes-beta write:content.restriction:confluence
92
92
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-put
93
93
  */
94
- addUserToContentRestriction({ id, operationKey, key, username, accountId, }: {
94
+ addUserToContentRestriction: ({ id, operationKey, key, username, accountId, }: {
95
95
  /** The ID of the content that the restriction applies to. */
96
96
  id: string;
97
97
  /** The operation that the restriction applies to. */
@@ -106,7 +106,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
106
106
  *
107
107
  * @deprecated
108
108
  */
109
- key?: string;
109
+ key?: string | undefined;
110
110
  /**
111
111
  * This parameter is no longer available and will be removed from the
112
112
  * documentation soon.
@@ -117,14 +117,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
117
117
  *
118
118
  * @deprecated
119
119
  */
120
- username?: string;
120
+ username?: string | undefined;
121
121
  /**
122
122
  * The account ID of the user. The accountId uniquely identifies the user across
123
123
  * all Atlassian products.
124
124
  * For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
125
125
  */
126
- accountId?: string;
127
- }): Promise<void>;
126
+ accountId?: string | undefined;
127
+ }) => Promise<void>;
128
128
  /**
129
129
  * Removes all restrictions (read and update) on a piece of content.
130
130
  *
@@ -137,7 +137,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
137
137
  * @scopes-beta read:content-details:confluence, write:content.restriction:confluence
138
138
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-delete
139
139
  */
140
- deleteRestrictions({ id, expand, }: {
140
+ deleteRestrictions: ({ id, expand, }: {
141
141
  /** The ID of the content to remove restrictions from. */
142
142
  id: string;
143
143
  /**
@@ -151,8 +151,8 @@ export declare class ContentRestrictionsService extends CommonHttpService {
151
151
  * - `content` returns the piece of content that the restrictions are
152
152
  * applied to.
153
153
  */
154
- expand?: ("restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group" | "content")[];
155
- }): Promise<ContentRestrictionArray>;
154
+ expand?: ("content" | "restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group")[] | undefined;
155
+ }) => Promise<ContentRestrictionArray>;
156
156
  /**
157
157
  * Deprecated, use [Get content restriction status for group via
158
158
  * groupId](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-get).
@@ -180,7 +180,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
180
180
  * @scopes-beta read:content.restriction:confluence
181
181
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-get
182
182
  */
183
- getContentRestrictionStatusForGroup({ id, operationKey, groupName, }: {
183
+ getContentRestrictionStatusForGroup: ({ id, operationKey, groupName, }: {
184
184
  /** The ID of the content that the restriction applies to. */
185
185
  id: string;
186
186
  /** The operation that the restriction applies to. */
@@ -190,7 +190,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
190
190
  * applies to it.
191
191
  */
192
192
  groupName: string;
193
- }): Promise<void>;
193
+ }) => Promise<void>;
194
194
  /**
195
195
  * Returns whether the specified content restriction applies to a user.
196
196
  * For example, if a page with `id=123` has a `read` restriction for a user with
@@ -215,7 +215,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
215
215
  * @scopes-beta read:content.restriction:confluence
216
216
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-get
217
217
  */
218
- getContentRestrictionStatusForUser({ id, operationKey, key, username, accountId, }: {
218
+ getContentRestrictionStatusForUser: ({ id, operationKey, key, username, accountId, }: {
219
219
  /** The ID of the content that the restriction applies to. */
220
220
  id: string;
221
221
  /** The operation that is restricted. */
@@ -230,7 +230,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
230
230
  *
231
231
  * @deprecated
232
232
  */
233
- key?: string;
233
+ key?: string | undefined;
234
234
  /**
235
235
  * This parameter is no longer available and will be removed from the
236
236
  * documentation soon.
@@ -241,14 +241,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
241
241
  *
242
242
  * @deprecated
243
243
  */
244
- username?: string;
244
+ username?: string | undefined;
245
245
  /**
246
246
  * The account ID of the user. The accountId uniquely identifies the user across
247
247
  * all Atlassian products.
248
248
  * For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
249
249
  */
250
- accountId?: string;
251
- }): Promise<void>;
250
+ accountId?: string | undefined;
251
+ }) => Promise<void>;
252
252
  /**
253
253
  * Returns whether the specified content restriction applies to a group.
254
254
  * For example, if a page with `id=123` has a `read` restriction for the `123456`
@@ -273,7 +273,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
273
273
  * @scopes-beta read:content.restriction:confluence
274
274
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-get
275
275
  */
276
- getIndividualGroupRestrictionStatusByGroupId({ id, operationKey, groupId, }: {
276
+ getIndividualGroupRestrictionStatusByGroupId: ({ id, operationKey, groupId, }: {
277
277
  /** The ID of the content that the restriction applies to. */
278
278
  id: string;
279
279
  /** The operation that the restriction applies to. */
@@ -283,7 +283,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
283
283
  * applies to it.
284
284
  */
285
285
  groupId: string;
286
- }): Promise<void>;
286
+ }) => Promise<void>;
287
287
  /**
288
288
  * Returns the restrictions on a piece of content.
289
289
  *
@@ -296,7 +296,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
296
296
  * @scopes-beta read:content-details:confluence
297
297
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-get
298
298
  */
299
- getRestrictions({ id, expand, start, limit, }: {
299
+ getRestrictions: ({ id, expand, start, limit, }: {
300
300
  /** The ID of the content to be queried for its restrictions. */
301
301
  id: string;
302
302
  /**
@@ -311,16 +311,16 @@ export declare class ContentRestrictionsService extends CommonHttpService {
311
311
  * - `content` returns the piece of content that the restrictions are
312
312
  * applied to.
313
313
  */
314
- expand?: ("restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group" | "content")[];
314
+ expand?: ("content" | "restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group")[] | undefined;
315
315
  /** The starting index of the users and groups in the returned restrictions. */
316
- start?: number;
316
+ start?: number | undefined;
317
317
  /**
318
318
  * The maximum number of users and the maximum number of groups, in the
319
319
  * returned restrictions, to return per page. Note, this may be restricted
320
320
  * by fixed system limits.
321
321
  */
322
- limit?: number;
323
- }): Promise<ContentRestrictionArray>;
322
+ limit?: number | undefined;
323
+ }) => Promise<ContentRestrictionArray>;
324
324
  /**
325
325
  * Returns restrictions on a piece of content by operation. This method is
326
326
  * similar to [Get restrictions](#api-content-id-restriction-get) except that
@@ -336,7 +336,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
336
336
  * @scopes-beta read:content-details:confluence
337
337
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-get
338
338
  */
339
- getRestrictionsByOperation({ id, expand, }: {
339
+ getRestrictionsByOperation: ({ id, expand, }: {
340
340
  /** The ID of the content to be queried for its restrictions. */
341
341
  id: string;
342
342
  /**
@@ -350,8 +350,8 @@ export declare class ContentRestrictionsService extends CommonHttpService {
350
350
  * - `content` returns the piece of content that the restrictions are
351
351
  * applied to.
352
352
  */
353
- expand?: ("restrictions.user" | "restrictions.group" | "content")[];
354
- }): Promise<{
353
+ expand?: ("content" | "restrictions.user" | "restrictions.group")[] | undefined;
354
+ }) => Promise<{
355
355
  [key: string]: unknown;
356
356
  }>;
357
357
  /**
@@ -367,7 +367,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
367
367
  * @scopes-beta read:content-details:confluence
368
368
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-get
369
369
  */
370
- getRestrictionsForOperation({ id, operationKey, expand, start, limit, }: {
370
+ getRestrictionsForOperation: ({ id, operationKey, expand, start, limit, }: {
371
371
  /** The ID of the content to be queried for its restrictions. */
372
372
  id: string;
373
373
  /** The operation type of the restrictions to be returned. */
@@ -383,16 +383,16 @@ export declare class ContentRestrictionsService extends CommonHttpService {
383
383
  * - `content` returns the piece of content that the restrictions are
384
384
  * applied to.
385
385
  */
386
- expand?: ("restrictions.user" | "restrictions.group" | "content")[];
386
+ expand?: ("content" | "restrictions.user" | "restrictions.group")[] | undefined;
387
387
  /** The starting index of the users and groups in the returned restrictions. */
388
- start?: number;
388
+ start?: number | undefined;
389
389
  /**
390
390
  * The maximum number of users and the maximum number of groups, in the
391
391
  * returned restrictions, to return per page. Note, this may be restricted
392
392
  * by fixed system limits.
393
393
  */
394
- limit?: number;
395
- }): Promise<ContentRestriction>;
394
+ limit?: number | undefined;
395
+ }) => Promise<ContentRestriction>;
396
396
  /**
397
397
  * Removes a group from a content restriction. That is, remove read or update
398
398
  * permission for the group for a piece of content.
@@ -406,14 +406,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
406
406
  * @scopes-beta write:content.restriction:confluence
407
407
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-delete
408
408
  */
409
- removeGroupFromContentRestriction({ id, operationKey, groupId, }: {
409
+ removeGroupFromContentRestriction: ({ id, operationKey, groupId, }: {
410
410
  /** The ID of the content that the restriction applies to. */
411
411
  id: string;
412
412
  /** The operation that the restriction applies to. */
413
413
  operationKey: "read" | "update";
414
414
  /** The id of the group to remove from the content restriction. */
415
415
  groupId: string;
416
- }): Promise<void>;
416
+ }) => Promise<void>;
417
417
  /**
418
418
  * Deprecated, use [Remove group from content restriction by
419
419
  * groupId](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-delete).
@@ -430,14 +430,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
430
430
  * @scopes-beta write:content.restriction:confluence
431
431
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-delete
432
432
  */
433
- removeGroupFromContentRestrictionById({ id, operationKey, groupName, }: {
433
+ removeGroupFromContentRestrictionById: ({ id, operationKey, groupName, }: {
434
434
  /** The ID of the content that the restriction applies to. */
435
435
  id: string;
436
436
  /** The operation that the restriction applies to. */
437
437
  operationKey: "read" | "update";
438
438
  /** The name of the group to remove from the content restriction. */
439
439
  groupName: string;
440
- }): Promise<void>;
440
+ }) => Promise<void>;
441
441
  /**
442
442
  * Removes a group from a content restriction. That is, remove read or update
443
443
  * permission for the group for a piece of content.
@@ -450,7 +450,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
450
450
  * @scopes-beta write:content.restriction:confluence
451
451
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-delete
452
452
  */
453
- removeUserFromContentRestriction({ id, operationKey, key, username, accountId, }: {
453
+ removeUserFromContentRestriction: ({ id, operationKey, key, username, accountId, }: {
454
454
  /** The ID of the content that the restriction applies to. */
455
455
  id: string;
456
456
  /** The operation that the restriction applies to. */
@@ -465,7 +465,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
465
465
  *
466
466
  * @deprecated
467
467
  */
468
- key?: string;
468
+ key?: string | undefined;
469
469
  /**
470
470
  * This parameter is no longer available and will be removed from the
471
471
  * documentation soon.
@@ -476,14 +476,14 @@ export declare class ContentRestrictionsService extends CommonHttpService {
476
476
  *
477
477
  * @deprecated
478
478
  */
479
- username?: string;
479
+ username?: string | undefined;
480
480
  /**
481
481
  * The account ID of the user. The accountId uniquely identifies the user across
482
482
  * all Atlassian products.
483
483
  * For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
484
484
  */
485
- accountId?: string;
486
- }): Promise<void>;
485
+ accountId?: string | undefined;
486
+ }) => Promise<void>;
487
487
  /**
488
488
  * Updates restrictions for a piece of content. This removes the existing
489
489
  * restrictions and replaces them with the restrictions in the request.
@@ -497,7 +497,7 @@ export declare class ContentRestrictionsService extends CommonHttpService {
497
497
  * @scopes-beta read:content-details:confluence, write:content.restriction:confluence
498
498
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-put
499
499
  */
500
- updateRestrictions({ id, expand, contentRestrictionAddOrUpdateArray, }: {
500
+ updateRestrictions: ({ id, expand, contentRestrictionAddOrUpdateArray, }: {
501
501
  /** The ID of the content to update restrictions for. */
502
502
  id: string;
503
503
  /**
@@ -511,9 +511,9 @@ export declare class ContentRestrictionsService extends CommonHttpService {
511
511
  * - `content` returns the piece of content that the restrictions are
512
512
  * applied to.
513
513
  */
514
- expand?: ("restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group" | "content")[];
514
+ expand?: ("content" | "restrictions.user" | "read.restrictions.user" | "update.restrictions.user" | "restrictions.group" | "read.restrictions.group" | "update.restrictions.group")[] | undefined;
515
515
  /** The updated restrictions for the content. */
516
516
  contentRestrictionAddOrUpdateArray: ContentRestrictionAddOrUpdateArray;
517
- }): Promise<ContentRestrictionArray>;
517
+ }) => Promise<ContentRestrictionArray>;
518
518
  static initialize(): void;
519
519
  }