@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+DAImC;AACnC,wEAAqE;AACrE,gGAAgG;AAChG,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE
|
|
1
|
+
{"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,i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QACpC,CAAC,CAAC;IA0BJ,CAAC;IAzBW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,0CAA0C,EAC1C,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,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,yCAAyC,EACzC,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,yBAAyB,CAAC;SAC9D,CAAC;aACD,QAAQ,CAAC,yCAAyC,CAAC,CACvD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,0DAAwC;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AAxID,wDAwIC"}
|
|
@@ -15,12 +15,11 @@ export declare class RelationService extends CommonHttpService {
|
|
|
15
15
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
16
16
|
*
|
|
17
17
|
* @returns Returned if the relationship is created.
|
|
18
|
-
* @path {
|
|
19
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
18
|
+
* @path PUT `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
20
19
|
* @scopes-current write:confluence-content
|
|
21
|
-
* @scopes-beta read:relation:confluence, read:space:confluence, read:user:confluence,
|
|
22
|
-
* read:content:confluence, write:relation:confluence
|
|
20
|
+
* @scopes-beta read:relation:confluence, read:space:confluence, read:user:confluence, read:content:confluence, write:relation:confluence
|
|
23
21
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
|
|
22
|
+
* @param params
|
|
24
23
|
*/
|
|
25
24
|
createRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }: {
|
|
26
25
|
/**
|
|
@@ -87,11 +86,11 @@ export declare class RelationService extends CommonHttpService {
|
|
|
87
86
|
* favourite relationships. A space administrator can delete favourite
|
|
88
87
|
* relationships for any user.
|
|
89
88
|
*
|
|
90
|
-
* @path {
|
|
91
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
89
|
+
* @path DELETE `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
92
90
|
* @scopes-current write:confluence-content
|
|
93
91
|
* @scopes-beta write:relation:confluence
|
|
94
92
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
|
|
93
|
+
* @param params
|
|
95
94
|
*/
|
|
96
95
|
deleteRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }: {
|
|
97
96
|
/** The name of the relationship. */
|
|
@@ -158,11 +157,11 @@ export declare class RelationService extends CommonHttpService {
|
|
|
158
157
|
* Permission to view both the target entity and source entity.
|
|
159
158
|
*
|
|
160
159
|
* @returns Returned if the requested relationships are returned.
|
|
161
|
-
* @path {
|
|
162
|
-
* /wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}
|
|
160
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}`
|
|
163
161
|
* @scopes-current read:confluence-content.summary
|
|
164
162
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
165
163
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
|
|
164
|
+
* @param params
|
|
166
165
|
*/
|
|
167
166
|
findSourcesForTarget: ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }: {
|
|
168
167
|
/**
|
|
@@ -241,11 +240,11 @@ export declare class RelationService extends CommonHttpService {
|
|
|
241
240
|
* Permission to view both the target entity and source entity.
|
|
242
241
|
*
|
|
243
242
|
* @returns Returned if the requested relationships are returned.
|
|
244
|
-
* @path {
|
|
245
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}
|
|
243
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}`
|
|
246
244
|
* @scopes-current read:confluence-content.summary
|
|
247
245
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
248
246
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
|
|
247
|
+
* @param params
|
|
249
248
|
*/
|
|
250
249
|
findTargetFromSource: ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }: {
|
|
251
250
|
/**
|
|
@@ -323,11 +322,11 @@ export declare class RelationService extends CommonHttpService {
|
|
|
323
322
|
* Permission to view both the target entity and source entity.
|
|
324
323
|
*
|
|
325
324
|
* @returns Returned if the relationship exists.
|
|
326
|
-
* @path {
|
|
327
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
325
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
328
326
|
* @scopes-current read:confluence-content.summary
|
|
329
327
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
330
328
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
|
|
329
|
+
* @param params
|
|
331
330
|
*/
|
|
332
331
|
getRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, }: {
|
|
333
332
|
/**
|
|
@@ -406,5 +405,5 @@ export declare class RelationService extends CommonHttpService {
|
|
|
406
405
|
*/
|
|
407
406
|
expand?: ("source" | "target" | "relationData")[] | undefined;
|
|
408
407
|
}) => Promise<Relation>;
|
|
409
|
-
static initialize(): void;
|
|
408
|
+
protected static initialize(): void;
|
|
410
409
|
}
|
|
@@ -26,12 +26,11 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
26
26
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
27
27
|
*
|
|
28
28
|
* @returns Returned if the relationship is created.
|
|
29
|
-
* @path {
|
|
30
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
29
|
+
* @path PUT `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
31
30
|
* @scopes-current write:confluence-content
|
|
32
|
-
* @scopes-beta read:relation:confluence, read:space:confluence, read:user:confluence,
|
|
33
|
-
* read:content:confluence, write:relation:confluence
|
|
31
|
+
* @scopes-beta read:relation:confluence, read:space:confluence, read:user:confluence, read:content:confluence, write:relation:confluence
|
|
34
32
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
|
|
33
|
+
* @param params
|
|
35
34
|
*/
|
|
36
35
|
this.createRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }) => {
|
|
37
36
|
return this.getClientInstance()
|
|
@@ -70,11 +69,11 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
70
69
|
* favourite relationships. A space administrator can delete favourite
|
|
71
70
|
* relationships for any user.
|
|
72
71
|
*
|
|
73
|
-
* @path {
|
|
74
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
72
|
+
* @path DELETE `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
75
73
|
* @scopes-current write:confluence-content
|
|
76
74
|
* @scopes-beta write:relation:confluence
|
|
77
75
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
|
|
76
|
+
* @param params
|
|
78
77
|
*/
|
|
79
78
|
this.deleteRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }) => {
|
|
80
79
|
return this.getClientInstance()
|
|
@@ -110,11 +109,11 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
110
109
|
* Permission to view both the target entity and source entity.
|
|
111
110
|
*
|
|
112
111
|
* @returns Returned if the requested relationships are returned.
|
|
113
|
-
* @path {
|
|
114
|
-
* /wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}
|
|
112
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}`
|
|
115
113
|
* @scopes-current read:confluence-content.summary
|
|
116
114
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
117
115
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
|
|
116
|
+
* @param params
|
|
118
117
|
*/
|
|
119
118
|
this.findSourcesForTarget = ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }) => {
|
|
120
119
|
return this.getClientInstance()
|
|
@@ -159,11 +158,11 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
159
158
|
* Permission to view both the target entity and source entity.
|
|
160
159
|
*
|
|
161
160
|
* @returns Returned if the requested relationships are returned.
|
|
162
|
-
* @path {
|
|
163
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}
|
|
161
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}`
|
|
164
162
|
* @scopes-current read:confluence-content.summary
|
|
165
163
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
166
164
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
|
|
165
|
+
* @param params
|
|
167
166
|
*/
|
|
168
167
|
this.findTargetFromSource = ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }) => {
|
|
169
168
|
return this.getClientInstance()
|
|
@@ -207,11 +206,11 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
207
206
|
* Permission to view both the target entity and source entity.
|
|
208
207
|
*
|
|
209
208
|
* @returns Returned if the relationship exists.
|
|
210
|
-
* @path {
|
|
211
|
-
* /wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}
|
|
209
|
+
* @path GET `/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}`
|
|
212
210
|
* @scopes-current read:confluence-content.summary
|
|
213
211
|
* @scopes-beta read:relation:confluence, read:content-details:confluence
|
|
214
212
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
|
|
213
|
+
* @param params
|
|
215
214
|
*/
|
|
216
215
|
this.getRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, }) => {
|
|
217
216
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAI4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE
|
|
1
|
+
{"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAI4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,uBAAkB,GAAG,CAAC,EACpB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,GAwDd,EAAqB,EAAE;YACtB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,kGAAkG;gBACxG,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,YAAY;oBACZ,UAAU;oBACV,SAAS;oBACT,UAAU;oBACV,SAAS;iBACV;gBACD,KAAK,EAAE;oBACL,YAAY;oBACZ,YAAY;oBACZ,aAAa;oBACb,aAAa;iBACd;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM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;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,6CAA6C,EAC7C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,+CAA+C,EAC/C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;SACpD,CAAC;aACD,QAAQ,CAAC,+CAA+C,CAAC,CAC7D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA3qBD,0CA2qBC"}
|
|
@@ -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
|
/**
|
|
@@ -174,5 +176,5 @@ export declare class SearchService extends CommonHttpService {
|
|
|
174
176
|
*/
|
|
175
177
|
sitePermissionTypeFilter?: "all" | "none" | "externalCollaborator" | undefined;
|
|
176
178
|
}) => Promise<SearchPageResponseSearchResult>;
|
|
177
|
-
static initialize(): void;
|
|
179
|
+
protected static initialize(): void;
|
|
178
180
|
}
|
|
@@ -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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QACpC,CAAC,CAAC;IAwBJ,CAAC;IAvBW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,oCAAoC,EACpC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gCAAgC,CAAC;SACrE,CAAC;aACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mCAAmC,EACnC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gCAAgC,CAAC;SACrE,CAAC;aACD,QAAQ,CAAC,mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;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
|
/**
|
|
@@ -146,5 +149,5 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
146
149
|
*/
|
|
147
150
|
lookAndFeel: LookAndFeel;
|
|
148
151
|
}) => Promise<LookAndFeelWithLinks>;
|
|
149
|
-
static initialize(): void;
|
|
152
|
+
protected static initialize(): void;
|
|
150
153
|
}
|
|
@@ -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,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* **[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. */
|
|
@@ -68,5 +71,5 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
68
71
|
/** Id of the permission to be deleted. */
|
|
69
72
|
id: number;
|
|
70
73
|
}) => Promise<void>;
|
|
71
|
-
static initialize(): void;
|
|
74
|
+
protected static initialize(): void;
|
|
72
75
|
}
|
|
@@ -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,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;;;;WAgBG;QACH,gCAA2B,GAAG,CAAC,EAC7B,QAAQ,EACR,4BAA4B,GAM7B,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,2DAA2D;gBACjE,MAAM,EAAE,MAAM;gB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