@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
|
@@ -15,11 +15,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
15
15
|
* Permission to view the requested content. Any content that the user does not
|
|
16
16
|
* have permission to view or does not exist will map to `null` in the response.
|
|
17
17
|
*
|
|
18
|
-
* @returns Returned if the requested content ids are successfully converted to their
|
|
19
|
-
* content
|
|
20
|
-
* @path {POST} /content/convert-ids-to-types
|
|
18
|
+
* @returns Returned if the requested content ids are successfully converted to their content types
|
|
19
|
+
* @path POST `/content/convert-ids-to-types`
|
|
21
20
|
* @scopes-current read:content.metadata:confluence
|
|
22
21
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content#api-content-convert-ids-to-types-post
|
|
22
|
+
* @param params
|
|
23
23
|
*/
|
|
24
24
|
convertContentIdsToContentTypes: ({ requestBody, }: {
|
|
25
25
|
requestBody: {
|
|
@@ -29,5 +29,5 @@ export declare class ContentService extends CommonHttpService {
|
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
};
|
|
31
31
|
}) => Promise<ContentIdToContentTypeResponse>;
|
|
32
|
-
static initialize(): void;
|
|
32
|
+
protected static initialize(): void;
|
|
33
33
|
}
|
|
@@ -26,11 +26,11 @@ class ContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
26
26
|
* Permission to view the requested content. Any content that the user does not
|
|
27
27
|
* have permission to view or does not exist will map to `null` in the response.
|
|
28
28
|
*
|
|
29
|
-
* @returns Returned if the requested content ids are successfully converted to their
|
|
30
|
-
* content
|
|
31
|
-
* @path {POST} /content/convert-ids-to-types
|
|
29
|
+
* @returns Returned if the requested content ids are successfully converted to their content types
|
|
30
|
+
* @path POST `/content/convert-ids-to-types`
|
|
32
31
|
* @scopes-current read:content.metadata:confluence
|
|
33
32
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content#api-content-convert-ids-to-types-post
|
|
33
|
+
* @param params
|
|
34
34
|
*/
|
|
35
35
|
this.convertContentIdsToContentTypes = ({ requestBody, }) => {
|
|
36
36
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/ContentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+CAG2B;AAC3B,wEAAqE;AACrE,sFAAsF;AACtF,MAAa,cAAe,SAAQ,qCAAiB;IAArD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,oCAA+B,GAAG,CAAC,EACjC,WAAW,GAQZ,EAA2C,EAAE;YAC5C,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,yDAAyD,CAC1D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAcJ,CAAC;
|
|
1
|
+
{"version":3,"file":"ContentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/ContentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+CAG2B;AAC3B,wEAAqE;AACrE,sFAAsF;AACtF,MAAa,cAAe,SAAQ,qCAAiB;IAArD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,oCAA+B,GAAG,CAAC,EACjC,WAAW,GAQZ,EAA2C,EAAE;YAC5C,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,yDAAyD,CAC1D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAcJ,CAAC;IAbW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,yDAAyD,EACzD,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,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,0CAAgC,CAAC,CAAC,CAAC;IAC3E,CAAC;CACF;AAzED,wCAyEC"}
|
|
@@ -14,9 +14,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
14
14
|
* space. Permission to create custom content in the space.
|
|
15
15
|
*
|
|
16
16
|
* @returns Returned if the requested custom content is created successfully.
|
|
17
|
-
* @path
|
|
17
|
+
* @path POST `/custom-content`
|
|
18
18
|
* @scopes-current write:custom-content:confluence
|
|
19
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-post
|
|
20
|
+
* @param params
|
|
20
21
|
*/
|
|
21
22
|
createCustomContent: ({ requestBody, }: {
|
|
22
23
|
requestBody: {
|
|
@@ -62,9 +63,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
62
63
|
* Permission to delete custom content in the space.
|
|
63
64
|
* Permission to administer the space (if attempting to purge).
|
|
64
65
|
*
|
|
65
|
-
* @path
|
|
66
|
+
* @path DELETE `/custom-content/{id}`
|
|
66
67
|
* @scopes-current delete:custom-content:confluence
|
|
67
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-delete
|
|
69
|
+
* @param params
|
|
68
70
|
*/
|
|
69
71
|
deleteCustomContent: ({ id, purge, }: {
|
|
70
72
|
/** The ID of the custom content to be deleted. */
|
|
@@ -80,9 +82,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
80
82
|
* the corresponding space (if different from the container).
|
|
81
83
|
*
|
|
82
84
|
* @returns Returned if the requested custom content is returned.
|
|
83
|
-
* @path
|
|
85
|
+
* @path GET `/custom-content/{id}`
|
|
84
86
|
* @scopes-current read:custom-content:confluence
|
|
85
87
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-get
|
|
88
|
+
* @param params
|
|
86
89
|
*/
|
|
87
90
|
getCustomContentById: ({ id, bodyFormat, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion, }: {
|
|
88
91
|
/**
|
|
@@ -163,9 +166,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
163
166
|
* the corresponding space (if different from the container).
|
|
164
167
|
*
|
|
165
168
|
* @returns Returned if the requested custom content is returned.
|
|
166
|
-
* @path
|
|
169
|
+
* @path GET `/custom-content`
|
|
167
170
|
* @scopes-current read:custom-content:confluence
|
|
168
171
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-get
|
|
172
|
+
* @param params
|
|
169
173
|
*/
|
|
170
174
|
getCustomContentByType: ({ type, id, spaceId, sort, cursor, limit, bodyFormat, }: {
|
|
171
175
|
/**
|
|
@@ -225,9 +229,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
225
229
|
* (blog post), and the corresponding space.
|
|
226
230
|
*
|
|
227
231
|
* @returns Returned if the requested custom content is returned.
|
|
228
|
-
* @path
|
|
232
|
+
* @path GET `/blogposts/{id}/custom-content`
|
|
229
233
|
* @scopes-current read:custom-content:confluence
|
|
230
234
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-blogposts-id-custom-content-get
|
|
235
|
+
* @param params
|
|
231
236
|
*/
|
|
232
237
|
getCustomContentByTypeInBlogPost: ({ id, type, sort, cursor, limit, bodyFormat, }: {
|
|
233
238
|
/** The ID of the blog post for which custom content should be returned. */
|
|
@@ -279,9 +284,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
279
284
|
* (page), and the corresponding space.
|
|
280
285
|
*
|
|
281
286
|
* @returns Returned if the requested custom content is returned.
|
|
282
|
-
* @path
|
|
287
|
+
* @path GET `/pages/{id}/custom-content`
|
|
283
288
|
* @scopes-current read:custom-content:confluence
|
|
284
289
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-pages-id-custom-content-get
|
|
290
|
+
* @param params
|
|
285
291
|
*/
|
|
286
292
|
getCustomContentByTypeInPage: ({ id, type, sort, cursor, limit, bodyFormat, }: {
|
|
287
293
|
/** The ID of the page for which custom content should be returned. */
|
|
@@ -332,9 +338,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
332
338
|
* Permission to view the custom content and the corresponding space.
|
|
333
339
|
*
|
|
334
340
|
* @returns Returned if the requested custom content is returned.
|
|
335
|
-
* @path
|
|
341
|
+
* @path GET `/spaces/{id}/custom-content`
|
|
336
342
|
* @scopes-current read:custom-content:confluence
|
|
337
343
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-spaces-id-custom-content-get
|
|
344
|
+
* @param params
|
|
338
345
|
*/
|
|
339
346
|
getCustomContentByTypeInSpace: ({ id, type, cursor, limit, bodyFormat, }: {
|
|
340
347
|
/** The ID of the space for which custom content should be returned. */
|
|
@@ -383,9 +390,10 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
383
390
|
* space. Permission to update custom content in the space.
|
|
384
391
|
*
|
|
385
392
|
* @returns Returned if the requested custom content is updated successfully.
|
|
386
|
-
* @path
|
|
393
|
+
* @path PUT `/custom-content/{id}`
|
|
387
394
|
* @scopes-current write:custom-content:confluence
|
|
388
395
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-put
|
|
396
|
+
* @param params
|
|
389
397
|
*/
|
|
390
398
|
updateCustomContent: ({ id, requestBody, }: {
|
|
391
399
|
/**
|
|
@@ -432,5 +440,5 @@ export declare class CustomContentService extends CommonHttpService {
|
|
|
432
440
|
} & {
|
|
433
441
|
[key: string]: unknown;
|
|
434
442
|
}>;
|
|
435
|
-
static initialize(): void;
|
|
443
|
+
protected static initialize(): void;
|
|
436
444
|
}
|
|
@@ -25,9 +25,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
25
|
* space. Permission to create custom content in the space.
|
|
26
26
|
*
|
|
27
27
|
* @returns Returned if the requested custom content is created successfully.
|
|
28
|
-
* @path
|
|
28
|
+
* @path POST `/custom-content`
|
|
29
29
|
* @scopes-current write:custom-content:confluence
|
|
30
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-post
|
|
31
|
+
* @param params
|
|
31
32
|
*/
|
|
32
33
|
this.createCustomContent = ({ requestBody, }) => {
|
|
33
34
|
return this.getClientInstance()
|
|
@@ -62,9 +63,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
62
63
|
* Permission to delete custom content in the space.
|
|
63
64
|
* Permission to administer the space (if attempting to purge).
|
|
64
65
|
*
|
|
65
|
-
* @path
|
|
66
|
+
* @path DELETE `/custom-content/{id}`
|
|
66
67
|
* @scopes-current delete:custom-content:confluence
|
|
67
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-delete
|
|
69
|
+
* @param params
|
|
68
70
|
*/
|
|
69
71
|
this.deleteCustomContent = ({ id, purge, }) => {
|
|
70
72
|
return this.getClientInstance()
|
|
@@ -88,9 +90,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
88
90
|
* the corresponding space (if different from the container).
|
|
89
91
|
*
|
|
90
92
|
* @returns Returned if the requested custom content is returned.
|
|
91
|
-
* @path
|
|
93
|
+
* @path GET `/custom-content/{id}`
|
|
92
94
|
* @scopes-current read:custom-content:confluence
|
|
93
95
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-get
|
|
96
|
+
* @param params
|
|
94
97
|
*/
|
|
95
98
|
this.getCustomContentById = ({ id, bodyFormat, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion, }) => {
|
|
96
99
|
return this.getClientInstance()
|
|
@@ -129,9 +132,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
129
132
|
* the corresponding space (if different from the container).
|
|
130
133
|
*
|
|
131
134
|
* @returns Returned if the requested custom content is returned.
|
|
132
|
-
* @path
|
|
135
|
+
* @path GET `/custom-content`
|
|
133
136
|
* @scopes-current read:custom-content:confluence
|
|
134
137
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-get
|
|
138
|
+
* @param params
|
|
135
139
|
*/
|
|
136
140
|
this.getCustomContentByType = ({ type, id, spaceId, sort, cursor, limit, bodyFormat, }) => {
|
|
137
141
|
return this.getClientInstance()
|
|
@@ -168,9 +172,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
168
172
|
* (blog post), and the corresponding space.
|
|
169
173
|
*
|
|
170
174
|
* @returns Returned if the requested custom content is returned.
|
|
171
|
-
* @path
|
|
175
|
+
* @path GET `/blogposts/{id}/custom-content`
|
|
172
176
|
* @scopes-current read:custom-content:confluence
|
|
173
177
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-blogposts-id-custom-content-get
|
|
178
|
+
* @param params
|
|
174
179
|
*/
|
|
175
180
|
this.getCustomContentByTypeInBlogPost = ({ id, type, sort, cursor, limit, bodyFormat, }) => {
|
|
176
181
|
return this.getClientInstance()
|
|
@@ -208,9 +213,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
208
213
|
* (page), and the corresponding space.
|
|
209
214
|
*
|
|
210
215
|
* @returns Returned if the requested custom content is returned.
|
|
211
|
-
* @path
|
|
216
|
+
* @path GET `/pages/{id}/custom-content`
|
|
212
217
|
* @scopes-current read:custom-content:confluence
|
|
213
218
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-pages-id-custom-content-get
|
|
219
|
+
* @param params
|
|
214
220
|
*/
|
|
215
221
|
this.getCustomContentByTypeInPage = ({ id, type, sort, cursor, limit, bodyFormat, }) => {
|
|
216
222
|
return this.getClientInstance()
|
|
@@ -247,9 +253,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
247
253
|
* Permission to view the custom content and the corresponding space.
|
|
248
254
|
*
|
|
249
255
|
* @returns Returned if the requested custom content is returned.
|
|
250
|
-
* @path
|
|
256
|
+
* @path GET `/spaces/{id}/custom-content`
|
|
251
257
|
* @scopes-current read:custom-content:confluence
|
|
252
258
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-spaces-id-custom-content-get
|
|
259
|
+
* @param params
|
|
253
260
|
*/
|
|
254
261
|
this.getCustomContentByTypeInSpace = ({ id, type, cursor, limit, bodyFormat, }) => {
|
|
255
262
|
return this.getClientInstance()
|
|
@@ -285,9 +292,10 @@ class CustomContentService extends CommonHttpService_1.CommonHttpService {
|
|
|
285
292
|
* space. Permission to update custom content in the space.
|
|
286
293
|
*
|
|
287
294
|
* @returns Returned if the requested custom content is updated successfully.
|
|
288
|
-
* @path
|
|
295
|
+
* @path PUT `/custom-content/{id}`
|
|
289
296
|
* @scopes-current write:custom-content:confluence
|
|
290
297
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content#api-custom-content-id-put
|
|
298
|
+
* @param params
|
|
291
299
|
*/
|
|
292
300
|
this.updateCustomContent = ({ id, requestBody, }) => {
|
|
293
301
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomContentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/CustomContentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,2DAQiC;AACjC,wEAAqE;AACrE,6FAA6F;AAC7F,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE
|
|
1
|
+
{"version":3,"file":"CustomContentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/CustomContentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,2DAQiC;AACjC,wEAAqE;AACrE,6FAA6F;AAC7F,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;;;WAeG;QACH,wBAAmB,GAAG,CAAC,EACrB,WAAW,GAqBZ,EAYC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,iBAAiB;gBACvB,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,EAazB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,mDAAmD,CACpD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;WAkBG;QACH,wBAAmB,GAAG,CAAC,EACrB,EAAE,EACF,KAAK,GAMN,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,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|
* Permission to access the Confluence site ('Can use' global permission).
|
|
12
12
|
*
|
|
13
13
|
* @returns Returned if the request is successful.
|
|
14
|
-
* @path
|
|
14
|
+
* @path GET `/data-policies/metadata`
|
|
15
15
|
* @scopes-current read:configuration:confluence
|
|
16
16
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies#api-data-policies-metadata-get
|
|
17
17
|
*/
|
|
@@ -28,9 +28,10 @@ export declare class DataPoliciesService extends CommonHttpService {
|
|
|
28
28
|
* Only spaces that the app has permission to view will be returned.
|
|
29
29
|
*
|
|
30
30
|
* @returns Returned if the requested spaces are returned.
|
|
31
|
-
* @path
|
|
31
|
+
* @path GET `/data-policies/spaces`
|
|
32
32
|
* @scopes-current read:space:confluence
|
|
33
33
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies#api-data-policies-spaces-get
|
|
34
|
+
* @param params
|
|
34
35
|
*/
|
|
35
36
|
getDataPolicySpaces: ({ ids, keys, sort, cursor, limit, }?: {
|
|
36
37
|
/**
|
|
@@ -63,5 +64,5 @@ export declare class DataPoliciesService extends CommonHttpService {
|
|
|
63
64
|
} & {
|
|
64
65
|
[key: string]: unknown;
|
|
65
66
|
}>;
|
|
66
|
-
static initialize(): void;
|
|
67
|
+
protected static initialize(): void;
|
|
67
68
|
}
|
|
@@ -22,7 +22,7 @@ class DataPoliciesService extends CommonHttpService_1.CommonHttpService {
|
|
|
22
22
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
23
23
|
*
|
|
24
24
|
* @returns Returned if the request is successful.
|
|
25
|
-
* @path
|
|
25
|
+
* @path GET `/data-policies/metadata`
|
|
26
26
|
* @scopes-current read:configuration:confluence
|
|
27
27
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies#api-data-policies-metadata-get
|
|
28
28
|
*/
|
|
@@ -53,9 +53,10 @@ class DataPoliciesService extends CommonHttpService_1.CommonHttpService {
|
|
|
53
53
|
* Only spaces that the app has permission to view will be returned.
|
|
54
54
|
*
|
|
55
55
|
* @returns Returned if the requested spaces are returned.
|
|
56
|
-
* @path
|
|
56
|
+
* @path GET `/data-policies/spaces`
|
|
57
57
|
* @scopes-current read:space:confluence
|
|
58
58
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies#api-data-policies-spaces-get
|
|
59
|
+
* @param params
|
|
59
60
|
*/
|
|
60
61
|
this.getDataPolicySpaces = ({ ids, keys, sort, cursor, limit, } = {}) => {
|
|
61
62
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPoliciesService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/DataPoliciesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,yDAIgC;AAChC,wEAAqE;AACrE,4FAA4F;AAC5F,MAAa,mBAAoB,SAAQ,qCAAiB;IAA1D;;QACE;;;;;;;;;;;WAWG;QACH,0BAAqB,GAAG,GAAgC,EAAE;YACxD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,KAAK;aACd,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,oDAAoD,CACrD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"DataPoliciesService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/DataPoliciesService.ts"],"names":[],"mappings":";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uB,CAAC,SAAS,CAC/B,kDAAkD,CACnD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAoCJ,CAAC;IAnCW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,oDAAoD,EACpD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,oBAAoB,CAAC;SACzD,CAAC;aACD,QAAQ,CAAC,oDAAoD,CAAC,CAClE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,kDAAkD,EAClD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;qBACtD,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,kDAAkD,CAAC,CAChE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oDAAqC;YACrC,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAzKD,kDAyKC"}
|
|
@@ -10,9 +10,10 @@ export declare class DatabaseService extends CommonHttpService {
|
|
|
10
10
|
* the space.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the database was successfully created.
|
|
13
|
-
* @path
|
|
13
|
+
* @path POST `/databases`
|
|
14
14
|
* @scopes-current write:database:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-post
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
createDatabase: ({ private: privateQuery, requestBody, }: {
|
|
18
19
|
/**
|
|
@@ -50,9 +51,10 @@ export declare class DatabaseService extends CommonHttpService {
|
|
|
50
51
|
* Permission to view the database and its corresponding space.
|
|
51
52
|
* Permission to delete databases in the space.
|
|
52
53
|
*
|
|
53
|
-
* @path
|
|
54
|
+
* @path DELETE `/databases/{id}`
|
|
54
55
|
* @scopes-current delete:database:confluence
|
|
55
56
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-id-delete
|
|
57
|
+
* @param params
|
|
56
58
|
*/
|
|
57
59
|
deleteDatabase: ({ id, }: {
|
|
58
60
|
/** The ID of the database to be deleted. */
|
|
@@ -65,9 +67,10 @@ export declare class DatabaseService extends CommonHttpService {
|
|
|
65
67
|
* Permission to view the database and its corresponding space.
|
|
66
68
|
*
|
|
67
69
|
* @returns Returned if the requested database is returned.
|
|
68
|
-
* @path
|
|
70
|
+
* @path GET `/databases/{id}`
|
|
69
71
|
* @scopes-current read:database:confluence
|
|
70
72
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-id-get
|
|
73
|
+
* @param params
|
|
71
74
|
*/
|
|
72
75
|
getDatabaseById: ({ id, }: {
|
|
73
76
|
/** The ID of the database to be returned */
|
|
@@ -82,5 +85,5 @@ export declare class DatabaseService extends CommonHttpService {
|
|
|
82
85
|
} & {
|
|
83
86
|
[key: string]: unknown;
|
|
84
87
|
}>;
|
|
85
|
-
static initialize(): void;
|
|
88
|
+
protected static initialize(): void;
|
|
86
89
|
}
|
|
@@ -21,9 +21,10 @@ class DatabaseService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* the space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the database was successfully created.
|
|
24
|
-
* @path
|
|
24
|
+
* @path POST `/databases`
|
|
25
25
|
* @scopes-current write:database:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-post
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.createDatabase = ({ private: privateQuery, requestBody, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -57,9 +58,10 @@ class DatabaseService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
58
|
* Permission to view the database and its corresponding space.
|
|
58
59
|
* Permission to delete databases in the space.
|
|
59
60
|
*
|
|
60
|
-
* @path
|
|
61
|
+
* @path DELETE `/databases/{id}`
|
|
61
62
|
* @scopes-current delete:database:confluence
|
|
62
63
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-id-delete
|
|
64
|
+
* @param params
|
|
63
65
|
*/
|
|
64
66
|
this.deleteDatabase = ({ id, }) => {
|
|
65
67
|
return this.getClientInstance()
|
|
@@ -79,9 +81,10 @@ class DatabaseService extends CommonHttpService_1.CommonHttpService {
|
|
|
79
81
|
* Permission to view the database and its corresponding space.
|
|
80
82
|
*
|
|
81
83
|
* @returns Returned if the requested database is returned.
|
|
82
|
-
* @path
|
|
84
|
+
* @path GET `/databases/{id}`
|
|
83
85
|
* @scopes-current read:database:confluence
|
|
84
86
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database#api-databases-id-get
|
|
87
|
+
* @param params
|
|
85
88
|
*/
|
|
86
89
|
this.getDatabaseById = ({ id, }) => {
|
|
87
90
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/DatabaseService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAG4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE
|
|
1
|
+
{"version":3,"file":"DatabaseService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/DatabaseService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,iDAG4B;AAC5B,wEAAqE;AACrE,uFAAuF;AACvF,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;WAYG;QACH,mBAAc,GAAG,CAAC,EAChB,OAAO,EAAE,YAAY,EACrB,WAAW,GAiBZ,EAYC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,YAAY;gBAClB,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE;oBACL,OAAO,EAAE,YAAY;iBACtB;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,EAazB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yCAAyC,CAC1C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;WAcG;QACH,mBAAc,GAAG,CAAC,EAChB,EAAE,GAIH,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,iBAAiB;gBACvB,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,EAAE;iBACH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,QAAQ,CAAC,yCAAyC,CAAC,CACvD,CAAC;QACF,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,OAAC,CAAC,YAAY,CAClB,iDAAuB,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAC9C,OAAC;iBACE,MAAM,CAAC;gBACN,MAAM,EAAE,OAAC;qBACN,MAAM,CAAC;oBACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,CAAC;qBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;qBACrB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA1OD,0CA0OC"}
|
|
@@ -12,9 +12,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
12
12
|
* space.
|
|
13
13
|
*
|
|
14
14
|
* @returns Returned if the requested labels are returned.
|
|
15
|
-
* @path
|
|
15
|
+
* @path GET `/attachments/{id}/labels`
|
|
16
16
|
* @scopes-current read:attachment:confluence
|
|
17
17
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
|
|
18
|
+
* @param params
|
|
18
19
|
*/
|
|
19
20
|
getAttachmentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
20
21
|
/** The ID of the attachment for which labels should be returned. */
|
|
@@ -50,9 +51,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
50
51
|
* Permission to view the content of the blog post and its corresponding space.
|
|
51
52
|
*
|
|
52
53
|
* @returns Returned if the requested labels are returned.
|
|
53
|
-
* @path
|
|
54
|
+
* @path GET `/blogposts/{id}/labels`
|
|
54
55
|
* @scopes-current read:page:confluence
|
|
55
56
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
|
|
57
|
+
* @param params
|
|
56
58
|
*/
|
|
57
59
|
getBlogPostLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
58
60
|
/** The ID of the blog post for which labels should be returned. */
|
|
@@ -89,9 +91,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
89
91
|
* Permission to view the custom content and its corresponding space.
|
|
90
92
|
*
|
|
91
93
|
* @returns Returned if the requested labels are returned.
|
|
92
|
-
* @path
|
|
94
|
+
* @path GET `/custom-content/{id}/labels`
|
|
93
95
|
* @scopes-current read:custom-content:confluence
|
|
94
96
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
|
|
97
|
+
* @param params
|
|
95
98
|
*/
|
|
96
99
|
getCustomContentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
97
100
|
/** The ID of the custom content for which labels should be returned. */
|
|
@@ -128,9 +131,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
128
131
|
* Only labels that the user has permission to view will be returned.
|
|
129
132
|
*
|
|
130
133
|
* @returns Returned if the requested labels are returned.
|
|
131
|
-
* @path
|
|
134
|
+
* @path GET `/labels`
|
|
132
135
|
* @scopes-current read:label:confluence
|
|
133
136
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
|
|
137
|
+
* @param params
|
|
134
138
|
*/
|
|
135
139
|
getLabels: ({ labelId, prefix, cursor, sort, limit, }?: {
|
|
136
140
|
/** Filters on label ID. Multiple IDs can be specified as a comma-separated list. */
|
|
@@ -169,9 +173,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
169
173
|
* Permission to view the content of the page and its corresponding space.
|
|
170
174
|
*
|
|
171
175
|
* @returns Returned if the requested labels are returned.
|
|
172
|
-
* @path
|
|
176
|
+
* @path GET `/pages/{id}/labels`
|
|
173
177
|
* @scopes-current read:page:confluence
|
|
174
178
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
|
|
179
|
+
* @param params
|
|
175
180
|
*/
|
|
176
181
|
getPageLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
177
182
|
/** The ID of the page for which labels should be returned. */
|
|
@@ -208,9 +213,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
208
213
|
* Permission to view the space.
|
|
209
214
|
*
|
|
210
215
|
* @returns Returned if the requested labels are returned.
|
|
211
|
-
* @path
|
|
216
|
+
* @path GET `/spaces/{id}/content/labels`
|
|
212
217
|
* @scopes-current read:space:confluence
|
|
213
218
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
|
|
219
|
+
* @param params
|
|
214
220
|
*/
|
|
215
221
|
getSpaceContentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
216
222
|
/** The ID of the space for which labels should be returned. */
|
|
@@ -246,9 +252,10 @@ export declare class LabelService extends CommonHttpService {
|
|
|
246
252
|
* Permission to view the space.
|
|
247
253
|
*
|
|
248
254
|
* @returns Returned if the requested labels are returned.
|
|
249
|
-
* @path
|
|
255
|
+
* @path GET `/spaces/{id}/labels`
|
|
250
256
|
* @scopes-current read:space:confluence
|
|
251
257
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
|
|
258
|
+
* @param params
|
|
252
259
|
*/
|
|
253
260
|
getSpaceLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
254
261
|
/** The ID of the space for which labels should be returned. */
|
|
@@ -275,5 +282,5 @@ export declare class LabelService extends CommonHttpService {
|
|
|
275
282
|
} & {
|
|
276
283
|
[key: string]: unknown;
|
|
277
284
|
}>;
|
|
278
|
-
static initialize(): void;
|
|
285
|
+
protected static initialize(): void;
|
|
279
286
|
}
|
|
@@ -23,9 +23,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
23
23
|
* space.
|
|
24
24
|
*
|
|
25
25
|
* @returns Returned if the requested labels are returned.
|
|
26
|
-
* @path
|
|
26
|
+
* @path GET `/attachments/{id}/labels`
|
|
27
27
|
* @scopes-current read:attachment:confluence
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
|
|
29
|
+
* @param params
|
|
29
30
|
*/
|
|
30
31
|
this.getAttachmentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
31
32
|
return this.getClientInstance()
|
|
@@ -60,9 +61,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
60
61
|
* Permission to view the content of the blog post and its corresponding space.
|
|
61
62
|
*
|
|
62
63
|
* @returns Returned if the requested labels are returned.
|
|
63
|
-
* @path
|
|
64
|
+
* @path GET `/blogposts/{id}/labels`
|
|
64
65
|
* @scopes-current read:page:confluence
|
|
65
66
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
|
|
67
|
+
* @param params
|
|
66
68
|
*/
|
|
67
69
|
this.getBlogPostLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
68
70
|
return this.getClientInstance()
|
|
@@ -98,9 +100,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
100
|
* Permission to view the custom content and its corresponding space.
|
|
99
101
|
*
|
|
100
102
|
* @returns Returned if the requested labels are returned.
|
|
101
|
-
* @path
|
|
103
|
+
* @path GET `/custom-content/{id}/labels`
|
|
102
104
|
* @scopes-current read:custom-content:confluence
|
|
103
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
|
|
106
|
+
* @param params
|
|
104
107
|
*/
|
|
105
108
|
this.getCustomContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
106
109
|
return this.getClientInstance()
|
|
@@ -136,9 +139,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
136
139
|
* Only labels that the user has permission to view will be returned.
|
|
137
140
|
*
|
|
138
141
|
* @returns Returned if the requested labels are returned.
|
|
139
|
-
* @path
|
|
142
|
+
* @path GET `/labels`
|
|
140
143
|
* @scopes-current read:label:confluence
|
|
141
144
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
|
|
145
|
+
* @param params
|
|
142
146
|
*/
|
|
143
147
|
this.getLabels = ({ labelId, prefix, cursor, sort, limit, } = {}) => {
|
|
144
148
|
return this.getClientInstance()
|
|
@@ -171,9 +175,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
171
175
|
* Permission to view the content of the page and its corresponding space.
|
|
172
176
|
*
|
|
173
177
|
* @returns Returned if the requested labels are returned.
|
|
174
|
-
* @path
|
|
178
|
+
* @path GET `/pages/{id}/labels`
|
|
175
179
|
* @scopes-current read:page:confluence
|
|
176
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
|
|
181
|
+
* @param params
|
|
177
182
|
*/
|
|
178
183
|
this.getPageLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
179
184
|
return this.getClientInstance()
|
|
@@ -209,9 +214,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
209
214
|
* Permission to view the space.
|
|
210
215
|
*
|
|
211
216
|
* @returns Returned if the requested labels are returned.
|
|
212
|
-
* @path
|
|
217
|
+
* @path GET `/spaces/{id}/content/labels`
|
|
213
218
|
* @scopes-current read:space:confluence
|
|
214
219
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
|
|
220
|
+
* @param params
|
|
215
221
|
*/
|
|
216
222
|
this.getSpaceContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
217
223
|
return this.getClientInstance()
|
|
@@ -246,9 +252,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
246
252
|
* Permission to view the space.
|
|
247
253
|
*
|
|
248
254
|
* @returns Returned if the requested labels are returned.
|
|
249
|
-
* @path
|
|
255
|
+
* @path GET `/spaces/{id}/labels`
|
|
250
256
|
* @scopes-current read:space:confluence
|
|
251
257
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
|
|
258
|
+
* @param params
|
|
252
259
|
*/
|
|
253
260
|
this.getSpaceLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
254
261
|
return this.getClientInstance()
|