@resolution/confluence-api-client 0.4.1 → 0.4.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 +21 -0
- package/README.md +125 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +51 -7
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +49 -5
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +75 -75
- package/lib/openapi/v1/models/common.js +42 -42
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +8 -8
- package/lib/openapi/v1/models/content.js +9 -7
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +2 -2
- package/lib/openapi/v1/models/contentRestrictions.js +1 -1
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +2 -2
- package/lib/openapi/v1/models/contentWatches.js +1 -1
- package/lib/openapi/v1/models/contentWatches.js.map +1 -1
- package/lib/openapi/v1/models/relation.d.ts +4 -4
- package/lib/openapi/v1/models/relation.js +5 -3
- package/lib/openapi/v1/models/relation.js.map +1 -1
- package/lib/openapi/v1/models/search.d.ts +2 -2
- package/lib/openapi/v1/models/search.js +1 -1
- package/lib/openapi/v1/models/search.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +2 -2
- package/lib/openapi/v1/models/space.js +1 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/themes.d.ts +2 -2
- package/lib/openapi/v1/models/themes.js +1 -1
- package/lib/openapi/v1/models/themes.js.map +1 -1
- package/lib/openapi/v1/models/users.d.ts +3 -3
- package/lib/openapi/v1/models/users.js +2 -2
- package/lib/openapi/v1/models/users.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +3 -0
- package/lib/openapi/v1/services/AnalyticsService.js +3 -0
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +10 -3
- package/lib/openapi/v1/services/AuditService.js +10 -3
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js +7 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +4 -0
- package/lib/openapi/v1/services/ContentBodyService.js +4 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +8 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +8 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +5 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +5 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +5 -0
- package/lib/openapi/v1/services/ContentLabelsService.js +5 -0
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js +4 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +10 -1
- package/lib/openapi/v1/services/ContentPropertiesService.js +10 -1
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +16 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js +16 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +12 -1
- package/lib/openapi/v1/services/ContentService.js +12 -1
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +11 -0
- package/lib/openapi/v1/services/ContentStatesService.js +11 -0
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +5 -0
- package/lib/openapi/v1/services/ContentVersionsService.js +5 -0
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -0
- package/lib/openapi/v1/services/ContentWatchesService.js +13 -0
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +4 -0
- package/lib/openapi/v1/services/DynamicModulesService.js +4 -0
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +9 -1
- package/lib/openapi/v1/services/ExperimentalService.js +9 -1
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +18 -1
- package/lib/openapi/v1/services/GroupService.js +18 -1
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +8 -2
- package/lib/openapi/v1/services/InlineTasksService.js +8 -2
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +2 -0
- package/lib/openapi/v1/services/LabelInfoService.js +2 -0
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +6 -0
- package/lib/openapi/v1/services/RelationService.js +6 -0
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +3 -0
- package/lib/openapi/v1/services/SearchService.js +3 -0
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +9 -2
- package/lib/openapi/v1/services/SettingsService.js +9 -2
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js +4 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +10 -1
- package/lib/openapi/v1/services/SpacePropertiesService.js +10 -1
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +10 -1
- package/lib/openapi/v1/services/SpaceService.js +10 -1
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +3 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js +3 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +9 -2
- package/lib/openapi/v1/services/TemplateService.js +9 -2
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +8 -1
- package/lib/openapi/v1/services/ThemesService.js +8 -1
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -0
- package/lib/openapi/v1/services/UserPropertiesService.js +6 -0
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +13 -5
- package/lib/openapi/v1/services/UsersService.js +12 -4
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +25 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +23 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +51 -0
- package/lib/openapi/v2/models/user.js +41 -0
- package/lib/openapi/v2/models/user.js.map +1 -0
- package/lib/openapi/v2/services/AncestorsService.d.ts +5 -0
- package/lib/openapi/v2/services/AncestorsService.js +5 -0
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +9 -1
- package/lib/openapi/v2/services/AttachmentService.js +9 -1
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +9 -1
- package/lib/openapi/v2/services/BlogPostService.js +9 -1
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +3 -0
- package/lib/openapi/v2/services/ChildrenService.js +3 -0
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +11 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js +11 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +21 -2
- package/lib/openapi/v2/services/CommentService.js +21 -2
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +41 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js +41 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -0
- package/lib/openapi/v2/services/ContentService.js +2 -0
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +9 -0
- package/lib/openapi/v2/services/CustomContentService.js +9 -0
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +4 -0
- package/lib/openapi/v2/services/DatabaseService.js +4 -0
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +9 -1
- package/lib/openapi/v2/services/LabelService.js +9 -1
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +9 -0
- package/lib/openapi/v2/services/LikeService.js +9 -0
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +11 -0
- package/lib/openapi/v2/services/OperationService.js +11 -0
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +9 -1
- package/lib/openapi/v2/services/PageService.js +9 -1
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +4 -0
- package/lib/openapi/v2/services/SmartLinkService.js +4 -0
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +2 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js +6 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -1
- package/lib/openapi/v2/services/SpaceService.js +4 -1
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +5 -1
- package/lib/openapi/v2/services/TaskService.js +5 -1
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +31 -0
- package/lib/openapi/v2/services/UserService.js +55 -0
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +13 -0
- package/lib/openapi/v2/services/VersionService.js +13 -0
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +4 -0
- package/lib/openapi/v2/services/WhiteboardService.js +4 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAM0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,MAAa,YAAa,SAAQ,qCAAiB;IACjD
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAM0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IACjD;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,EACjB,WAAW,GAIZ;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,+BAA+B;YACrC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,WAAW;SAClB,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,C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HttpService";
|
|
2
2
|
import { type SpaceSettings } from "../models/common";
|
|
3
3
|
import type { SpaceSettingsUpdate } from "../models/spaceSettings";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings */
|
|
4
5
|
export declare class SpaceSettingsService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Returns the settings of a space. Currently only the
|
|
@@ -13,6 +14,7 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
13
14
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/settings
|
|
14
15
|
* @scopes-current read:confluence-space.summary
|
|
15
16
|
* @scopes-beta read:space.setting:confluence
|
|
17
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-get
|
|
16
18
|
*/
|
|
17
19
|
getSpaceSettings({ spaceKey, }: {
|
|
18
20
|
/** The key of the space to be queried for its settings. */
|
|
@@ -29,6 +31,7 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
29
31
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/settings
|
|
30
32
|
* @scopes-current write:confluence-space
|
|
31
33
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
34
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
32
35
|
*/
|
|
33
36
|
updateSpaceSettings({ spaceKey, spaceSettingsUpdate, }: {
|
|
34
37
|
/** The key of the space whose settings will be updated. */
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings */
|
|
12
13
|
class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Returns the settings of a space. Currently only the
|
|
@@ -21,6 +22,7 @@ class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
22
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/settings
|
|
22
23
|
* @scopes-current read:confluence-space.summary
|
|
23
24
|
* @scopes-beta read:space.setting:confluence
|
|
25
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-get
|
|
24
26
|
*/
|
|
25
27
|
getSpaceSettings({ spaceKey, }) {
|
|
26
28
|
return this.getClientInstance()
|
|
@@ -51,6 +53,7 @@ class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
53
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/settings
|
|
52
54
|
* @scopes-current write:confluence-space
|
|
53
55
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
56
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
54
57
|
*/
|
|
55
58
|
updateSpaceSettings({ spaceKey, spaceSettingsUpdate, }) {
|
|
56
59
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAE1B,wEAAqE;AACrE,MAAa,oBAAqB,SAAQ,qCAAiB;IACzD
|
|
1
|
+
{"version":3,"file":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8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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,OAAC,CAAC,QAAQ,CAAC,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mDAAmD,EACnD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,mDAAmD,CAAC,CACjE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/HD,oDA+HC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type BlueprintTemplateArray, type ContentTemplate, type ContentTemplateArray, type ContentTemplateCreate, type ContentTemplateUpdate } from "../models/template";
|
|
3
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template */
|
|
3
4
|
export declare class TemplateService extends CommonHttpService {
|
|
4
5
|
/**
|
|
5
6
|
* Creates a new content template. Note, blueprint templates cannot be created via
|
|
@@ -15,6 +16,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
15
16
|
* @scopes-current write:confluence-content
|
|
16
17
|
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
17
18
|
* write:template:confluence
|
|
19
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
18
20
|
*/
|
|
19
21
|
createContentTemplate({ contentTemplateCreate, }: {
|
|
20
22
|
/**
|
|
@@ -39,8 +41,9 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
39
41
|
* @path {GET} /wiki/rest/api/template/blueprint
|
|
40
42
|
* @scopes-current read:confluence-content.summary
|
|
41
43
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
44
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
42
45
|
*/
|
|
43
|
-
getBlueprintTemplates({ spaceKey, start, limit, expand, }
|
|
46
|
+
getBlueprintTemplates({ spaceKey, start, limit, expand, }?: {
|
|
44
47
|
/**
|
|
45
48
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
46
49
|
* is not specified, global blueprint templates will be returned.
|
|
@@ -75,6 +78,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
75
78
|
* @path {GET} /wiki/rest/api/template/{contentTemplateId}
|
|
76
79
|
* @scopes-current read:confluence-content.summary
|
|
77
80
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
81
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
78
82
|
*/
|
|
79
83
|
getContentTemplate({ contentTemplateId, }: {
|
|
80
84
|
/** The ID of the content template to be returned. */
|
|
@@ -93,8 +97,9 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
93
97
|
* @path {GET} /wiki/rest/api/template/page
|
|
94
98
|
* @scopes-current read:confluence-content.summary
|
|
95
99
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
100
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
96
101
|
*/
|
|
97
|
-
getContentTemplates({ spaceKey, start, limit, expand, }
|
|
102
|
+
getContentTemplates({ spaceKey, start, limit, expand, }?: {
|
|
98
103
|
/**
|
|
99
104
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
100
105
|
* is not specified, global templates will be returned.
|
|
@@ -135,6 +140,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
135
140
|
* @path {DELETE} /wiki/rest/api/template/{contentTemplateId}
|
|
136
141
|
* @scopes-current write:confluence-content
|
|
137
142
|
* @scopes-beta write:template:confluence
|
|
143
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
138
144
|
*/
|
|
139
145
|
removeTemplate({ contentTemplateId, }: {
|
|
140
146
|
/** The ID of the template to be deleted. */
|
|
@@ -154,6 +160,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
154
160
|
* @scopes-current write:confluence-content
|
|
155
161
|
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
156
162
|
* write:template:confluence
|
|
163
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
157
164
|
*/
|
|
158
165
|
updateContentTemplate({ contentTemplateUpdate, }: {
|
|
159
166
|
/** The updated content template. */
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const template_1 = require("../models/template");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template */
|
|
12
13
|
class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Creates a new content template. Note, blueprint templates cannot be created via
|
|
@@ -24,6 +25,7 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
25
|
* @scopes-current write:confluence-content
|
|
25
26
|
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
26
27
|
* write:template:confluence
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
27
29
|
*/
|
|
28
30
|
createContentTemplate({ contentTemplateCreate, }) {
|
|
29
31
|
return this.getClientInstance()
|
|
@@ -60,8 +62,9 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
60
62
|
* @path {GET} /wiki/rest/api/template/blueprint
|
|
61
63
|
* @scopes-current read:confluence-content.summary
|
|
62
64
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
65
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
63
66
|
*/
|
|
64
|
-
getBlueprintTemplates({ spaceKey, start, limit, expand, }) {
|
|
67
|
+
getBlueprintTemplates({ spaceKey, start, limit, expand, } = {}) {
|
|
65
68
|
return this.getClientInstance()
|
|
66
69
|
.request({
|
|
67
70
|
path: "/wiki/rest/api/template/blueprint",
|
|
@@ -96,6 +99,7 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
96
99
|
* @path {GET} /wiki/rest/api/template/{contentTemplateId}
|
|
97
100
|
* @scopes-current read:confluence-content.summary
|
|
98
101
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
102
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
99
103
|
*/
|
|
100
104
|
getContentTemplate({ contentTemplateId, }) {
|
|
101
105
|
return this.getClientInstance()
|
|
@@ -128,8 +132,9 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
128
132
|
* @path {GET} /wiki/rest/api/template/page
|
|
129
133
|
* @scopes-current read:confluence-content.summary
|
|
130
134
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
135
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
131
136
|
*/
|
|
132
|
-
getContentTemplates({ spaceKey, start, limit, expand, }) {
|
|
137
|
+
getContentTemplates({ spaceKey, start, limit, expand, } = {}) {
|
|
133
138
|
return this.getClientInstance()
|
|
134
139
|
.request({
|
|
135
140
|
path: "/wiki/rest/api/template/page",
|
|
@@ -170,6 +175,7 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
170
175
|
* @path {DELETE} /wiki/rest/api/template/{contentTemplateId}
|
|
171
176
|
* @scopes-current write:confluence-content
|
|
172
177
|
* @scopes-beta write:template:confluence
|
|
178
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
173
179
|
*/
|
|
174
180
|
removeTemplate({ contentTemplateId, }) {
|
|
175
181
|
return this.getClientInstance()
|
|
@@ -196,6 +202,7 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
196
202
|
* @scopes-current write:confluence-content
|
|
197
203
|
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
198
204
|
* write:template:confluence
|
|
205
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
199
206
|
*/
|
|
200
207
|
updateContentTemplate({ contentTemplateUpdate, }) {
|
|
201
208
|
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,MAAa,eAAgB,SAAQ,qCAAiB;IACpD
|
|
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;AAC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
3
3
|
import { type ThemeArray, type ThemeUpdate } from "../models/themes";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes */
|
|
4
5
|
export declare class ThemesService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Returns the globally assigned theme.
|
|
@@ -11,6 +12,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
11
12
|
* @path {GET} /wiki/rest/api/settings/theme/selected
|
|
12
13
|
* @scopes-current manage:confluence-configuration
|
|
13
14
|
* @scopes-beta read:configuration:confluence
|
|
15
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-selected-get
|
|
14
16
|
*/
|
|
15
17
|
getGlobalTheme(): Promise<Theme>;
|
|
16
18
|
/**
|
|
@@ -25,6 +27,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
25
27
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/theme
|
|
26
28
|
* @scopes-current read:confluence-space.summary
|
|
27
29
|
* @scopes-beta read:space.setting:confluence
|
|
30
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
|
|
28
31
|
*/
|
|
29
32
|
getSpaceTheme({ spaceKey, }: {
|
|
30
33
|
/** The key of the space to be queried for its theme. */
|
|
@@ -40,6 +43,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
40
43
|
* @path {GET} /wiki/rest/api/settings/theme/{themeKey}
|
|
41
44
|
* @scopes-current manage:confluence-configuration
|
|
42
45
|
* @scopes-beta read:configuration:confluence
|
|
46
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
|
|
43
47
|
*/
|
|
44
48
|
getTheme({ themeKey, }: {
|
|
45
49
|
/** The key of the theme to be returned. */
|
|
@@ -54,8 +58,9 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
54
58
|
* @path {GET} /wiki/rest/api/settings/theme
|
|
55
59
|
* @scopes-current manage:confluence-configuration
|
|
56
60
|
* @scopes-beta read:configuration:confluence
|
|
61
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
|
|
57
62
|
*/
|
|
58
|
-
getThemes({ start, limit, }
|
|
63
|
+
getThemes({ start, limit, }?: {
|
|
59
64
|
/** The starting index of the returned themes. */
|
|
60
65
|
start?: number;
|
|
61
66
|
/**
|
|
@@ -74,6 +79,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
74
79
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/theme
|
|
75
80
|
* @scopes-current write:confluence-space
|
|
76
81
|
* @scopes-beta write:space.setting:confluence
|
|
82
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
|
|
77
83
|
*/
|
|
78
84
|
resetSpaceTheme({ spaceKey, }: {
|
|
79
85
|
/** The key of the space to reset the theme for. */
|
|
@@ -91,6 +97,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
91
97
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/theme
|
|
92
98
|
* @scopes-current write:confluence-space
|
|
93
99
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
100
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
|
|
94
101
|
*/
|
|
95
102
|
setSpaceTheme({ spaceKey, themeUpdate, }: {
|
|
96
103
|
/** The key of the space to set the theme for. */
|
|
@@ -10,6 +10,7 @@ const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const themes_1 = require("../models/themes");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes */
|
|
13
14
|
class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
14
15
|
/**
|
|
15
16
|
* Returns the globally assigned theme.
|
|
@@ -20,6 +21,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
20
21
|
* @path {GET} /wiki/rest/api/settings/theme/selected
|
|
21
22
|
* @scopes-current manage:confluence-configuration
|
|
22
23
|
* @scopes-beta read:configuration:confluence
|
|
24
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-selected-get
|
|
23
25
|
*/
|
|
24
26
|
getGlobalTheme() {
|
|
25
27
|
return this.getClientInstance()
|
|
@@ -48,6 +50,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
48
50
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/theme
|
|
49
51
|
* @scopes-current read:confluence-space.summary
|
|
50
52
|
* @scopes-beta read:space.setting:confluence
|
|
53
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
|
|
51
54
|
*/
|
|
52
55
|
getSpaceTheme({ spaceKey, }) {
|
|
53
56
|
return this.getClientInstance()
|
|
@@ -77,6 +80,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
77
80
|
* @path {GET} /wiki/rest/api/settings/theme/{themeKey}
|
|
78
81
|
* @scopes-current manage:confluence-configuration
|
|
79
82
|
* @scopes-beta read:configuration:confluence
|
|
83
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
|
|
80
84
|
*/
|
|
81
85
|
getTheme({ themeKey, }) {
|
|
82
86
|
return this.getClientInstance()
|
|
@@ -105,8 +109,9 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
105
109
|
* @path {GET} /wiki/rest/api/settings/theme
|
|
106
110
|
* @scopes-current manage:confluence-configuration
|
|
107
111
|
* @scopes-beta read:configuration:confluence
|
|
112
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
|
|
108
113
|
*/
|
|
109
|
-
getThemes({ start, limit, }) {
|
|
114
|
+
getThemes({ start, limit, } = {}) {
|
|
110
115
|
return this.getClientInstance()
|
|
111
116
|
.request({
|
|
112
117
|
path: "/wiki/rest/api/settings/theme",
|
|
@@ -135,6 +140,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
135
140
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/theme
|
|
136
141
|
* @scopes-current write:confluence-space
|
|
137
142
|
* @scopes-beta write:space.setting:confluence
|
|
143
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
|
|
138
144
|
*/
|
|
139
145
|
resetSpaceTheme({ spaceKey, }) {
|
|
140
146
|
return this.getClientInstance()
|
|
@@ -159,6 +165,7 @@ class ThemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
159
165
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/theme
|
|
160
166
|
* @scopes-current write:confluence-space
|
|
161
167
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
168
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
|
|
162
169
|
*/
|
|
163
170
|
setSpaceTheme({ spaceKey, themeUpdate, }) {
|
|
164
171
|
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,MAAa,aAAc,SAAQ,qCAAiB;IAClD
|
|
1
|
+
{"version":3,"file":"ThemesService.js","sourceR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Q,CAAC,iCAAiC,CAAC,CAC/C,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,uCAAuC,EACvC,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,OAAO,CAAC;SAC5C,CAAC;aACD,QAAQ,CAAC,uCAAuC,CAAC,CACrD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sCAAsC,EACtC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC;SAC5C,CAAC;aACD,QAAQ,CAAC,sCAAsC,CAAC,CACpD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sCAAsC,EACtC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC;SAC5C,CAAC;aACD,QAAQ,CAAC,sCAAsC,CAAC,CACpD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAnUD,sCAmUC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type UserProperty, type UserPropertyCreate, type UserPropertyKeyArray, type UserPropertyUpdate } from "../models/userProperties";
|
|
3
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties */
|
|
3
4
|
export declare class UserPropertiesService extends CommonHttpService {
|
|
4
5
|
/**
|
|
5
6
|
* Creates a property for a user. For more information about user properties, see
|
|
@@ -16,6 +17,7 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
16
17
|
*
|
|
17
18
|
* @path {POST} /wiki/rest/api/user/{userId}/property/{key}
|
|
18
19
|
* @scopes-current write:user.property:confluence
|
|
20
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-post
|
|
19
21
|
*/
|
|
20
22
|
createUserProperty({ userId, key, userPropertyCreate, }: {
|
|
21
23
|
/**
|
|
@@ -42,6 +44,7 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
42
44
|
*
|
|
43
45
|
* @path {DELETE} /wiki/rest/api/user/{userId}/property/{key}
|
|
44
46
|
* @scopes-current write:user.property:confluence
|
|
47
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-delete
|
|
45
48
|
*/
|
|
46
49
|
deleteUserProperty({ userId, key, }: {
|
|
47
50
|
/**
|
|
@@ -66,6 +69,7 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
66
69
|
* @returns Returned if the requested properties are returned.
|
|
67
70
|
* @path {GET} /wiki/rest/api/user/{userId}/property
|
|
68
71
|
* @scopes-current read:user.property:confluence
|
|
72
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-get
|
|
69
73
|
*/
|
|
70
74
|
getUserProperties({ userId, start, limit, }: {
|
|
71
75
|
/** The account ID of the user to be queried for its properties. */
|
|
@@ -91,6 +95,7 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
91
95
|
* @returns Returned if the requested properties are returned.
|
|
92
96
|
* @path {GET} /wiki/rest/api/user/{userId}/property/{key}
|
|
93
97
|
* @scopes-current read:user.property:confluence
|
|
98
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-get
|
|
94
99
|
*/
|
|
95
100
|
getUserProperty({ userId, key, }: {
|
|
96
101
|
/** The account ID of the user to be queried for its properties. */
|
|
@@ -112,6 +117,7 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
112
117
|
*
|
|
113
118
|
* @path {PUT} /wiki/rest/api/user/{userId}/property/{key}
|
|
114
119
|
* @scopes-current write:user.property:confluence
|
|
120
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-put
|
|
115
121
|
*/
|
|
116
122
|
updateUserProperty({ userId, key, userPropertyUpdate, }: {
|
|
117
123
|
/**
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const userProperties_1 = require("../models/userProperties");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties */
|
|
12
13
|
class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Creates a property for a user. For more information about user properties, see
|
|
@@ -25,6 +26,7 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
26
|
*
|
|
26
27
|
* @path {POST} /wiki/rest/api/user/{userId}/property/{key}
|
|
27
28
|
* @scopes-current write:user.property:confluence
|
|
29
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-post
|
|
28
30
|
*/
|
|
29
31
|
createUserProperty({ userId, key, userPropertyCreate, }) {
|
|
30
32
|
return this.getClientInstance()
|
|
@@ -55,6 +57,7 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
55
57
|
*
|
|
56
58
|
* @path {DELETE} /wiki/rest/api/user/{userId}/property/{key}
|
|
57
59
|
* @scopes-current write:user.property:confluence
|
|
60
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-delete
|
|
58
61
|
*/
|
|
59
62
|
deleteUserProperty({ userId, key, }) {
|
|
60
63
|
return this.getClientInstance()
|
|
@@ -81,6 +84,7 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
81
84
|
* @returns Returned if the requested properties are returned.
|
|
82
85
|
* @path {GET} /wiki/rest/api/user/{userId}/property
|
|
83
86
|
* @scopes-current read:user.property:confluence
|
|
87
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-get
|
|
84
88
|
*/
|
|
85
89
|
getUserProperties({ userId, start, limit, }) {
|
|
86
90
|
return this.getClientInstance()
|
|
@@ -117,6 +121,7 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
117
121
|
* @returns Returned if the requested properties are returned.
|
|
118
122
|
* @path {GET} /wiki/rest/api/user/{userId}/property/{key}
|
|
119
123
|
* @scopes-current read:user.property:confluence
|
|
124
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-get
|
|
120
125
|
*/
|
|
121
126
|
getUserProperty({ userId, key, }) {
|
|
122
127
|
return this.getClientInstance()
|
|
@@ -151,6 +156,7 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
151
156
|
*
|
|
152
157
|
* @path {PUT} /wiki/rest/api/user/{userId}/property/{key}
|
|
153
158
|
* @scopes-current write:user.property:confluence
|
|
159
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties#api-wiki-rest-api-user-userid-property-key-put
|
|
154
160
|
*/
|
|
155
161
|
updateUserProperty({ userId, key, userPropertyUpdate, }) {
|
|
156
162
|
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,MAAa,qBAAsB,SAAQ,qCAAiB;IAC1D
|
|
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;IAC1D;;;;;;;;;;;;;;;;OAgBG;IACH,kBAAkB,CAAC,EACjB,MAAM,EACN,GAAG,EACH,kBAAkB,GAYnB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,MAAM;gBACN,GAAG;aACJ;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,kBAAkB;SACzB,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAAC,EACjB,MAAM,EACN,GAAG,GAUJ;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,MAAM;gBACN,GAAG;aACJ;SACF,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;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BAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,MAAM;gBACN,GAAG;aACJ;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,kBAAkB;SACzB,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD,MAAM,CAAC,UAAU;QACf,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;AArRD,sDAqRC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
-
import { type GroupArrayWithLinks, type
|
|
2
|
+
import { type GroupArrayWithLinks, type UserV1 } from "../models/common";
|
|
3
3
|
import { type AccountIdEmailRecord, type AccountIdEmailRecordArray, type BulkUserLookupArray, type UserAnonymous } from "../models/users";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users */
|
|
4
5
|
export declare class UsersService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Returns information about how anonymous users are represented, like the
|
|
@@ -13,8 +14,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
13
14
|
* @path {GET} /wiki/rest/api/user/anonymous
|
|
14
15
|
* @scopes-current read:confluence-user
|
|
15
16
|
* @scopes-beta read:user:confluence
|
|
17
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
16
18
|
*/
|
|
17
|
-
getAnonymousUser({ expand, }
|
|
19
|
+
getAnonymousUser({ expand, }?: {
|
|
18
20
|
/**
|
|
19
21
|
* A multi-value parameter indicating which properties of the user to
|
|
20
22
|
* expand.
|
|
@@ -33,6 +35,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
33
35
|
* @path {GET} /wiki/rest/api/user/bulk
|
|
34
36
|
* @scopes-current read:confluence-user
|
|
35
37
|
* @scopes-beta read:content-details:confluence
|
|
38
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
36
39
|
*/
|
|
37
40
|
getBulkUserLookup({ accountId, expand, limit, }: {
|
|
38
41
|
/** A list of accountId's of users to be returned. */
|
|
@@ -66,8 +69,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
66
69
|
* @path {GET} /wiki/rest/api/user/current
|
|
67
70
|
* @scopes-current read:confluence-user
|
|
68
71
|
* @scopes-beta read:content-details:confluence
|
|
72
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
69
73
|
*/
|
|
70
|
-
getCurrentUser({ expand, }
|
|
74
|
+
getCurrentUser({ expand, }?: {
|
|
71
75
|
/**
|
|
72
76
|
* A multi-value parameter indicating which properties of the user to
|
|
73
77
|
* expand.
|
|
@@ -78,7 +82,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
78
82
|
* collaborator user.
|
|
79
83
|
*/
|
|
80
84
|
expand?: ("operations" | "personalSpace" | "isExternalCollaborator")[];
|
|
81
|
-
}): Promise<
|
|
85
|
+
}): Promise<UserV1 | null>;
|
|
82
86
|
/**
|
|
83
87
|
* Returns the groups that a user is a member of.
|
|
84
88
|
*
|
|
@@ -89,6 +93,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
89
93
|
* @path {GET} /wiki/rest/api/user/memberof
|
|
90
94
|
* @scopes-current read:confluence-user
|
|
91
95
|
* @scopes-beta read:user:confluence, read:group:confluence
|
|
96
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
92
97
|
*/
|
|
93
98
|
getGroupMembershipsForUser({ accountId, start, limit, }: {
|
|
94
99
|
/**
|
|
@@ -115,6 +120,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
115
120
|
*
|
|
116
121
|
* @returns Returned if the requested user's email is returned.
|
|
117
122
|
* @path {GET} /wiki/rest/api/user/email
|
|
123
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
118
124
|
*/
|
|
119
125
|
getPrivacyUnsafeUserEmail({ accountId, }: {
|
|
120
126
|
/**
|
|
@@ -137,6 +143,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
137
143
|
*
|
|
138
144
|
* @returns Returned if the request is successful.
|
|
139
145
|
* @path {GET} /wiki/rest/api/user/email/bulk
|
|
146
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
140
147
|
*/
|
|
141
148
|
getPrivacyUnsafeUserEmailBulk({ accountId, }: {
|
|
142
149
|
/** The account IDs of the users. */
|
|
@@ -158,6 +165,7 @@ export declare class UsersService extends CommonHttpService {
|
|
|
158
165
|
* @path {GET} /wiki/rest/api/user
|
|
159
166
|
* @scopes-current read:confluence-user
|
|
160
167
|
* @scopes-beta read:content-details:confluence
|
|
168
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
161
169
|
*/
|
|
162
170
|
getUser({ accountId, expand, }: {
|
|
163
171
|
/**
|
|
@@ -176,6 +184,6 @@ export declare class UsersService extends CommonHttpService {
|
|
|
176
184
|
* collaborator user.
|
|
177
185
|
*/
|
|
178
186
|
expand?: ("operations" | "personalSpace" | "isExternalCollaborator")[];
|
|
179
|
-
}): Promise<
|
|
187
|
+
}): Promise<UserV1 | null>;
|
|
180
188
|
static initialize(): void;
|
|
181
189
|
}
|