@resolution/confluence-api-client 0.5.2 → 0.5.4
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 +33 -1
- package/lib/openapi/{v1/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{v2/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{v2/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{v1/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +2 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +2 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +1 -1
- package/lib/openapi/v1/models/common.d.ts +2 -1
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +7 -4
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/group.d.ts +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +1 -1
- package/lib/openapi/v1/models/relation.d.ts +1 -1
- package/lib/openapi/v1/models/search.d.ts +1 -1
- package/lib/openapi/v1/models/settings.d.ts +1 -1
- package/lib/openapi/v1/models/space.d.ts +11 -4
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/spacePermissions.d.ts +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
- package/lib/openapi/v1/models/template.d.ts +1 -1
- package/lib/openapi/v1/models/themes.d.ts +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +1 -1
- package/lib/openapi/v1/models/users.d.ts +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +9 -5
- package/lib/openapi/v1/services/AnalyticsService.js +6 -4
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +15 -9
- package/lib/openapi/v1/services/AuditService.js +15 -9
- 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 +14 -8
- 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 +9 -7
- 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 +19 -11
- 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 +4 -3
- 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 +10 -6
- 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 +8 -7
- 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 +4 -3
- 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 +14 -8
- 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 +32 -23
- 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 +22 -12
- 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 +22 -13
- 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 +10 -6
- 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 +26 -14
- 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 +7 -5
- 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 +14 -10
- 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 +32 -17
- 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 +8 -5
- 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 +4 -3
- 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 +6 -4
- 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 +13 -14
- 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 +6 -4
- 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 +15 -12
- 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 +8 -5
- 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 +14 -8
- 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 +21 -16
- 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 +6 -4
- 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 +16 -12
- 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 +13 -8
- 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 +12 -7
- 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 +16 -9
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v1/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/v1/validationSchemaStorage.js +1 -1
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +2 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +2 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/ancestors.d.ts +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +1 -1
- package/lib/openapi/v2/models/children.d.ts +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
- package/lib/openapi/v2/models/comment.d.ts +1 -1
- package/lib/openapi/v2/models/common.d.ts +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
- package/lib/openapi/v2/models/database.d.ts +1 -1
- package/lib/openapi/v2/models/operation.d.ts +1 -1
- package/lib/openapi/v2/models/page.d.ts +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +1 -1
- package/lib/openapi/v2/models/space.d.ts +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v2/models/task.d.ts +1 -1
- package/lib/openapi/v2/models/user.d.ts +1 -1
- package/lib/openapi/v2/models/version.d.ts +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +9 -5
- package/lib/openapi/v2/services/AncestorsService.js +10 -6
- 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 +17 -11
- 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 +17 -11
- 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 +6 -4
- 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 +21 -12
- 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 +38 -20
- 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 +82 -42
- 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 +5 -5
- 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 +18 -10
- 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 +5 -4
- 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 +8 -5
- 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 +16 -9
- 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 +18 -10
- 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 +22 -12
- 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 +16 -9
- 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 +8 -5
- 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 +4 -3
- 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 +13 -9
- 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 +6 -4
- 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 +8 -5
- 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 +9 -7
- 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 +26 -14
- 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 +8 -5
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/lib/openapi/v2/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/v2/validationSchemaStorage.js +1 -1
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/v1/core/CommonHttpClient.js +0 -390
- package/lib/openapi/v1/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/v1/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/v2/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/v2/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/v2/core/CommonHttpService.js +0 -29
- package/lib/openapi/v2/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{v1/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{v1/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type GroupArrayWithLinks, type UserV1 } from "../models/common";
|
|
3
3
|
import { type AccountIdEmailRecord, type AccountIdEmailRecordArray, type BulkUserLookupArray, type UserAnonymous } from "../models/users";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users */
|
|
@@ -11,10 +11,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
11
11
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
12
12
|
*
|
|
13
13
|
* @returns Returned if the anonymous user representation is returned.
|
|
14
|
-
* @path
|
|
14
|
+
* @path GET `/wiki/rest/api/user/anonymous`
|
|
15
15
|
* @scopes-current read:confluence-user
|
|
16
16
|
* @scopes-beta read:user:confluence
|
|
17
17
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
18
|
+
* @param params
|
|
18
19
|
*/
|
|
19
20
|
getAnonymousUser: ({ expand, }?: {
|
|
20
21
|
/**
|
|
@@ -32,10 +33,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
32
33
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
33
34
|
*
|
|
34
35
|
* @returns Returned if, the list of users is returned.
|
|
35
|
-
* @path
|
|
36
|
+
* @path GET `/wiki/rest/api/user/bulk`
|
|
36
37
|
* @scopes-current read:confluence-user
|
|
37
38
|
* @scopes-beta read:content-details:confluence
|
|
38
39
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
40
|
+
* @param params
|
|
39
41
|
*/
|
|
40
42
|
getBulkUserLookup: ({ accountId, expand, limit, }: {
|
|
41
43
|
/** A list of accountId's of users to be returned. */
|
|
@@ -66,10 +68,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
66
68
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
67
69
|
*
|
|
68
70
|
* @returns Returned if the current user is returned.
|
|
69
|
-
* @path
|
|
71
|
+
* @path GET `/wiki/rest/api/user/current`
|
|
70
72
|
* @scopes-current read:confluence-user
|
|
71
73
|
* @scopes-beta read:content-details:confluence
|
|
72
74
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
75
|
+
* @param params
|
|
73
76
|
*/
|
|
74
77
|
getCurrentUser: ({ expand, }?: {
|
|
75
78
|
/**
|
|
@@ -90,10 +93,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
90
93
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
91
94
|
*
|
|
92
95
|
* @returns Returned if the requested groups are returned.
|
|
93
|
-
* @path
|
|
96
|
+
* @path GET `/wiki/rest/api/user/memberof`
|
|
94
97
|
* @scopes-current read:confluence-user
|
|
95
98
|
* @scopes-beta read:user:confluence, read:group:confluence
|
|
96
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
100
|
+
* @param params
|
|
97
101
|
*/
|
|
98
102
|
getGroupMembershipsForUser: ({ accountId, start, limit, }: {
|
|
99
103
|
/**
|
|
@@ -119,8 +123,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
119
123
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
120
124
|
*
|
|
121
125
|
* @returns Returned if the requested user's email is returned.
|
|
122
|
-
* @path
|
|
126
|
+
* @path GET `/wiki/rest/api/user/email`
|
|
123
127
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
128
|
+
* @param params
|
|
124
129
|
*/
|
|
125
130
|
getPrivacyUnsafeUserEmail: ({ accountId, }: {
|
|
126
131
|
/**
|
|
@@ -142,8 +147,9 @@ export declare class UsersService extends CommonHttpService {
|
|
|
142
147
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
143
148
|
*
|
|
144
149
|
* @returns Returned if the request is successful.
|
|
145
|
-
* @path
|
|
150
|
+
* @path GET `/wiki/rest/api/user/email/bulk`
|
|
146
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
152
|
+
* @param params
|
|
147
153
|
*/
|
|
148
154
|
getPrivacyUnsafeUserEmailBulk: ({ accountId, }: {
|
|
149
155
|
/** The account IDs of the users. */
|
|
@@ -162,10 +168,11 @@ export declare class UsersService extends CommonHttpService {
|
|
|
162
168
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
163
169
|
*
|
|
164
170
|
* @returns Returned if the requested user is returned.
|
|
165
|
-
* @path
|
|
171
|
+
* @path GET `/wiki/rest/api/user`
|
|
166
172
|
* @scopes-current read:confluence-user
|
|
167
173
|
* @scopes-beta read:content-details:confluence
|
|
168
174
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
175
|
+
* @param params
|
|
169
176
|
*/
|
|
170
177
|
getUser: ({ accountId, expand, }: {
|
|
171
178
|
/**
|
|
@@ -5,8 +5,8 @@ exports.UsersService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const users_1 = require("../models/users");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -22,10 +22,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
22
22
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
23
23
|
*
|
|
24
24
|
* @returns Returned if the anonymous user representation is returned.
|
|
25
|
-
* @path
|
|
25
|
+
* @path GET `/wiki/rest/api/user/anonymous`
|
|
26
26
|
* @scopes-current read:confluence-user
|
|
27
27
|
* @scopes-beta read:user:confluence
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
29
|
+
* @param params
|
|
29
30
|
*/
|
|
30
31
|
this.getAnonymousUser = ({ expand, } = {}) => {
|
|
31
32
|
return this.getClientInstance()
|
|
@@ -52,10 +53,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
52
53
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
53
54
|
*
|
|
54
55
|
* @returns Returned if, the list of users is returned.
|
|
55
|
-
* @path
|
|
56
|
+
* @path GET `/wiki/rest/api/user/bulk`
|
|
56
57
|
* @scopes-current read:confluence-user
|
|
57
58
|
* @scopes-beta read:content-details:confluence
|
|
58
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
60
|
+
* @param params
|
|
59
61
|
*/
|
|
60
62
|
this.getBulkUserLookup = ({ accountId, expand, limit, }) => {
|
|
61
63
|
return this.getClientInstance()
|
|
@@ -86,10 +88,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
86
88
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
87
89
|
*
|
|
88
90
|
* @returns Returned if the current user is returned.
|
|
89
|
-
* @path
|
|
91
|
+
* @path GET `/wiki/rest/api/user/current`
|
|
90
92
|
* @scopes-current read:confluence-user
|
|
91
93
|
* @scopes-beta read:content-details:confluence
|
|
92
94
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
95
|
+
* @param params
|
|
93
96
|
*/
|
|
94
97
|
this.getCurrentUser = ({ expand, } = {}) => {
|
|
95
98
|
return this.getClientInstance()
|
|
@@ -116,10 +119,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
116
119
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
117
120
|
*
|
|
118
121
|
* @returns Returned if the requested groups are returned.
|
|
119
|
-
* @path
|
|
122
|
+
* @path GET `/wiki/rest/api/user/memberof`
|
|
120
123
|
* @scopes-current read:confluence-user
|
|
121
124
|
* @scopes-beta read:user:confluence, read:group:confluence
|
|
122
125
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
126
|
+
* @param params
|
|
123
127
|
*/
|
|
124
128
|
this.getGroupMembershipsForUser = ({ accountId, start, limit, }) => {
|
|
125
129
|
return this.getClientInstance()
|
|
@@ -150,8 +154,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
150
154
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
151
155
|
*
|
|
152
156
|
* @returns Returned if the requested user's email is returned.
|
|
153
|
-
* @path
|
|
157
|
+
* @path GET `/wiki/rest/api/user/email`
|
|
154
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
159
|
+
* @param params
|
|
155
160
|
*/
|
|
156
161
|
this.getPrivacyUnsafeUserEmail = ({ accountId, }) => {
|
|
157
162
|
return this.getClientInstance()
|
|
@@ -183,8 +188,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
183
188
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
184
189
|
*
|
|
185
190
|
* @returns Returned if the request is successful.
|
|
186
|
-
* @path
|
|
191
|
+
* @path GET `/wiki/rest/api/user/email/bulk`
|
|
187
192
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
193
|
+
* @param params
|
|
188
194
|
*/
|
|
189
195
|
this.getPrivacyUnsafeUserEmailBulk = ({ accountId, }) => {
|
|
190
196
|
return this.getClientInstance()
|
|
@@ -217,10 +223,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
217
223
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
218
224
|
*
|
|
219
225
|
* @returns Returned if the requested user is returned.
|
|
220
|
-
* @path
|
|
226
|
+
* @path GET `/wiki/rest/api/user`
|
|
221
227
|
* @scopes-current read:confluence-user
|
|
222
228
|
* @scopes-beta read:content-details:confluence
|
|
223
229
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
230
|
+
* @param params
|
|
224
231
|
*/
|
|
225
232
|
this.getUser = ({ accountId, expand, }) => {
|
|
226
233
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,2CAMyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;;WAaG;QACH,qBAAgB,GAAG,CAAC,EAClB,MAAM,MASJ,EAAE,EAA0B,EAAE;YAChC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,+BAA+B;gBACrC,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,MAAM;iBACP;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,wCAAwC,CACzC,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CA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,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,sBAAsB,CAAC;SAC3D,CAAC;aACD,QAAQ,CAAC,iDAAiD,CAAC,CAC/D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,qDAAqD,EACrD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,qDAAqD,CAAC,CACnE,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,iDAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,kDAAkD,CAAC,CAChE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,sCAA8B;SAC/B,CAAC,CAAC;IACL,CAAC;CACF;AAzeD,oCAyeC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { CommonValidationSchemaStorage } from "
|
|
2
|
+
import { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
|
|
3
3
|
export declare const validationSchemaStorage: CommonValidationSchemaStorage<z.ZodTypeAny>;
|
|
@@ -5,7 +5,7 @@ exports.validationSchemaStorage = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const CommonValidationSchemaStorage_1 = require("
|
|
8
|
+
const CommonValidationSchemaStorage_1 = require("../core/CommonValidationSchemaStorage");
|
|
9
9
|
exports.validationSchemaStorage = new CommonValidationSchemaStorage_1.CommonValidationSchemaStorage({
|
|
10
10
|
assertDataShape: (schema, data) => schema.parse(data),
|
|
11
11
|
makeExtensible: function makeExtensible(zodSchema) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationSchemaStorage.js","sourceRoot":"","sources":["../../../src/openapi/v1/validationSchemaStorage.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAaa;AAEb,
|
|
1
|
+
{"version":3,"file":"validationSchemaStorage.js","sourceRoot":"","sources":["../../../src/openapi/v1/validationSchemaStorage.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAaa;AAEb,yFAAsF;AACzE,QAAA,uBAAuB,GAClC,IAAI,6DAA6B,CAAa;IAC5C,eAAe,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;IACrD,cAAc,EAAE,SAAS,cAAc,CAAC,SAAqB;QAC3D,IAAI,SAAS,YAAY,eAAS,EAAE,CAAC;YACnC,IAAI,SAAS,GAAG,SAAS,CAAC;YAC1B,MAAM,YAAY,GAA+B,SAAS,CAAC,KAAK,CAAC;YACjE,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CACjC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;gBACjD,GAAG;gBACH,cAAc,CAAC,KAAK,CAAC;aACtB,CAAC,CACH,CAAC;YACF,IACE,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAC3B,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,KAAK,YAAY,CAAC,G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
|
1
|
-
import * as commonHttpClient from "
|
|
2
|
-
import { CommonHttpService } from "
|
|
1
|
+
import * as commonHttpClient from "../core/CommonHttpClient";
|
|
2
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
3
3
|
import type { Ancestor, AncestorType } from "./models/ancestors";
|
|
4
4
|
import type { AttachmentBulk, AttachmentLinks, AttachmentSingle, AttachmentSortOrder } from "./models/attachment";
|
|
5
5
|
import type { BlogPostBodyWrite, BlogPostBulk, BlogPostContentStatus, BlogPostNestedBodyWrite, BlogPostSingle, BlogPostSortOrder } from "./models/blogPost";
|
|
@@ -4,8 +4,8 @@ exports.BaseConfluenceApiV2Client = void 0;
|
|
|
4
4
|
// DO NOT EDIT!
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
|
-
const commonHttpClient = require("
|
|
8
|
-
const CommonHttpService_1 = require("
|
|
7
|
+
const commonHttpClient = require("../core/CommonHttpClient");
|
|
8
|
+
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
9
9
|
const AncestorsService_1 = require("./services/AncestorsService");
|
|
10
10
|
const AttachmentService_1 = require("./services/AttachmentService");
|
|
11
11
|
const BlogPostService_1 = require("./services/BlogPostService");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseConfluenceApiV2Client.js","sourceRoot":"","sources":["../../../src/openapi/v2/BaseConfluenceApiV2Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"BaseConfluenceApiV2Client.js","sourceRoot":"","sources":["../../../src/openapi/v2/BaseConfluenceApiV2Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6DAA6D;AAC7D,iEAA8D;AAgI9D,kEAA+D;AAC/D,oEAAiE;AACjE,gEAA6D;AAC7D,gEAA6D;AAC7D,sFAAmF;AACnF,8DAA2D;A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,CAAC,CAAC;IAC9C,CAAC;IACD,mFAAmF;IACnF,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,kBAAkB,CAAC,yBAAW,CAAC,CAAC;IAC9C,CAAC;IACD,sFAAsF;IACtF,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,kBAAkB,CAAC,+BAAc,CAAC,CAAC;IACjD,CAAC;IACD,yFAAyF;IACzF,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,kBAAkB,CAAC,qCAAiB,CAAC,CAAC;IACpD,CAAC;IACD,YAAY,OAA0C;QACpD,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAnGjB,WAAM,GAAG,IAAI,gBAAgB,CAAC,gBAAgB,CAAC;YACvD,OAAO,EAAE,mCAAmC;YAC5C,kBAAkB,EAAE,MAAM;YAC1B,UAAU,EAAE,8BAA8B;SAC3C,CAAC,CAAC;QACO,cAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;QA+FtC,IAAI,CAAC,MAAM,CAAC,UAAU,iCACjB,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,GACxB,OAAO,EACV,CAAC;IACL,CAAC;CACF;AA1GD,8DA0GC;AACD,iDAAuB,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface Ancestor extends Record<string, unknown> {
|
|
4
4
|
/** ID of the ancestor */
|
|
5
5
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type ContentProperty, type ContentStatus, type Label, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type Version } from "./common";
|
|
4
4
|
export interface AttachmentBulk extends Record<string, unknown> {
|
|
5
5
|
/** ID of the attachment. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type AbstractPageLinks, type BodyBulk, type BodySingle, type ContentProperty, type Label, type Like, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type Version } from "./common";
|
|
4
4
|
export interface BlogPostBodyWrite extends Record<string, unknown> {
|
|
5
5
|
/** Type of content representation used for the value field. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface ChildCustomContent extends Record<string, unknown> {
|
|
4
4
|
/** ID of the child custom content. */
|
|
5
5
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type BodyBulk, type BodySingle, type ContentProperty, type ContentStatus, type Like, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type Version } from "./common";
|
|
4
4
|
export interface AttachmentCommentModel extends Record<string, unknown> {
|
|
5
5
|
/** ID of the comment. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface AbstractPageLinks extends Record<string, unknown> {
|
|
4
4
|
/** Web UI link of the content. */
|
|
5
5
|
webui?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface ContentIdToContentTypeResponse extends Record<string, unknown> {
|
|
4
4
|
/**
|
|
5
5
|
* JSON object containing all requested content ids as keys and their associated
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface ContentPropertyCreateRequest extends Record<string, unknown> {
|
|
4
4
|
/** Key of the content property */
|
|
5
5
|
key?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type BodyType, type ContentProperty, type ContentStatus, type Label, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type Version } from "./common";
|
|
4
4
|
/** Contains fields for each representation type requested. */
|
|
5
5
|
export interface CustomContentBodyBulk extends Record<string, unknown> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type SpaceDescription, type SpaceIcon, type SpaceLinks } from "./common";
|
|
4
4
|
/** Details about data policies. */
|
|
5
5
|
export interface DataPolicyMetadata {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type ContentStatus, type ParentContentType, type Version } from "./common";
|
|
4
4
|
export interface DatabaseLinks extends Record<string, unknown> {
|
|
5
5
|
/** Web UI link of the content. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type Operation } from "./common";
|
|
4
4
|
/** The list of operations permitted on entity. */
|
|
5
5
|
export interface PermittedOperationsResponse extends Record<string, unknown> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type AbstractPageLinks, type BodyBulk, type BodySingle, type ContentProperty, type ContentStatus, type Label, type Like, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type ParentContentType, type Version } from "./common";
|
|
4
4
|
export interface PageBodyWrite extends Record<string, unknown> {
|
|
5
5
|
/** Type of content representation used for the value field. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type ContentStatus, type ParentContentType, type Version } from "./common";
|
|
4
4
|
export interface SmartLinkLinks extends Record<string, unknown> {
|
|
5
5
|
/** Web UI link of the content. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type Label, type Operation, type OptionalFieldLinks, type OptionalFieldMeta, type SpaceDescription, type SpaceIcon, type SpaceLinks, type SpacePermission, type SpaceProperty } from "./common";
|
|
4
4
|
export interface SpaceBulk extends Record<string, unknown> {
|
|
5
5
|
/** ID of the space. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
export interface SpacePropertyCreateRequest extends Record<string, unknown> {
|
|
4
4
|
/** Key of the space property */
|
|
5
5
|
key?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type BodyType } from "./common";
|
|
4
4
|
export interface Task extends Record<string, unknown> {
|
|
5
5
|
/** ID of the task. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
/** The account status of the user. */
|
|
4
4
|
export type AccountStatus = "active" | "inactive" | "closed" | "unknown";
|
|
5
5
|
/** The account type of the user. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type BodyBulk } from "./common";
|
|
4
4
|
export interface AttachmentVersion extends Record<string, unknown> {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ZodTypeAny } from "zod";
|
|
2
|
-
import type { CommonValidationSchemaStorage } from "
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
|
|
3
3
|
import { type ContentStatus, type ParentContentType, type Version } from "./common";
|
|
4
4
|
export interface WhiteboardLinks extends Record<string, unknown> {
|
|
5
5
|
/** Web UI link of the content. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type Ancestor } from "../models/ancestors";
|
|
3
3
|
import { type MultiEntityLinks } from "../models/common";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors */
|
|
@@ -21,9 +21,10 @@ export declare class AncestorsService extends CommonHttpService {
|
|
|
21
21
|
* Permission to view the database and its corresponding space
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested ancestors are returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/databases/{id}/ancestors`
|
|
25
25
|
* @scopes-current read:content.metadata:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-databases-id-ancestors-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
getDatabaseAncestors: ({ id, limit, }: {
|
|
29
30
|
/** The ID of the database. */
|
|
@@ -55,9 +56,10 @@ export declare class AncestorsService extends CommonHttpService {
|
|
|
55
56
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
56
57
|
*
|
|
57
58
|
* @returns Returned if the requested ancestors are returned.
|
|
58
|
-
* @path
|
|
59
|
+
* @path GET `/pages/{id}/ancestors`
|
|
59
60
|
* @scopes-current read:content.metadata:confluence
|
|
60
61
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-pages-id-ancestors-get
|
|
62
|
+
* @param params
|
|
61
63
|
*/
|
|
62
64
|
getPageAncestors: ({ id, limit, }: {
|
|
63
65
|
/** The ID of the page. */
|
|
@@ -92,9 +94,10 @@ export declare class AncestorsService extends CommonHttpService {
|
|
|
92
94
|
* space
|
|
93
95
|
*
|
|
94
96
|
* @returns Returned if the requested ancestors are returned.
|
|
95
|
-
* @path
|
|
97
|
+
* @path GET `/embeds/{id}/ancestors`
|
|
96
98
|
* @scopes-current read:content.metadata:confluence
|
|
97
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-embeds-id-ancestors-get
|
|
100
|
+
* @param params
|
|
98
101
|
*/
|
|
99
102
|
getSmartLinkAncestors: ({ id, limit, }: {
|
|
100
103
|
/** The ID of the Smart Link in the content tree. */
|
|
@@ -127,9 +130,10 @@ export declare class AncestorsService extends CommonHttpService {
|
|
|
127
130
|
* Permission to view the whiteboard and its corresponding space
|
|
128
131
|
*
|
|
129
132
|
* @returns Returned if the requested ancestors are returned.
|
|
130
|
-
* @path
|
|
133
|
+
* @path GET `/whiteboards/{id}/ancestors`
|
|
131
134
|
* @scopes-current read:content.metadata:confluence
|
|
132
135
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-whiteboards-id-ancestors-get
|
|
136
|
+
* @param params
|
|
133
137
|
*/
|
|
134
138
|
getWhiteboardAncestors: ({ id, limit, }: {
|
|
135
139
|
/** The ID of the whiteboard. */
|
|
@@ -5,8 +5,8 @@ exports.AncestorsService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const ancestors_1 = require("../models/ancestors");
|
|
11
11
|
const common_1 = require("../models/common");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -32,9 +32,10 @@ class AncestorsService extends CommonHttpService_1.CommonHttpService {
|
|
|
32
32
|
* Permission to view the database and its corresponding space
|
|
33
33
|
*
|
|
34
34
|
* @returns Returned if the requested ancestors are returned.
|
|
35
|
-
* @path
|
|
35
|
+
* @path GET `/databases/{id}/ancestors`
|
|
36
36
|
* @scopes-current read:content.metadata:confluence
|
|
37
37
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-databases-id-ancestors-get
|
|
38
|
+
* @param params
|
|
38
39
|
*/
|
|
39
40
|
this.getDatabaseAncestors = ({ id, limit, }) => {
|
|
40
41
|
return this.getClientInstance()
|
|
@@ -74,9 +75,10 @@ class AncestorsService extends CommonHttpService_1.CommonHttpService {
|
|
|
74
75
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
75
76
|
*
|
|
76
77
|
* @returns Returned if the requested ancestors are returned.
|
|
77
|
-
* @path
|
|
78
|
+
* @path GET `/pages/{id}/ancestors`
|
|
78
79
|
* @scopes-current read:content.metadata:confluence
|
|
79
80
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-pages-id-ancestors-get
|
|
81
|
+
* @param params
|
|
80
82
|
*/
|
|
81
83
|
this.getPageAncestors = ({ id, limit, }) => {
|
|
82
84
|
return this.getClientInstance()
|
|
@@ -118,9 +120,10 @@ class AncestorsService extends CommonHttpService_1.CommonHttpService {
|
|
|
118
120
|
* space
|
|
119
121
|
*
|
|
120
122
|
* @returns Returned if the requested ancestors are returned.
|
|
121
|
-
* @path
|
|
123
|
+
* @path GET `/embeds/{id}/ancestors`
|
|
122
124
|
* @scopes-current read:content.metadata:confluence
|
|
123
125
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-embeds-id-ancestors-get
|
|
126
|
+
* @param params
|
|
124
127
|
*/
|
|
125
128
|
this.getSmartLinkAncestors = ({ id, limit, }) => {
|
|
126
129
|
return this.getClientInstance()
|
|
@@ -161,9 +164,10 @@ class AncestorsService extends CommonHttpService_1.CommonHttpService {
|
|
|
161
164
|
* Permission to view the whiteboard and its corresponding space
|
|
162
165
|
*
|
|
163
166
|
* @returns Returned if the requested ancestors are returned.
|
|
164
|
-
* @path
|
|
167
|
+
* @path GET `/whiteboards/{id}/ancestors`
|
|
165
168
|
* @scopes-current read:content.metadata:confluence
|
|
166
169
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors#api-whiteboards-id-ancestors-get
|
|
170
|
+
* @param params
|
|
167
171
|
*/
|
|
168
172
|
this.getWhiteboardAncestors = ({ id, limit, }) => {
|
|
169
173
|
return this.getClientInstance()
|