@resolution/confluence-api-client 0.5.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +7 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +4 -6
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +1 -0
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +6 -3
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +10 -3
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +9 -5
- package/lib/openapi/v1/services/AnalyticsService.js +4 -2
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +14 -8
- package/lib/openapi/v1/services/AuditService.js +13 -7
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +8 -6
- package/lib/openapi/v1/services/ContentBodyService.js +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +18 -10
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentCommentsService.js +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentLabelsService.js +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +7 -6
- package/lib/openapi/v1/services/ContentMacroBodyService.js +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +31 -22
- package/lib/openapi/v1/services/ContentRestrictionsService.js +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +21 -11
- package/lib/openapi/v1/services/ContentService.js +20 -10
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +21 -12
- package/lib/openapi/v1/services/ContentStatesService.js +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentVersionsService.js +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +25 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/v1/services/DynamicModulesService.js +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +13 -9
- package/lib/openapi/v1/services/ExperimentalService.js +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +31 -16
- package/lib/openapi/v1/services/GroupService.js +30 -15
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +7 -4
- package/lib/openapi/v1/services/InlineTasksService.js +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +3 -2
- package/lib/openapi/v1/services/LabelInfoService.js +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +5 -3
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +12 -13
- package/lib/openapi/v1/services/RelationService.js +11 -12
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +5 -3
- package/lib/openapi/v1/services/SearchService.js +4 -2
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +14 -11
- package/lib/openapi/v1/services/SettingsService.js +13 -10
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +7 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +20 -15
- package/lib/openapi/v1/services/SpaceService.js +19 -14
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +5 -3
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +15 -11
- package/lib/openapi/v1/services/TemplateService.js +14 -10
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +12 -7
- package/lib/openapi/v1/services/ThemesService.js +11 -6
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +11 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +15 -8
- package/lib/openapi/v1/services/UsersService.js +14 -7
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +4 -6
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +3 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +9 -5
- package/lib/openapi/v2/services/AncestorsService.js +8 -4
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +16 -10
- package/lib/openapi/v2/services/AttachmentService.js +15 -9
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +16 -10
- package/lib/openapi/v2/services/BlogPostService.js +15 -9
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +5 -3
- package/lib/openapi/v2/services/ChildrenService.js +4 -2
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +20 -11
- package/lib/openapi/v2/services/ClassificationLevelService.js +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +37 -19
- package/lib/openapi/v2/services/CommentService.js +36 -18
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +81 -41
- package/lib/openapi/v2/services/ContentPropertiesService.js +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +4 -4
- package/lib/openapi/v2/services/ContentService.js +3 -3
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +17 -9
- package/lib/openapi/v2/services/CustomContentService.js +16 -8
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -3
- package/lib/openapi/v2/services/DataPoliciesService.js +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +7 -4
- package/lib/openapi/v2/services/DatabaseService.js +6 -3
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +15 -8
- package/lib/openapi/v2/services/LabelService.js +14 -7
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +17 -9
- package/lib/openapi/v2/services/LikeService.js +16 -8
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +21 -11
- package/lib/openapi/v2/services/OperationService.js +20 -10
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +24 -10
- package/lib/openapi/v2/services/PageService.js +14 -7
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +7 -4
- package/lib/openapi/v2/services/SmartLinkService.js +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -2
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +12 -8
- package/lib/openapi/v2/services/SpacePropertiesService.js +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +5 -3
- package/lib/openapi/v2/services/SpaceService.js +4 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +7 -4
- package/lib/openapi/v2/services/TaskService.js +6 -3
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +8 -6
- package/lib/openapi/v2/services/UserService.js +7 -5
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +25 -13
- package/lib/openapi/v2/services/VersionService.js +24 -12
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -4
- package/lib/openapi/v2/services/WhiteboardService.js +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -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. */
|
|
@@ -166,5 +172,5 @@ export declare class SpacePropertiesService extends CommonHttpService {
|
|
|
166
172
|
/** The space property being updated. */
|
|
167
173
|
spacePropertyUpdate: SpacePropertyUpdate;
|
|
168
174
|
}) => Promise<SpacePropertyV1>;
|
|
169
|
-
static initialize(): void;
|
|
175
|
+
protected static initialize(): void;
|
|
170
176
|
}
|
|
@@ -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,c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ACnC,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. */
|
|
@@ -484,5 +489,5 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
484
489
|
/** The updated space. */
|
|
485
490
|
spaceUpdate: SpaceUpdate;
|
|
486
491
|
}) => Promise<Space | null>;
|
|
487
|
-
static initialize(): void;
|
|
492
|
+
protected static initialize(): void;
|
|
488
493
|
}
|
|
@@ -24,11 +24,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
24
|
* 'Create Space(s)' global permission.
|
|
25
25
|
*
|
|
26
26
|
* @returns Returned if the space is created.
|
|
27
|
-
* @path
|
|
27
|
+
* @path POST `/wiki/rest/api/space/_private`
|
|
28
28
|
* @scopes-current write:confluence-space
|
|
29
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
30
|
-
* write:space.permission:confluence
|
|
29
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
31
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-private-post
|
|
31
|
+
* @param params
|
|
32
32
|
*/
|
|
33
33
|
this.createPrivateSpace = ({ spaceCreate, }) => {
|
|
34
34
|
return this.getClientInstance()
|
|
@@ -57,11 +57,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
57
|
* 'Create Space(s)' global permission.
|
|
58
58
|
*
|
|
59
59
|
* @returns Returned if the space is created.
|
|
60
|
-
* @path
|
|
60
|
+
* @path POST `/wiki/rest/api/space`
|
|
61
61
|
* @scopes-current write:confluence-space
|
|
62
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
63
|
-
* write:space.permission:confluence
|
|
62
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
64
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-post
|
|
64
|
+
* @param params
|
|
65
65
|
*/
|
|
66
66
|
this.createSpace = ({ spaceCreate, }) => {
|
|
67
67
|
return this.getClientInstance()
|
|
@@ -93,10 +93,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
93
93
|
* 'Admin' permission for the space.
|
|
94
94
|
*
|
|
95
95
|
* @returns Returns a pointer to the status of the space deletion task.
|
|
96
|
-
* @path
|
|
96
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}`
|
|
97
97
|
* @scopes-current write:confluence-space
|
|
98
98
|
* @scopes-beta read:content.metadata:confluence, delete:space:confluence
|
|
99
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-delete
|
|
100
|
+
* @param params
|
|
100
101
|
*/
|
|
101
102
|
this.deleteSpace = ({ spaceKey, }) => {
|
|
102
103
|
return this.getClientInstance()
|
|
@@ -133,10 +134,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
133
134
|
*
|
|
134
135
|
* @deprecated
|
|
135
136
|
* @returns Returned if the requested content is returned.
|
|
136
|
-
* @path
|
|
137
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/content/{type}`
|
|
137
138
|
* @scopes-current read:confluence-content.summary
|
|
138
139
|
* @scopes-beta read:content-details:confluence
|
|
139
140
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-type-get
|
|
141
|
+
* @param params
|
|
140
142
|
*/
|
|
141
143
|
this.getContentByTypeForSpace = ({ spaceKey, type, depth, expand, start, limit, }) => {
|
|
142
144
|
return this.getClientInstance()
|
|
@@ -180,10 +182,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
180
182
|
*
|
|
181
183
|
* @deprecated
|
|
182
184
|
* @returns Returned if the requested content is returned.
|
|
183
|
-
* @path
|
|
185
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/content`
|
|
184
186
|
* @scopes-current read:confluence-content.summary
|
|
185
187
|
* @scopes-beta read:content-details:confluence
|
|
186
188
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-content-get
|
|
189
|
+
* @param params
|
|
187
190
|
*/
|
|
188
191
|
this.getContentForSpace = ({ spaceKey, depth, expand, start, limit, }) => {
|
|
189
192
|
return this.getClientInstance()
|
|
@@ -221,10 +224,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
221
224
|
*
|
|
222
225
|
* @deprecated
|
|
223
226
|
* @returns Returned if the requested space is returned.
|
|
224
|
-
* @path
|
|
227
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}`
|
|
225
228
|
* @scopes-current read:confluence-space.summary
|
|
226
229
|
* @scopes-beta read:content-details:confluence
|
|
227
230
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-get
|
|
231
|
+
* @param params
|
|
228
232
|
*/
|
|
229
233
|
this.getSpace = ({ spaceKey, expand, }) => {
|
|
230
234
|
return this.getClientInstance()
|
|
@@ -261,10 +265,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
261
265
|
*
|
|
262
266
|
* @deprecated
|
|
263
267
|
* @returns Returned if the requested spaces are returned.
|
|
264
|
-
* @path
|
|
268
|
+
* @path GET `/wiki/rest/api/space`
|
|
265
269
|
* @scopes-current read:confluence-space.summary
|
|
266
270
|
* @scopes-beta read:content-details:confluence
|
|
267
271
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-get
|
|
272
|
+
* @param params
|
|
268
273
|
*/
|
|
269
274
|
this.getSpaces = ({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, } = {}) => {
|
|
270
275
|
return this.getClientInstance()
|
|
@@ -304,11 +309,11 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
304
309
|
* 'Admin' permission for the space.
|
|
305
310
|
*
|
|
306
311
|
* @returns Returned if the space is updated.
|
|
307
|
-
* @path
|
|
312
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}`
|
|
308
313
|
* @scopes-current write:confluence-space
|
|
309
|
-
* @scopes-beta read:space-details:confluence, write:space:confluence,
|
|
310
|
-
* write:space.permission:confluence
|
|
314
|
+
* @scopes-beta read:space-details:confluence, write:space:confluence, write:space.permission:confluence
|
|
311
315
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space#api-wiki-rest-api-space-spacekey-put
|
|
316
|
+
* @param params
|
|
312
317
|
*/
|
|
313
318
|
this.updateSpace = ({ spaceKey, spaceUpdate, }) => {
|
|
314
319
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAM0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,GAIZ,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,+BAA+B;gBACrC,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,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,0CAA0C,CAC3C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,gBAAW,GAAG,CAAC,EACb,WAAW,GAIZ,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,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,mCAAmC,CAAC,CACvE;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAM0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,GAIZ,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,+BAA+B;gBACrC,MAAM,EAAE,MAAM;gBACd,OAAO,E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CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,sCAA8B;YAC9B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAt4BD,oCAs4BC"}
|
|
@@ -11,10 +11,11 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
11
11
|
* 'View' permission for the space.
|
|
12
12
|
*
|
|
13
13
|
* @returns Returned if the space settings are returned.
|
|
14
|
-
* @path
|
|
14
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/settings`
|
|
15
15
|
* @scopes-current read:confluence-space.summary
|
|
16
16
|
* @scopes-beta read:space.setting:confluence
|
|
17
17
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-get
|
|
18
|
+
* @param params
|
|
18
19
|
*/
|
|
19
20
|
getSpaceSettings: ({ spaceKey, }: {
|
|
20
21
|
/** The key of the space to be queried for its settings. */
|
|
@@ -28,10 +29,11 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
28
29
|
* 'Admin' permission for the space.
|
|
29
30
|
*
|
|
30
31
|
* @returns Returned if space settings are updated.
|
|
31
|
-
* @path
|
|
32
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/settings`
|
|
32
33
|
* @scopes-current write:confluence-space
|
|
33
34
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
34
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
36
|
+
* @param params
|
|
35
37
|
*/
|
|
36
38
|
updateSpaceSettings: ({ spaceKey, spaceSettingsUpdate, }: {
|
|
37
39
|
/** The key of the space whose settings will be updated. */
|
|
@@ -39,5 +41,5 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
39
41
|
/** The space settings to update. */
|
|
40
42
|
spaceSettingsUpdate: SpaceSettingsUpdate;
|
|
41
43
|
}) => Promise<SpaceSettings | null>;
|
|
42
|
-
static initialize(): void;
|
|
44
|
+
protected static initialize(): void;
|
|
43
45
|
}
|
|
@@ -21,10 +21,11 @@ class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* 'View' permission for the space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the space settings are returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/settings`
|
|
25
25
|
* @scopes-current read:confluence-space.summary
|
|
26
26
|
* @scopes-beta read:space.setting:confluence
|
|
27
27
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-get
|
|
28
|
+
* @param params
|
|
28
29
|
*/
|
|
29
30
|
this.getSpaceSettings = ({ spaceKey, }) => {
|
|
30
31
|
return this.getClientInstance()
|
|
@@ -52,10 +53,11 @@ class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
52
53
|
* 'Admin' permission for the space.
|
|
53
54
|
*
|
|
54
55
|
* @returns Returned if space settings are updated.
|
|
55
|
-
* @path
|
|
56
|
+
* @path PUT `/wiki/rest/api/space/{spaceKey}/settings`
|
|
56
57
|
* @scopes-current write:confluence-space
|
|
57
58
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
58
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
60
|
+
* @param params
|
|
59
61
|
*/
|
|
60
62
|
this.updateSpaceSettings = ({ spaceKey, spaceSettingsUpdate, }) => {
|
|
61
63
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAE1B,wEAAqE;AACrE,6FAA6F;AAC7F,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE
|
|
1
|
+
{"version":3,"file":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAE1B,wEAAqE;AACrE,6FAA6F;AAC7F,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;WAaG;QACH,qBAAgB,GAAG,CAAC,EAClB,QAAQ,GAIT,EAAiC,EAAE;YAClC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,QAAQ;iBACT;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,gDAAgD,CACjD,CACF;iBACA,IAAI,CAAC,gBA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AAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,mDAAmD,CAAC,CACjE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAjID,oDAiIC"}
|
|
@@ -12,11 +12,11 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
12
12
|
* global permission to create a global template.
|
|
13
13
|
*
|
|
14
14
|
* @returns Returned if the template is created.
|
|
15
|
-
* @path
|
|
15
|
+
* @path POST `/wiki/rest/api/template`
|
|
16
16
|
* @scopes-current write:confluence-content
|
|
17
|
-
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
18
|
-
* write:template:confluence
|
|
17
|
+
* @scopes-beta read:template:confluence, read:content-details:confluence, write:template:confluence
|
|
19
18
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
19
|
+
* @param params
|
|
20
20
|
*/
|
|
21
21
|
createContentTemplate: ({ contentTemplateCreate, }: {
|
|
22
22
|
/**
|
|
@@ -38,10 +38,11 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
38
38
|
* blueprints.
|
|
39
39
|
*
|
|
40
40
|
* @returns Returned if the requested templates are returned.
|
|
41
|
-
* @path
|
|
41
|
+
* @path GET `/wiki/rest/api/template/blueprint`
|
|
42
42
|
* @scopes-current read:confluence-content.summary
|
|
43
43
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
44
44
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
45
|
+
* @param params
|
|
45
46
|
*/
|
|
46
47
|
getBlueprintTemplates: ({ spaceKey, start, limit, expand, }?: {
|
|
47
48
|
/**
|
|
@@ -75,10 +76,11 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
75
76
|
* templates.
|
|
76
77
|
*
|
|
77
78
|
* @returns Returned if the requested template is returned.
|
|
78
|
-
* @path
|
|
79
|
+
* @path GET `/wiki/rest/api/template/{contentTemplateId}`
|
|
79
80
|
* @scopes-current read:confluence-content.summary
|
|
80
81
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
81
82
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
83
|
+
* @param params
|
|
82
84
|
*/
|
|
83
85
|
getContentTemplate: ({ contentTemplateId, }: {
|
|
84
86
|
/** The ID of the content template to be returned. */
|
|
@@ -94,10 +96,11 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
94
96
|
* templates.
|
|
95
97
|
*
|
|
96
98
|
* @returns Returned if the requested templates are returned.
|
|
97
|
-
* @path
|
|
99
|
+
* @path GET `/wiki/rest/api/template/page`
|
|
98
100
|
* @scopes-current read:confluence-content.summary
|
|
99
101
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
100
102
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
103
|
+
* @param params
|
|
101
104
|
*/
|
|
102
105
|
getContentTemplates: ({ spaceKey, start, limit, expand, }?: {
|
|
103
106
|
/**
|
|
@@ -137,10 +140,11 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
137
140
|
* 'Confluence Administrator'
|
|
138
141
|
* global permission to delete a global template.
|
|
139
142
|
*
|
|
140
|
-
* @path
|
|
143
|
+
* @path DELETE `/wiki/rest/api/template/{contentTemplateId}`
|
|
141
144
|
* @scopes-current write:confluence-content
|
|
142
145
|
* @scopes-beta write:template:confluence
|
|
143
146
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
147
|
+
* @param params
|
|
144
148
|
*/
|
|
145
149
|
removeTemplate: ({ contentTemplateId, }: {
|
|
146
150
|
/** The ID of the template to be deleted. */
|
|
@@ -156,15 +160,15 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
156
160
|
* global permission to update a global template.
|
|
157
161
|
*
|
|
158
162
|
* @returns Returned if the template is updated.
|
|
159
|
-
* @path
|
|
163
|
+
* @path PUT `/wiki/rest/api/template`
|
|
160
164
|
* @scopes-current write:confluence-content
|
|
161
|
-
* @scopes-beta read:template:confluence, read:content-details:confluence,
|
|
162
|
-
* write:template:confluence
|
|
165
|
+
* @scopes-beta read:template:confluence, read:content-details:confluence, write:template:confluence
|
|
163
166
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
167
|
+
* @param params
|
|
164
168
|
*/
|
|
165
169
|
updateContentTemplate: ({ contentTemplateUpdate, }: {
|
|
166
170
|
/** The updated content template. */
|
|
167
171
|
contentTemplateUpdate: ContentTemplateUpdate;
|
|
168
172
|
}) => Promise<ContentTemplate>;
|
|
169
|
-
static initialize(): void;
|
|
173
|
+
protected static initialize(): void;
|
|
170
174
|
}
|