@resolution/confluence-api-client 0.4.4 → 0.4.6
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 +60 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +32 -33
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +151 -88
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v1/core/CommonHttpService.js +9 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
- package/lib/openapi/v1/services/AnalyticsService.js +62 -59
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +25 -25
- package/lib/openapi/v1/services/AuditService.js +205 -202
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
- package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
- package/lib/openapi/v1/services/ContentBodyService.js +140 -137
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
- package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
- package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
- package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +50 -50
- package/lib/openapi/v1/services/ContentService.js +475 -472
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
- package/lib/openapi/v1/services/ContentStatesService.js +359 -356
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
- package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
- package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
- package/lib/openapi/v1/services/ExperimentalService.js +151 -148
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +52 -52
- package/lib/openapi/v1/services/GroupService.js +445 -442
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
- package/lib/openapi/v1/services/InlineTasksService.js +118 -115
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
- package/lib/openapi/v1/services/LabelInfoService.js +37 -34
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
- package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +37 -37
- package/lib/openapi/v1/services/RelationService.js +231 -228
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +20 -20
- package/lib/openapi/v1/services/SearchService.js +136 -133
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
- package/lib/openapi/v1/services/SettingsService.js +204 -201
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
- package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
- package/lib/openapi/v1/services/SpaceService.js +320 -317
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
- package/lib/openapi/v1/services/TemplateService.js +214 -211
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
- package/lib/openapi/v1/services/ThemesService.js +179 -176
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
- package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +21 -21
- package/lib/openapi/v1/services/UsersService.js +229 -226
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +23 -24
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -47
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v2/core/CommonHttpService.js +9 -0
- package/lib/openapi/v2/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +0 -2
- package/lib/openapi/v2/models/user.js +0 -2
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
- package/lib/openapi/v2/services/AncestorsService.js +174 -171
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
- package/lib/openapi/v2/services/AttachmentService.js +261 -258
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
- package/lib/openapi/v2/services/BlogPostService.js +270 -267
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
- package/lib/openapi/v2/services/ChildrenService.js +77 -74
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
- package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +136 -136
- package/lib/openapi/v2/services/CommentService.js +635 -632
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
- package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -2
- package/lib/openapi/v2/services/ContentService.js +40 -37
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
- package/lib/openapi/v2/services/CustomContentService.js +299 -296
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
- package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
- package/lib/openapi/v2/services/DatabaseService.js +90 -87
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +57 -57
- package/lib/openapi/v2/services/LabelService.js +263 -260
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +36 -36
- package/lib/openapi/v2/services/LikeService.js +250 -247
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -20
- package/lib/openapi/v2/services/OperationService.js +298 -295
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +73 -73
- package/lib/openapi/v2/services/PageService.js +272 -269
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
- package/lib/openapi/v2/services/SmartLinkService.js +92 -89
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
- package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
- package/lib/openapi/v2/services/SpaceService.js +83 -80
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +40 -40
- package/lib/openapi/v2/services/TaskService.js +120 -117
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +11 -11
- package/lib/openapi/v2/services/UserService.js +91 -88
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +59 -59
- package/lib/openapi/v2/services/VersionService.js +395 -392
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
- package/lib/openapi/v2/services/WhiteboardService.js +90 -87
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAM0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,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YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;gBAC7D,QAAQ,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;gBACjE,MAAM,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;aAChE,CAAC;iBACD,QAAQ,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;AAj4BD,oCAi4BC"}
|
|
@@ -16,10 +16,10 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
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
18
|
*/
|
|
19
|
-
getSpaceSettings({ spaceKey, }: {
|
|
19
|
+
getSpaceSettings: ({ spaceKey, }: {
|
|
20
20
|
/** The key of the space to be queried for its settings. */
|
|
21
21
|
spaceKey: string;
|
|
22
|
-
})
|
|
22
|
+
}) => Promise<SpaceSettings | null>;
|
|
23
23
|
/**
|
|
24
24
|
* Updates the settings for a space. Currently only the
|
|
25
25
|
* `routeOverrideEnabled` setting can be updated.
|
|
@@ -33,11 +33,11 @@ export declare class SpaceSettingsService extends CommonHttpService {
|
|
|
33
33
|
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
34
34
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
35
35
|
*/
|
|
36
|
-
updateSpaceSettings({ spaceKey, spaceSettingsUpdate, }: {
|
|
36
|
+
updateSpaceSettings: ({ spaceKey, spaceSettingsUpdate, }: {
|
|
37
37
|
/** The key of the space whose settings will be updated. */
|
|
38
38
|
spaceKey: string;
|
|
39
39
|
/** The space settings to update. */
|
|
40
40
|
spaceSettingsUpdate: SpaceSettingsUpdate;
|
|
41
|
-
})
|
|
41
|
+
}) => Promise<SpaceSettings | null>;
|
|
42
42
|
static initialize(): void;
|
|
43
43
|
}
|
|
@@ -11,71 +11,74 @@ const common_1 = require("../models/common");
|
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings */
|
|
13
13
|
class SpaceSettingsService extends CommonHttpService_1.CommonHttpService {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
/**
|
|
17
|
+
* Returns the settings of a space. Currently only the
|
|
18
|
+
* `routeOverrideEnabled` setting can be returned.
|
|
19
|
+
*
|
|
20
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
21
|
+
* 'View' permission for the space.
|
|
22
|
+
*
|
|
23
|
+
* @returns Returned if the space settings are returned.
|
|
24
|
+
* @path {GET} /wiki/rest/api/space/{spaceKey}/settings
|
|
25
|
+
* @scopes-current read:confluence-space.summary
|
|
26
|
+
* @scopes-beta read:space.setting:confluence
|
|
27
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-get
|
|
28
|
+
*/
|
|
29
|
+
this.getSpaceSettings = ({ spaceKey, }) => {
|
|
30
|
+
return this.getClientInstance()
|
|
31
|
+
.request({
|
|
32
|
+
path: "/wiki/rest/api/space/{spaceKey}/settings",
|
|
33
|
+
method: "GET",
|
|
34
|
+
pathParams: {
|
|
35
|
+
spaceKey,
|
|
36
|
+
},
|
|
37
|
+
})
|
|
38
|
+
.then(this.getClientInstance().responseHandler({
|
|
39
|
+
200: {
|
|
40
|
+
"application/json": "json",
|
|
41
|
+
},
|
|
42
|
+
}))
|
|
43
|
+
.then(commonHttpClient.castResponse())
|
|
44
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceSettingsService.getSpaceSettings.response"))
|
|
45
|
+
.then(commonHttpClient.getBody);
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Updates the settings for a space. Currently only the
|
|
49
|
+
* `routeOverrideEnabled` setting can be updated.
|
|
50
|
+
*
|
|
51
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
52
|
+
* 'Admin' permission for the space.
|
|
53
|
+
*
|
|
54
|
+
* @returns Returned if space settings are updated.
|
|
55
|
+
* @path {PUT} /wiki/rest/api/space/{spaceKey}/settings
|
|
56
|
+
* @scopes-current write:confluence-space
|
|
57
|
+
* @scopes-beta read:space.setting:confluence, write:space.setting:confluence
|
|
58
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings#api-wiki-rest-api-space-spacekey-settings-put
|
|
59
|
+
*/
|
|
60
|
+
this.updateSpaceSettings = ({ spaceKey, spaceSettingsUpdate, }) => {
|
|
61
|
+
return this.getClientInstance()
|
|
62
|
+
.request({
|
|
63
|
+
path: "/wiki/rest/api/space/{spaceKey}/settings",
|
|
64
|
+
method: "PUT",
|
|
65
|
+
pathParams: {
|
|
66
|
+
spaceKey,
|
|
67
|
+
},
|
|
68
|
+
headers: {
|
|
69
|
+
"Content-Type": "application/json",
|
|
70
|
+
},
|
|
71
|
+
body: spaceSettingsUpdate,
|
|
72
|
+
})
|
|
73
|
+
.then(this.getClientInstance().responseHandler({
|
|
74
|
+
200: {
|
|
75
|
+
"application/json": "json",
|
|
76
|
+
},
|
|
77
|
+
}))
|
|
78
|
+
.then(commonHttpClient.castResponse())
|
|
79
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceSettingsService.updateSpaceSettings.response"))
|
|
80
|
+
.then(commonHttpClient.getBody);
|
|
81
|
+
};
|
|
79
82
|
}
|
|
80
83
|
static initialize() {
|
|
81
84
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceSettingsService.getSpaceSettings.response", zod_1.z
|
|
@@ -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;
|
|
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;;;;;;;;;;;;WAYG;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,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;WAYG;QACH,wBAAmB,GAAG,CAAC,EACrB,QAAQ,EACR,mBAAmB,GAMpB,EAAiC,EAAE;YA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E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/HD,oDA+HC"}
|
|
@@ -18,13 +18,13 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
18
18
|
* write:template:confluence
|
|
19
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
20
20
|
*/
|
|
21
|
-
createContentTemplate({ contentTemplateCreate, }: {
|
|
21
|
+
createContentTemplate: ({ contentTemplateCreate, }: {
|
|
22
22
|
/**
|
|
23
23
|
* The content template to be created.
|
|
24
24
|
* The content body must be in 'storage' format.
|
|
25
25
|
*/
|
|
26
26
|
contentTemplateCreate: ContentTemplateCreate;
|
|
27
|
-
})
|
|
27
|
+
}) => Promise<ContentTemplate>;
|
|
28
28
|
/**
|
|
29
29
|
* Returns all templates provided by blueprints. Use this method to retrieve
|
|
30
30
|
* all global blueprint templates or all blueprint templates in a space.
|
|
@@ -43,27 +43,27 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
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
45
|
*/
|
|
46
|
-
getBlueprintTemplates({ spaceKey, start, limit, expand, }?: {
|
|
46
|
+
getBlueprintTemplates: ({ spaceKey, start, limit, expand, }?: {
|
|
47
47
|
/**
|
|
48
48
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
49
49
|
* is not specified, global blueprint templates will be returned.
|
|
50
50
|
*/
|
|
51
|
-
spaceKey?: string;
|
|
51
|
+
spaceKey?: string | undefined;
|
|
52
52
|
/** The starting index of the returned templates. */
|
|
53
|
-
start?: number;
|
|
53
|
+
start?: number | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* The maximum number of templates to return per page.
|
|
56
56
|
* Note, this may be restricted by fixed system limits.
|
|
57
57
|
*/
|
|
58
|
-
limit?: number;
|
|
58
|
+
limit?: number | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* A multi-value parameter indicating which properties of the template
|
|
61
61
|
* to expand.
|
|
62
62
|
*
|
|
63
63
|
* - `body` returns the content of the template in storage format.
|
|
64
64
|
*/
|
|
65
|
-
expand?: "body"[];
|
|
66
|
-
})
|
|
65
|
+
expand?: "body"[] | undefined;
|
|
66
|
+
}) => Promise<BlueprintTemplateArray>;
|
|
67
67
|
/**
|
|
68
68
|
* Returns a content template. This includes information about template,
|
|
69
69
|
* like the name, the space or blueprint that the template is in, the body
|
|
@@ -80,10 +80,10 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
80
80
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
81
81
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
82
82
|
*/
|
|
83
|
-
getContentTemplate({ contentTemplateId, }: {
|
|
83
|
+
getContentTemplate: ({ contentTemplateId, }: {
|
|
84
84
|
/** The ID of the content template to be returned. */
|
|
85
85
|
contentTemplateId: string;
|
|
86
|
-
})
|
|
86
|
+
}) => Promise<ContentTemplate>;
|
|
87
87
|
/**
|
|
88
88
|
* Returns all content templates. Use this method to retrieve all global
|
|
89
89
|
* content templates or all content templates in a space.
|
|
@@ -99,27 +99,27 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
99
99
|
* @scopes-beta read:template:confluence, read:content-details:confluence
|
|
100
100
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
101
101
|
*/
|
|
102
|
-
getContentTemplates({ spaceKey, start, limit, expand, }?: {
|
|
102
|
+
getContentTemplates: ({ spaceKey, start, limit, expand, }?: {
|
|
103
103
|
/**
|
|
104
104
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
105
105
|
* is not specified, global templates will be returned.
|
|
106
106
|
*/
|
|
107
|
-
spaceKey?: string;
|
|
107
|
+
spaceKey?: string | undefined;
|
|
108
108
|
/** The starting index of the returned templates. */
|
|
109
|
-
start?: number;
|
|
109
|
+
start?: number | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* The maximum number of templates to return per page.
|
|
112
112
|
* Note, this may be restricted by fixed system limits.
|
|
113
113
|
*/
|
|
114
|
-
limit?: number;
|
|
114
|
+
limit?: number | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* A multi-value parameter indicating which properties of the template
|
|
117
117
|
* to expand.
|
|
118
118
|
*
|
|
119
119
|
* - `body` returns the content of the template in storage format.
|
|
120
120
|
*/
|
|
121
|
-
expand?: "body"[];
|
|
122
|
-
})
|
|
121
|
+
expand?: "body"[] | undefined;
|
|
122
|
+
}) => Promise<ContentTemplateArray>;
|
|
123
123
|
/**
|
|
124
124
|
* Deletes a template. This results in different actions depending on the
|
|
125
125
|
* type of template:
|
|
@@ -142,10 +142,10 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
142
142
|
* @scopes-beta write:template:confluence
|
|
143
143
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
144
144
|
*/
|
|
145
|
-
removeTemplate({ contentTemplateId, }: {
|
|
145
|
+
removeTemplate: ({ contentTemplateId, }: {
|
|
146
146
|
/** The ID of the template to be deleted. */
|
|
147
147
|
contentTemplateId: string;
|
|
148
|
-
})
|
|
148
|
+
}) => Promise<void>;
|
|
149
149
|
/**
|
|
150
150
|
* Updates a content template. Note, blueprint templates cannot be updated
|
|
151
151
|
* via the REST API.
|
|
@@ -162,9 +162,9 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
162
162
|
* write:template:confluence
|
|
163
163
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
164
164
|
*/
|
|
165
|
-
updateContentTemplate({ contentTemplateUpdate, }: {
|
|
165
|
+
updateContentTemplate: ({ contentTemplateUpdate, }: {
|
|
166
166
|
/** The updated content template. */
|
|
167
167
|
contentTemplateUpdate: ContentTemplateUpdate;
|
|
168
|
-
})
|
|
168
|
+
}) => Promise<ContentTemplate>;
|
|
169
169
|
static initialize(): void;
|
|
170
170
|
}
|