confluence.js 1.2.2 → 1.4.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.
- package/CHANGELOG.md +18 -0
- package/README.md +15 -57
- package/out/api/analytics.d.ts +16 -0
- package/out/api/analytics.js +34 -0
- package/out/api/audit.d.ts +1 -1
- package/out/api/audit.js +12 -12
- package/out/api/content.d.ts +1 -1
- package/out/api/content.js +20 -20
- package/out/api/contentAttachments.d.ts +3 -3
- package/out/api/contentAttachments.js +13 -12
- package/out/api/contentBody.d.ts +1 -1
- package/out/api/contentBody.js +2 -2
- package/out/api/contentChildrenAndDescendants.d.ts +3 -3
- package/out/api/contentChildrenAndDescendants.js +16 -15
- package/out/api/contentComments.d.ts +1 -1
- package/out/api/contentComments.js +2 -2
- package/out/api/contentContentState.d.ts +58 -0
- package/out/api/contentContentState.js +63 -0
- package/out/api/contentLabels.d.ts +1 -1
- package/out/api/contentLabels.js +8 -8
- package/out/api/contentMacroBody.d.ts +1 -1
- package/out/api/contentMacroBody.js +2 -2
- package/out/api/contentPermissions.d.ts +1 -1
- package/out/api/contentPermissions.js +3 -3
- package/out/api/contentProperties.d.ts +1 -1
- package/out/api/contentProperties.js +12 -12
- package/out/api/contentRestrictions.d.ts +1 -1
- package/out/api/contentRestrictions.js +30 -30
- package/out/api/contentVersions.d.ts +1 -1
- package/out/api/contentVersions.js +8 -8
- package/out/api/contentWatches.d.ts +1 -1
- package/out/api/contentWatches.js +24 -24
- package/out/api/dynamicModules.d.ts +1 -1
- package/out/api/dynamicModules.js +6 -6
- package/out/api/experimental.d.ts +123 -5
- package/out/api/experimental.js +65 -13
- package/out/api/group.d.ts +1 -1
- package/out/api/group.js +35 -32
- package/out/api/index.d.ts +2 -0
- package/out/api/index.js +31 -29
- package/out/api/inlineTasks.d.ts +1 -1
- package/out/api/inlineTasks.js +6 -6
- package/out/api/labelInfo.d.ts +1 -1
- package/out/api/labelInfo.js +2 -2
- package/out/api/longRunningTask.d.ts +1 -1
- package/out/api/longRunningTask.js +4 -4
- package/out/api/models/availableContentStates.d.ts +6 -0
- package/out/api/models/availableContentStates.js +2 -0
- package/out/api/models/blueprintTemplate.d.ts +1 -1
- package/out/api/models/bulkUserLookup.d.ts +2 -2
- package/out/api/models/content.d.ts +6 -6
- package/out/api/models/contentHistory.d.ts +2 -2
- package/out/api/models/contentLookAndFeel.d.ts +1 -1
- package/out/api/models/contentMetadata.d.ts +1 -1
- package/out/api/models/contentRestriction.d.ts +2 -2
- package/out/api/models/contentState.d.ts +8 -0
- package/out/api/models/contentState.js +2 -0
- package/out/api/models/contentStateContainer.d.ts +5 -0
- package/out/api/models/contentStateContainer.js +2 -0
- package/out/api/models/contentStateSettings.d.ts +11 -0
- package/out/api/models/contentStateSettings.js +2 -0
- package/out/api/models/contentTemplate.d.ts +1 -1
- package/out/api/models/copyPageHierarchyRequest.d.ts +2 -0
- package/out/api/models/copyPageRequest.d.ts +1 -1
- package/out/api/models/horizontalHeaderLookAndFeel.d.ts +1 -1
- package/out/api/models/index.d.ts +8 -0
- package/out/api/models/index.js +166 -158
- package/out/api/models/labelArray.d.ts +1 -1
- package/out/api/models/longTask.d.ts +8 -0
- package/out/api/models/longTask.js +2 -0
- package/out/api/models/longTaskStatusArray.d.ts +1 -1
- package/out/api/models/lookAndFeel.d.ts +2 -2
- package/out/api/models/migratedUserArray.d.ts +1 -1
- package/out/api/models/relation.d.ts +1 -1
- package/out/api/models/relationArray.d.ts +1 -1
- package/out/api/models/searchPageResponseSearchResult.d.ts +1 -1
- package/out/api/models/searchResult.d.ts +2 -2
- package/out/api/models/space.d.ts +4 -4
- package/out/api/models/spaceArray.d.ts +1 -1
- package/out/api/models/spacePermission.d.ts +1 -1
- package/out/api/models/spacePermissionCreate.d.ts +1 -1
- package/out/api/models/spacePermissionRequest.d.ts +1 -1
- package/out/api/models/spacePermissionV2.d.ts +1 -1
- package/out/api/models/spacePropertyArray.d.ts +1 -1
- package/out/api/models/spaceWatchArray.d.ts +1 -1
- package/out/api/models/themeArray.d.ts +1 -1
- package/out/api/models/user.d.ts +2 -2
- package/out/api/models/userAnonymous.d.ts +1 -1
- package/out/api/models/userProperty.d.ts +13 -0
- package/out/api/models/userProperty.js +2 -0
- package/out/api/models/userPropertyCreate.d.ts +4 -0
- package/out/api/models/userPropertyCreate.js +2 -0
- package/out/api/models/userPropertyKeyArray.d.ts +10 -0
- package/out/api/models/userPropertyKeyArray.js +2 -0
- package/out/api/models/userPropertyUpdate.d.ts +4 -0
- package/out/api/models/userPropertyUpdate.js +2 -0
- package/out/api/models/usersUserKeys.d.ts +1 -1
- package/out/api/models/version.d.ts +2 -2
- package/out/api/models/versionArray.d.ts +1 -1
- package/out/api/models/watchArray.d.ts +1 -1
- package/out/api/parameters/createUserProperty.d.ts +10 -0
- package/out/api/parameters/createUserProperty.js +2 -0
- package/out/api/parameters/deletePageTree.d.ts +4 -0
- package/out/api/parameters/deletePageTree.js +2 -0
- package/out/api/parameters/deleteUserProperty.d.ts +9 -0
- package/out/api/parameters/deleteUserProperty.js +2 -0
- package/out/api/parameters/getAvailableContentStates.d.ts +4 -0
- package/out/api/parameters/getAvailableContentStates.js +2 -0
- package/out/api/parameters/getContentState.d.ts +6 -0
- package/out/api/parameters/getContentState.js +2 -0
- package/out/api/parameters/getContentStateLastUpdated.d.ts +4 -0
- package/out/api/parameters/getContentStateLastUpdated.js +2 -0
- package/out/api/parameters/getContentStateSettings.d.ts +4 -0
- package/out/api/parameters/getContentStateSettings.js +2 -0
- package/out/api/parameters/getGroupMembersByGroupId.d.ts +5 -0
- package/out/api/parameters/getMembersByQueryParam.d.ts +5 -0
- package/out/api/parameters/getSpaces.d.ts +1 -1
- package/out/api/parameters/getUserProperties.d.ts +8 -0
- package/out/api/parameters/getUserProperties.js +2 -0
- package/out/api/parameters/getUserProperty.d.ts +6 -0
- package/out/api/parameters/getUserProperty.js +2 -0
- package/out/api/parameters/index.d.ts +12 -0
- package/out/api/parameters/index.js +170 -158
- package/out/api/parameters/removeContentState.d.ts +4 -0
- package/out/api/parameters/removeContentState.js +2 -0
- package/out/api/parameters/searchGroups.d.ts +5 -0
- package/out/api/parameters/setContentState.d.ts +8 -0
- package/out/api/parameters/setContentState.js +2 -0
- package/out/api/parameters/updateUserProperty.d.ts +10 -0
- package/out/api/parameters/updateUserProperty.js +2 -0
- package/out/api/relation.d.ts +1 -1
- package/out/api/relation.js +12 -12
- package/out/api/search.d.ts +3 -3
- package/out/api/search.js +7 -6
- package/out/api/settings.d.ts +5 -1
- package/out/api/settings.js +21 -12
- package/out/api/space.d.ts +1 -1
- package/out/api/space.js +21 -17
- package/out/api/spacePermissions.d.ts +1 -1
- package/out/api/spacePermissions.js +7 -7
- package/out/api/spaceProperties.d.ts +1 -1
- package/out/api/spaceProperties.js +12 -12
- package/out/api/spaceSettings.d.ts +1 -1
- package/out/api/spaceSettings.js +4 -4
- package/out/api/template.d.ts +1 -1
- package/out/api/template.js +12 -12
- package/out/api/themes.d.ts +1 -1
- package/out/api/themes.js +12 -12
- package/out/api/users.d.ts +3 -3
- package/out/api/users.js +16 -16
- package/out/clients/baseClient.d.ts +3 -6
- package/out/clients/baseClient.js +16 -38
- package/out/clients/client.d.ts +2 -3
- package/out/clients/confluenceClient.d.ts +3 -1
- package/out/clients/confluenceClient.js +2 -0
- package/out/clients/index.js +4 -4
- package/out/config.d.ts +8 -4
- package/out/index.js +4 -4
- package/out/paramSerializer.d.ts +1 -0
- package/out/paramSerializer.js +16 -0
- package/out/server/audit.d.ts +1 -1
- package/out/server/audit.js +6 -6
- package/out/server/content.d.ts +1 -1
- package/out/server/content.js +32 -32
- package/out/server/contentBody.d.ts +1 -1
- package/out/server/contentBody.js +1 -1
- package/out/server/group.d.ts +1 -1
- package/out/server/group.js +3 -3
- package/out/server/index.js +8 -8
- package/out/server/longTask.d.ts +1 -1
- package/out/server/longTask.js +2 -2
- package/out/server/models/content.d.ts +6 -6
- package/out/server/models/contentChildren.d.ts +1 -1
- package/out/server/models/contentHistory.d.ts +2 -2
- package/out/server/models/contentLookAndFeel.d.ts +1 -1
- package/out/server/models/contentRestriction.d.ts +2 -2
- package/out/server/models/index.js +60 -60
- package/out/server/models/lookAndFeel.d.ts +2 -2
- package/out/server/models/searchResult.d.ts +2 -2
- package/out/server/models/space.d.ts +3 -3
- package/out/server/models/spacePermission.d.ts +1 -1
- package/out/server/models/user.d.ts +1 -1
- package/out/server/models/version.d.ts +1 -1
- package/out/server/parameters/index.js +64 -64
- package/out/server/search.d.ts +1 -1
- package/out/server/search.js +1 -1
- package/out/server/space.d.ts +1 -1
- package/out/server/space.js +14 -14
- package/out/server/user.d.ts +1 -1
- package/out/server/user.js +10 -10
- package/out/services/authenticationService/authenticationService.js +4 -1
- package/out/services/authenticationService/authentications/createPATAuthenticationToken.d.ts +2 -0
- package/out/services/authenticationService/authentications/createPATAuthenticationToken.js +10 -0
- package/out/services/authenticationService/authentications/index.d.ts +1 -0
- package/out/services/authenticationService/authentications/index.js +4 -3
- package/out/services/authenticationService/index.js +1 -1
- package/package.json +30 -27
- package/src/api/analytics.ts +44 -0
- package/src/api/audit.ts +7 -7
- package/src/api/content.ts +11 -11
- package/src/api/contentAttachments.ts +11 -10
- package/src/api/contentBody.ts +2 -2
- package/src/api/contentChildrenAndDescendants.ts +15 -11
- package/src/api/contentComments.ts +2 -2
- package/src/api/contentContentState.ts +157 -0
- package/src/api/contentLabels.ts +5 -5
- package/src/api/contentMacroBody.ts +2 -2
- package/src/api/contentPermissions.ts +2 -2
- package/src/api/contentProperties.ts +7 -7
- package/src/api/contentRestrictions.ts +16 -16
- package/src/api/contentVersions.ts +5 -5
- package/src/api/contentWatches.ts +13 -13
- package/src/api/dynamicModules.ts +4 -4
- package/src/api/experimental.ts +216 -13
- package/src/api/group.ts +20 -16
- package/src/api/index.ts +2 -0
- package/src/api/inlineTasks.ts +4 -4
- package/src/api/labelInfo.ts +2 -2
- package/src/api/longRunningTask.ts +3 -3
- package/src/api/models/availableContentStates.ts +7 -0
- package/src/api/models/blueprintTemplate.ts +1 -1
- package/src/api/models/bulkUserLookup.ts +2 -2
- package/src/api/models/content.ts +6 -6
- package/src/api/models/contentHistory.ts +2 -2
- package/src/api/models/contentLookAndFeel.ts +1 -1
- package/src/api/models/contentMetadata.ts +1 -1
- package/src/api/models/contentRestriction.ts +2 -2
- package/src/api/models/contentState.ts +8 -0
- package/src/api/models/contentStateContainer.ts +6 -0
- package/src/api/models/contentStateSettings.ts +12 -0
- package/src/api/models/contentTemplate.ts +1 -1
- package/src/api/models/copyPageHierarchyRequest.ts +2 -0
- package/src/api/models/copyPageRequest.ts +1 -1
- package/src/api/models/horizontalHeaderLookAndFeel.ts +1 -1
- package/src/api/models/index.ts +8 -0
- package/src/api/models/labelArray.ts +1 -1
- package/src/api/models/longTask.ts +8 -0
- package/src/api/models/longTaskStatusArray.ts +1 -1
- package/src/api/models/lookAndFeel.ts +2 -2
- package/src/api/models/migratedUserArray.ts +1 -1
- package/src/api/models/relation.ts +1 -1
- package/src/api/models/relationArray.ts +1 -1
- package/src/api/models/searchPageResponseSearchResult.ts +1 -1
- package/src/api/models/searchResult.ts +2 -2
- package/src/api/models/space.ts +4 -4
- package/src/api/models/spaceArray.ts +1 -1
- package/src/api/models/spacePermission.ts +1 -1
- package/src/api/models/spacePermissionCreate.ts +1 -1
- package/src/api/models/spacePermissionRequest.ts +1 -1
- package/src/api/models/spacePermissionV2.ts +1 -1
- package/src/api/models/spacePropertyArray.ts +1 -1
- package/src/api/models/spaceWatchArray.ts +1 -1
- package/src/api/models/themeArray.ts +1 -1
- package/src/api/models/user.ts +2 -2
- package/src/api/models/userAnonymous.ts +1 -1
- package/src/api/models/userProperty.ts +14 -0
- package/src/api/models/userPropertyCreate.ts +4 -0
- package/src/api/models/userPropertyKeyArray.ts +11 -0
- package/src/api/models/userPropertyUpdate.ts +4 -0
- package/src/api/models/usersUserKeys.ts +1 -1
- package/src/api/models/version.ts +2 -2
- package/src/api/models/versionArray.ts +1 -1
- package/src/api/models/watchArray.ts +1 -1
- package/src/api/parameters/createUserProperty.ts +11 -0
- package/src/api/parameters/deletePageTree.ts +4 -0
- package/src/api/parameters/deleteUserProperty.ts +9 -0
- package/src/api/parameters/getAvailableContentStates.ts +4 -0
- package/src/api/parameters/getContentState.ts +6 -0
- package/src/api/parameters/getContentStateLastUpdated.ts +4 -0
- package/src/api/parameters/getContentStateSettings.ts +4 -0
- package/src/api/parameters/getGroupMembersByGroupId.ts +5 -0
- package/src/api/parameters/getMembersByQueryParam.ts +5 -0
- package/src/api/parameters/getSpaces.ts +31 -1
- package/src/api/parameters/getUserProperties.ts +8 -0
- package/src/api/parameters/getUserProperty.ts +6 -0
- package/src/api/parameters/index.ts +12 -0
- package/src/api/parameters/removeContentState.ts +4 -0
- package/src/api/parameters/searchGroups.ts +5 -0
- package/src/api/parameters/setContentState.ts +8 -0
- package/src/api/parameters/updateUserProperty.ts +11 -0
- package/src/api/relation.ts +6 -6
- package/src/api/search.ts +7 -5
- package/src/api/settings.ts +29 -7
- package/src/api/space.ts +14 -10
- package/src/api/spacePermissions.ts +4 -4
- package/src/api/spaceProperties.ts +7 -7
- package/src/api/spaceSettings.ts +3 -3
- package/src/api/template.ts +7 -7
- package/src/api/themes.ts +7 -7
- package/src/api/users.ts +12 -12
- package/src/clients/baseClient.ts +12 -64
- package/src/clients/client.ts +2 -3
- package/src/clients/confluenceClient.ts +4 -0
- package/src/config.ts +9 -4
- package/src/paramSerializer.ts +15 -0
- package/src/server/audit.ts +2 -2
- package/src/server/content.ts +2 -2
- package/src/server/contentBody.ts +1 -1
- package/src/server/group.ts +2 -2
- package/src/server/longTask.ts +2 -2
- package/src/server/models/content.ts +6 -6
- package/src/server/models/contentChildren.ts +1 -1
- package/src/server/models/contentHistory.ts +2 -2
- package/src/server/models/contentLookAndFeel.ts +1 -1
- package/src/server/models/contentRestriction.ts +2 -2
- package/src/server/models/lookAndFeel.ts +2 -2
- package/src/server/models/searchResult.ts +2 -2
- package/src/server/models/space.ts +3 -3
- package/src/server/models/spacePermission.ts +1 -1
- package/src/server/models/user.ts +1 -1
- package/src/server/models/version.ts +1 -1
- package/src/server/search.ts +2 -2
- package/src/server/space.ts +2 -2
- package/src/server/user.ts +2 -2
- package/src/services/authenticationService/authenticationService.ts +5 -0
- package/src/services/authenticationService/authentications/createBasicAuthenticationToken.ts +1 -1
- package/src/services/authenticationService/authentications/createPATAuthenticationToken.ts +5 -0
- package/src/services/authenticationService/authentications/index.ts +1 -0
- package/tsconfig.lint.json +7 -0
|
@@ -1,161 +1,173 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./addContentWatcher"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./addCustomContentPermissions"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./addGroupToContentRestriction"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./addGroupToContentRestrictionByGroupId"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./addLabelsToContent"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./addLabelsToSpace"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./addLabelWatcher"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./addPermission"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./addPermissionToSpace"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./addRestrictions"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./addSpaceWatcher"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./addUserToContentRestriction"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./addUserToGroup"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./addUserToGroupByGroupId"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./archivePages"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./checkContentPermission"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./convertContentBody"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./copyPage"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./copyPageHierarchy"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./createAttachments"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./createAuditRecord"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./createContent"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./createContentProperty"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./createContentPropertyForKey"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./createContentTemplate"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./createGroup"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./createOrUpdateAttachments"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./createPrivateSpace"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./createRelationship"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./createSpace"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./createSpaceProperty"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./createSpacePropertyForKey"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./createUserProperty"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./delete"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./deleteContent"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./deleteContentProperty"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./deleteContentVersion"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./deleteLabelFromSpace"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./deletePageTree"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./deleteRelationship"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./deleteRestrictions"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./deleteSpace"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./deleteSpaceProperty"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./deleteUserProperty"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./descendantsOfType"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./downloadAttachment"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./exportAuditRecords"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./findSourcesForTarget"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./findTargetFromSource"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./getAllLabelContent"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./getAnonymousUser"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./getAttachments"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./getAuditRecords"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./getAuditRecordsForTimePeriod"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./getAvailableContentStates"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./getBlueprintTemplates"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./getBulkUserLookup"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./getBulkUserMigration"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./getContent"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./getContentById"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./getContentByTypeForSpace"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./getContentChildren"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./getContentChildrenByType"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./getContentComments"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./getContentDescendants"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./getContentForSpace"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./getContentProperties"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./getContentProperty"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./getContentRestrictionStatusForGroup"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./getContentRestrictionStatusForUser"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./getContentState"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./getContentStateLastUpdated"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./getContentStateSettings"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./getContentTemplate"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./getContentTemplates"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./getContentVersion"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./getContentVersions"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./getContentWatchStatus"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./getCurrentUser"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./getDescendantsOfType"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./getGroup"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./getGroupByGroupId"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./getGroupByName"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./getGroupByQueryParam"), exports);
|
|
88
|
+
tslib_1.__exportStar(require("./getGroupMembers"), exports);
|
|
89
|
+
tslib_1.__exportStar(require("./getGroupMembersByGroupId"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./getGroupMembershipsForUser"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./getGroups"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./getGroupsSearch"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./getHistoryForContent"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./getIndividualGroupRestrictionStatusByGroupId"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./getLabelsForContent"), exports);
|
|
96
|
+
tslib_1.__exportStar(require("./getLabelsForSpace"), exports);
|
|
97
|
+
tslib_1.__exportStar(require("./getLookAndFeelSettings"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./getMacroBodyByMacroId"), exports);
|
|
99
|
+
tslib_1.__exportStar(require("./getMembersByQueryParam"), exports);
|
|
100
|
+
tslib_1.__exportStar(require("./getPrivacyUnsafeUserEmail"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./getPrivacyUnsafeUserEmailBulk"), exports);
|
|
102
|
+
tslib_1.__exportStar(require("./getRelationship"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./getRestrictions"), exports);
|
|
104
|
+
tslib_1.__exportStar(require("./getRestrictionsByOperation"), exports);
|
|
105
|
+
tslib_1.__exportStar(require("./getRestrictionsForOperation"), exports);
|
|
106
|
+
tslib_1.__exportStar(require("./getSpace"), exports);
|
|
107
|
+
tslib_1.__exportStar(require("./getSpaceProperties"), exports);
|
|
108
|
+
tslib_1.__exportStar(require("./getSpaceProperty"), exports);
|
|
109
|
+
tslib_1.__exportStar(require("./getSpaces"), exports);
|
|
110
|
+
tslib_1.__exportStar(require("./getSpaceSettings"), exports);
|
|
111
|
+
tslib_1.__exportStar(require("./getSpaceTheme"), exports);
|
|
112
|
+
tslib_1.__exportStar(require("./getTask"), exports);
|
|
113
|
+
tslib_1.__exportStar(require("./getTaskById"), exports);
|
|
114
|
+
tslib_1.__exportStar(require("./getTasks"), exports);
|
|
115
|
+
tslib_1.__exportStar(require("./getTheme"), exports);
|
|
116
|
+
tslib_1.__exportStar(require("./getThemes"), exports);
|
|
117
|
+
tslib_1.__exportStar(require("./getUser"), exports);
|
|
118
|
+
tslib_1.__exportStar(require("./getUserProperties"), exports);
|
|
119
|
+
tslib_1.__exportStar(require("./getUserProperty"), exports);
|
|
120
|
+
tslib_1.__exportStar(require("./getViewers"), exports);
|
|
121
|
+
tslib_1.__exportStar(require("./getViews"), exports);
|
|
122
|
+
tslib_1.__exportStar(require("./getWatchersForSpace"), exports);
|
|
123
|
+
tslib_1.__exportStar(require("./getWatchesForPage"), exports);
|
|
124
|
+
tslib_1.__exportStar(require("./getWatchesForSpace"), exports);
|
|
125
|
+
tslib_1.__exportStar(require("./isWatchingLabel"), exports);
|
|
126
|
+
tslib_1.__exportStar(require("./isWatchingSpace"), exports);
|
|
127
|
+
tslib_1.__exportStar(require("./movePage"), exports);
|
|
128
|
+
tslib_1.__exportStar(require("./permissionCheck"), exports);
|
|
129
|
+
tslib_1.__exportStar(require("./publishLegacyDraft"), exports);
|
|
130
|
+
tslib_1.__exportStar(require("./publishSharedDraft"), exports);
|
|
131
|
+
tslib_1.__exportStar(require("./registerModules"), exports);
|
|
132
|
+
tslib_1.__exportStar(require("./removeContentState"), exports);
|
|
133
|
+
tslib_1.__exportStar(require("./removeContentWatcher"), exports);
|
|
134
|
+
tslib_1.__exportStar(require("./removeGroup"), exports);
|
|
135
|
+
tslib_1.__exportStar(require("./removeGroupById"), exports);
|
|
136
|
+
tslib_1.__exportStar(require("./removeGroupByName"), exports);
|
|
137
|
+
tslib_1.__exportStar(require("./removeLabelFromContent"), exports);
|
|
138
|
+
tslib_1.__exportStar(require("./removeLabelFromContentUsingQueryParameter"), exports);
|
|
139
|
+
tslib_1.__exportStar(require("./removeLabelWatcher"), exports);
|
|
140
|
+
tslib_1.__exportStar(require("./removeMemberFromGroup"), exports);
|
|
141
|
+
tslib_1.__exportStar(require("./removeMemberFromGroupByGroupId"), exports);
|
|
142
|
+
tslib_1.__exportStar(require("./removeModules"), exports);
|
|
143
|
+
tslib_1.__exportStar(require("./removePermission"), exports);
|
|
144
|
+
tslib_1.__exportStar(require("./removeSpaceWatch"), exports);
|
|
145
|
+
tslib_1.__exportStar(require("./removeTemplate"), exports);
|
|
146
|
+
tslib_1.__exportStar(require("./removeUserFromContentRestriction"), exports);
|
|
147
|
+
tslib_1.__exportStar(require("./resetLookAndFeelSettings"), exports);
|
|
148
|
+
tslib_1.__exportStar(require("./resetSpaceTheme"), exports);
|
|
149
|
+
tslib_1.__exportStar(require("./restoreContentVersion"), exports);
|
|
150
|
+
tslib_1.__exportStar(require("./search"), exports);
|
|
151
|
+
tslib_1.__exportStar(require("./searchByCQL"), exports);
|
|
152
|
+
tslib_1.__exportStar(require("./searchContentByCQL"), exports);
|
|
153
|
+
tslib_1.__exportStar(require("./searchGroups"), exports);
|
|
154
|
+
tslib_1.__exportStar(require("./searchTasks"), exports);
|
|
155
|
+
tslib_1.__exportStar(require("./searchUser"), exports);
|
|
156
|
+
tslib_1.__exportStar(require("./setContentState"), exports);
|
|
157
|
+
tslib_1.__exportStar(require("./setLookAndFeelSettings"), exports);
|
|
158
|
+
tslib_1.__exportStar(require("./setRetentionPeriod"), exports);
|
|
159
|
+
tslib_1.__exportStar(require("./setSpaceTheme"), exports);
|
|
160
|
+
tslib_1.__exportStar(require("./updateAttachmentData"), exports);
|
|
161
|
+
tslib_1.__exportStar(require("./updateAttachmentProperties"), exports);
|
|
162
|
+
tslib_1.__exportStar(require("./updateContent"), exports);
|
|
163
|
+
tslib_1.__exportStar(require("./updateContentProperty"), exports);
|
|
164
|
+
tslib_1.__exportStar(require("./updateContentTemplate"), exports);
|
|
165
|
+
tslib_1.__exportStar(require("./updateLookAndFeel"), exports);
|
|
166
|
+
tslib_1.__exportStar(require("./updateLookAndFeelSettings"), exports);
|
|
167
|
+
tslib_1.__exportStar(require("./updateRestrictions"), exports);
|
|
168
|
+
tslib_1.__exportStar(require("./updateSpace"), exports);
|
|
169
|
+
tslib_1.__exportStar(require("./updateSpaceProperty"), exports);
|
|
170
|
+
tslib_1.__exportStar(require("./updateSpaceSettings"), exports);
|
|
171
|
+
tslib_1.__exportStar(require("./updateTaskById"), exports);
|
|
172
|
+
tslib_1.__exportStar(require("./updateUserProperty"), exports);
|
|
173
|
+
tslib_1.__exportStar(require("./userSearch"), exports);
|
|
@@ -5,4 +5,9 @@ export interface SearchGroups {
|
|
|
5
5
|
start?: number;
|
|
6
6
|
/** The maximum number of groups to return per page. Note, this is restricted to a maximum limit of 200 groups. */
|
|
7
7
|
limit?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to include total size parameter in the results. Note, fetching total size property is an expensive
|
|
10
|
+
* operation; use it if your use case needs this value.
|
|
11
|
+
*/
|
|
12
|
+
shouldReturnTotalSize?: boolean;
|
|
8
13
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UserPropertyUpdate } from '../models';
|
|
2
|
+
export interface UpdateUserProperty extends UserPropertyUpdate {
|
|
3
|
+
/**
|
|
4
|
+
* The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For
|
|
5
|
+
* example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192
|
|
6
|
+
*/
|
|
7
|
+
userId: string;
|
|
8
|
+
/** The key of the user property. */
|
|
9
|
+
key: string;
|
|
10
|
+
}
|
package/out/api/relation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Models from './models';
|
|
2
2
|
import * as Parameters from './parameters';
|
|
3
|
-
import { Client } from '../clients';
|
|
4
3
|
import { Callback } from '../callback';
|
|
4
|
+
import { Client } from '../clients';
|
|
5
5
|
export declare class Relation {
|
|
6
6
|
private client;
|
|
7
7
|
constructor(client: Client);
|
package/out/api/relation.js
CHANGED
|
@@ -7,7 +7,7 @@ class Relation {
|
|
|
7
7
|
this.client = client;
|
|
8
8
|
}
|
|
9
9
|
findTargetFromSource(parameters, callback) {
|
|
10
|
-
return
|
|
10
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
const config = {
|
|
12
12
|
url: `/api/relation/${parameters.relationName}/from/${parameters.sourceType}/${parameters.sourceKey}/to/${parameters.targetType}`,
|
|
13
13
|
method: 'GET',
|
|
@@ -21,16 +21,16 @@ class Relation {
|
|
|
21
21
|
limit: parameters.limit,
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
|
-
return this.client.sendRequest(config, callback
|
|
24
|
+
return this.client.sendRequest(config, callback);
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
GetRelationship(parameters, callback) {
|
|
28
|
-
return
|
|
28
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
29
29
|
return this.getRelationship(parameters, callback);
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
getRelationship(parameters, callback) {
|
|
33
|
-
return
|
|
33
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
34
34
|
const config = {
|
|
35
35
|
url: `/api/relation/${parameters.relationName}/from/${parameters.sourceType}/${parameters.sourceKey}/to/${parameters.targetType}/${parameters.targetKey}`,
|
|
36
36
|
method: 'GET',
|
|
@@ -42,11 +42,11 @@ class Relation {
|
|
|
42
42
|
expand: parameters.expand,
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
|
-
return this.client.sendRequest(config, callback
|
|
45
|
+
return this.client.sendRequest(config, callback);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
createRelationship(parameters, callback) {
|
|
49
|
-
return
|
|
49
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
50
50
|
const config = {
|
|
51
51
|
url: `/api/relation/${parameters.relationName}/from/${parameters.sourceType}/${parameters.sourceKey}/to/${parameters.targetType}/${parameters.targetKey}`,
|
|
52
52
|
method: 'PUT',
|
|
@@ -57,16 +57,16 @@ class Relation {
|
|
|
57
57
|
targetVersion: parameters.targetVersion,
|
|
58
58
|
},
|
|
59
59
|
};
|
|
60
|
-
return this.client.sendRequest(config, callback
|
|
60
|
+
return this.client.sendRequest(config, callback);
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
delete(parameters, callback) {
|
|
64
|
-
return
|
|
64
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
65
65
|
return this.deleteRelationship(parameters, callback);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
deleteRelationship(parameters, callback) {
|
|
69
|
-
return
|
|
69
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
70
70
|
const config = {
|
|
71
71
|
url: `/api/relation/${parameters.relationName}/from/${parameters.sourceType}/${parameters.sourceKey}/to/${parameters.targetType}/${parameters.targetKey}`,
|
|
72
72
|
method: 'DELETE',
|
|
@@ -77,11 +77,11 @@ class Relation {
|
|
|
77
77
|
targetVersion: parameters.targetVersion,
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
|
-
return this.client.sendRequest(config, callback
|
|
80
|
+
return this.client.sendRequest(config, callback);
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
findSourcesForTarget(parameters, callback) {
|
|
84
|
-
return
|
|
84
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
85
85
|
const config = {
|
|
86
86
|
url: `/api/relation/${parameters.relationName}/to/${parameters.targetType}/${parameters.targetKey}/from/${parameters.sourceType}`,
|
|
87
87
|
method: 'GET',
|
|
@@ -95,7 +95,7 @@ class Relation {
|
|
|
95
95
|
limit: parameters.limit,
|
|
96
96
|
},
|
|
97
97
|
};
|
|
98
|
-
return this.client.sendRequest(config, callback
|
|
98
|
+
return this.client.sendRequest(config, callback);
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
package/out/api/search.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Models from './models';
|
|
2
2
|
import * as Parameters from './parameters';
|
|
3
|
-
import { Client } from '../clients';
|
|
4
3
|
import { Callback } from '../callback';
|
|
4
|
+
import { Client } from '../clients';
|
|
5
5
|
export declare class Search {
|
|
6
6
|
private client;
|
|
7
7
|
constructor(client: Client);
|
|
@@ -42,7 +42,7 @@ export declare class Search {
|
|
|
42
42
|
* (CQL)](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/).
|
|
43
43
|
*
|
|
44
44
|
* Note that some user fields may be set to null depending on the user's privacy settings. These are: email,
|
|
45
|
-
* profilePicture, and
|
|
45
|
+
* profilePicture, displayName, and timeZone.
|
|
46
46
|
*/
|
|
47
47
|
searchUser<T = Models.SearchPageResponseSearchResult>(parameters: Parameters.SearchUser, callback: Callback<T>): Promise<void>;
|
|
48
48
|
/**
|
|
@@ -50,7 +50,7 @@ export declare class Search {
|
|
|
50
50
|
* (CQL)](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/).
|
|
51
51
|
*
|
|
52
52
|
* Note that some user fields may be set to null depending on the user's privacy settings. These are: email,
|
|
53
|
-
* profilePicture, and
|
|
53
|
+
* profilePicture, displayName, and timeZone.
|
|
54
54
|
*/
|
|
55
55
|
searchUser<T = Models.SearchPageResponseSearchResult>(parameters: Parameters.SearchUser, callback?: never): Promise<T>;
|
|
56
56
|
}
|
package/out/api/search.js
CHANGED
|
@@ -7,12 +7,12 @@ class Search {
|
|
|
7
7
|
this.client = client;
|
|
8
8
|
}
|
|
9
9
|
search(parameters, callback) {
|
|
10
|
-
return
|
|
10
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
return this.searchByCQL(parameters, callback);
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
searchByCQL(parameters, callback) {
|
|
15
|
-
return
|
|
15
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
16
16
|
const config = {
|
|
17
17
|
url: '/api/search',
|
|
18
18
|
method: 'GET',
|
|
@@ -31,16 +31,16 @@ class Search {
|
|
|
31
31
|
expand: parameters.expand,
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
|
-
return this.client.sendRequest(config, callback
|
|
34
|
+
return this.client.sendRequest(config, callback);
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
userSearch(parameters, callback) {
|
|
38
|
-
return
|
|
38
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
return this.searchUser(parameters, callback);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
searchUser(parameters, callback) {
|
|
43
|
-
return
|
|
43
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
44
44
|
const config = {
|
|
45
45
|
url: '/api/search/user',
|
|
46
46
|
method: 'GET',
|
|
@@ -48,9 +48,10 @@ class Search {
|
|
|
48
48
|
cql: parameters.cql,
|
|
49
49
|
start: parameters.start,
|
|
50
50
|
limit: parameters.limit,
|
|
51
|
+
expand: parameters.expand,
|
|
51
52
|
},
|
|
52
53
|
};
|
|
53
|
-
return this.client.sendRequest(config, callback
|
|
54
|
+
return this.client.sendRequest(config, callback);
|
|
54
55
|
});
|
|
55
56
|
}
|
|
56
57
|
}
|
package/out/api/settings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Models from './models';
|
|
2
2
|
import * as Parameters from './parameters';
|
|
3
|
-
import { Client } from '../clients';
|
|
4
3
|
import { Callback } from '../callback';
|
|
4
|
+
import { Client } from '../clients';
|
|
5
5
|
export declare class Settings {
|
|
6
6
|
private client;
|
|
7
7
|
constructor(client: Client);
|
|
@@ -103,4 +103,8 @@ export declare class Settings {
|
|
|
103
103
|
* ('Can use' global permission).
|
|
104
104
|
*/
|
|
105
105
|
getSystemInfo<T = Models.SystemInfoEntity>(callback?: never): Promise<T>;
|
|
106
|
+
/** Gets Content State settings for a space */
|
|
107
|
+
getContentStateSettings<T = Models.ContentStateSettings>(parameters: Parameters.GetContentStateSettings, callback: Callback<T>): Promise<void>;
|
|
108
|
+
/** Gets Content State settings for a space */
|
|
109
|
+
getContentStateSettings<T = Models.ContentStateSettings>(parameters: Parameters.GetContentStateSettings, callback?: never): Promise<T>;
|
|
106
110
|
}
|