@resolution/confluence-api-client 0.5.0 → 0.5.3
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 +22 -0
- package/README.md +7 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +4 -6
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +1 -0
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +6 -3
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +10 -3
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +9 -5
- package/lib/openapi/v1/services/AnalyticsService.js +4 -2
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +14 -8
- package/lib/openapi/v1/services/AuditService.js +13 -7
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +8 -6
- package/lib/openapi/v1/services/ContentBodyService.js +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +18 -10
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentCommentsService.js +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentLabelsService.js +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +7 -6
- package/lib/openapi/v1/services/ContentMacroBodyService.js +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +31 -22
- package/lib/openapi/v1/services/ContentRestrictionsService.js +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +21 -11
- package/lib/openapi/v1/services/ContentService.js +20 -10
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +21 -12
- package/lib/openapi/v1/services/ContentStatesService.js +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentVersionsService.js +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +25 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/v1/services/DynamicModulesService.js +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +13 -9
- package/lib/openapi/v1/services/ExperimentalService.js +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +31 -16
- package/lib/openapi/v1/services/GroupService.js +30 -15
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +7 -4
- package/lib/openapi/v1/services/InlineTasksService.js +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +3 -2
- package/lib/openapi/v1/services/LabelInfoService.js +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +5 -3
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +12 -13
- package/lib/openapi/v1/services/RelationService.js +11 -12
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +5 -3
- package/lib/openapi/v1/services/SearchService.js +4 -2
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +14 -11
- package/lib/openapi/v1/services/SettingsService.js +13 -10
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +7 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +20 -15
- package/lib/openapi/v1/services/SpaceService.js +19 -14
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +5 -3
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +15 -11
- package/lib/openapi/v1/services/TemplateService.js +14 -10
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +12 -7
- package/lib/openapi/v1/services/ThemesService.js +11 -6
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +11 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +15 -8
- package/lib/openapi/v1/services/UsersService.js +14 -7
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +4 -6
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +3 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +9 -5
- package/lib/openapi/v2/services/AncestorsService.js +8 -4
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +16 -10
- package/lib/openapi/v2/services/AttachmentService.js +15 -9
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +16 -10
- package/lib/openapi/v2/services/BlogPostService.js +15 -9
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +5 -3
- package/lib/openapi/v2/services/ChildrenService.js +4 -2
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +20 -11
- package/lib/openapi/v2/services/ClassificationLevelService.js +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +37 -19
- package/lib/openapi/v2/services/CommentService.js +36 -18
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +81 -41
- package/lib/openapi/v2/services/ContentPropertiesService.js +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +4 -4
- package/lib/openapi/v2/services/ContentService.js +3 -3
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +17 -9
- package/lib/openapi/v2/services/CustomContentService.js +16 -8
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -3
- package/lib/openapi/v2/services/DataPoliciesService.js +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +7 -4
- package/lib/openapi/v2/services/DatabaseService.js +6 -3
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +15 -8
- package/lib/openapi/v2/services/LabelService.js +14 -7
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +17 -9
- package/lib/openapi/v2/services/LikeService.js +16 -8
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +21 -11
- package/lib/openapi/v2/services/OperationService.js +20 -10
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +24 -10
- package/lib/openapi/v2/services/PageService.js +14 -7
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +7 -4
- package/lib/openapi/v2/services/SmartLinkService.js +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -2
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +12 -8
- package/lib/openapi/v2/services/SpacePropertiesService.js +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +5 -3
- package/lib/openapi/v2/services/SpaceService.js +4 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +7 -4
- package/lib/openapi/v2/services/TaskService.js +6 -3
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +8 -6
- package/lib/openapi/v2/services/UserService.js +7 -5
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +25 -13
- package/lib/openapi/v2/services/VersionService.js +24 -12
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -4
- package/lib/openapi/v2/services/WhiteboardService.js +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -23,11 +23,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
23
23
|
* global permission to create a global template.
|
|
24
24
|
*
|
|
25
25
|
* @returns Returned if the template is created.
|
|
26
|
-
* @path
|
|
26
|
+
* @path POST `/wiki/rest/api/template`
|
|
27
27
|
* @scopes-current write:confluence-content
|
|
28
|
-
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
29
|
-
* write:template:confluence
|
|
28
|
+
* @scopes-beta read:template:confluence, read:content-details:confluence, write:template:confluence
|
|
30
29
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
30
|
+
* @param params
|
|
31
31
|
*/
|
|
32
32
|
this.createContentTemplate = ({ contentTemplateCreate, }) => {
|
|
33
33
|
return this.getClientInstance()
|
|
@@ -61,10 +61,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
61
61
|
* blueprints.
|
|
62
62
|
*
|
|
63
63
|
* @returns Returned if the requested templates are returned.
|
|
64
|
-
* @path
|
|
64
|
+
* @path GET `/wiki/rest/api/template/blueprint`
|
|
65
65
|
* @scopes-current read:confluence-content.summary
|
|
66
66
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
67
67
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
68
|
+
* @param params
|
|
68
69
|
*/
|
|
69
70
|
this.getBlueprintTemplates = ({ spaceKey, start, limit, expand, } = {}) => {
|
|
70
71
|
return this.getClientInstance()
|
|
@@ -98,10 +99,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
99
|
* templates.
|
|
99
100
|
*
|
|
100
101
|
* @returns Returned if the requested template is returned.
|
|
101
|
-
* @path
|
|
102
|
+
* @path GET `/wiki/rest/api/template/{contentTemplateId}`
|
|
102
103
|
* @scopes-current read:confluence-content.summary
|
|
103
104
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
104
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
106
|
+
* @param params
|
|
105
107
|
*/
|
|
106
108
|
this.getContentTemplate = ({ contentTemplateId, }) => {
|
|
107
109
|
return this.getClientInstance()
|
|
@@ -131,10 +133,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
131
133
|
* templates.
|
|
132
134
|
*
|
|
133
135
|
* @returns Returned if the requested templates are returned.
|
|
134
|
-
* @path
|
|
136
|
+
* @path GET `/wiki/rest/api/template/page`
|
|
135
137
|
* @scopes-current read:confluence-content.summary
|
|
136
138
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
137
139
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
140
|
+
* @param params
|
|
138
141
|
*/
|
|
139
142
|
this.getContentTemplates = ({ spaceKey, start, limit, expand, } = {}) => {
|
|
140
143
|
return this.getClientInstance()
|
|
@@ -174,10 +177,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
174
177
|
* 'Confluence Administrator'
|
|
175
178
|
* global permission to delete a global template.
|
|
176
179
|
*
|
|
177
|
-
* @path
|
|
180
|
+
* @path DELETE `/wiki/rest/api/template/{contentTemplateId}`
|
|
178
181
|
* @scopes-current write:confluence-content
|
|
179
182
|
* @scopes-beta write:template:confluence
|
|
180
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
184
|
+
* @param params
|
|
181
185
|
*/
|
|
182
186
|
this.removeTemplate = ({ contentTemplateId, }) => {
|
|
183
187
|
return this.getClientInstance()
|
|
@@ -200,11 +204,11 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
200
204
|
* global permission to update a global template.
|
|
201
205
|
*
|
|
202
206
|
* @returns Returned if the template is updated.
|
|
203
|
-
* @path
|
|
207
|
+
* @path PUT `/wiki/rest/api/template`
|
|
204
208
|
* @scopes-current write:confluence-content
|
|
205
|
-
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
206
|
-
* write:template:confluence
|
|
209
|
+
* @scopes-beta read:template:confluence, read:content-details:confluence, write:template:confluence
|
|
207
210
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
211
|
+
* @param params
|
|
208
212
|
*/
|
|
209
213
|
this.updateContentTemplate = ({ contentTemplateUpdate, }) => {
|
|
210
214
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAO4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,0BAAqB,GAAG,CAAC,EACvB,qBAAqB,GAOtB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,MAAM;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,iDAAuB,CAAC,SAAS,CAC/B,gDAAgD,CACjD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAO4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,0BAAqB,GAAG,CAAC,EACvB,qBAAqB,GAOtB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,MAAM;gBACd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,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,6CAA6C,EAC7C,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,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,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,wBAAwB,CAAC;SAC7D,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,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,sBAAsB,CAAC;SAC3D,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AAnZD,0CAmZC"}
|
|
@@ -9,7 +9,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
9
9
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
10
10
|
*
|
|
11
11
|
* @returns Returned if the global theme is returned.
|
|
12
|
-
* @path
|
|
12
|
+
* @path GET `/wiki/rest/api/settings/theme/selected`
|
|
13
13
|
* @scopes-current manage:confluence-configuration
|
|
14
14
|
* @scopes-beta read:configuration:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-selected-get
|
|
@@ -24,10 +24,11 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
24
24
|
* permission for the space.
|
|
25
25
|
*
|
|
26
26
|
* @returns Returned if the requested theme is returned.
|
|
27
|
-
* @path
|
|
27
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/theme`
|
|
28
28
|
* @scopes-current read:confluence-space.summary
|
|
29
29
|
* @scopes-beta read:space.setting:confluence
|
|
30
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
|
|
31
|
+
* @param params
|
|
31
32
|
*/
|
|
32
33
|
getSpaceTheme: ({ spaceKey, }: {
|
|
33
34
|
/** The key of the space to be queried for its theme. */
|
|
@@ -40,10 +41,11 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
40
41
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
41
42
|
*
|
|
42
43
|
* @returns Returned if the requested theme is returned.
|
|
43
|
-
* @path
|
|
44
|
+
* @path GET `/wiki/rest/api/settings/theme/{themeKey}`
|
|
44
45
|
* @scopes-current manage:confluence-configuration
|
|
45
46
|
* @scopes-beta read:configuration:confluence
|
|
46
47
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
|
|
48
|
+
* @param params
|
|
47
49
|
*/
|
|
48
50
|
getTheme: ({ themeKey, }: {
|
|
49
51
|
/** The key of the theme to be returned. */
|
|
@@ -55,10 +57,11 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
55
57
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
56
58
|
*
|
|
57
59
|
* @returns Returned if the requested themes are returned.
|
|
58
|
-
* @path
|
|
60
|
+
* @path GET `/wiki/rest/api/settings/theme`
|
|
59
61
|
* @scopes-current manage:confluence-configuration
|
|
60
62
|
* @scopes-beta read:configuration:confluence
|
|
61
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
|
|
64
|
+
* @param params
|
|
62
65
|
*/
|
|
63
66
|
getThemes: ({ start, limit, }?: {
|
|
64
67
|
/** The starting index of the returned themes. */
|
|
@@ -76,10 +79,11 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
76
79
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
77
80
|
* 'Admin' permission for the space.
|
|
78
81
|
*
|
|
79
|
-
* @path
|
|
82
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/theme`
|
|
80
83
|
* @scopes-current write:confluence-space
|
|
81
84
|
* @scopes-beta write:space.setting:confluence
|
|
82
85
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
|
|
86
|
+
* @param params
|
|
83
87
|
*/
|
|
84
88
|
resetSpaceTheme: ({ spaceKey, }: {
|
|
85
89
|
/** The key of the space to reset the theme for. */
|
|
@@ -94,15 +98,16 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
94
98
|
* 'Admin' permission for the space.
|
|
95
99
|
*
|
|
96
100
|
* @returns Returned if the theme was set for the space.
|
|
97
|
-
* @path
|
|
101
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/theme`
|
|
98
102
|
* @scopes-current write:confluence-space
|
|
99
103
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
100
104
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
|
|
105
|
+
* @param params
|
|
101
106
|
*/
|
|
102
107
|
setSpaceTheme: ({ spaceKey, themeUpdate, }: {
|
|
103
108
|
/** The key of the space to set the theme for. */
|
|
104
109
|
spaceKey: string;
|
|
105
110
|
themeUpdate: ThemeUpdate;
|
|
106
111
|
}) => Promise<Theme>;
|
|
107
|
-
static initialize(): void;
|
|
112
|
+
protected static initialize(): void;
|
|
108
113
|
}
|
|
@@ -20,7 +20,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
20
20
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
21
21
|
*
|
|
22
22
|
* @returns Returned if the global theme is returned.
|
|
23
|
-
* @path
|
|
23
|
+
* @path GET `/wiki/rest/api/settings/theme/selected`
|
|
24
24
|
* @scopes-current manage:confluence-configuration
|
|
25
25
|
* @scopes-beta read:configuration:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-selected-get
|
|
@@ -49,10 +49,11 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
49
49
|
* permission for the space.
|
|
50
50
|
*
|
|
51
51
|
* @returns Returned if the requested theme is returned.
|
|
52
|
-
* @path
|
|
52
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/theme`
|
|
53
53
|
* @scopes-current read:confluence-space.summary
|
|
54
54
|
* @scopes-beta read:space.setting:confluence
|
|
55
55
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
|
|
56
|
+
* @param params
|
|
56
57
|
*/
|
|
57
58
|
this.getSpaceTheme = ({ spaceKey, }) => {
|
|
58
59
|
return this.getClientInstance()
|
|
@@ -79,10 +80,11 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
79
80
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
80
81
|
*
|
|
81
82
|
* @returns Returned if the requested theme is returned.
|
|
82
|
-
* @path
|
|
83
|
+
* @path GET `/wiki/rest/api/settings/theme/{themeKey}`
|
|
83
84
|
* @scopes-current manage:confluence-configuration
|
|
84
85
|
* @scopes-beta read:configuration:confluence
|
|
85
86
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
|
|
87
|
+
* @param params
|
|
86
88
|
*/
|
|
87
89
|
this.getTheme = ({ themeKey, }) => {
|
|
88
90
|
return this.getClientInstance()
|
|
@@ -108,10 +110,11 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
108
110
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None
|
|
109
111
|
*
|
|
110
112
|
* @returns Returned if the requested themes are returned.
|
|
111
|
-
* @path
|
|
113
|
+
* @path GET `/wiki/rest/api/settings/theme`
|
|
112
114
|
* @scopes-current manage:confluence-configuration
|
|
113
115
|
* @scopes-beta read:configuration:confluence
|
|
114
116
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
|
|
117
|
+
* @param params
|
|
115
118
|
*/
|
|
116
119
|
this.getThemes = ({ start, limit, } = {}) => {
|
|
117
120
|
return this.getClientInstance()
|
|
@@ -139,10 +142,11 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
139
142
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
140
143
|
* 'Admin' permission for the space.
|
|
141
144
|
*
|
|
142
|
-
* @path
|
|
145
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/theme`
|
|
143
146
|
* @scopes-current write:confluence-space
|
|
144
147
|
* @scopes-beta write:space.setting:confluence
|
|
145
148
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
|
|
149
|
+
* @param params
|
|
146
150
|
*/
|
|
147
151
|
this.resetSpaceTheme = ({ spaceKey, }) => {
|
|
148
152
|
return this.getClientInstance()
|
|
@@ -164,10 +168,11 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
164
168
|
* 'Admin' permission for the space.
|
|
165
169
|
*
|
|
166
170
|
* @returns Returned if the theme was set for the space.
|
|
167
|
-
* @path
|
|
171
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/theme`
|
|
168
172
|
* @scopes-current write:confluence-space
|
|
169
173
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
170
174
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
|
|
175
|
+
* @param params
|
|
171
176
|
*/
|
|
172
177
|
this.setSpaceTheme = ({ spaceKey, themeUpdate, }) => {
|
|
173
178
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ThemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAA+E;AAC/E,6CAI0B;AAC1B,wEAAqE;AACrE,qFAAqF;AACrF,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;;;;WAUG;QACH,mBAAc,GAAG,GAAmB,EAAE;YACpC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wCAAwC;gBAC9C,MAAM,EAAE,KAAK;aACd,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,iDAAuB,CAAC,SAAS,CAC/B,uCAAuC,CACxC,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"ThemesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ThemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAA+E;AAC/E,6CAI0B;AAC1B,wEAAqE;AACrE,qFAAqF;AACrF,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;;;;WAUG;QACH,mBAAc,GAAG,GAAmB,EAAE;YACpC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wCAAwC;gBAC9C,MAAM,EAAE,KAAK;aACd,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,iDAAuB,CAAC,SAAS,CAC/B,uCAAuC,CACxC,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;WAcG;QACH,kBAAa,GAAG,CAAC,EACf,QAAQ,GAIT,EAAkB,EAAE;YACnB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,uCAAuC;gBAC7C,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,QAAQ;iBACT;aACF,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,iDAAuB,CAAC,SAAS,C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iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAxUD,sCAwUC"}
|
|
@@ -15,9 +15,10 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
15
15
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
16
16
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
17
17
|
*
|
|
18
|
-
* @path
|
|
18
|
+
* @path POST `/wiki/rest/api/user/{userId}/property/{key}`
|
|
19
19
|
* @scopes-current write:user.property:confluence
|
|
20
20
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-post
|
|
21
|
+
* @param params
|
|
21
22
|
*/
|
|
22
23
|
createUserProperty: ({ userId, key, userPropertyCreate, }: {
|
|
23
24
|
/**
|
|
@@ -42,9 +43,10 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
42
43
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
43
44
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
44
45
|
*
|
|
45
|
-
* @path
|
|
46
|
+
* @path DELETE `/wiki/rest/api/user/{userId}/property/{key}`
|
|
46
47
|
* @scopes-current write:user.property:confluence
|
|
47
48
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-delete
|
|
49
|
+
* @param params
|
|
48
50
|
*/
|
|
49
51
|
deleteUserProperty: ({ userId, key, }: {
|
|
50
52
|
/**
|
|
@@ -67,9 +69,10 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
67
69
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
68
70
|
*
|
|
69
71
|
* @returns Returned if the requested properties are returned.
|
|
70
|
-
* @path
|
|
72
|
+
* @path GET `/wiki/rest/api/user/{userId}/property`
|
|
71
73
|
* @scopes-current read:user.property:confluence
|
|
72
74
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-get
|
|
75
|
+
* @param params
|
|
73
76
|
*/
|
|
74
77
|
getUserProperties: ({ userId, start, limit, }: {
|
|
75
78
|
/** The account ID of the user to be queried for its properties. */
|
|
@@ -93,9 +96,10 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
93
96
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
94
97
|
*
|
|
95
98
|
* @returns Returned if the requested properties are returned.
|
|
96
|
-
* @path
|
|
99
|
+
* @path GET `/wiki/rest/api/user/{userId}/property/{key}`
|
|
97
100
|
* @scopes-current read:user.property:confluence
|
|
98
101
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-get
|
|
102
|
+
* @param params
|
|
99
103
|
*/
|
|
100
104
|
getUserProperty: ({ userId, key, }: {
|
|
101
105
|
/** The account ID of the user to be queried for its properties. */
|
|
@@ -115,9 +119,10 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
115
119
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
116
120
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
117
121
|
*
|
|
118
|
-
* @path
|
|
122
|
+
* @path PUT `/wiki/rest/api/user/{userId}/property/{key}`
|
|
119
123
|
* @scopes-current write:user.property:confluence
|
|
120
124
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-put
|
|
125
|
+
* @param params
|
|
121
126
|
*/
|
|
122
127
|
updateUserProperty: ({ userId, key, userPropertyUpdate, }: {
|
|
123
128
|
/**
|
|
@@ -131,5 +136,5 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
131
136
|
/** The user property to be updated. */
|
|
132
137
|
userPropertyUpdate: UserPropertyUpdate;
|
|
133
138
|
}) => Promise<void>;
|
|
134
|
-
static initialize(): void;
|
|
139
|
+
protected static initialize(): void;
|
|
135
140
|
}
|
|
@@ -26,9 +26,10 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
26
26
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
27
27
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
28
28
|
*
|
|
29
|
-
* @path
|
|
29
|
+
* @path POST `/wiki/rest/api/user/{userId}/property/{key}`
|
|
30
30
|
* @scopes-current write:user.property:confluence
|
|
31
31
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-post
|
|
32
|
+
* @param params
|
|
32
33
|
*/
|
|
33
34
|
this.createUserProperty = ({ userId, key, userPropertyCreate, }) => {
|
|
34
35
|
return this.getClientInstance()
|
|
@@ -57,9 +58,10 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
58
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
58
59
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
59
60
|
*
|
|
60
|
-
* @path
|
|
61
|
+
* @path DELETE `/wiki/rest/api/user/{userId}/property/{key}`
|
|
61
62
|
* @scopes-current write:user.property:confluence
|
|
62
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-delete
|
|
64
|
+
* @param params
|
|
63
65
|
*/
|
|
64
66
|
this.deleteUserProperty = ({ userId, key, }) => {
|
|
65
67
|
return this.getClientInstance()
|
|
@@ -84,9 +86,10 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
84
86
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
85
87
|
*
|
|
86
88
|
* @returns Returned if the requested properties are returned.
|
|
87
|
-
* @path
|
|
89
|
+
* @path GET `/wiki/rest/api/user/{userId}/property`
|
|
88
90
|
* @scopes-current read:user.property:confluence
|
|
89
91
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-get
|
|
92
|
+
* @param params
|
|
90
93
|
*/
|
|
91
94
|
this.getUserProperties = ({ userId, start, limit, }) => {
|
|
92
95
|
return this.getClientInstance()
|
|
@@ -121,9 +124,10 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
121
124
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
122
125
|
*
|
|
123
126
|
* @returns Returned if the requested properties are returned.
|
|
124
|
-
* @path
|
|
127
|
+
* @path GET `/wiki/rest/api/user/{userId}/property/{key}`
|
|
125
128
|
* @scopes-current read:user.property:confluence
|
|
126
129
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-get
|
|
130
|
+
* @param params
|
|
127
131
|
*/
|
|
128
132
|
this.getUserProperty = ({ userId, key, }) => {
|
|
129
133
|
return this.getClientInstance()
|
|
@@ -156,9 +160,10 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
156
160
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
157
161
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
158
162
|
*
|
|
159
|
-
* @path
|
|
163
|
+
* @path PUT `/wiki/rest/api/user/{userId}/property/{key}`
|
|
160
164
|
* @scopes-current write:user.property:confluence
|
|
161
165
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-put
|
|
166
|
+
* @param params
|
|
162
167
|
*/
|
|
163
168
|
this.updateUserProperty = ({ userId, key, userPropertyUpdate, }) => {
|
|
164
169
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UserPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6DAMkC;AAClC,wEAAqE;AACrE,8FAA8F;AAC9F,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE
|
|
1
|
+
{"version":3,"file":"UserPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UserPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6DAMkC;AAClC,wEAAqE;AACrE,8FAA8F;AAC9F,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE;;;;;;;;;;;;;;;;;WAiBG;QACH,uBAAkB,GAAG,CAAC,EACpB,MAAM,EACN,GAAG,EACH,kBAAkB,GAYnB,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6CAA6C;gBACnD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,MAAM;oBACN,GAAG;iBACJ;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,kBAAkB;aACzB,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;WAeG;QACH,uBAAkB,GAAG,CAAC,EACpB,MAAM,EACN,GAAG,GAUJ,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6CAA6C;gBACnD,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,MAAM;oBACN,GAAG;iBACJ;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;WAeG;QACH,sBAAiB,GAAG,CAAC,EACnB,MAAM,EACN,KAAK,EACL,KAAK,GAWN,EAAiC,E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I,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6CAA6C;gBACnD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,MAAM;oBACN,GAAG;iBACJ;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,kBAAkB;aACzB,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;IA0BJ,CAAC;IAzBW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,kDAAkD,EAClD,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,sBAAsB,CAAC;SAC3D,CAAC;aACD,QAAQ,CAAC,kDAAkD,CAAC,CAChE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,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,cAAc,CAAC;SACnD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wDAAuC;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AA1RD,sDA0RC"}
|
|
@@ -11,10 +11,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
11
11
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
12
12
|
*
|
|
13
13
|
* @returns Returned if the anonymous user representation is returned.
|
|
14
|
-
* @path
|
|
14
|
+
* @path GET `/wiki/rest/api/user/anonymous`
|
|
15
15
|
* @scopes-current read:confluence-user
|
|
16
16
|
* @scopes-beta read:user:confluence
|
|
17
17
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
18
|
+
* @param params
|
|
18
19
|
*/
|
|
19
20
|
getAnonymousUser: ({ expand, }?: {
|
|
20
21
|
/**
|
|
@@ -32,10 +33,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
32
33
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
33
34
|
*
|
|
34
35
|
* @returns Returned if, the list of users is returned.
|
|
35
|
-
* @path
|
|
36
|
+
* @path GET `/wiki/rest/api/user/bulk`
|
|
36
37
|
* @scopes-current read:confluence-user
|
|
37
38
|
* @scopes-beta read:content-details:confluence
|
|
38
39
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
40
|
+
* @param params
|
|
39
41
|
*/
|
|
40
42
|
getBulkUserLookup: ({ accountId, expand, limit, }: {
|
|
41
43
|
/** A list of accountId's of users to be returned. */
|
|
@@ -66,10 +68,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
66
68
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
67
69
|
*
|
|
68
70
|
* @returns Returned if the current user is returned.
|
|
69
|
-
* @path
|
|
71
|
+
* @path GET `/wiki/rest/api/user/current`
|
|
70
72
|
* @scopes-current read:confluence-user
|
|
71
73
|
* @scopes-beta read:content-details:confluence
|
|
72
74
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
75
|
+
* @param params
|
|
73
76
|
*/
|
|
74
77
|
getCurrentUser: ({ expand, }?: {
|
|
75
78
|
/**
|
|
@@ -90,10 +93,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
90
93
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
91
94
|
*
|
|
92
95
|
* @returns Returned if the requested groups are returned.
|
|
93
|
-
* @path
|
|
96
|
+
* @path GET `/wiki/rest/api/user/memberof`
|
|
94
97
|
* @scopes-current read:confluence-user
|
|
95
98
|
* @scopes-beta read:user:confluence, read:group:confluence
|
|
96
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
100
|
+
* @param params
|
|
97
101
|
*/
|
|
98
102
|
getGroupMembershipsForUser: ({ accountId, start, limit, }: {
|
|
99
103
|
/**
|
|
@@ -119,8 +123,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
119
123
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
120
124
|
*
|
|
121
125
|
* @returns Returned if the requested user's email is returned.
|
|
122
|
-
* @path
|
|
126
|
+
* @path GET `/wiki/rest/api/user/email`
|
|
123
127
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
128
|
+
* @param params
|
|
124
129
|
*/
|
|
125
130
|
getPrivacyUnsafeUserEmail: ({ accountId, }: {
|
|
126
131
|
/**
|
|
@@ -142,8 +147,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
142
147
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
143
148
|
*
|
|
144
149
|
* @returns Returned if the request is successful.
|
|
145
|
-
* @path
|
|
150
|
+
* @path GET `/wiki/rest/api/user/email/bulk`
|
|
146
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
152
|
+
* @param params
|
|
147
153
|
*/
|
|
148
154
|
getPrivacyUnsafeUserEmailBulk: ({ accountId, }: {
|
|
149
155
|
/** The account IDs of the users. */
|
|
@@ -162,10 +168,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
162
168
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
163
169
|
*
|
|
164
170
|
* @returns Returned if the requested user is returned.
|
|
165
|
-
* @path
|
|
171
|
+
* @path GET `/wiki/rest/api/user`
|
|
166
172
|
* @scopes-current read:confluence-user
|
|
167
173
|
* @scopes-beta read:content-details:confluence
|
|
168
174
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
175
|
+
* @param params
|
|
169
176
|
*/
|
|
170
177
|
getUser: ({ accountId, expand, }: {
|
|
171
178
|
/**
|
|
@@ -185,5 +192,5 @@ export declare class UsersService extends CommonHttpService {
|
|
|
185
192
|
*/
|
|
186
193
|
expand?: ("operations" | "isExternalCollaborator" | "personalSpace")[] | undefined;
|
|
187
194
|
}) => Promise<UserV1 | null>;
|
|
188
|
-
static initialize(): void;
|
|
195
|
+
protected static initialize(): void;
|
|
189
196
|
}
|
|
@@ -22,10 +22,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
22
22
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
23
23
|
*
|
|
24
24
|
* @returns Returned if the anonymous user representation is returned.
|
|
25
|
-
* @path
|
|
25
|
+
* @path GET `/wiki/rest/api/user/anonymous`
|
|
26
26
|
* @scopes-current read:confluence-user
|
|
27
27
|
* @scopes-beta read:user:confluence
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
29
|
+
* @param params
|
|
29
30
|
*/
|
|
30
31
|
this.getAnonymousUser = ({ expand, } = {}) => {
|
|
31
32
|
return this.getClientInstance()
|
|
@@ -52,10 +53,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
52
53
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
53
54
|
*
|
|
54
55
|
* @returns Returned if, the list of users is returned.
|
|
55
|
-
* @path
|
|
56
|
+
* @path GET `/wiki/rest/api/user/bulk`
|
|
56
57
|
* @scopes-current read:confluence-user
|
|
57
58
|
* @scopes-beta read:content-details:confluence
|
|
58
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
60
|
+
* @param params
|
|
59
61
|
*/
|
|
60
62
|
this.getBulkUserLookup = ({ accountId, expand, limit, }) => {
|
|
61
63
|
return this.getClientInstance()
|
|
@@ -86,10 +88,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
86
88
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
87
89
|
*
|
|
88
90
|
* @returns Returned if the current user is returned.
|
|
89
|
-
* @path
|
|
91
|
+
* @path GET `/wiki/rest/api/user/current`
|
|
90
92
|
* @scopes-current read:confluence-user
|
|
91
93
|
* @scopes-beta read:content-details:confluence
|
|
92
94
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
95
|
+
* @param params
|
|
93
96
|
*/
|
|
94
97
|
this.getCurrentUser = ({ expand, } = {}) => {
|
|
95
98
|
return this.getClientInstance()
|
|
@@ -116,10 +119,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
116
119
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
117
120
|
*
|
|
118
121
|
* @returns Returned if the requested groups are returned.
|
|
119
|
-
* @path
|
|
122
|
+
* @path GET `/wiki/rest/api/user/memberof`
|
|
120
123
|
* @scopes-current read:confluence-user
|
|
121
124
|
* @scopes-beta read:user:confluence, read:group:confluence
|
|
122
125
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
126
|
+
* @param params
|
|
123
127
|
*/
|
|
124
128
|
this.getGroupMembershipsForUser = ({ accountId, start, limit, }) => {
|
|
125
129
|
return this.getClientInstance()
|
|
@@ -150,8 +154,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
150
154
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
151
155
|
*
|
|
152
156
|
* @returns Returned if the requested user's email is returned.
|
|
153
|
-
* @path
|
|
157
|
+
* @path GET `/wiki/rest/api/user/email`
|
|
154
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
159
|
+
* @param params
|
|
155
160
|
*/
|
|
156
161
|
this.getPrivacyUnsafeUserEmail = ({ accountId, }) => {
|
|
157
162
|
return this.getClientInstance()
|
|
@@ -183,8 +188,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
183
188
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
184
189
|
*
|
|
185
190
|
* @returns Returned if the request is successful.
|
|
186
|
-
* @path
|
|
191
|
+
* @path GET `/wiki/rest/api/user/email/bulk`
|
|
187
192
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
193
|
+
* @param params
|
|
188
194
|
*/
|
|
189
195
|
this.getPrivacyUnsafeUserEmailBulk = ({ accountId, }) => {
|
|
190
196
|
return this.getClientInstance()
|
|
@@ -217,10 +223,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
217
223
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
218
224
|
*
|
|
219
225
|
* @returns Returned if the requested user is returned.
|
|
220
|
-
* @path
|
|
226
|
+
* @path GET `/wiki/rest/api/user`
|
|
221
227
|
* @scopes-current read:confluence-user
|
|
222
228
|
* @scopes-beta read:content-details:confluence
|
|
223
229
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
230
|
+
* @param params
|
|
224
231
|
*/
|
|
225
232
|
this.getUser = ({ accountId, expand, }) => {
|
|
226
233
|
return this.getClientInstance()
|