@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":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAI4B;AAC5B,wEAAqE;AACrE,MAAa,eAAgB,SAAQ,qCAAiB;IACpD
|
|
1
|
+
{"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAI4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IACpD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,kBAAkB,CAAC,EACjB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,GAwDd;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,kGAAkG;YACxG,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,YAAY;gBACZ,UAAU;gBACV,SAAS;gBACT,UAAU;gBACV,SAAS;aACV;YACD,KAAK,EAAE;gBACL,YAAY;gBACZ,YAAY;gBACZ,aAAa;gBACb,aAAa;aACd;SACF,CAAC;aACD,I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AAC,CACxD,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,UAAU,CAAC;SAC/C,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,+CAA+C,EAC/C,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,eAAe,CAAC;SACpD,CAAC;aACD,QAAQ,CAAC,+CAA+C,CAAC,CAC7D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA5qBD,0CA4qBC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type SearchPageResponseSearchResult } from "../models/search";
|
|
3
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search */
|
|
3
4
|
export declare class SearchService extends CommonHttpService {
|
|
4
5
|
/**
|
|
5
6
|
* Searches for content using the
|
|
@@ -63,6 +64,7 @@ export declare class SearchService extends CommonHttpService {
|
|
|
63
64
|
* @path {GET} /wiki/rest/api/search
|
|
64
65
|
* @scopes-current search:confluence
|
|
65
66
|
* @scopes-beta read:content-details:confluence
|
|
67
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
66
68
|
*/
|
|
67
69
|
searchByCql({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand, }: {
|
|
68
70
|
/**
|
|
@@ -130,6 +132,7 @@ export declare class SearchService extends CommonHttpService {
|
|
|
130
132
|
* @returns Returned if the requested results are returned.
|
|
131
133
|
* @path {GET} /wiki/rest/api/search/user
|
|
132
134
|
* @scopes-current read:content-details:confluence
|
|
135
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
133
136
|
*/
|
|
134
137
|
searchUser({ cql, start, limit, expand, sitePermissionTypeFilter, }: {
|
|
135
138
|
/**
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const search_1 = require("../models/search");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search */
|
|
12
13
|
class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Searches for content using the
|
|
@@ -72,6 +73,7 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
72
73
|
* @path {GET} /wiki/rest/api/search
|
|
73
74
|
* @scopes-current search:confluence
|
|
74
75
|
* @scopes-beta read:content-details:confluence
|
|
76
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
75
77
|
*/
|
|
76
78
|
searchByCql({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand, }) {
|
|
77
79
|
return this.getClientInstance()
|
|
@@ -119,6 +121,7 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
119
121
|
* @returns Returned if the requested results are returned.
|
|
120
122
|
* @path {GET} /wiki/rest/api/search/user
|
|
121
123
|
* @scopes-current read:content-details:confluence
|
|
124
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
122
125
|
*/
|
|
123
126
|
searchUser({ cql, start, limit, expand, sitePermissionTypeFilter, }) {
|
|
124
127
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,wEAAqE;AACrE,MAAa,aAAc,SAAQ,qCAAiB;IAClD
|
|
1
|
+
{"version":3,"file":"SearchService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,wEAAqE;AACrE,qFAAqF;AACrF,MAAa,aAAc,SAAQ,qCAAiB;IAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+DG;IACH,WAAW,CAAC,EACV,GAAG,EACH,UAAU,EACV,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,qBAAqB,EACrB,oBAAoB,EACpB,OAAO,EACP,wBAAwB,EACxB,CAAC,EACD,MAAM,GAuDP;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,uBAAuB;YAC7B,MAAM,EAAE,KAAK;YACb,KAAK,EAAE;gBACL,GAAG;gBACH,UAAU;gBACV,MAAM;gBACN,IAAI;gBACJ,IAAI;gBACJ,KAAK;gBACL,KAAK;gBACL,qBAAqB;gBACrB,oBAAoB;gBACpB,OAAO;gBACP,wBAAwB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ACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mCAAmC,EACnC,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,gCAAgC,CAAC;SACrE,CAAC;aACD,QAAQ,CAAC,mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAnSD,sCAmSC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import type { LookAndFeel } from "../models/common";
|
|
3
3
|
import { type LookAndFeelSelection, type LookAndFeelSettings, type LookAndFeelWithLinks, type SystemInfoEntity } from "../models/settings";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings */
|
|
4
5
|
export declare class SettingsService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Returns the look and feel settings for the site or a single space. This
|
|
@@ -16,8 +17,9 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
16
17
|
* @path {GET} /wiki/rest/api/settings/lookandfeel
|
|
17
18
|
* @scopes-current manage:confluence-configuration
|
|
18
19
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence
|
|
20
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
19
21
|
*/
|
|
20
|
-
getLookAndFeelSettings({ spaceKey, }
|
|
22
|
+
getLookAndFeelSettings({ spaceKey, }?: {
|
|
21
23
|
/**
|
|
22
24
|
* The key of the space for which the look and feel settings will be
|
|
23
25
|
* returned. If this is not set, only the global look and feel settings
|
|
@@ -37,6 +39,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
37
39
|
* @path {GET} /wiki/rest/api/settings/systemInfo
|
|
38
40
|
* @scopes-current manage:confluence-configuration
|
|
39
41
|
* @scopes-beta read:configuration:confluence
|
|
42
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-systeminfo-get
|
|
40
43
|
*/
|
|
41
44
|
getSystemInfo(): Promise<SystemInfoEntity | null>;
|
|
42
45
|
/**
|
|
@@ -52,8 +55,9 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
52
55
|
* @path {DELETE} /wiki/rest/api/settings/lookandfeel/custom
|
|
53
56
|
* @scopes-current manage:confluence-configuration
|
|
54
57
|
* @scopes-beta write:configuration:confluence, write:space.setting:confluence
|
|
58
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
55
59
|
*/
|
|
56
|
-
resetLookAndFeelSettings({ spaceKey, }
|
|
60
|
+
resetLookAndFeelSettings({ spaceKey, }?: {
|
|
57
61
|
/**
|
|
58
62
|
* The key of the space for which the look and feel settings will be
|
|
59
63
|
* reset. If this is not set, the global look and feel settings will
|
|
@@ -75,6 +79,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
75
79
|
* @scopes-current manage:confluence-configuration
|
|
76
80
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
77
81
|
* write:configuration:confluence, write:space.setting:confluence
|
|
82
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
78
83
|
*/
|
|
79
84
|
setLookAndFeelSettings({ spaceKey, requestBody, }: {
|
|
80
85
|
/**
|
|
@@ -100,6 +105,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
100
105
|
* @path {PUT} /wiki/rest/api/settings/lookandfeel
|
|
101
106
|
* @scopes-current manage:confluence-configuration
|
|
102
107
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
108
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
103
109
|
*/
|
|
104
110
|
updateLookAndFeel({ lookAndFeelSelection, }: {
|
|
105
111
|
/** The look and feel type to be set. */
|
|
@@ -121,6 +127,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
121
127
|
* @scopes-current manage:confluence-configuration
|
|
122
128
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
123
129
|
* write:configuration:confluence, write:space.setting:confluence
|
|
130
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
124
131
|
*/
|
|
125
132
|
updateLookAndFeelSettings({ spaceKey, lookAndFeel, }: {
|
|
126
133
|
/**
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const settings_1 = require("../models/settings");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings */
|
|
12
13
|
class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Returns the look and feel settings for the site or a single space. This
|
|
@@ -24,8 +25,9 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
25
|
* @path {GET} /wiki/rest/api/settings/lookandfeel
|
|
25
26
|
* @scopes-current manage:confluence-configuration
|
|
26
27
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
27
29
|
*/
|
|
28
|
-
getLookAndFeelSettings({ spaceKey, }) {
|
|
30
|
+
getLookAndFeelSettings({ spaceKey, } = {}) {
|
|
29
31
|
return this.getClientInstance()
|
|
30
32
|
.request({
|
|
31
33
|
path: "/wiki/rest/api/settings/lookandfeel",
|
|
@@ -55,6 +57,7 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
55
57
|
* @path {GET} /wiki/rest/api/settings/systemInfo
|
|
56
58
|
* @scopes-current manage:confluence-configuration
|
|
57
59
|
* @scopes-beta read:configuration:confluence
|
|
60
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-systeminfo-get
|
|
58
61
|
*/
|
|
59
62
|
getSystemInfo() {
|
|
60
63
|
return this.getClientInstance()
|
|
@@ -84,8 +87,9 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
84
87
|
* @path {DELETE} /wiki/rest/api/settings/lookandfeel/custom
|
|
85
88
|
* @scopes-current manage:confluence-configuration
|
|
86
89
|
* @scopes-beta write:configuration:confluence, write:space.setting:confluence
|
|
90
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
87
91
|
*/
|
|
88
|
-
resetLookAndFeelSettings({ spaceKey, }) {
|
|
92
|
+
resetLookAndFeelSettings({ spaceKey, } = {}) {
|
|
89
93
|
return this.getClientInstance()
|
|
90
94
|
.request({
|
|
91
95
|
path: "/wiki/rest/api/settings/lookandfeel/custom",
|
|
@@ -110,6 +114,7 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
110
114
|
* @scopes-current manage:confluence-configuration
|
|
111
115
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
112
116
|
* write:configuration:confluence, write:space.setting:confluence
|
|
117
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
113
118
|
*/
|
|
114
119
|
setLookAndFeelSettings({ spaceKey, requestBody, }) {
|
|
115
120
|
return this.getClientInstance()
|
|
@@ -147,6 +152,7 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
147
152
|
* @path {PUT} /wiki/rest/api/settings/lookandfeel
|
|
148
153
|
* @scopes-current manage:confluence-configuration
|
|
149
154
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
155
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
150
156
|
*/
|
|
151
157
|
updateLookAndFeel({ lookAndFeelSelection, }) {
|
|
152
158
|
return this.getClientInstance()
|
|
@@ -183,6 +189,7 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
183
189
|
* @scopes-current manage:confluence-configuration
|
|
184
190
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
185
191
|
* write:configuration:confluence, write:space.setting:confluence
|
|
192
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
186
193
|
*/
|
|
187
194
|
updateLookAndFeelSettings({ spaceKey, lookAndFeel, }) {
|
|
188
195
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAE9D,iDAM4B;AAC5B,wEAAqE;AACrE,MAAa,eAAgB,SAAQ,qCAAiB;IACpD
|
|
1
|
+
{"version":3,"file":"SettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAE9D,iDAM4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB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xC,oDAAoD,EACpD,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,oDAAoD,CAAC,CAClE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,iDAAiD,EACjD,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,MAAM,EAAE;SACjB,CAAC;aACD,QAAQ,CAAC,iDAAiD,CAAC,CAC/D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,wCAAwC,EACxC,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,kBAAkB,CAAC,CAAC;SACnE,CAAC;aACD,QAAQ,CAAC,wCAAwC,CAAC,CACtD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AAlXD,0CAkXC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type SpacePermissionCustomContent, type SpacePermissionRequest, type SpacePermissionV2 } from "../models/spacePermissions";
|
|
3
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions */
|
|
3
4
|
export declare class SpacePermissionsService extends CommonHttpService {
|
|
4
5
|
/**
|
|
5
6
|
* Adds new custom content permission to space.
|
|
@@ -15,6 +16,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
15
16
|
*
|
|
16
17
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/permission/custom-content
|
|
17
18
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
19
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-custom-content-post
|
|
18
20
|
*/
|
|
19
21
|
addCustomContentPermissions({ spaceKey, spacePermissionCustomContent, }: {
|
|
20
22
|
/** The key of the space to be queried for its content. */
|
|
@@ -37,6 +39,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
37
39
|
* @returns Returned if the requested content is returned.
|
|
38
40
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/permission
|
|
39
41
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
42
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-post
|
|
40
43
|
*/
|
|
41
44
|
addPermissionToSpace({ spaceKey, spacePermissionRequest, }: {
|
|
42
45
|
/** The key of the space to be queried for its content. */
|
|
@@ -57,6 +60,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
57
60
|
*
|
|
58
61
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/permission/{id}
|
|
59
62
|
* @scopes-current write:space.permission:confluence
|
|
63
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-id-delete
|
|
60
64
|
*/
|
|
61
65
|
removePermission({ spaceKey, id, }: {
|
|
62
66
|
/** The key of the space to be queried for its content. */
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const spacePermissions_1 = require("../models/spacePermissions");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions */
|
|
12
13
|
class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Adds new custom content permission to space.
|
|
@@ -24,6 +25,7 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
25
|
*
|
|
25
26
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/permission/custom-content
|
|
26
27
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-custom-content-post
|
|
27
29
|
*/
|
|
28
30
|
addCustomContentPermissions({ spaceKey, spacePermissionCustomContent, }) {
|
|
29
31
|
return this.getClientInstance()
|
|
@@ -55,6 +57,7 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
55
57
|
* @returns Returned if the requested content is returned.
|
|
56
58
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/permission
|
|
57
59
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
60
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-post
|
|
58
61
|
*/
|
|
59
62
|
addPermissionToSpace({ spaceKey, spacePermissionRequest, }) {
|
|
60
63
|
return this.getClientInstance()
|
|
@@ -91,6 +94,7 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
91
94
|
*
|
|
92
95
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/permission/{id}
|
|
93
96
|
* @scopes-current write:space.permission:confluence
|
|
97
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-id-delete
|
|
94
98
|
*/
|
|
95
99
|
removePermission({ spaceKey, id, }) {
|
|
96
100
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpacePermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpacePermissionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iEAKoC;AACpC,wEAAqE;AACrE,MAAa,uBAAwB,SAAQ,qCAAiB;IAC5D
|
|
1
|
+
{"version":3,"file":"SpacePermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpacePermissionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iEAKoC;AACpC,wEAAqE;AACrE,gGAAgG;AAChG,MAAa,uBAAwB,SAAQ,qCAAiB;IAC5D;;;;;;;;;;;;;;;OAeG;IACH,2BAA2B,CAAC,EAC1B,QAAQ,EACR,4BAA4B,GAM7B;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,2DAA2D;YACjE,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,4BAA4B;SACnC,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,CAAC,EACnB,QAAQ,EACR,sBAAsB,GAMvB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,4CAA4C;YAClD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,sBAAsB;SAC7B,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,uDAAuD,CACxD,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACH,gBAAgB,CAAC,EACf,QAAQ,EACR,EAAE,GAMH;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,iDAAiD;YACvD,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,QAAQ;gBACR,EAAE;aACH;SACF,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,uDAAuD,EACvD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC;SACxD,CAAC;aACD,QAAQ,CAAC,uDAAuD,CAAC,CACrE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,4DAAyC;SAC1C,CAAC,CAAC;IACL,CAAC;CACF;AArJD,0DAqJC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type SpacePropertyArray, type SpacePropertyCreate, type SpacePropertyCreateNoKey, type SpacePropertyUpdate, type SpacePropertyV1 } from "../models/spaceProperties";
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
6
|
+
*/
|
|
4
7
|
export declare class SpacePropertiesService extends CommonHttpService {
|
|
5
8
|
/**
|
|
6
9
|
* Deprecated, use [Confluence's v2
|
|
@@ -16,6 +19,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
16
19
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/property
|
|
17
20
|
* @scopes-current write:confluence-props
|
|
18
21
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
22
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-post
|
|
19
23
|
*/
|
|
20
24
|
createSpaceProperty({ spaceKey, spacePropertyCreate, }: {
|
|
21
25
|
/** The key of the space that the property will be created in. */
|
|
@@ -40,6 +44,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
40
44
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
41
45
|
* @scopes-current write:confluence-props
|
|
42
46
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
47
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-post
|
|
43
48
|
*/
|
|
44
49
|
createSpacePropertyForKey({ spaceKey, key, spacePropertyCreateNoKey, }: {
|
|
45
50
|
/** The key of the space that the property will be created in. */
|
|
@@ -62,6 +67,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
62
67
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
63
68
|
* @scopes-current write:confluence-props
|
|
64
69
|
* @scopes-beta write:space.property:confluence
|
|
70
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-delete
|
|
65
71
|
*/
|
|
66
72
|
deleteSpaceProperty({ spaceKey, key, }: {
|
|
67
73
|
/** The key of the space that the property is in. */
|
|
@@ -84,6 +90,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
84
90
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/property
|
|
85
91
|
* @scopes-current read:confluence-props
|
|
86
92
|
* @scopes-beta read:content-details:confluence
|
|
93
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-get
|
|
87
94
|
*/
|
|
88
95
|
getSpaceProperties({ spaceKey, expand, start, limit, }: {
|
|
89
96
|
/** The key of the space to be queried for its properties. */
|
|
@@ -118,6 +125,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
118
125
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
119
126
|
* @scopes-current read:confluence-props
|
|
120
127
|
* @scopes-beta read:content-details:confluence
|
|
128
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-get
|
|
121
129
|
*/
|
|
122
130
|
getSpaceProperty({ spaceKey, key, expand, }: {
|
|
123
131
|
/** The key of the space that the property is in. */
|
|
@@ -148,6 +156,7 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
148
156
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
149
157
|
* @scopes-current write:confluence-props
|
|
150
158
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
159
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-put
|
|
151
160
|
*/
|
|
152
161
|
updateSpaceProperty({ spaceKey, key, spacePropertyUpdate, }: {
|
|
153
162
|
/** The key of the space that the property is in. */
|
|
@@ -9,7 +9,10 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const spaceProperties_1 = require("../models/spaceProperties");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
15
|
+
*/
|
|
13
16
|
class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
14
17
|
/**
|
|
15
18
|
* Deprecated, use [Confluence's v2
|
|
@@ -25,6 +28,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
28
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/property
|
|
26
29
|
* @scopes-current write:confluence-props
|
|
27
30
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
31
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-post
|
|
28
32
|
*/
|
|
29
33
|
createSpaceProperty({ spaceKey, spacePropertyCreate, }) {
|
|
30
34
|
return this.getClientInstance()
|
|
@@ -65,6 +69,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
65
69
|
* @path {POST} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
66
70
|
* @scopes-current write:confluence-props
|
|
67
71
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
72
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-post
|
|
68
73
|
*/
|
|
69
74
|
createSpacePropertyForKey({ spaceKey, key, spacePropertyCreateNoKey, }) {
|
|
70
75
|
return this.getClientInstance()
|
|
@@ -102,6 +107,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
102
107
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
103
108
|
* @scopes-current write:confluence-props
|
|
104
109
|
* @scopes-beta write:space.property:confluence
|
|
110
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-delete
|
|
105
111
|
*/
|
|
106
112
|
deleteSpaceProperty({ spaceKey, key, }) {
|
|
107
113
|
return this.getClientInstance()
|
|
@@ -130,6 +136,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
130
136
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/property
|
|
131
137
|
* @scopes-current read:confluence-props
|
|
132
138
|
* @scopes-beta read:content-details:confluence
|
|
139
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-get
|
|
133
140
|
*/
|
|
134
141
|
getSpaceProperties({ spaceKey, expand, start, limit, }) {
|
|
135
142
|
return this.getClientInstance()
|
|
@@ -168,6 +175,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
168
175
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
169
176
|
* @scopes-current read:confluence-props
|
|
170
177
|
* @scopes-beta read:content-details:confluence
|
|
178
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-get
|
|
171
179
|
*/
|
|
172
180
|
getSpaceProperty({ spaceKey, key, expand, }) {
|
|
173
181
|
return this.getClientInstance()
|
|
@@ -206,6 +214,7 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
206
214
|
* @path {PUT} /wiki/rest/api/space/{spaceKey}/property/{key}
|
|
207
215
|
* @scopes-current write:confluence-props
|
|
208
216
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
217
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-put
|
|
209
218
|
*/
|
|
210
219
|
updateSpaceProperty({ spaceKey, key, spacePropertyUpdate, }) {
|
|
211
220
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpacePropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpacePropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+DAOmC;AACnC,wEAAqE;AACrE
|
|
1
|
+
{"version":3,"file":"SpacePropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpacePropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+DAOmC;AACnC,wEAAqE;AACrE;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAC3D;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,CAAC,EAClB,QAAQ,EACR,mBAAmB,GAMpB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,0CAA0C;YAChD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,mBAAmB;SAC1B,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,qDAAqD,CACtD,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;;;;;;OAkBG;IACH,yBAAyB,CAAC,EACxB,QAAQ,EACR,GAAG,EACH,wBAAwB,GAQzB;QACC,OAAO,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G,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,qDAAqD,CAAC,CACnE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,2DAA2D,EAC3D,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,2DAA2D,CAAC,CACzE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,0DAAwC;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AAnaD,wDAmaC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
2
|
import { type ContentArray, type GenericLinks, type LongTask, type Space } from "../models/common";
|
|
3
3
|
import { type SpaceArray, type SpaceCreate, type SpaceUpdate } from "../models/space";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space */
|
|
4
5
|
export declare class SpaceService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Creates a new space that is only visible to the creator. This method is
|
|
@@ -16,6 +17,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
16
17
|
* @scopes-current write:confluence-space
|
|
17
18
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
18
19
|
* write:space.permission:confluence
|
|
20
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-private-post
|
|
19
21
|
*/
|
|
20
22
|
createPrivateSpace({ spaceCreate, }: {
|
|
21
23
|
/** The space to be created. */
|
|
@@ -33,6 +35,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
33
35
|
* @scopes-current write:confluence-space
|
|
34
36
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
35
37
|
* write:space.permission:confluence
|
|
38
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-post
|
|
36
39
|
*/
|
|
37
40
|
createSpace({ spaceCreate, }: {
|
|
38
41
|
/** The space to be created. */
|
|
@@ -52,6 +55,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
52
55
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}
|
|
53
56
|
* @scopes-current write:confluence-space
|
|
54
57
|
* @scopes-beta read:content.metadata:confluence, delete:space:confluence
|
|
58
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-delete
|
|
55
59
|
*/
|
|
56
60
|
deleteSpace({ spaceKey, }: {
|
|
57
61
|
/** The key of the space to delete. */
|
|
@@ -77,6 +81,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
77
81
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/content/{type}
|
|
78
82
|
* @scopes-current read:confluence-content.summary
|
|
79
83
|
* @scopes-beta read:content-details:confluence
|
|
84
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-type-get
|
|
80
85
|
*/
|
|
81
86
|
getContentByTypeForSpace({ spaceKey, type, depth, expand, start, limit, }: {
|
|
82
87
|
/** The key of the space to be queried for its content. */
|
|
@@ -211,6 +216,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
211
216
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/content
|
|
212
217
|
* @scopes-current read:confluence-content.summary
|
|
213
218
|
* @scopes-beta read:content-details:confluence
|
|
219
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-get
|
|
214
220
|
*/
|
|
215
221
|
getContentForSpace({ spaceKey, depth, expand, start, limit, }: {
|
|
216
222
|
/** The key of the space to be queried for its content. */
|
|
@@ -341,6 +347,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
341
347
|
* @path {GET} /wiki/rest/api/space/{spaceKey}
|
|
342
348
|
* @scopes-current read:confluence-space.summary
|
|
343
349
|
* @scopes-beta read:content-details:confluence
|
|
350
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-get
|
|
344
351
|
*/
|
|
345
352
|
getSpace({ spaceKey, expand, }: {
|
|
346
353
|
/** The key of the space to be returned. */
|
|
@@ -388,8 +395,9 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
388
395
|
* @path {GET} /wiki/rest/api/space
|
|
389
396
|
* @scopes-current read:confluence-space.summary
|
|
390
397
|
* @scopes-beta read:content-details:confluence
|
|
398
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-get
|
|
391
399
|
*/
|
|
392
|
-
getSpaces({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, }
|
|
400
|
+
getSpaces({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, }?: {
|
|
393
401
|
/**
|
|
394
402
|
* The key of the space to be returned. To return multiple spaces,
|
|
395
403
|
* specify this parameter multiple times with different values.
|
|
@@ -468,6 +476,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
468
476
|
* @scopes-current write:confluence-space
|
|
469
477
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
470
478
|
* write:space.permission:confluence
|
|
479
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-put
|
|
471
480
|
*/
|
|
472
481
|
updateSpace({ spaceKey, spaceUpdate, }: {
|
|
473
482
|
/** The key of the space to update. */
|
|
@@ -10,6 +10,7 @@ const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const space_1 = require("../models/space");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space */
|
|
13
14
|
class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
14
15
|
/**
|
|
15
16
|
* Creates a new space that is only visible to the creator. This method is
|
|
@@ -25,6 +26,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
26
|
* @scopes-current write:confluence-space
|
|
26
27
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
27
28
|
* write:space.permission:confluence
|
|
29
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-private-post
|
|
28
30
|
*/
|
|
29
31
|
createPrivateSpace({ spaceCreate, }) {
|
|
30
32
|
return this.getClientInstance()
|
|
@@ -57,6 +59,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
59
|
* @scopes-current write:confluence-space
|
|
58
60
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
59
61
|
* write:space.permission:confluence
|
|
62
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-post
|
|
60
63
|
*/
|
|
61
64
|
createSpace({ spaceCreate, }) {
|
|
62
65
|
return this.getClientInstance()
|
|
@@ -91,6 +94,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
91
94
|
* @path {DELETE} /wiki/rest/api/space/{spaceKey}
|
|
92
95
|
* @scopes-current write:confluence-space
|
|
93
96
|
* @scopes-beta read:content.metadata:confluence, delete:space:confluence
|
|
97
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-delete
|
|
94
98
|
*/
|
|
95
99
|
deleteSpace({ spaceKey, }) {
|
|
96
100
|
return this.getClientInstance()
|
|
@@ -130,6 +134,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
130
134
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/content/{type}
|
|
131
135
|
* @scopes-current read:confluence-content.summary
|
|
132
136
|
* @scopes-beta read:content-details:confluence
|
|
137
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-type-get
|
|
133
138
|
*/
|
|
134
139
|
getContentByTypeForSpace({ spaceKey, type, depth, expand, start, limit, }) {
|
|
135
140
|
return this.getClientInstance()
|
|
@@ -176,6 +181,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
176
181
|
* @path {GET} /wiki/rest/api/space/{spaceKey}/content
|
|
177
182
|
* @scopes-current read:confluence-content.summary
|
|
178
183
|
* @scopes-beta read:content-details:confluence
|
|
184
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-get
|
|
179
185
|
*/
|
|
180
186
|
getContentForSpace({ spaceKey, depth, expand, start, limit, }) {
|
|
181
187
|
return this.getClientInstance()
|
|
@@ -216,6 +222,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
216
222
|
* @path {GET} /wiki/rest/api/space/{spaceKey}
|
|
217
223
|
* @scopes-current read:confluence-space.summary
|
|
218
224
|
* @scopes-beta read:content-details:confluence
|
|
225
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-get
|
|
219
226
|
*/
|
|
220
227
|
getSpace({ spaceKey, expand, }) {
|
|
221
228
|
return this.getClientInstance()
|
|
@@ -255,8 +262,9 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
255
262
|
* @path {GET} /wiki/rest/api/space
|
|
256
263
|
* @scopes-current read:confluence-space.summary
|
|
257
264
|
* @scopes-beta read:content-details:confluence
|
|
265
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-get
|
|
258
266
|
*/
|
|
259
|
-
getSpaces({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, }) {
|
|
267
|
+
getSpaces({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, } = {}) {
|
|
260
268
|
return this.getClientInstance()
|
|
261
269
|
.request({
|
|
262
270
|
path: "/wiki/rest/api/space",
|
|
@@ -298,6 +306,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
298
306
|
* @scopes-current write:confluence-space
|
|
299
307
|
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
300
308
|
* write:space.permission:confluence
|
|
309
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-put
|
|
301
310
|
*/
|
|
302
311
|
updateSpace({ spaceKey, spaceUpdate, }) {
|
|
303
312
|
return this.getClientInstance()
|