confluence.js 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -0
  3. package/out/api/content.d.ts +24 -52
  4. package/out/api/content.js +14 -0
  5. package/out/api/contentAttachments.d.ts +10 -6
  6. package/out/api/contentAttachments.js +12 -0
  7. package/out/api/contentChildrenAndDescendants.d.ts +6 -24
  8. package/out/api/contentChildrenAndDescendants.js +6 -0
  9. package/out/api/contentPermissions.d.ts +6 -2
  10. package/out/api/contentPermissions.js +6 -1
  11. package/out/api/contentProperties.js +1 -0
  12. package/out/api/contentWatches.d.ts +2 -2
  13. package/out/api/experimental.d.ts +16 -0
  14. package/out/api/experimental.js +34 -0
  15. package/out/api/group.d.ts +30 -10
  16. package/out/api/group.js +31 -2
  17. package/out/api/index.d.ts +1 -0
  18. package/out/api/index.js +1 -0
  19. package/out/api/inlineTasks.d.ts +28 -0
  20. package/out/api/inlineTasks.js +21 -0
  21. package/out/api/models/getViewers.d.ts +6 -0
  22. package/out/api/models/getViewers.js +2 -0
  23. package/out/api/models/getViews.d.ts +6 -0
  24. package/out/api/models/getViews.js +2 -0
  25. package/out/api/models/groupCreate.d.ts +4 -0
  26. package/out/api/models/groupCreate.js +2 -0
  27. package/out/api/models/horizontalHeaderLookAndFeel.d.ts +11 -0
  28. package/out/api/models/horizontalHeaderLookAndFeel.js +2 -0
  29. package/out/api/models/index.d.ts +13 -4
  30. package/out/api/models/index.js +13 -4
  31. package/out/api/models/lookAndFeel.d.ts +3 -0
  32. package/out/api/models/spacePermissionCreate.d.ts +33 -0
  33. package/out/api/models/spacePermissionCreate.js +2 -0
  34. package/out/api/models/spacePermissionCustomContent.d.ts +16 -0
  35. package/out/api/models/spacePermissionCustomContent.js +2 -0
  36. package/out/api/models/spacePermissionRequest.d.ts +41 -0
  37. package/out/api/models/spacePermissionRequest.js +2 -0
  38. package/out/api/models/spacePrivateCreate.d.ts +9 -0
  39. package/out/api/models/spacePropertyCreate.d.ts +4 -0
  40. package/out/api/models/spaceUpdate.d.ts +4 -0
  41. package/out/api/models/taskStatusUpdate.d.ts +3 -0
  42. package/out/api/models/taskStatusUpdate.js +2 -0
  43. package/out/api/models/topNavigationLookAndFeel.d.ts +8 -0
  44. package/out/api/models/topNavigationLookAndFeel.js +2 -0
  45. package/out/api/parameters/addCustomContentPermissions.d.ts +5 -0
  46. package/out/api/parameters/addCustomContentPermissions.js +2 -0
  47. package/out/api/parameters/addPermissionToSpace.d.ts +5 -0
  48. package/out/api/parameters/addPermissionToSpace.js +2 -0
  49. package/out/api/parameters/addUserToGroup.d.ts +2 -1
  50. package/out/api/parameters/addUserToGroupByGroupId.d.ts +2 -1
  51. package/out/api/parameters/archivePages.d.ts +6 -0
  52. package/out/api/parameters/archivePages.js +2 -0
  53. package/out/api/parameters/checkContentPermission.d.ts +5 -0
  54. package/out/api/parameters/checkContentPermission.js +2 -0
  55. package/out/api/parameters/deleteRelationship.d.ts +38 -0
  56. package/out/api/parameters/deleteRelationship.js +2 -0
  57. package/out/api/parameters/downloadAttachment.d.ts +11 -0
  58. package/out/api/parameters/downloadAttachment.js +2 -0
  59. package/out/api/parameters/getContentProperties.d.ts +2 -0
  60. package/out/api/parameters/getDescendantsOfType.d.ts +101 -0
  61. package/out/api/parameters/getDescendantsOfType.js +89 -0
  62. package/out/api/parameters/getGroupByName.d.ts +4 -0
  63. package/out/api/parameters/getGroupByName.js +2 -0
  64. package/out/api/parameters/getGroups.d.ts +2 -0
  65. package/out/api/parameters/getTaskById.d.ts +4 -0
  66. package/out/api/parameters/getTaskById.js +2 -0
  67. package/out/api/parameters/getViewers.d.ts +6 -0
  68. package/out/api/parameters/getViewers.js +2 -0
  69. package/out/api/parameters/getViews.d.ts +6 -0
  70. package/out/api/parameters/getViews.js +2 -0
  71. package/out/api/parameters/index.d.ts +131 -116
  72. package/out/api/parameters/index.js +131 -116
  73. package/out/api/parameters/publishLegacyDraft.d.ts +3 -1
  74. package/out/api/parameters/publishSharedDraft.d.ts +3 -1
  75. package/out/api/parameters/searchByCQL.d.ts +34 -0
  76. package/out/api/parameters/searchByCQL.js +2 -0
  77. package/out/api/parameters/searchGroups.d.ts +8 -0
  78. package/out/api/parameters/searchGroups.js +2 -0
  79. package/out/api/parameters/searchUser.d.ts +20 -0
  80. package/out/api/parameters/searchUser.js +2 -0
  81. package/out/api/parameters/updateTaskById.d.ts +5 -0
  82. package/out/api/parameters/updateTaskById.js +2 -0
  83. package/out/api/relation.d.ts +12 -4
  84. package/out/api/relation.js +12 -2
  85. package/out/api/search.d.ts +12 -64
  86. package/out/api/search.js +19 -2
  87. package/out/api/settings.d.ts +2 -2
  88. package/out/api/settings.js +3 -0
  89. package/out/api/space.js +3 -0
  90. package/out/api/spacePermissions.d.ts +26 -2
  91. package/out/api/spacePermissions.js +20 -3
  92. package/out/api/spaceProperties.d.ts +4 -4
  93. package/out/api/spaceProperties.js +1 -0
  94. package/out/clients/baseClient.js +1 -1
  95. package/out/clients/confluenceClient.d.ts +2 -1
  96. package/out/clients/confluenceClient.js +1 -0
  97. package/package.json +6 -6
  98. package/src/api/content.ts +57 -52
  99. package/src/api/contentAttachments.ts +28 -6
  100. package/src/api/contentChildrenAndDescendants.ts +24 -28
  101. package/src/api/contentPermissions.ts +24 -7
  102. package/src/api/contentProperties.ts +1 -0
  103. package/src/api/contentWatches.ts +3 -3
  104. package/src/api/experimental.ts +44 -0
  105. package/src/api/group.ts +71 -19
  106. package/src/api/index.ts +1 -0
  107. package/src/api/inlineTasks.ts +52 -0
  108. package/src/api/models/getViewers.ts +6 -0
  109. package/src/api/models/getViews.ts +6 -0
  110. package/src/api/models/groupCreate.ts +4 -0
  111. package/src/api/models/horizontalHeaderLookAndFeel.ts +12 -0
  112. package/src/api/models/index.ts +13 -4
  113. package/src/api/models/lookAndFeel.ts +3 -0
  114. package/src/api/models/spacePermissionCreate.ts +34 -0
  115. package/src/api/models/spacePermissionCustomContent.ts +17 -0
  116. package/src/api/models/spacePermissionRequest.ts +42 -0
  117. package/src/api/models/spacePrivateCreate.ts +9 -0
  118. package/src/api/models/spacePropertyCreate.ts +4 -0
  119. package/src/api/models/spaceUpdate.ts +4 -0
  120. package/src/api/models/taskStatusUpdate.ts +3 -0
  121. package/src/api/models/topNavigationLookAndFeel.ts +8 -0
  122. package/src/api/parameters/addCustomContentPermissions.ts +6 -0
  123. package/src/api/parameters/addPermissionToSpace.ts +6 -0
  124. package/src/api/parameters/addUserToGroup.ts +3 -1
  125. package/src/api/parameters/addUserToGroupByGroupId.ts +3 -1
  126. package/src/api/parameters/archivePages.ts +6 -0
  127. package/src/api/parameters/checkContentPermission.ts +6 -0
  128. package/src/api/parameters/deleteRelationship.ts +38 -0
  129. package/src/api/parameters/downloadAttachment.ts +11 -0
  130. package/src/api/parameters/getContentProperties.ts +2 -0
  131. package/src/api/parameters/getDescendantsOfType.ts +102 -0
  132. package/src/api/parameters/getGroupByName.ts +4 -0
  133. package/src/api/parameters/getGroups.ts +2 -0
  134. package/src/api/parameters/getTaskById.ts +4 -0
  135. package/src/api/parameters/getViewers.ts +6 -0
  136. package/src/api/parameters/getViews.ts +6 -0
  137. package/src/api/parameters/index.ts +131 -116
  138. package/src/api/parameters/publishLegacyDraft.ts +4 -1
  139. package/src/api/parameters/publishSharedDraft.ts +4 -1
  140. package/src/api/parameters/searchByCQL.ts +34 -0
  141. package/src/api/parameters/searchGroups.ts +8 -0
  142. package/src/api/parameters/searchUser.ts +20 -0
  143. package/src/api/parameters/updateTaskById.ts +6 -0
  144. package/src/api/relation.ts +33 -8
  145. package/src/api/search.ts +53 -73
  146. package/src/api/settings.ts +6 -3
  147. package/src/api/space.ts +3 -0
  148. package/src/api/spacePermissions.ts +66 -8
  149. package/src/api/spaceProperties.ts +5 -4
  150. package/src/clients/baseClient.ts +2 -2
  151. package/src/clients/confluenceClient.ts +2 -0
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ export interface DownloadAttachment {
2
+ /** The ID of the content that the attachment is attached to. */
3
+ id: string;
4
+ /** The ID of the attachment to download. */
5
+ attachmentId: string;
6
+ /**
7
+ * The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of
8
+ * the attachment.
9
+ */
10
+ version?: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  export interface GetContentProperties {
2
2
  /** The ID of the content to be queried for its properties. */
3
3
  id: string;
4
+ /**The key of the content property.*/
5
+ key?: string[];
4
6
  /**
5
7
  * A multi-value parameter indicating which properties of the content to expand. By default, the `version` object is expanded.
6
8
  *
@@ -0,0 +1,101 @@
1
+ export interface GetDescendantsOfType {
2
+ /** The ID of the content to be queried for its descendants. */
3
+ id: string;
4
+ /** The type of descendants to return. */
5
+ type: string | 'page' | 'comment' | 'attachment';
6
+ /**
7
+ * Filter the results to descendants upto a desired level of the content. Note, the maximum value supported is 100.
8
+ * root level of the content means immediate (level 1) descendants of the type requested. all represents returning all
9
+ * descendants of the type requested.
10
+ */
11
+ depth?: string;
12
+ /** The starting index of the returned content. */
13
+ start?: number;
14
+ /** The maximum number of content to return per page. Note, this may be restricted by fixed system limits. */
15
+ limit?: number;
16
+ expand?: string | string[] | GetDescendantsOfType.Expand | GetDescendantsOfType.Expand[];
17
+ }
18
+ export declare namespace GetDescendantsOfType {
19
+ enum Expand {
20
+ /**
21
+ * Returns whether the content has attachments, comments, or child pages. Use this if you only need to check whether
22
+ * the content has children of a particular type.
23
+ */
24
+ AllChildTypes = "childTypes.all",
25
+ /** Returns whether the content has attachments. */
26
+ AttachmentChildType = "childTypes.attachment",
27
+ /** Returns whether the content has comments. */
28
+ CommentChildType = "childTypes.comment",
29
+ /** Returns whether the content has child pages. */
30
+ PageChildType = "childTypes.page",
31
+ /**
32
+ * Returns the space that the content is in. This is the same as the information returned by [Get
33
+ * space](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/).
34
+ */
35
+ Container = "container",
36
+ /**
37
+ * Returns information about the current user in relation to the content, including when they last viewed it,
38
+ * modified it, contributed to it, or added it as a favorite.
39
+ */
40
+ CurrentUserMetadata = "metadata.currentuser",
41
+ /** Returns content properties that have been set via the Confluence REST API. */
42
+ PropertiesMetadata = "metadata.properties",
43
+ /** Returns the labels that have been added to the content. */
44
+ LabelsMetadata = "metadata.labels",
45
+ /** This property is only used by Atlassian. */
46
+ FrontendMetadata = "metadata.frontend",
47
+ /** Returns the operations for the content, which are used when setting permissions. */
48
+ Operations = "operations",
49
+ /** Returns pages that are descendants at the level immediately below the content. */
50
+ PageChildren = "children.page",
51
+ /** Returns all attachments for the content. */
52
+ AttachmentChildren = "children.attachment",
53
+ /** Returns all comments on the content. */
54
+ CommentChildren = "children.comment",
55
+ /** Returns the users that have permission to read the content. */
56
+ ReadUserRestriction = "restrictions.read.restrictions.user",
57
+ /**
58
+ * Returns the groups that have permission to read the content. Note that this may return deleted groups, because
59
+ * deleting a group doesn't remove associated restrictions.
60
+ */
61
+ ReadGroupRestriction = "restrictions.read.restrictions.group",
62
+ /** Returns the users that have permission to update the content. */
63
+ UpdateUserRestriction = "restrictions.update.restrictions.user",
64
+ /**
65
+ * Returns the groups that have permission to update the content. Note that this may return deleted groups because
66
+ * deleting a group doesn't remove associated restrictions.
67
+ */
68
+ UpdateGroupRestriction = "restrictions.update.restrictions.group",
69
+ /** Returns the history of the content, including the date it was created. */
70
+ History = "history",
71
+ /** Returns information about the most recent update of the content, including who updated it and when it was updated. */
72
+ LastUpdated = "history.lastUpdated",
73
+ /** Returns information about the update prior to the current content update. */
74
+ PreviousVersion = "history.previousVersion",
75
+ /** Returns all of the users who have contributed to the content. */
76
+ Contributors = "history.contributors",
77
+ /** Returns information about the update after to the current content update. */
78
+ NextVersion = "history.nextVersion",
79
+ /** Returns the parent page, if the content is a page. */
80
+ Ancestors = "ancestors",
81
+ /** Returns the body of the content in different formats, including the editor format, view format, and export format. */
82
+ Body = "body",
83
+ /** Returns information about the most recent update of the content, including who updated it and when it was updated. */
84
+ Version = "version",
85
+ /** Returns pages that are descendants at any level below the content. */
86
+ PageDescendant = "descendants.page",
87
+ /** Returns all attachments for the content, same as `children.attachment`. */
88
+ AttachmentDescendant = "descendants.attachment",
89
+ /** Returns all comments on the content, same as `children.comment`. */
90
+ CommentDescendant = "descendants.comment",
91
+ /**
92
+ * Returns the space that the content is in. This is the same as the information returned by [Get
93
+ * space](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/).
94
+ */
95
+ Space = "space",
96
+ /** Returns inline comment-specific properties. */
97
+ InlineProperties = "extensions.inlineProperties",
98
+ /** Returns the resolution status of each comment. */
99
+ Resolution = "extensions.resolution"
100
+ }
101
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDescendantsOfType = void 0;
4
+ var GetDescendantsOfType;
5
+ (function (GetDescendantsOfType) {
6
+ let Expand;
7
+ (function (Expand) {
8
+ /**
9
+ * Returns whether the content has attachments, comments, or child pages. Use this if you only need to check whether
10
+ * the content has children of a particular type.
11
+ */
12
+ Expand["AllChildTypes"] = "childTypes.all";
13
+ /** Returns whether the content has attachments. */
14
+ Expand["AttachmentChildType"] = "childTypes.attachment";
15
+ /** Returns whether the content has comments. */
16
+ Expand["CommentChildType"] = "childTypes.comment";
17
+ /** Returns whether the content has child pages. */
18
+ Expand["PageChildType"] = "childTypes.page";
19
+ /**
20
+ * Returns the space that the content is in. This is the same as the information returned by [Get
21
+ * space](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/).
22
+ */
23
+ Expand["Container"] = "container";
24
+ /**
25
+ * Returns information about the current user in relation to the content, including when they last viewed it,
26
+ * modified it, contributed to it, or added it as a favorite.
27
+ */
28
+ Expand["CurrentUserMetadata"] = "metadata.currentuser";
29
+ /** Returns content properties that have been set via the Confluence REST API. */
30
+ Expand["PropertiesMetadata"] = "metadata.properties";
31
+ /** Returns the labels that have been added to the content. */
32
+ Expand["LabelsMetadata"] = "metadata.labels";
33
+ /** This property is only used by Atlassian. */
34
+ Expand["FrontendMetadata"] = "metadata.frontend";
35
+ /** Returns the operations for the content, which are used when setting permissions. */
36
+ Expand["Operations"] = "operations";
37
+ /** Returns pages that are descendants at the level immediately below the content. */
38
+ Expand["PageChildren"] = "children.page";
39
+ /** Returns all attachments for the content. */
40
+ Expand["AttachmentChildren"] = "children.attachment";
41
+ /** Returns all comments on the content. */
42
+ Expand["CommentChildren"] = "children.comment";
43
+ /** Returns the users that have permission to read the content. */
44
+ Expand["ReadUserRestriction"] = "restrictions.read.restrictions.user";
45
+ /**
46
+ * Returns the groups that have permission to read the content. Note that this may return deleted groups, because
47
+ * deleting a group doesn't remove associated restrictions.
48
+ */
49
+ Expand["ReadGroupRestriction"] = "restrictions.read.restrictions.group";
50
+ /** Returns the users that have permission to update the content. */
51
+ Expand["UpdateUserRestriction"] = "restrictions.update.restrictions.user";
52
+ /**
53
+ * Returns the groups that have permission to update the content. Note that this may return deleted groups because
54
+ * deleting a group doesn't remove associated restrictions.
55
+ */
56
+ Expand["UpdateGroupRestriction"] = "restrictions.update.restrictions.group";
57
+ /** Returns the history of the content, including the date it was created. */
58
+ Expand["History"] = "history";
59
+ /** Returns information about the most recent update of the content, including who updated it and when it was updated. */
60
+ Expand["LastUpdated"] = "history.lastUpdated";
61
+ /** Returns information about the update prior to the current content update. */
62
+ Expand["PreviousVersion"] = "history.previousVersion";
63
+ /** Returns all of the users who have contributed to the content. */
64
+ Expand["Contributors"] = "history.contributors";
65
+ /** Returns information about the update after to the current content update. */
66
+ Expand["NextVersion"] = "history.nextVersion";
67
+ /** Returns the parent page, if the content is a page. */
68
+ Expand["Ancestors"] = "ancestors";
69
+ /** Returns the body of the content in different formats, including the editor format, view format, and export format. */
70
+ Expand["Body"] = "body";
71
+ /** Returns information about the most recent update of the content, including who updated it and when it was updated. */
72
+ Expand["Version"] = "version";
73
+ /** Returns pages that are descendants at any level below the content. */
74
+ Expand["PageDescendant"] = "descendants.page";
75
+ /** Returns all attachments for the content, same as `children.attachment`. */
76
+ Expand["AttachmentDescendant"] = "descendants.attachment";
77
+ /** Returns all comments on the content, same as `children.comment`. */
78
+ Expand["CommentDescendant"] = "descendants.comment";
79
+ /**
80
+ * Returns the space that the content is in. This is the same as the information returned by [Get
81
+ * space](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/).
82
+ */
83
+ Expand["Space"] = "space";
84
+ /** Returns inline comment-specific properties. */
85
+ Expand["InlineProperties"] = "extensions.inlineProperties";
86
+ /** Returns the resolution status of each comment. */
87
+ Expand["Resolution"] = "extensions.resolution";
88
+ })(Expand = GetDescendantsOfType.Expand || (GetDescendantsOfType.Expand = {}));
89
+ })(GetDescendantsOfType = exports.GetDescendantsOfType || (exports.GetDescendantsOfType = {}));
@@ -0,0 +1,4 @@
1
+ export interface GetGroupByName {
2
+ /** The name of the group. This is the same as the group name shown in the Confluence administration console. */
3
+ groupName: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,6 @@ export interface GetGroups {
3
3
  start?: number;
4
4
  /** The maximum number of groups to return per page. Note, this may be restricted by fixed system limits. */
5
5
  limit?: number;
6
+ /** The group permission level for which to filter results. */
7
+ accessType?: string;
6
8
  }
@@ -0,0 +1,4 @@
1
+ export interface GetTaskById {
2
+ /** Global ID of the inline task */
3
+ inlineTaskId: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface GetViewers {
2
+ /** The ID of the content to get the viewers for. */
3
+ contentId: string;
4
+ /** The number of views for the content since the date. */
5
+ fromDate?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface GetViews {
2
+ /** The ID of the content to get the views for. */
3
+ contentId: string;
4
+ /** The number of views for the content since the date. */
5
+ fromDate?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,140 +1,155 @@
1
- export * from './getAuditRecords';
1
+ export * from './addContentWatcher';
2
+ export * from './addCustomContentPermissions';
3
+ export * from './addGroupToContentRestriction';
4
+ export * from './addGroupToContentRestrictionByGroupId';
5
+ export * from './addLabelsToContent';
6
+ export * from './addLabelWatcher';
7
+ export * from './addPermission';
8
+ export * from './addPermissionToSpace';
9
+ export * from './addRestrictions';
10
+ export * from './addSpaceWatcher';
11
+ export * from './addUserToContentRestriction';
12
+ export * from './addUserToGroup';
13
+ export * from './addUserToGroupByGroupId';
14
+ export * from './archivePages';
15
+ export * from './checkContentPermission';
16
+ export * from './convertContentBody';
17
+ export * from './copyPage';
18
+ export * from './copyPageHierarchy';
19
+ export * from './createAttachments';
2
20
  export * from './createAuditRecord';
21
+ export * from './createContent';
22
+ export * from './createContentProperty';
23
+ export * from './createContentPropertyForKey';
24
+ export * from './createContentTemplate';
25
+ export * from './createGroup';
26
+ export * from './createOrUpdateAttachments';
27
+ export * from './createPrivateSpace';
28
+ export * from './createRelationship';
29
+ export * from './createSpace';
30
+ export * from './createSpaceProperty';
31
+ export * from './createSpacePropertyForKey';
32
+ export * from './delete';
33
+ export * from './deleteContent';
34
+ export * from './deleteContentProperty';
35
+ export * from './deleteContentVersion';
36
+ export * from './deleteRelationship';
37
+ export * from './deleteRestrictions';
38
+ export * from './deleteSpace';
39
+ export * from './deleteSpaceProperty';
40
+ export * from './descendantsOfType';
41
+ export * from './downloadAttachment';
3
42
  export * from './exportAuditRecords';
4
- export * from './setRetentionPeriod';
43
+ export * from './findSourcesForTarget';
44
+ export * from './findTargetFromSource';
45
+ export * from './getAllLabelContent';
46
+ export * from './getAnonymousUser';
47
+ export * from './getAttachments';
48
+ export * from './getAuditRecords';
5
49
  export * from './getAuditRecordsForTimePeriod';
50
+ export * from './getBlueprintTemplates';
51
+ export * from './getBulkUserLookup';
52
+ export * from './getBulkUserMigration';
6
53
  export * from './getContent';
7
- export * from './createContent';
8
- export * from './publishLegacyDraft';
9
- export * from './publishSharedDraft';
10
- export * from './searchContentByCQL';
11
54
  export * from './getContentById';
12
- export * from './updateContent';
13
- export * from './deleteContent';
14
- export * from './getHistoryForContent';
55
+ export * from './getContentByTypeForSpace';
15
56
  export * from './getContentChildren';
16
- export * from './movePage';
17
57
  export * from './getContentChildrenByType';
18
- export * from './getContentDescendants';
19
- export * from './descendantsOfType';
20
- export * from './copyPageHierarchy';
21
- export * from './copyPage';
22
- export * from './getAttachments';
23
- export * from './createAttachments';
24
- export * from './createOrUpdateAttachments';
25
- export * from './updateAttachmentProperties';
26
- export * from './updateAttachmentData';
27
58
  export * from './getContentComments';
28
- export * from './getMacroBodyByMacroId';
29
- export * from './getLabelsForContent';
30
- export * from './addLabelsToContent';
31
- export * from './removeLabelFromContentUsingQueryParameter';
32
- export * from './removeLabelFromContent';
33
- export * from './getWatchesForPage';
34
- export * from './getWatchesForSpace';
35
- export * from './getWatchersForSpace';
36
- export * from './getContentWatchStatus';
37
- export * from './addContentWatcher';
38
- export * from './removeContentWatcher';
39
- export * from './isWatchingLabel';
40
- export * from './addLabelWatcher';
41
- export * from './removeLabelWatcher';
42
- export * from './isWatchingSpace';
43
- export * from './addSpaceWatcher';
44
- export * from './removeSpaceWatch';
45
- export * from './permissionCheck';
59
+ export * from './getContentDescendants';
60
+ export * from './getContentForSpace';
46
61
  export * from './getContentProperties';
47
- export * from './createContentProperty';
48
62
  export * from './getContentProperty';
49
- export * from './createContentPropertyForKey';
50
- export * from './updateContentProperty';
51
- export * from './deleteContentProperty';
52
- export * from './getRestrictions';
53
- export * from './addRestrictions';
54
- export * from './updateRestrictions';
55
- export * from './deleteRestrictions';
56
- export * from './getRestrictionsByOperation';
57
- export * from './getRestrictionsForOperation';
58
63
  export * from './getContentRestrictionStatusForGroup';
59
- export * from './addGroupToContentRestriction';
60
- export * from './getIndividualGroupRestrictionStatusByGroupId';
61
- export * from './addGroupToContentRestrictionByGroupId';
62
- export * from './removeGroupByName';
63
- export * from './removeGroupById';
64
64
  export * from './getContentRestrictionStatusForUser';
65
- export * from './addUserToContentRestriction';
66
- export * from './removeUserFromContentRestriction';
67
- export * from './getContentVersions';
68
- export * from './restoreContentVersion';
65
+ export * from './getContentTemplate';
66
+ export * from './getContentTemplates';
69
67
  export * from './getContentVersion';
70
- export * from './deleteContentVersion';
71
- export * from './convertContentBody';
72
- export * from './searchTasks';
73
- export * from './getAllLabelContent';
74
- export * from './getGroups';
75
- export * from './createGroup';
76
- export * from './removeGroup';
77
- export * from './getGroupByQueryParam';
78
- export * from './getGroupByGroupId';
68
+ export * from './getContentVersions';
69
+ export * from './getContentWatchStatus';
70
+ export * from './getCurrentUser';
71
+ export * from './getDescendantsOfType';
79
72
  export * from './getGroup';
80
- export * from './getMembersByQueryParam';
73
+ export * from './getGroupByGroupId';
74
+ export * from './getGroupByName';
75
+ export * from './getGroupByQueryParam';
81
76
  export * from './getGroupMembers';
82
- export * from './getGroupsSearch';
83
- export * from './addUserToGroupByGroupId';
84
- export * from './removeMemberFromGroupByGroupId';
85
77
  export * from './getGroupMembersByGroupId';
86
- export * from './addUserToGroup';
87
- export * from './removeMemberFromGroup';
88
- export * from './getTasks';
89
- export * from './getTask';
90
- export * from './findTargetFromSource';
91
- export * from './getRelationship';
92
- export * from './createRelationship';
93
- export * from './delete';
94
- export * from './findSourcesForTarget';
95
- export * from './search';
96
- export * from './userSearch';
78
+ export * from './getGroupMembershipsForUser';
79
+ export * from './getGroups';
80
+ export * from './getGroupsSearch';
81
+ export * from './getHistoryForContent';
82
+ export * from './getIndividualGroupRestrictionStatusByGroupId';
83
+ export * from './getLabelsForContent';
97
84
  export * from './getLookAndFeelSettings';
98
- export * from './updateLookAndFeel';
99
- export * from './updateLookAndFeelSettings';
100
- export * from './resetLookAndFeelSettings';
101
- export * from './setLookAndFeelSettings';
102
- export * from './getThemes';
103
- export * from './getTheme';
104
- export * from './getSpaceTheme';
105
- export * from './setSpaceTheme';
106
- export * from './resetSpaceTheme';
107
- export * from './getSpaces';
108
- export * from './createSpace';
109
- export * from './createPrivateSpace';
85
+ export * from './getMacroBodyByMacroId';
86
+ export * from './getMembersByQueryParam';
87
+ export * from './getPrivacyUnsafeUserEmail';
88
+ export * from './getPrivacyUnsafeUserEmailBulk';
89
+ export * from './getRelationship';
90
+ export * from './getRestrictions';
91
+ export * from './getRestrictionsByOperation';
92
+ export * from './getRestrictionsForOperation';
110
93
  export * from './getSpace';
111
- export * from './updateSpace';
112
- export * from './deleteSpace';
113
- export * from './getContentForSpace';
114
- export * from './getContentByTypeForSpace';
115
- export * from './addPermission';
116
- export * from './removePermission';
117
94
  export * from './getSpaceProperties';
118
- export * from './createSpaceProperty';
119
95
  export * from './getSpaceProperty';
120
- export * from './createSpacePropertyForKey';
121
- export * from './updateSpaceProperty';
122
- export * from './deleteSpaceProperty';
96
+ export * from './getSpaces';
123
97
  export * from './getSpaceSettings';
124
- export * from './updateSpaceSettings';
125
- export * from './createContentTemplate';
126
- export * from './updateContentTemplate';
127
- export * from './getBlueprintTemplates';
128
- export * from './getContentTemplates';
129
- export * from './getContentTemplate';
130
- export * from './removeTemplate';
98
+ export * from './getSpaceTheme';
99
+ export * from './getTask';
100
+ export * from './getTaskById';
101
+ export * from './getTasks';
102
+ export * from './getTheme';
103
+ export * from './getThemes';
131
104
  export * from './getUser';
132
- export * from './getAnonymousUser';
133
- export * from './getCurrentUser';
134
- export * from './getGroupMembershipsForUser';
135
- export * from './getBulkUserLookup';
136
- export * from './getPrivacyUnsafeUserEmail';
137
- export * from './getPrivacyUnsafeUserEmailBulk';
138
- export * from './getBulkUserMigration';
105
+ export * from './getViewers';
106
+ export * from './getViews';
107
+ export * from './getWatchersForSpace';
108
+ export * from './getWatchesForPage';
109
+ export * from './getWatchesForSpace';
110
+ export * from './isWatchingLabel';
111
+ export * from './isWatchingSpace';
112
+ export * from './movePage';
113
+ export * from './permissionCheck';
114
+ export * from './publishLegacyDraft';
115
+ export * from './publishSharedDraft';
139
116
  export * from './registerModules';
117
+ export * from './removeContentWatcher';
118
+ export * from './removeGroup';
119
+ export * from './removeGroupById';
120
+ export * from './removeGroupByName';
121
+ export * from './removeLabelFromContent';
122
+ export * from './removeLabelFromContentUsingQueryParameter';
123
+ export * from './removeLabelWatcher';
124
+ export * from './removeMemberFromGroup';
125
+ export * from './removeMemberFromGroupByGroupId';
140
126
  export * from './removeModules';
127
+ export * from './removePermission';
128
+ export * from './removeSpaceWatch';
129
+ export * from './removeTemplate';
130
+ export * from './removeUserFromContentRestriction';
131
+ export * from './resetLookAndFeelSettings';
132
+ export * from './resetSpaceTheme';
133
+ export * from './restoreContentVersion';
134
+ export * from './search';
135
+ export * from './searchByCQL';
136
+ export * from './searchContentByCQL';
137
+ export * from './searchGroups';
138
+ export * from './searchTasks';
139
+ export * from './searchUser';
140
+ export * from './setLookAndFeelSettings';
141
+ export * from './setRetentionPeriod';
142
+ export * from './setSpaceTheme';
143
+ export * from './updateAttachmentData';
144
+ export * from './updateAttachmentProperties';
145
+ export * from './updateContent';
146
+ export * from './updateContentProperty';
147
+ export * from './updateContentTemplate';
148
+ export * from './updateLookAndFeel';
149
+ export * from './updateLookAndFeelSettings';
150
+ export * from './updateRestrictions';
151
+ export * from './updateSpace';
152
+ export * from './updateSpaceProperty';
153
+ export * from './updateSpaceSettings';
154
+ export * from './updateTaskById';
155
+ export * from './userSearch';