@resolution/confluence-api-client 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/openapi/v1/models/common.d.ts +1 -0
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +6 -3
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +10 -3
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +8 -4
- package/lib/openapi/v1/services/AnalyticsService.js +4 -2
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +13 -7
- package/lib/openapi/v1/services/AuditService.js +13 -7
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +20 -10
- package/lib/openapi/v1/services/ContentService.js +20 -10
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +30 -15
- package/lib/openapi/v1/services/GroupService.js +30 -15
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +11 -12
- package/lib/openapi/v1/services/RelationService.js +11 -12
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +4 -2
- package/lib/openapi/v1/services/SearchService.js +4 -2
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +13 -10
- package/lib/openapi/v1/services/SettingsService.js +13 -10
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +19 -14
- package/lib/openapi/v1/services/SpaceService.js +19 -14
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +14 -10
- package/lib/openapi/v1/services/TemplateService.js +14 -10
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +11 -6
- package/lib/openapi/v1/services/ThemesService.js +11 -6
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +14 -7
- package/lib/openapi/v1/services/UsersService.js +14 -7
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +8 -4
- package/lib/openapi/v2/services/AncestorsService.js +8 -4
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +15 -9
- package/lib/openapi/v2/services/AttachmentService.js +15 -9
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +15 -9
- package/lib/openapi/v2/services/BlogPostService.js +15 -9
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +4 -2
- package/lib/openapi/v2/services/ChildrenService.js +4 -2
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +36 -18
- package/lib/openapi/v2/services/CommentService.js +36 -18
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +3 -3
- package/lib/openapi/v2/services/ContentService.js +3 -3
- package/lib/openapi/v2/services/CustomContentService.d.ts +16 -8
- package/lib/openapi/v2/services/CustomContentService.js +16 -8
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +6 -3
- package/lib/openapi/v2/services/DatabaseService.js +6 -3
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +14 -7
- package/lib/openapi/v2/services/LabelService.js +14 -7
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +16 -8
- package/lib/openapi/v2/services/LikeService.js +16 -8
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -10
- package/lib/openapi/v2/services/OperationService.js +20 -10
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +23 -9
- package/lib/openapi/v2/services/PageService.js +14 -7
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -2
- package/lib/openapi/v2/services/SpaceService.js +4 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +6 -3
- package/lib/openapi/v2/services/TaskService.js +6 -3
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +7 -5
- package/lib/openapi/v2/services/UserService.js +7 -5
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +24 -12
- package/lib/openapi/v2/services/VersionService.js +24 -12
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
|
@@ -61,10 +61,11 @@ export declare class SearchService extends CommonHttpService {
|
|
|
61
61
|
* permission to view will be returned.
|
|
62
62
|
*
|
|
63
63
|
* @returns Returned if the requested results are returned.
|
|
64
|
-
* @path
|
|
64
|
+
* @path GET `/wiki/rest/api/search`
|
|
65
65
|
* @scopes-current search:confluence
|
|
66
66
|
* @scopes-beta read:content-details:confluence
|
|
67
67
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
68
|
+
* @param params
|
|
68
69
|
*/
|
|
69
70
|
searchByCql: ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand, }: {
|
|
70
71
|
/**
|
|
@@ -130,9 +131,10 @@ export declare class SearchService extends CommonHttpService {
|
|
|
130
131
|
* These are: email, profilePicture, displayName, and timeZone.
|
|
131
132
|
*
|
|
132
133
|
* @returns Returned if the requested results are returned.
|
|
133
|
-
* @path
|
|
134
|
+
* @path GET `/wiki/rest/api/search/user`
|
|
134
135
|
* @scopes-current read:content-details:confluence
|
|
135
136
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
137
|
+
* @param params
|
|
136
138
|
*/
|
|
137
139
|
searchUser: ({ cql, start, limit, expand, sitePermissionTypeFilter, }: {
|
|
138
140
|
/**
|
|
@@ -72,10 +72,11 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
72
72
|
* permission to view will be returned.
|
|
73
73
|
*
|
|
74
74
|
* @returns Returned if the requested results are returned.
|
|
75
|
-
* @path
|
|
75
|
+
* @path GET `/wiki/rest/api/search`
|
|
76
76
|
* @scopes-current search:confluence
|
|
77
77
|
* @scopes-beta read:content-details:confluence
|
|
78
78
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
79
|
+
* @param params
|
|
79
80
|
*/
|
|
80
81
|
this.searchByCql = ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand, }) => {
|
|
81
82
|
return this.getClientInstance()
|
|
@@ -121,9 +122,10 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
121
122
|
* These are: email, profilePicture, displayName, and timeZone.
|
|
122
123
|
*
|
|
123
124
|
* @returns Returned if the requested results are returned.
|
|
124
|
-
* @path
|
|
125
|
+
* @path GET `/wiki/rest/api/search/user`
|
|
125
126
|
* @scopes-current read:content-details:confluence
|
|
126
127
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
128
|
+
* @param params
|
|
127
129
|
*/
|
|
128
130
|
this.searchUser = ({ cql, start, limit, expand, sitePermissionTypeFilter, }) => {
|
|
129
131
|
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,qFAAqF;AACrF,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE
|
|
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;IAApD;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgEG;QACH,gBAAW,GAAG,CAAC,EACb,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,EAA2C,EAAE;YAC5C,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,uBAAuB;gBAC7B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,GAAG;oBACH,UAAU;oBACV,MAAM;oBACN,IAAI;oBACJ,IAAI;oBACJ,KAAK;oBACL,KAAK;oBACL,qBAAqB;oBACrB,oBAAoB;oBACpB,OAAO;oBACP,wBAAwB;oBACxB,CAAC;oBACD,MAAM;iBACP;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAAC,oCAAoC,CAAC,CACxE;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;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AAC;aACD,QAAQ,CAAC,mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AArSD,sCAqSC"}
|
|
@@ -14,10 +14,11 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
14
14
|
* None
|
|
15
15
|
*
|
|
16
16
|
* @returns Returned if the requested look and feel settings are returned.
|
|
17
|
-
* @path
|
|
17
|
+
* @path GET `/wiki/rest/api/settings/lookandfeel`
|
|
18
18
|
* @scopes-current manage:confluence-configuration
|
|
19
19
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence
|
|
20
20
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
21
|
+
* @param params
|
|
21
22
|
*/
|
|
22
23
|
getLookAndFeelSettings: ({ spaceKey, }?: {
|
|
23
24
|
/**
|
|
@@ -36,7 +37,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
36
37
|
*
|
|
37
38
|
* @returns Returned if the system information for the Confluence Cloud tenant
|
|
38
39
|
* is returned.
|
|
39
|
-
* @path
|
|
40
|
+
* @path GET `/wiki/rest/api/settings/systemInfo`
|
|
40
41
|
* @scopes-current manage:confluence-configuration
|
|
41
42
|
* @scopes-beta read:configuration:confluence
|
|
42
43
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-systeminfo-get
|
|
@@ -52,10 +53,11 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
52
53
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
53
54
|
* 'Admin' permission for the space.
|
|
54
55
|
*
|
|
55
|
-
* @path
|
|
56
|
+
* @path DELETE `/wiki/rest/api/settings/lookandfeel/custom`
|
|
56
57
|
* @scopes-current manage:confluence-configuration
|
|
57
58
|
* @scopes-beta write:configuration:confluence, write:space.setting:confluence
|
|
58
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
60
|
+
* @param params
|
|
59
61
|
*/
|
|
60
62
|
resetLookAndFeelSettings: ({ spaceKey, }?: {
|
|
61
63
|
/**
|
|
@@ -75,11 +77,11 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
75
77
|
*
|
|
76
78
|
* @deprecated
|
|
77
79
|
* @returns Returned if the look and feel settings were set.
|
|
78
|
-
* @path
|
|
80
|
+
* @path PUT `/wiki/rest/api/settings/lookandfeel/selected`
|
|
79
81
|
* @scopes-current manage:confluence-configuration
|
|
80
|
-
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
81
|
-
* write:configuration:confluence, write:space.setting:confluence
|
|
82
|
+
* @scopes-beta read:configuration:confluence, read:space.setting:confluence, write:configuration:confluence, write:space.setting:confluence
|
|
82
83
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
84
|
+
* @param params
|
|
83
85
|
*/
|
|
84
86
|
setLookAndFeelSettings: ({ spaceKey, requestBody, }: {
|
|
85
87
|
/**
|
|
@@ -102,10 +104,11 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
102
104
|
* 'Admin' permission for the space.
|
|
103
105
|
*
|
|
104
106
|
* @returns Returned if the look and feel settings were set.
|
|
105
|
-
* @path
|
|
107
|
+
* @path PUT `/wiki/rest/api/settings/lookandfeel`
|
|
106
108
|
* @scopes-current manage:confluence-configuration
|
|
107
109
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
108
110
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
111
|
+
* @param params
|
|
109
112
|
*/
|
|
110
113
|
updateLookAndFeel: ({ lookAndFeelSelection, }: {
|
|
111
114
|
/** The look and feel type to be set. */
|
|
@@ -123,11 +126,11 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
123
126
|
* 'Admin' permission for the space.
|
|
124
127
|
*
|
|
125
128
|
* @returns Returned if the look and feel settings are updated.
|
|
126
|
-
* @path
|
|
129
|
+
* @path POST `/wiki/rest/api/settings/lookandfeel/custom`
|
|
127
130
|
* @scopes-current manage:confluence-configuration
|
|
128
|
-
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
129
|
-
* write:configuration:confluence, write:space.setting:confluence
|
|
131
|
+
* @scopes-beta read:configuration:confluence, read:space.setting:confluence, write:configuration:confluence, write:space.setting:confluence
|
|
130
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
133
|
+
* @param params
|
|
131
134
|
*/
|
|
132
135
|
updateLookAndFeelSettings: ({ spaceKey, lookAndFeel, }: {
|
|
133
136
|
/**
|
|
@@ -24,10 +24,11 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
24
|
* None
|
|
25
25
|
*
|
|
26
26
|
* @returns Returned if the requested look and feel settings are returned.
|
|
27
|
-
* @path
|
|
27
|
+
* @path GET `/wiki/rest/api/settings/lookandfeel`
|
|
28
28
|
* @scopes-current manage:confluence-configuration
|
|
29
29
|
* @scopes-beta read:configuration:confluence, read:space.setting:confluence
|
|
30
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
31
|
+
* @param params
|
|
31
32
|
*/
|
|
32
33
|
this.getLookAndFeelSettings = ({ spaceKey, } = {}) => {
|
|
33
34
|
return this.getClientInstance()
|
|
@@ -56,7 +57,7 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
56
57
|
*
|
|
57
58
|
* @returns Returned if the system information for the Confluence Cloud tenant
|
|
58
59
|
* is returned.
|
|
59
|
-
* @path
|
|
60
|
+
* @path GET `/wiki/rest/api/settings/systemInfo`
|
|
60
61
|
* @scopes-current manage:confluence-configuration
|
|
61
62
|
* @scopes-beta read:configuration:confluence
|
|
62
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-systeminfo-get
|
|
@@ -86,10 +87,11 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
86
87
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
87
88
|
* 'Admin' permission for the space.
|
|
88
89
|
*
|
|
89
|
-
* @path
|
|
90
|
+
* @path DELETE `/wiki/rest/api/settings/lookandfeel/custom`
|
|
90
91
|
* @scopes-current manage:confluence-configuration
|
|
91
92
|
* @scopes-beta write:configuration:confluence, write:space.setting:confluence
|
|
92
93
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
94
|
+
* @param params
|
|
93
95
|
*/
|
|
94
96
|
this.resetLookAndFeelSettings = ({ spaceKey, } = {}) => {
|
|
95
97
|
return this.getClientInstance()
|
|
@@ -112,11 +114,11 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
112
114
|
*
|
|
113
115
|
* @deprecated
|
|
114
116
|
* @returns Returned if the look and feel settings were set.
|
|
115
|
-
* @path
|
|
117
|
+
* @path PUT `/wiki/rest/api/settings/lookandfeel/selected`
|
|
116
118
|
* @scopes-current manage:confluence-configuration
|
|
117
|
-
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
118
|
-
* write:configuration:confluence, write:space.setting:confluence
|
|
119
|
+
* @scopes-beta read:configuration:confluence, read:space.setting:confluence, write:configuration:confluence, write:space.setting:confluence
|
|
119
120
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
121
|
+
* @param params
|
|
120
122
|
*/
|
|
121
123
|
this.setLookAndFeelSettings = ({ spaceKey, requestBody, }) => {
|
|
122
124
|
return this.getClientInstance()
|
|
@@ -151,10 +153,11 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
151
153
|
* 'Admin' permission for the space.
|
|
152
154
|
*
|
|
153
155
|
* @returns Returned if the look and feel settings were set.
|
|
154
|
-
* @path
|
|
156
|
+
* @path PUT `/wiki/rest/api/settings/lookandfeel`
|
|
155
157
|
* @scopes-current manage:confluence-configuration
|
|
156
158
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
157
159
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
160
|
+
* @param params
|
|
158
161
|
*/
|
|
159
162
|
this.updateLookAndFeel = ({ lookAndFeelSelection, }) => {
|
|
160
163
|
return this.getClientInstance()
|
|
@@ -187,11 +190,11 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
187
190
|
* 'Admin' permission for the space.
|
|
188
191
|
*
|
|
189
192
|
* @returns Returned if the look and feel settings are updated.
|
|
190
|
-
* @path
|
|
193
|
+
* @path POST `/wiki/rest/api/settings/lookandfeel/custom`
|
|
191
194
|
* @scopes-current manage:confluence-configuration
|
|
192
|
-
* @scopes-beta read:configuration:confluence, read:space.setting:confluence,
|
|
193
|
-
* write:configuration:confluence, write:space.setting:confluence
|
|
195
|
+
* @scopes-beta read:configuration:confluence, read:space.setting:confluence, write:configuration:confluence, write:space.setting:confluence
|
|
194
196
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
197
|
+
* @param params
|
|
195
198
|
*/
|
|
196
199
|
this.updateLookAndFeelSettings = ({ spaceKey, lookAndFeel, }) => {
|
|
197
200
|
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,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE
|
|
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;IAAtD;;QACE;;;;;;;;;;;;;;;;WAgBG;QACH,2BAAsB,GAAG,CAAC,EACxB,QAAQ,MAQN,EAAE,EAAgC,EAAE;YACtC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,qCAAqC;gBAC3C,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,QAAQ;iBACT;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,iDAAiD,CAClD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,kBAAa,GAAG,GAAqC,EAAE;YACrD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oCAAoC;gBAC1C,MAAM,EAAE,KAAK;aACd,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAA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M,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;AArXD,0CAqXC"}
|
|
@@ -14,9 +14,10 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
14
14
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
15
15
|
* 'Admin' permission for the space.
|
|
16
16
|
*
|
|
17
|
-
* @path
|
|
17
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/permission/custom-content`
|
|
18
18
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
19
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-custom-content-post
|
|
20
|
+
* @param params
|
|
20
21
|
*/
|
|
21
22
|
addCustomContentPermissions: ({ spaceKey, spacePermissionCustomContent, }: {
|
|
22
23
|
/** The key of the space to be queried for its content. */
|
|
@@ -37,9 +38,10 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
37
38
|
* 'Admin' permission for the space.
|
|
38
39
|
*
|
|
39
40
|
* @returns Returned if the requested content is returned.
|
|
40
|
-
* @path
|
|
41
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/permission`
|
|
41
42
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
42
43
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-post
|
|
44
|
+
* @param params
|
|
43
45
|
*/
|
|
44
46
|
addPermissionToSpace: ({ spaceKey, spacePermissionRequest, }: {
|
|
45
47
|
/** The key of the space to be queried for its content. */
|
|
@@ -58,9 +60,10 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
58
60
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
59
61
|
* 'Admin' permission for the space.
|
|
60
62
|
*
|
|
61
|
-
* @path
|
|
63
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/permission/{id}`
|
|
62
64
|
* @scopes-current write:space.permission:confluence
|
|
63
65
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-id-delete
|
|
66
|
+
* @param params
|
|
64
67
|
*/
|
|
65
68
|
removePermission: ({ spaceKey, id, }: {
|
|
66
69
|
/** The key of the space to be queried for its content. */
|
|
@@ -25,9 +25,10 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
25
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
26
26
|
* 'Admin' permission for the space.
|
|
27
27
|
*
|
|
28
|
-
* @path
|
|
28
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/permission/custom-content`
|
|
29
29
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
30
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-custom-content-post
|
|
31
|
+
* @param params
|
|
31
32
|
*/
|
|
32
33
|
this.addCustomContentPermissions = ({ spaceKey, spacePermissionCustomContent, }) => {
|
|
33
34
|
return this.getClientInstance()
|
|
@@ -57,9 +58,10 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
58
|
* 'Admin' permission for the space.
|
|
58
59
|
*
|
|
59
60
|
* @returns Returned if the requested content is returned.
|
|
60
|
-
* @path
|
|
61
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/permission`
|
|
61
62
|
* @scopes-current read:space.permission:confluence, write:space.permission:confluence
|
|
62
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-post
|
|
64
|
+
* @param params
|
|
63
65
|
*/
|
|
64
66
|
this.addPermissionToSpace = ({ spaceKey, spacePermissionRequest, }) => {
|
|
65
67
|
return this.getClientInstance()
|
|
@@ -94,9 +96,10 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
94
96
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
95
97
|
* 'Admin' permission for the space.
|
|
96
98
|
*
|
|
97
|
-
* @path
|
|
99
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/permission/{id}`
|
|
98
100
|
* @scopes-current write:space.permission:confluence
|
|
99
101
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-id-delete
|
|
102
|
+
* @param params
|
|
100
103
|
*/
|
|
101
104
|
this.removePermission = ({ spaceKey, id, }) => {
|
|
102
105
|
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,gGAAgG;AAChG,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE
|
|
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,SA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,OAAO,CAAC;gBACP,IAAI,EAAE,iDAAiD;gBACvD,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,QAAQ;oBACR,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;IAgBJ,CAAC;IAfW,MAAM,CAAC,UAAU;QACzB,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;AAxJD,0DAwJC"}
|
|
@@ -16,10 +16,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
16
16
|
*
|
|
17
17
|
* @deprecated
|
|
18
18
|
* @returns Returned if the space property is created.
|
|
19
|
-
* @path
|
|
19
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/property`
|
|
20
20
|
* @scopes-current write:confluence-props
|
|
21
21
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
22
22
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-post
|
|
23
|
+
* @param params
|
|
23
24
|
*/
|
|
24
25
|
createSpaceProperty: ({ spaceKey, spacePropertyCreate, }: {
|
|
25
26
|
/** The key of the space that the property will be created in. */
|
|
@@ -41,10 +42,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
41
42
|
*
|
|
42
43
|
* @deprecated
|
|
43
44
|
* @returns Returned if the space property is created.
|
|
44
|
-
* @path
|
|
45
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
45
46
|
* @scopes-current write:confluence-props
|
|
46
47
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
47
48
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-post
|
|
49
|
+
* @param params
|
|
48
50
|
*/
|
|
49
51
|
createSpacePropertyForKey: ({ spaceKey, key, spacePropertyCreateNoKey, }: {
|
|
50
52
|
/** The key of the space that the property will be created in. */
|
|
@@ -64,10 +66,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
64
66
|
* ‘Admin’ permission for the space.
|
|
65
67
|
*
|
|
66
68
|
* @deprecated
|
|
67
|
-
* @path
|
|
69
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
68
70
|
* @scopes-current write:confluence-props
|
|
69
71
|
* @scopes-beta write:space.property:confluence
|
|
70
72
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-delete
|
|
73
|
+
* @param params
|
|
71
74
|
*/
|
|
72
75
|
deleteSpaceProperty: ({ spaceKey, key, }: {
|
|
73
76
|
/** The key of the space that the property is in. */
|
|
@@ -87,10 +90,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
87
90
|
*
|
|
88
91
|
* @deprecated
|
|
89
92
|
* @returns Returned if the requested space properties are returned.
|
|
90
|
-
* @path
|
|
93
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/property`
|
|
91
94
|
* @scopes-current read:confluence-props
|
|
92
95
|
* @scopes-beta read:content-details:confluence
|
|
93
96
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-get
|
|
97
|
+
* @param params
|
|
94
98
|
*/
|
|
95
99
|
getSpaceProperties: ({ spaceKey, expand, start, limit, }: {
|
|
96
100
|
/** The key of the space to be queried for its properties. */
|
|
@@ -122,10 +126,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
122
126
|
*
|
|
123
127
|
* @deprecated
|
|
124
128
|
* @returns Returned if the requested space property is returned.
|
|
125
|
-
* @path
|
|
129
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
126
130
|
* @scopes-current read:confluence-props
|
|
127
131
|
* @scopes-beta read:content-details:confluence
|
|
128
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-get
|
|
133
|
+
* @param params
|
|
129
134
|
*/
|
|
130
135
|
getSpaceProperty: ({ spaceKey, key, expand, }: {
|
|
131
136
|
/** The key of the space that the property is in. */
|
|
@@ -153,10 +158,11 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
153
158
|
*
|
|
154
159
|
* @deprecated
|
|
155
160
|
* @returns Returned if the space property is updated.
|
|
156
|
-
* @path
|
|
161
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
157
162
|
* @scopes-current write:confluence-props
|
|
158
163
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
159
164
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-put
|
|
165
|
+
* @param params
|
|
160
166
|
*/
|
|
161
167
|
updateSpaceProperty: ({ spaceKey, key, spacePropertyUpdate, }: {
|
|
162
168
|
/** The key of the space that the property is in. */
|
|
@@ -27,10 +27,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
27
27
|
*
|
|
28
28
|
* @deprecated
|
|
29
29
|
* @returns Returned if the space property is created.
|
|
30
|
-
* @path
|
|
30
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/property`
|
|
31
31
|
* @scopes-current write:confluence-props
|
|
32
32
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
33
33
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-post
|
|
34
|
+
* @param params
|
|
34
35
|
*/
|
|
35
36
|
this.createSpaceProperty = ({ spaceKey, spacePropertyCreate, }) => {
|
|
36
37
|
return this.getClientInstance()
|
|
@@ -68,10 +69,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
68
69
|
*
|
|
69
70
|
* @deprecated
|
|
70
71
|
* @returns Returned if the space property is created.
|
|
71
|
-
* @path
|
|
72
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
72
73
|
* @scopes-current write:confluence-props
|
|
73
74
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
74
75
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-post
|
|
76
|
+
* @param params
|
|
75
77
|
*/
|
|
76
78
|
this.createSpacePropertyForKey = ({ spaceKey, key, spacePropertyCreateNoKey, }) => {
|
|
77
79
|
return this.getClientInstance()
|
|
@@ -106,10 +108,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
106
108
|
* ‘Admin’ permission for the space.
|
|
107
109
|
*
|
|
108
110
|
* @deprecated
|
|
109
|
-
* @path
|
|
111
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
110
112
|
* @scopes-current write:confluence-props
|
|
111
113
|
* @scopes-beta write:space.property:confluence
|
|
112
114
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-delete
|
|
115
|
+
* @param params
|
|
113
116
|
*/
|
|
114
117
|
this.deleteSpaceProperty = ({ spaceKey, key, }) => {
|
|
115
118
|
return this.getClientInstance()
|
|
@@ -135,10 +138,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
135
138
|
*
|
|
136
139
|
* @deprecated
|
|
137
140
|
* @returns Returned if the requested space properties are returned.
|
|
138
|
-
* @path
|
|
141
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/property`
|
|
139
142
|
* @scopes-current read:confluence-props
|
|
140
143
|
* @scopes-beta read:content-details:confluence
|
|
141
144
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-get
|
|
145
|
+
* @param params
|
|
142
146
|
*/
|
|
143
147
|
this.getSpaceProperties = ({ spaceKey, expand, start, limit, }) => {
|
|
144
148
|
return this.getClientInstance()
|
|
@@ -174,10 +178,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
174
178
|
*
|
|
175
179
|
* @deprecated
|
|
176
180
|
* @returns Returned if the requested space property is returned.
|
|
177
|
-
* @path
|
|
181
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
178
182
|
* @scopes-current read:confluence-props
|
|
179
183
|
* @scopes-beta read:content-details:confluence
|
|
180
184
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-get
|
|
185
|
+
* @param params
|
|
181
186
|
*/
|
|
182
187
|
this.getSpaceProperty = ({ spaceKey, key, expand, }) => {
|
|
183
188
|
return this.getClientInstance()
|
|
@@ -213,10 +218,11 @@ class SpacePropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
213
218
|
*
|
|
214
219
|
* @deprecated
|
|
215
220
|
* @returns Returned if the space property is updated.
|
|
216
|
-
* @path
|
|
221
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/property/{key}`
|
|
217
222
|
* @scopes-current write:confluence-props
|
|
218
223
|
* @scopes-beta read:space.property:confluence, write:space.property:confluence
|
|
219
224
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties#api-wiki-rest-api-space-spacekey-property-key-put
|
|
225
|
+
* @param params
|
|
220
226
|
*/
|
|
221
227
|
this.updateSpaceProperty = ({ spaceKey, key, spacePropertyUpdate, }) => {
|
|
222
228
|
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;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE
|
|
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;IAA7D;;QACE;;;;;;;;;;;;;;;;WAgBG;QACH,wBAAmB,GAAG,CAAC,EACrB,QAAQ,EACR,mBAAmB,GAMpB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,QAAQ;iBACT;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,mBAAmB;aAC1B,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,qDAAqD,CACtD,CACF;iBACA,IAAI,CAAC,gBAAg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kB,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,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,kDAAkD,CAAC,CAChE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,qDAAqD,EACrD,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,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;AAzaD,wDAyaC"}
|
|
@@ -13,11 +13,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
13
13
|
* 'Create Space(s)' global permission.
|
|
14
14
|
*
|
|
15
15
|
* @returns Returned if the space is created.
|
|
16
|
-
* @path
|
|
16
|
+
* @path POST `/wiki/rest/api/space/_private`
|
|
17
17
|
* @scopes-current write:confluence-space
|
|
18
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
19
|
-
* write:space.permission:confluence
|
|
18
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
20
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-private-post
|
|
20
|
+
* @param params
|
|
21
21
|
*/
|
|
22
22
|
createPrivateSpace: ({ spaceCreate, }: {
|
|
23
23
|
/** The space to be created. */
|
|
@@ -31,11 +31,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
31
31
|
* 'Create Space(s)' global permission.
|
|
32
32
|
*
|
|
33
33
|
* @returns Returned if the space is created.
|
|
34
|
-
* @path
|
|
34
|
+
* @path POST `/wiki/rest/api/space`
|
|
35
35
|
* @scopes-current write:confluence-space
|
|
36
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
37
|
-
* write:space.permission:confluence
|
|
36
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
38
37
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-post
|
|
38
|
+
* @param params
|
|
39
39
|
*/
|
|
40
40
|
createSpace: ({ spaceCreate, }: {
|
|
41
41
|
/** The space to be created. */
|
|
@@ -52,10 +52,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
52
52
|
* 'Admin' permission for the space.
|
|
53
53
|
*
|
|
54
54
|
* @returns Returns a pointer to the status of the space deletion task.
|
|
55
|
-
* @path
|
|
55
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}`
|
|
56
56
|
* @scopes-current write:confluence-space
|
|
57
57
|
* @scopes-beta read:content.metadata:confluence, delete:space:confluence
|
|
58
58
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-delete
|
|
59
|
+
* @param params
|
|
59
60
|
*/
|
|
60
61
|
deleteSpace: ({ spaceKey, }: {
|
|
61
62
|
/** The key of the space to delete. */
|
|
@@ -78,10 +79,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
78
79
|
*
|
|
79
80
|
* @deprecated
|
|
80
81
|
* @returns Returned if the requested content is returned.
|
|
81
|
-
* @path
|
|
82
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/content/{type}`
|
|
82
83
|
* @scopes-current read:confluence-content.summary
|
|
83
84
|
* @scopes-beta read:content-details:confluence
|
|
84
85
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-type-get
|
|
86
|
+
* @param params
|
|
85
87
|
*/
|
|
86
88
|
getContentByTypeForSpace: ({ spaceKey, type, depth, expand, start, limit, }: {
|
|
87
89
|
/** The key of the space to be queried for its content. */
|
|
@@ -213,10 +215,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
213
215
|
*
|
|
214
216
|
* @deprecated
|
|
215
217
|
* @returns Returned if the requested content is returned.
|
|
216
|
-
* @path
|
|
218
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/content`
|
|
217
219
|
* @scopes-current read:confluence-content.summary
|
|
218
220
|
* @scopes-beta read:content-details:confluence
|
|
219
221
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-get
|
|
222
|
+
* @param params
|
|
220
223
|
*/
|
|
221
224
|
getContentForSpace: ({ spaceKey, depth, expand, start, limit, }: {
|
|
222
225
|
/** The key of the space to be queried for its content. */
|
|
@@ -344,10 +347,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
344
347
|
*
|
|
345
348
|
* @deprecated
|
|
346
349
|
* @returns Returned if the requested space is returned.
|
|
347
|
-
* @path
|
|
350
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}`
|
|
348
351
|
* @scopes-current read:confluence-space.summary
|
|
349
352
|
* @scopes-beta read:content-details:confluence
|
|
350
353
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-get
|
|
354
|
+
* @param params
|
|
351
355
|
*/
|
|
352
356
|
getSpace: ({ spaceKey, expand, }: {
|
|
353
357
|
/** The key of the space to be returned. */
|
|
@@ -392,10 +396,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
392
396
|
*
|
|
393
397
|
* @deprecated
|
|
394
398
|
* @returns Returned if the requested spaces are returned.
|
|
395
|
-
* @path
|
|
399
|
+
* @path GET `/wiki/rest/api/space`
|
|
396
400
|
* @scopes-current read:confluence-space.summary
|
|
397
401
|
* @scopes-beta read:content-details:confluence
|
|
398
402
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-get
|
|
403
|
+
* @param params
|
|
399
404
|
*/
|
|
400
405
|
getSpaces: ({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, }?: {
|
|
401
406
|
/**
|
|
@@ -472,11 +477,11 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
472
477
|
* 'Admin' permission for the space.
|
|
473
478
|
*
|
|
474
479
|
* @returns Returned if the space is updated.
|
|
475
|
-
* @path
|
|
480
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}`
|
|
476
481
|
* @scopes-current write:confluence-space
|
|
477
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
478
|
-
* write:space.permission:confluence
|
|
482
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
479
483
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-put
|
|
484
|
+
* @param params
|
|
480
485
|
*/
|
|
481
486
|
updateSpace: ({ spaceKey, spaceUpdate, }: {
|
|
482
487
|
/** The key of the space to update. */
|