@resolution/confluence-api-client 0.10.0 → 0.11.0
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 +360 -0
- package/lib/openapi/core/CommonHttpClient.d.ts +19 -19
- package/lib/openapi/core/CommonHttpClient.js +148 -233
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/core/CommonHttpService.d.ts +1 -1
- package/lib/openapi/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/core/CommonValidationSchemaStorage.d.ts +4 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js +2 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -3
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +2 -2
- package/lib/openapi/v1/models/audit.js +31 -90
- package/lib/openapi/v1/models/audit.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +2 -2
- package/lib/openapi/v1/models/common.js +188 -463
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +2 -2
- package/lib/openapi/v1/models/content.js +205 -491
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
- package/lib/openapi/v1/models/contentAttachments.js +8 -19
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +2 -2
- package/lib/openapi/v1/models/contentBody.js +20 -59
- package/lib/openapi/v1/models/contentBody.js.map +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +16 -40
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
- package/lib/openapi/v1/models/contentLabels.js +2 -7
- package/lib/openapi/v1/models/contentLabels.js.map +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentMacroBody.js +4 -10
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +2 -2
- package/lib/openapi/v1/models/contentPermissions.js +10 -22
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v1/models/contentProperties.js +25 -71
- package/lib/openapi/v1/models/contentProperties.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +2 -2
- package/lib/openapi/v1/models/contentRestrictions.js +17 -57
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +1 -1
- package/lib/openapi/v1/models/contentStates.js +15 -35
- package/lib/openapi/v1/models/contentStates.js.map +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +2 -2
- package/lib/openapi/v1/models/contentVersions.js +9 -20
- package/lib/openapi/v1/models/contentVersions.js.map +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +2 -2
- package/lib/openapi/v1/models/contentWatches.js +21 -46
- package/lib/openapi/v1/models/contentWatches.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +1 -1
- package/lib/openapi/v1/models/dynamicModules.js +6 -15
- 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/group.js +6 -15
- package/lib/openapi/v1/models/group.js.map +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
- package/lib/openapi/v1/models/inlineTasks.js +10 -22
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
- package/lib/openapi/v1/models/labelInfo.js +11 -27
- package/lib/openapi/v1/models/labelInfo.js.map +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +2 -2
- package/lib/openapi/v1/models/longRunningTask.js +20 -42
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -1
- package/lib/openapi/v1/models/relation.d.ts +2 -2
- package/lib/openapi/v1/models/relation.js +16 -45
- package/lib/openapi/v1/models/relation.js.map +1 -1
- package/lib/openapi/v1/models/search.d.ts +2 -2
- package/lib/openapi/v1/models/search.js +15 -34
- package/lib/openapi/v1/models/search.js.map +1 -1
- package/lib/openapi/v1/models/settings.d.ts +2 -2
- package/lib/openapi/v1/models/settings.js +13 -29
- package/lib/openapi/v1/models/settings.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +2 -2
- package/lib/openapi/v1/models/space.js +31 -69
- 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/spacePermissions.js +23 -86
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +2 -2
- package/lib/openapi/v1/models/spaceProperties.js +26 -71
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
- package/lib/openapi/v1/models/spaceSettings.js +3 -9
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -1
- package/lib/openapi/v1/models/template.d.ts +2 -2
- package/lib/openapi/v1/models/template.js +45 -103
- package/lib/openapi/v1/models/template.js.map +1 -1
- package/lib/openapi/v1/models/themes.d.ts +1 -1
- package/lib/openapi/v1/models/themes.js +10 -22
- package/lib/openapi/v1/models/themes.js.map +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +1 -1
- package/lib/openapi/v1/models/userProperties.js +16 -33
- package/lib/openapi/v1/models/userProperties.js.map +1 -1
- package/lib/openapi/v1/models/users.d.ts +2 -2
- package/lib/openapi/v1/models/users.js +25 -57
- package/lib/openapi/v1/models/users.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +2 -2
- package/lib/openapi/v1/services/AnalyticsService.js +29 -47
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +6 -6
- package/lib/openapi/v1/services/AuditService.js +67 -109
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +72 -109
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentBodyService.js +67 -105
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +9 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +103 -157
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +16 -23
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentLabelsService.js +36 -54
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentMacroBodyService.js +43 -67
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +14 -23
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +73 -112
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentRestrictionsService.js +127 -184
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +12 -12
- package/lib/openapi/v1/services/ContentService.js +137 -205
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentStatesService.js +96 -155
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentVersionsService.js +53 -79
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +113 -169
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +2 -2
- package/lib/openapi/v1/services/DynamicModulesService.js +24 -37
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +5 -5
- package/lib/openapi/v1/services/ExperimentalService.js +42 -65
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +10 -10
- package/lib/openapi/v1/services/GroupService.js +76 -117
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +4 -4
- package/lib/openapi/v1/services/InlineTasksService.js +36 -59
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +1 -1
- package/lib/openapi/v1/services/LabelInfoService.js +12 -19
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +2 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js +24 -40
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +6 -6
- package/lib/openapi/v1/services/RelationService.js +64 -94
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +2 -2
- package/lib/openapi/v1/services/SearchService.js +29 -43
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +6 -6
- package/lib/openapi/v1/services/SettingsService.js +61 -98
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +25 -38
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +73 -112
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +9 -9
- package/lib/openapi/v1/services/SpaceService.js +108 -169
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +2 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js +24 -38
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +7 -7
- package/lib/openapi/v1/services/TemplateService.js +67 -104
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +5 -5
- package/lib/openapi/v1/services/ThemesService.js +61 -101
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +42 -64
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +9 -9
- package/lib/openapi/v1/services/UsersService.js +94 -146
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v1/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v1/validationSchemaStorage.js +12 -22
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +1 -1
- 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/ancestors.js +4 -12
- package/lib/openapi/v2/models/ancestors.js.map +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +2 -2
- package/lib/openapi/v2/models/attachment.js +26 -71
- package/lib/openapi/v2/models/attachment.js.map +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +2 -2
- package/lib/openapi/v2/models/blogPost.js +37 -102
- package/lib/openapi/v2/models/blogPost.js.map +1 -1
- package/lib/openapi/v2/models/children.d.ts +1 -1
- package/lib/openapi/v2/models/children.js +9 -24
- package/lib/openapi/v2/models/children.js.map +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
- package/lib/openapi/v2/models/classificationLevel.js +6 -32
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -1
- package/lib/openapi/v2/models/comment.d.ts +2 -2
- package/lib/openapi/v2/models/comment.js +107 -272
- package/lib/openapi/v2/models/comment.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +1 -1
- package/lib/openapi/v2/models/common.js +84 -214
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -1
- package/lib/openapi/v2/models/content.js +3 -21
- package/lib/openapi/v2/models/content.js.map +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v2/models/contentProperties.js +8 -20
- package/lib/openapi/v2/models/contentProperties.js.map +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +2 -2
- package/lib/openapi/v2/models/customContent.js +43 -121
- package/lib/openapi/v2/models/customContent.js.map +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
- package/lib/openapi/v2/models/dataPolicies.js +11 -25
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -1
- package/lib/openapi/v2/models/database.d.ts +1 -1
- package/lib/openapi/v2/models/database.js +8 -19
- package/lib/openapi/v2/models/database.js.map +1 -1
- package/lib/openapi/v2/models/eap.d.ts +1 -1
- package/lib/openapi/v2/models/eap.js +0 -3
- package/lib/openapi/v2/models/eap.js.map +1 -1
- package/lib/openapi/v2/models/folder.d.ts +1 -1
- package/lib/openapi/v2/models/folder.js +8 -19
- package/lib/openapi/v2/models/folder.js.map +1 -1
- package/lib/openapi/v2/models/operation.d.ts +1 -1
- package/lib/openapi/v2/models/operation.js +4 -12
- package/lib/openapi/v2/models/operation.js.map +1 -1
- package/lib/openapi/v2/models/page.d.ts +2 -2
- package/lib/openapi/v2/models/page.js +36 -101
- package/lib/openapi/v2/models/page.js.map +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +1 -1
- package/lib/openapi/v2/models/smartLink.js +8 -19
- package/lib/openapi/v2/models/smartLink.js.map +1 -1
- package/lib/openapi/v2/models/space.d.ts +2 -2
- package/lib/openapi/v2/models/space.js +21 -57
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v2/models/spaceProperties.js +8 -20
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v2/models/task.d.ts +1 -1
- package/lib/openapi/v2/models/task.js +7 -16
- package/lib/openapi/v2/models/task.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +1 -1
- package/lib/openapi/v2/models/user.js +7 -20
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/models/version.d.ts +1 -1
- package/lib/openapi/v2/models/version.js +22 -46
- package/lib/openapi/v2/models/version.js.map +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
- package/lib/openapi/v2/models/whiteboard.js +8 -19
- package/lib/openapi/v2/models/whiteboard.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +5 -5
- package/lib/openapi/v2/services/AncestorsService.js +73 -133
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +8 -8
- package/lib/openapi/v2/services/AttachmentService.js +98 -180
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +9 -9
- package/lib/openapi/v2/services/BlogPostService.js +100 -180
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +2 -2
- package/lib/openapi/v2/services/ChildrenService.js +32 -61
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +15 -15
- package/lib/openapi/v2/services/ClassificationLevelService.js +127 -191
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +20 -20
- package/lib/openapi/v2/services/CommentService.js +250 -454
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +46 -46
- package/lib/openapi/v2/services/ContentPropertiesService.js +496 -820
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +1 -1
- package/lib/openapi/v2/services/ContentService.js +12 -19
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +9 -9
- package/lib/openapi/v2/services/CustomContentService.js +114 -207
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +2 -2
- package/lib/openapi/v2/services/DataPoliciesService.js +25 -48
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +3 -3
- package/lib/openapi/v2/services/DatabaseService.js +37 -63
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/EapService.d.ts +7 -7
- package/lib/openapi/v2/services/EapService.js +89 -165
- package/lib/openapi/v2/services/EapService.js.map +1 -1
- package/lib/openapi/v2/services/FolderService.d.ts +3 -3
- package/lib/openapi/v2/services/FolderService.js +36 -62
- package/lib/openapi/v2/services/FolderService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +7 -7
- package/lib/openapi/v2/services/LabelService.js +105 -196
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +8 -8
- package/lib/openapi/v2/services/LikeService.js +109 -189
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +11 -11
- package/lib/openapi/v2/services/OperationService.js +122 -199
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +9 -9
- package/lib/openapi/v2/services/PageService.js +100 -180
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +3 -3
- package/lib/openapi/v2/services/SmartLinkService.js +36 -62
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -3
- package/lib/openapi/v2/services/SpacePermissionsService.js +30 -56
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePropertiesService.js +56 -92
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceRolesService.d.ts +5 -5
- package/lib/openapi/v2/services/SpaceRolesService.js +60 -111
- package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -4
- package/lib/openapi/v2/services/SpaceService.js +47 -87
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +4 -4
- package/lib/openapi/v2/services/TaskService.js +40 -68
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +3 -3
- package/lib/openapi/v2/services/UserService.js +33 -58
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +14 -14
- package/lib/openapi/v2/services/VersionService.js +158 -281
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +3 -3
- package/lib/openapi/v2/services/WhiteboardService.js +37 -63
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/lib/openapi/v2/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v2/validationSchemaStorage.js +12 -22
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
|
@@ -4,11 +4,11 @@ exports.ContentPropertiesService = 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 zod_1 = require("zod");
|
|
8
7
|
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
8
|
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
9
|
const common_1 = require("../models/common");
|
|
11
10
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
const zod_1 = require("zod");
|
|
12
12
|
/**
|
|
13
13
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties
|
|
14
14
|
* @category Services
|
|
@@ -28,27 +28,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-attachments-attachment-id-properties-post
|
|
29
29
|
* @param params
|
|
30
30
|
*/
|
|
31
|
-
this.createAttachmentProperty = ({ attachmentId, contentPropertyCreateRequest
|
|
32
|
-
return this.getClientInstance()
|
|
33
|
-
.request({
|
|
31
|
+
this.createAttachmentProperty = ({ attachmentId, contentPropertyCreateRequest }) => {
|
|
32
|
+
return this.getClientInstance().request({
|
|
34
33
|
path: "/attachments/{attachment-id}/properties",
|
|
35
34
|
method: "POST",
|
|
36
35
|
pathParams: {
|
|
37
|
-
"attachment-id": attachmentId
|
|
36
|
+
"attachment-id": attachmentId
|
|
38
37
|
},
|
|
39
38
|
headers: {
|
|
40
|
-
"Content-Type": "application/json"
|
|
39
|
+
"Content-Type": "application/json"
|
|
41
40
|
},
|
|
42
|
-
body: contentPropertyCreateRequest
|
|
43
|
-
})
|
|
44
|
-
.then(this.getClientInstance().responseHandler({
|
|
41
|
+
body: contentPropertyCreateRequest
|
|
42
|
+
}).then(this.getClientInstance().responseHandler({
|
|
45
43
|
200: {
|
|
46
|
-
"application/json": "json"
|
|
47
|
-
}
|
|
48
|
-
}))
|
|
49
|
-
.then(commonHttpClient.castResponse())
|
|
50
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createAttachmentProperty.response")))
|
|
51
|
-
.then(commonHttpClient.getBody);
|
|
44
|
+
"application/json": "json"
|
|
45
|
+
}
|
|
46
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createAttachmentProperty.response"))).then(commonHttpClient.getBody);
|
|
52
47
|
};
|
|
53
48
|
/**
|
|
54
49
|
* Creates a new property for a blogpost.
|
|
@@ -62,27 +57,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
62
57
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-blogposts-blogpost-id-properties-post
|
|
63
58
|
* @param params
|
|
64
59
|
*/
|
|
65
|
-
this.createBlogpostProperty = ({ blogpostId, contentPropertyCreateRequest
|
|
66
|
-
return this.getClientInstance()
|
|
67
|
-
.request({
|
|
60
|
+
this.createBlogpostProperty = ({ blogpostId, contentPropertyCreateRequest }) => {
|
|
61
|
+
return this.getClientInstance().request({
|
|
68
62
|
path: "/blogposts/{blogpost-id}/properties",
|
|
69
63
|
method: "POST",
|
|
70
64
|
pathParams: {
|
|
71
|
-
"blogpost-id": blogpostId
|
|
65
|
+
"blogpost-id": blogpostId
|
|
72
66
|
},
|
|
73
67
|
headers: {
|
|
74
|
-
"Content-Type": "application/json"
|
|
68
|
+
"Content-Type": "application/json"
|
|
75
69
|
},
|
|
76
|
-
body: contentPropertyCreateRequest
|
|
77
|
-
})
|
|
78
|
-
.then(this.getClientInstance().responseHandler({
|
|
70
|
+
body: contentPropertyCreateRequest
|
|
71
|
+
}).then(this.getClientInstance().responseHandler({
|
|
79
72
|
200: {
|
|
80
|
-
"application/json": "json"
|
|
81
|
-
}
|
|
82
|
-
}))
|
|
83
|
-
.then(commonHttpClient.castResponse())
|
|
84
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createBlogpostProperty.response")))
|
|
85
|
-
.then(commonHttpClient.getBody);
|
|
73
|
+
"application/json": "json"
|
|
74
|
+
}
|
|
75
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createBlogpostProperty.response"))).then(commonHttpClient.getBody);
|
|
86
76
|
};
|
|
87
77
|
/**
|
|
88
78
|
* Creates a new content property for a comment.
|
|
@@ -96,27 +86,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
96
86
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-comments-comment-id-properties-post
|
|
97
87
|
* @param params
|
|
98
88
|
*/
|
|
99
|
-
this.createCommentProperty = ({ commentId, contentPropertyCreateRequest
|
|
100
|
-
return this.getClientInstance()
|
|
101
|
-
.request({
|
|
89
|
+
this.createCommentProperty = ({ commentId, contentPropertyCreateRequest }) => {
|
|
90
|
+
return this.getClientInstance().request({
|
|
102
91
|
path: "/comments/{comment-id}/properties",
|
|
103
92
|
method: "POST",
|
|
104
93
|
pathParams: {
|
|
105
|
-
"comment-id": commentId
|
|
94
|
+
"comment-id": commentId
|
|
106
95
|
},
|
|
107
96
|
headers: {
|
|
108
|
-
"Content-Type": "application/json"
|
|
97
|
+
"Content-Type": "application/json"
|
|
109
98
|
},
|
|
110
|
-
body: contentPropertyCreateRequest
|
|
111
|
-
})
|
|
112
|
-
.then(this.getClientInstance().responseHandler({
|
|
99
|
+
body: contentPropertyCreateRequest
|
|
100
|
+
}).then(this.getClientInstance().responseHandler({
|
|
113
101
|
200: {
|
|
114
|
-
"application/json": "json"
|
|
115
|
-
}
|
|
116
|
-
}))
|
|
117
|
-
.then(commonHttpClient.castResponse())
|
|
118
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createCommentProperty.response")))
|
|
119
|
-
.then(commonHttpClient.getBody);
|
|
102
|
+
"application/json": "json"
|
|
103
|
+
}
|
|
104
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createCommentProperty.response"))).then(commonHttpClient.getBody);
|
|
120
105
|
};
|
|
121
106
|
/**
|
|
122
107
|
* Creates a new content property for a piece of custom content.
|
|
@@ -130,27 +115,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
130
115
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-custom-content-custom-content-id-properties-post
|
|
131
116
|
* @param params
|
|
132
117
|
*/
|
|
133
|
-
this.createCustomContentProperty = ({ customContentId, contentPropertyCreateRequest
|
|
134
|
-
return this.getClientInstance()
|
|
135
|
-
.request({
|
|
118
|
+
this.createCustomContentProperty = ({ customContentId, contentPropertyCreateRequest }) => {
|
|
119
|
+
return this.getClientInstance().request({
|
|
136
120
|
path: "/custom-content/{custom-content-id}/properties",
|
|
137
121
|
method: "POST",
|
|
138
122
|
pathParams: {
|
|
139
|
-
"custom-content-id": customContentId
|
|
123
|
+
"custom-content-id": customContentId
|
|
140
124
|
},
|
|
141
125
|
headers: {
|
|
142
|
-
"Content-Type": "application/json"
|
|
126
|
+
"Content-Type": "application/json"
|
|
143
127
|
},
|
|
144
|
-
body: contentPropertyCreateRequest
|
|
145
|
-
})
|
|
146
|
-
.then(this.getClientInstance().responseHandler({
|
|
128
|
+
body: contentPropertyCreateRequest
|
|
129
|
+
}).then(this.getClientInstance().responseHandler({
|
|
147
130
|
200: {
|
|
148
|
-
"application/json": "json"
|
|
149
|
-
}
|
|
150
|
-
}))
|
|
151
|
-
.then(commonHttpClient.castResponse())
|
|
152
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createCustomContentProperty.response")))
|
|
153
|
-
.then(commonHttpClient.getBody);
|
|
131
|
+
"application/json": "json"
|
|
132
|
+
}
|
|
133
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createCustomContentProperty.response"))).then(commonHttpClient.getBody);
|
|
154
134
|
};
|
|
155
135
|
/**
|
|
156
136
|
* Creates a new content property for a database.
|
|
@@ -164,27 +144,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
164
144
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-databases-id-properties-post
|
|
165
145
|
* @param params
|
|
166
146
|
*/
|
|
167
|
-
this.createDatabaseProperty = ({ id, contentPropertyCreateRequest
|
|
168
|
-
return this.getClientInstance()
|
|
169
|
-
.request({
|
|
147
|
+
this.createDatabaseProperty = ({ id, contentPropertyCreateRequest }) => {
|
|
148
|
+
return this.getClientInstance().request({
|
|
170
149
|
path: "/databases/{id}/properties",
|
|
171
150
|
method: "POST",
|
|
172
151
|
pathParams: {
|
|
173
|
-
id
|
|
152
|
+
id
|
|
174
153
|
},
|
|
175
154
|
headers: {
|
|
176
|
-
"Content-Type": "application/json"
|
|
155
|
+
"Content-Type": "application/json"
|
|
177
156
|
},
|
|
178
|
-
body: contentPropertyCreateRequest
|
|
179
|
-
})
|
|
180
|
-
.then(this.getClientInstance().responseHandler({
|
|
157
|
+
body: contentPropertyCreateRequest
|
|
158
|
+
}).then(this.getClientInstance().responseHandler({
|
|
181
159
|
200: {
|
|
182
|
-
"application/json": "json"
|
|
183
|
-
}
|
|
184
|
-
}))
|
|
185
|
-
.then(commonHttpClient.castResponse())
|
|
186
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createDatabaseProperty.response")))
|
|
187
|
-
.then(commonHttpClient.getBody);
|
|
160
|
+
"application/json": "json"
|
|
161
|
+
}
|
|
162
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createDatabaseProperty.response"))).then(commonHttpClient.getBody);
|
|
188
163
|
};
|
|
189
164
|
/**
|
|
190
165
|
* Creates a new content property for a folder.
|
|
@@ -198,27 +173,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
198
173
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-folders-id-properties-post
|
|
199
174
|
* @param params
|
|
200
175
|
*/
|
|
201
|
-
this.createFolderProperty = ({ id, contentPropertyCreateRequest
|
|
202
|
-
return this.getClientInstance()
|
|
203
|
-
.request({
|
|
176
|
+
this.createFolderProperty = ({ id, contentPropertyCreateRequest }) => {
|
|
177
|
+
return this.getClientInstance().request({
|
|
204
178
|
path: "/folders/{id}/properties",
|
|
205
179
|
method: "POST",
|
|
206
180
|
pathParams: {
|
|
207
|
-
id
|
|
181
|
+
id
|
|
208
182
|
},
|
|
209
183
|
headers: {
|
|
210
|
-
"Content-Type": "application/json"
|
|
184
|
+
"Content-Type": "application/json"
|
|
211
185
|
},
|
|
212
|
-
body: contentPropertyCreateRequest
|
|
213
|
-
})
|
|
214
|
-
.then(this.getClientInstance().responseHandler({
|
|
186
|
+
body: contentPropertyCreateRequest
|
|
187
|
+
}).then(this.getClientInstance().responseHandler({
|
|
215
188
|
200: {
|
|
216
|
-
"application/json": "json"
|
|
217
|
-
}
|
|
218
|
-
}))
|
|
219
|
-
.then(commonHttpClient.castResponse())
|
|
220
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createFolderProperty.response")))
|
|
221
|
-
.then(commonHttpClient.getBody);
|
|
189
|
+
"application/json": "json"
|
|
190
|
+
}
|
|
191
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createFolderProperty.response"))).then(commonHttpClient.getBody);
|
|
222
192
|
};
|
|
223
193
|
/**
|
|
224
194
|
* Creates a new content property for a page.
|
|
@@ -232,27 +202,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
232
202
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-pages-page-id-properties-post
|
|
233
203
|
* @param params
|
|
234
204
|
*/
|
|
235
|
-
this.createPageProperty = ({ pageId, contentPropertyCreateRequest
|
|
236
|
-
return this.getClientInstance()
|
|
237
|
-
.request({
|
|
205
|
+
this.createPageProperty = ({ pageId, contentPropertyCreateRequest }) => {
|
|
206
|
+
return this.getClientInstance().request({
|
|
238
207
|
path: "/pages/{page-id}/properties",
|
|
239
208
|
method: "POST",
|
|
240
209
|
pathParams: {
|
|
241
|
-
"page-id": pageId
|
|
210
|
+
"page-id": pageId
|
|
242
211
|
},
|
|
243
212
|
headers: {
|
|
244
|
-
"Content-Type": "application/json"
|
|
213
|
+
"Content-Type": "application/json"
|
|
245
214
|
},
|
|
246
|
-
body: contentPropertyCreateRequest
|
|
247
|
-
})
|
|
248
|
-
.then(this.getClientInstance().responseHandler({
|
|
215
|
+
body: contentPropertyCreateRequest
|
|
216
|
+
}).then(this.getClientInstance().responseHandler({
|
|
249
217
|
200: {
|
|
250
|
-
"application/json": "json"
|
|
251
|
-
}
|
|
252
|
-
}))
|
|
253
|
-
.then(commonHttpClient.castResponse())
|
|
254
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createPageProperty.response")))
|
|
255
|
-
.then(commonHttpClient.getBody);
|
|
218
|
+
"application/json": "json"
|
|
219
|
+
}
|
|
220
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createPageProperty.response"))).then(commonHttpClient.getBody);
|
|
256
221
|
};
|
|
257
222
|
/**
|
|
258
223
|
* Creates a new content property for a Smart Link in the content tree.
|
|
@@ -266,27 +231,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
266
231
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-embeds-id-properties-post
|
|
267
232
|
* @param params
|
|
268
233
|
*/
|
|
269
|
-
this.createSmartLinkProperty = ({ id, contentPropertyCreateRequest
|
|
270
|
-
return this.getClientInstance()
|
|
271
|
-
.request({
|
|
234
|
+
this.createSmartLinkProperty = ({ id, contentPropertyCreateRequest }) => {
|
|
235
|
+
return this.getClientInstance().request({
|
|
272
236
|
path: "/embeds/{id}/properties",
|
|
273
237
|
method: "POST",
|
|
274
238
|
pathParams: {
|
|
275
|
-
id
|
|
239
|
+
id
|
|
276
240
|
},
|
|
277
241
|
headers: {
|
|
278
|
-
"Content-Type": "application/json"
|
|
242
|
+
"Content-Type": "application/json"
|
|
279
243
|
},
|
|
280
|
-
body: contentPropertyCreateRequest
|
|
281
|
-
})
|
|
282
|
-
.then(this.getClientInstance().responseHandler({
|
|
244
|
+
body: contentPropertyCreateRequest
|
|
245
|
+
}).then(this.getClientInstance().responseHandler({
|
|
283
246
|
200: {
|
|
284
|
-
"application/json": "json"
|
|
285
|
-
}
|
|
286
|
-
}))
|
|
287
|
-
.then(commonHttpClient.castResponse())
|
|
288
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createSmartLinkProperty.response")))
|
|
289
|
-
.then(commonHttpClient.getBody);
|
|
247
|
+
"application/json": "json"
|
|
248
|
+
}
|
|
249
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createSmartLinkProperty.response"))).then(commonHttpClient.getBody);
|
|
290
250
|
};
|
|
291
251
|
/**
|
|
292
252
|
* Creates a new content property for a whiteboard.
|
|
@@ -300,27 +260,22 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
300
260
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-whiteboards-id-properties-post
|
|
301
261
|
* @param params
|
|
302
262
|
*/
|
|
303
|
-
this.createWhiteboardProperty = ({ id, contentPropertyCreateRequest
|
|
304
|
-
return this.getClientInstance()
|
|
305
|
-
.request({
|
|
263
|
+
this.createWhiteboardProperty = ({ id, contentPropertyCreateRequest }) => {
|
|
264
|
+
return this.getClientInstance().request({
|
|
306
265
|
path: "/whiteboards/{id}/properties",
|
|
307
266
|
method: "POST",
|
|
308
267
|
pathParams: {
|
|
309
|
-
id
|
|
268
|
+
id
|
|
310
269
|
},
|
|
311
270
|
headers: {
|
|
312
|
-
"Content-Type": "application/json"
|
|
271
|
+
"Content-Type": "application/json"
|
|
313
272
|
},
|
|
314
|
-
body: contentPropertyCreateRequest
|
|
315
|
-
})
|
|
316
|
-
.then(this.getClientInstance().responseHandler({
|
|
273
|
+
body: contentPropertyCreateRequest
|
|
274
|
+
}).then(this.getClientInstance().responseHandler({
|
|
317
275
|
200: {
|
|
318
|
-
"application/json": "json"
|
|
319
|
-
}
|
|
320
|
-
}))
|
|
321
|
-
.then(commonHttpClient.castResponse())
|
|
322
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createWhiteboardProperty.response")))
|
|
323
|
-
.then(commonHttpClient.getBody);
|
|
276
|
+
"application/json": "json"
|
|
277
|
+
}
|
|
278
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.createWhiteboardProperty.response"))).then(commonHttpClient.getBody);
|
|
324
279
|
};
|
|
325
280
|
/**
|
|
326
281
|
* Deletes a content property for an attachment by its id.
|
|
@@ -333,17 +288,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
333
288
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-attachments-attachment-id-properties-property-id-delete
|
|
334
289
|
* @param params
|
|
335
290
|
*/
|
|
336
|
-
this.deleteAttachmentPropertyById = ({ attachmentId, propertyId
|
|
337
|
-
return this.getClientInstance()
|
|
338
|
-
.request({
|
|
291
|
+
this.deleteAttachmentPropertyById = ({ attachmentId, propertyId }) => {
|
|
292
|
+
return this.getClientInstance().request({
|
|
339
293
|
path: "/attachments/{attachment-id}/properties/{property-id}",
|
|
340
294
|
method: "DELETE",
|
|
341
295
|
pathParams: {
|
|
342
296
|
"attachment-id": attachmentId,
|
|
343
|
-
"property-id": propertyId
|
|
344
|
-
}
|
|
345
|
-
})
|
|
346
|
-
.then(commonHttpClient.discardResult);
|
|
297
|
+
"property-id": propertyId
|
|
298
|
+
}
|
|
299
|
+
}).then(commonHttpClient.discardResult);
|
|
347
300
|
};
|
|
348
301
|
/**
|
|
349
302
|
* Deletes a content property for a blogpost by its id.
|
|
@@ -356,17 +309,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
356
309
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-blogposts-blogpost-id-properties-property-id-delete
|
|
357
310
|
* @param params
|
|
358
311
|
*/
|
|
359
|
-
this.deleteBlogpostPropertyById = ({ blogpostId, propertyId
|
|
360
|
-
return this.getClientInstance()
|
|
361
|
-
.request({
|
|
312
|
+
this.deleteBlogpostPropertyById = ({ blogpostId, propertyId }) => {
|
|
313
|
+
return this.getClientInstance().request({
|
|
362
314
|
path: "/blogposts/{blogpost-id}/properties/{property-id}",
|
|
363
315
|
method: "DELETE",
|
|
364
316
|
pathParams: {
|
|
365
317
|
"blogpost-id": blogpostId,
|
|
366
|
-
"property-id": propertyId
|
|
367
|
-
}
|
|
368
|
-
})
|
|
369
|
-
.then(commonHttpClient.discardResult);
|
|
318
|
+
"property-id": propertyId
|
|
319
|
+
}
|
|
320
|
+
}).then(commonHttpClient.discardResult);
|
|
370
321
|
};
|
|
371
322
|
/**
|
|
372
323
|
* Deletes a content property for a comment by its id.
|
|
@@ -379,17 +330,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
379
330
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-comments-comment-id-properties-property-id-delete
|
|
380
331
|
* @param params
|
|
381
332
|
*/
|
|
382
|
-
this.deleteCommentPropertyById = ({ commentId, propertyId
|
|
383
|
-
return this.getClientInstance()
|
|
384
|
-
.request({
|
|
333
|
+
this.deleteCommentPropertyById = ({ commentId, propertyId }) => {
|
|
334
|
+
return this.getClientInstance().request({
|
|
385
335
|
path: "/comments/{comment-id}/properties/{property-id}",
|
|
386
336
|
method: "DELETE",
|
|
387
337
|
pathParams: {
|
|
388
338
|
"comment-id": commentId,
|
|
389
|
-
"property-id": propertyId
|
|
390
|
-
}
|
|
391
|
-
})
|
|
392
|
-
.then(commonHttpClient.discardResult);
|
|
339
|
+
"property-id": propertyId
|
|
340
|
+
}
|
|
341
|
+
}).then(commonHttpClient.discardResult);
|
|
393
342
|
};
|
|
394
343
|
/**
|
|
395
344
|
* Deletes a content property for a piece of custom content by its id.
|
|
@@ -402,17 +351,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
402
351
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-custom-content-custom-content-id-properties-property-id-delete
|
|
403
352
|
* @param params
|
|
404
353
|
*/
|
|
405
|
-
this.deleteCustomContentPropertyById = ({ customContentId, propertyId
|
|
406
|
-
return this.getClientInstance()
|
|
407
|
-
.request({
|
|
354
|
+
this.deleteCustomContentPropertyById = ({ customContentId, propertyId }) => {
|
|
355
|
+
return this.getClientInstance().request({
|
|
408
356
|
path: "/custom-content/{custom-content-id}/properties/{property-id}",
|
|
409
357
|
method: "DELETE",
|
|
410
358
|
pathParams: {
|
|
411
359
|
"custom-content-id": customContentId,
|
|
412
|
-
"property-id": propertyId
|
|
413
|
-
}
|
|
414
|
-
})
|
|
415
|
-
.then(commonHttpClient.discardResult);
|
|
360
|
+
"property-id": propertyId
|
|
361
|
+
}
|
|
362
|
+
}).then(commonHttpClient.discardResult);
|
|
416
363
|
};
|
|
417
364
|
/**
|
|
418
365
|
* Deletes a content property for a database by its id.
|
|
@@ -425,17 +372,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
425
372
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-databases-database-id-properties-property-id-delete
|
|
426
373
|
* @param params
|
|
427
374
|
*/
|
|
428
|
-
this.deleteDatabasePropertyById = ({ databaseId, propertyId
|
|
429
|
-
return this.getClientInstance()
|
|
430
|
-
.request({
|
|
375
|
+
this.deleteDatabasePropertyById = ({ databaseId, propertyId }) => {
|
|
376
|
+
return this.getClientInstance().request({
|
|
431
377
|
path: "/databases/{database-id}/properties/{property-id}",
|
|
432
378
|
method: "DELETE",
|
|
433
379
|
pathParams: {
|
|
434
380
|
"database-id": databaseId,
|
|
435
|
-
"property-id": propertyId
|
|
436
|
-
}
|
|
437
|
-
})
|
|
438
|
-
.then(commonHttpClient.discardResult);
|
|
381
|
+
"property-id": propertyId
|
|
382
|
+
}
|
|
383
|
+
}).then(commonHttpClient.discardResult);
|
|
439
384
|
};
|
|
440
385
|
/**
|
|
441
386
|
* Deletes a content property for a folder by its id.
|
|
@@ -448,17 +393,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
448
393
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-folders-folder-id-properties-property-id-delete
|
|
449
394
|
* @param params
|
|
450
395
|
*/
|
|
451
|
-
this.deleteFolderPropertyById = ({ folderId, propertyId
|
|
452
|
-
return this.getClientInstance()
|
|
453
|
-
.request({
|
|
396
|
+
this.deleteFolderPropertyById = ({ folderId, propertyId }) => {
|
|
397
|
+
return this.getClientInstance().request({
|
|
454
398
|
path: "/folders/{folder-id}/properties/{property-id}",
|
|
455
399
|
method: "DELETE",
|
|
456
400
|
pathParams: {
|
|
457
401
|
"folder-id": folderId,
|
|
458
|
-
"property-id": propertyId
|
|
459
|
-
}
|
|
460
|
-
})
|
|
461
|
-
.then(commonHttpClient.discardResult);
|
|
402
|
+
"property-id": propertyId
|
|
403
|
+
}
|
|
404
|
+
}).then(commonHttpClient.discardResult);
|
|
462
405
|
};
|
|
463
406
|
/**
|
|
464
407
|
* Deletes a content property for a page by its id.
|
|
@@ -471,17 +414,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
471
414
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-pages-page-id-properties-property-id-delete
|
|
472
415
|
* @param params
|
|
473
416
|
*/
|
|
474
|
-
this.deletePagePropertyById = ({ pageId, propertyId
|
|
475
|
-
return this.getClientInstance()
|
|
476
|
-
.request({
|
|
417
|
+
this.deletePagePropertyById = ({ pageId, propertyId }) => {
|
|
418
|
+
return this.getClientInstance().request({
|
|
477
419
|
path: "/pages/{page-id}/properties/{property-id}",
|
|
478
420
|
method: "DELETE",
|
|
479
421
|
pathParams: {
|
|
480
422
|
"page-id": pageId,
|
|
481
|
-
"property-id": propertyId
|
|
482
|
-
}
|
|
483
|
-
})
|
|
484
|
-
.then(commonHttpClient.discardResult);
|
|
423
|
+
"property-id": propertyId
|
|
424
|
+
}
|
|
425
|
+
}).then(commonHttpClient.discardResult);
|
|
485
426
|
};
|
|
486
427
|
/**
|
|
487
428
|
* Deletes a content property for a Smart Link in the content tree by its id.
|
|
@@ -494,17 +435,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
494
435
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-embeds-embed-id-properties-property-id-delete
|
|
495
436
|
* @param params
|
|
496
437
|
*/
|
|
497
|
-
this.deleteSmartLinkPropertyById = ({ embedId, propertyId
|
|
498
|
-
return this.getClientInstance()
|
|
499
|
-
.request({
|
|
438
|
+
this.deleteSmartLinkPropertyById = ({ embedId, propertyId }) => {
|
|
439
|
+
return this.getClientInstance().request({
|
|
500
440
|
path: "/embeds/{embed-id}/properties/{property-id}",
|
|
501
441
|
method: "DELETE",
|
|
502
442
|
pathParams: {
|
|
503
443
|
"embed-id": embedId,
|
|
504
|
-
"property-id": propertyId
|
|
505
|
-
}
|
|
506
|
-
})
|
|
507
|
-
.then(commonHttpClient.discardResult);
|
|
444
|
+
"property-id": propertyId
|
|
445
|
+
}
|
|
446
|
+
}).then(commonHttpClient.discardResult);
|
|
508
447
|
};
|
|
509
448
|
/**
|
|
510
449
|
* Deletes a content property for a whiteboard by its id.
|
|
@@ -517,17 +456,15 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
517
456
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-whiteboards-whiteboard-id-properties-property-id-delete
|
|
518
457
|
* @param params
|
|
519
458
|
*/
|
|
520
|
-
this.deleteWhiteboardPropertyById = ({ whiteboardId, propertyId
|
|
521
|
-
return this.getClientInstance()
|
|
522
|
-
.request({
|
|
459
|
+
this.deleteWhiteboardPropertyById = ({ whiteboardId, propertyId }) => {
|
|
460
|
+
return this.getClientInstance().request({
|
|
523
461
|
path: "/whiteboards/{whiteboard-id}/properties/{property-id}",
|
|
524
462
|
method: "DELETE",
|
|
525
463
|
pathParams: {
|
|
526
464
|
"whiteboard-id": whiteboardId,
|
|
527
|
-
"property-id": propertyId
|
|
528
|
-
}
|
|
529
|
-
})
|
|
530
|
-
.then(commonHttpClient.discardResult);
|
|
465
|
+
"property-id": propertyId
|
|
466
|
+
}
|
|
467
|
+
}).then(commonHttpClient.discardResult);
|
|
531
468
|
};
|
|
532
469
|
/**
|
|
533
470
|
* Retrieves all Content Properties tied to a specified attachment.
|
|
@@ -541,29 +478,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
541
478
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-attachments-attachment-id-properties-get
|
|
542
479
|
* @param params
|
|
543
480
|
*/
|
|
544
|
-
this.getAttachmentContentProperties = ({ attachmentId, key, sort, cursor, limit
|
|
545
|
-
return this.getClientInstance()
|
|
546
|
-
.request({
|
|
481
|
+
this.getAttachmentContentProperties = ({ attachmentId, key, sort, cursor, limit }) => {
|
|
482
|
+
return this.getClientInstance().request({
|
|
547
483
|
path: "/attachments/{attachment-id}/properties",
|
|
548
484
|
method: "GET",
|
|
549
485
|
pathParams: {
|
|
550
|
-
"attachment-id": attachmentId
|
|
486
|
+
"attachment-id": attachmentId
|
|
551
487
|
},
|
|
552
488
|
query: {
|
|
553
489
|
key,
|
|
554
490
|
sort,
|
|
555
491
|
cursor,
|
|
556
|
-
limit
|
|
557
|
-
}
|
|
558
|
-
})
|
|
559
|
-
.then(this.getClientInstance().responseHandler({
|
|
492
|
+
limit
|
|
493
|
+
}
|
|
494
|
+
}).then(this.getClientInstance().responseHandler({
|
|
560
495
|
200: {
|
|
561
|
-
"application/json": "json"
|
|
562
|
-
}
|
|
563
|
-
}))
|
|
564
|
-
.then(commonHttpClient.castResponse())
|
|
565
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getAttachmentContentProperties.response")))
|
|
566
|
-
.then(commonHttpClient.getBody);
|
|
496
|
+
"application/json": "json"
|
|
497
|
+
}
|
|
498
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getAttachmentContentProperties.response"))).then(commonHttpClient.getBody);
|
|
567
499
|
};
|
|
568
500
|
/**
|
|
569
501
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -578,24 +510,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
578
510
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-attachments-attachment-id-properties-property-id-get
|
|
579
511
|
* @param params
|
|
580
512
|
*/
|
|
581
|
-
this.getAttachmentContentPropertiesById = ({ attachmentId, propertyId
|
|
582
|
-
return this.getClientInstance()
|
|
583
|
-
.request({
|
|
513
|
+
this.getAttachmentContentPropertiesById = ({ attachmentId, propertyId }) => {
|
|
514
|
+
return this.getClientInstance().request({
|
|
584
515
|
path: "/attachments/{attachment-id}/properties/{property-id}",
|
|
585
516
|
method: "GET",
|
|
586
517
|
pathParams: {
|
|
587
518
|
"attachment-id": attachmentId,
|
|
588
|
-
"property-id": propertyId
|
|
589
|
-
}
|
|
590
|
-
})
|
|
591
|
-
.then(this.getClientInstance().responseHandler({
|
|
519
|
+
"property-id": propertyId
|
|
520
|
+
}
|
|
521
|
+
}).then(this.getClientInstance().responseHandler({
|
|
592
522
|
200: {
|
|
593
|
-
"application/json": "json"
|
|
594
|
-
}
|
|
595
|
-
}))
|
|
596
|
-
.then(commonHttpClient.castResponse())
|
|
597
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getAttachmentContentPropertiesById.response")))
|
|
598
|
-
.then(commonHttpClient.getBody);
|
|
523
|
+
"application/json": "json"
|
|
524
|
+
}
|
|
525
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getAttachmentContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
599
526
|
};
|
|
600
527
|
/**
|
|
601
528
|
* Retrieves all Content Properties tied to a specified blog post.
|
|
@@ -609,29 +536,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
609
536
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-blogposts-blogpost-id-properties-get
|
|
610
537
|
* @param params
|
|
611
538
|
*/
|
|
612
|
-
this.getBlogpostContentProperties = ({ blogpostId, key, sort, cursor, limit
|
|
613
|
-
return this.getClientInstance()
|
|
614
|
-
.request({
|
|
539
|
+
this.getBlogpostContentProperties = ({ blogpostId, key, sort, cursor, limit }) => {
|
|
540
|
+
return this.getClientInstance().request({
|
|
615
541
|
path: "/blogposts/{blogpost-id}/properties",
|
|
616
542
|
method: "GET",
|
|
617
543
|
pathParams: {
|
|
618
|
-
"blogpost-id": blogpostId
|
|
544
|
+
"blogpost-id": blogpostId
|
|
619
545
|
},
|
|
620
546
|
query: {
|
|
621
547
|
key,
|
|
622
548
|
sort,
|
|
623
549
|
cursor,
|
|
624
|
-
limit
|
|
625
|
-
}
|
|
626
|
-
})
|
|
627
|
-
.then(this.getClientInstance().responseHandler({
|
|
550
|
+
limit
|
|
551
|
+
}
|
|
552
|
+
}).then(this.getClientInstance().responseHandler({
|
|
628
553
|
200: {
|
|
629
|
-
"application/json": "json"
|
|
630
|
-
}
|
|
631
|
-
}))
|
|
632
|
-
.then(commonHttpClient.castResponse())
|
|
633
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getBlogpostContentProperties.response")))
|
|
634
|
-
.then(commonHttpClient.getBody);
|
|
554
|
+
"application/json": "json"
|
|
555
|
+
}
|
|
556
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getBlogpostContentProperties.response"))).then(commonHttpClient.getBody);
|
|
635
557
|
};
|
|
636
558
|
/**
|
|
637
559
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -646,24 +568,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
646
568
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-blogposts-blogpost-id-properties-property-id-get
|
|
647
569
|
* @param params
|
|
648
570
|
*/
|
|
649
|
-
this.getBlogpostContentPropertiesById = ({ blogpostId, propertyId
|
|
650
|
-
return this.getClientInstance()
|
|
651
|
-
.request({
|
|
571
|
+
this.getBlogpostContentPropertiesById = ({ blogpostId, propertyId }) => {
|
|
572
|
+
return this.getClientInstance().request({
|
|
652
573
|
path: "/blogposts/{blogpost-id}/properties/{property-id}",
|
|
653
574
|
method: "GET",
|
|
654
575
|
pathParams: {
|
|
655
576
|
"blogpost-id": blogpostId,
|
|
656
|
-
"property-id": propertyId
|
|
657
|
-
}
|
|
658
|
-
})
|
|
659
|
-
.then(this.getClientInstance().responseHandler({
|
|
577
|
+
"property-id": propertyId
|
|
578
|
+
}
|
|
579
|
+
}).then(this.getClientInstance().responseHandler({
|
|
660
580
|
200: {
|
|
661
|
-
"application/json": "json"
|
|
662
|
-
}
|
|
663
|
-
}))
|
|
664
|
-
.then(commonHttpClient.castResponse())
|
|
665
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getBlogpostContentPropertiesById.response")))
|
|
666
|
-
.then(commonHttpClient.getBody);
|
|
581
|
+
"application/json": "json"
|
|
582
|
+
}
|
|
583
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getBlogpostContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
667
584
|
};
|
|
668
585
|
/**
|
|
669
586
|
* Retrieves Content Properties attached to a specified comment.
|
|
@@ -677,29 +594,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
677
594
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-comments-comment-id-properties-get
|
|
678
595
|
* @param params
|
|
679
596
|
*/
|
|
680
|
-
this.getCommentContentProperties = ({ commentId, key, sort, cursor, limit
|
|
681
|
-
return this.getClientInstance()
|
|
682
|
-
.request({
|
|
597
|
+
this.getCommentContentProperties = ({ commentId, key, sort, cursor, limit }) => {
|
|
598
|
+
return this.getClientInstance().request({
|
|
683
599
|
path: "/comments/{comment-id}/properties",
|
|
684
600
|
method: "GET",
|
|
685
601
|
pathParams: {
|
|
686
|
-
"comment-id": commentId
|
|
602
|
+
"comment-id": commentId
|
|
687
603
|
},
|
|
688
604
|
query: {
|
|
689
605
|
key,
|
|
690
606
|
sort,
|
|
691
607
|
cursor,
|
|
692
|
-
limit
|
|
693
|
-
}
|
|
694
|
-
})
|
|
695
|
-
.then(this.getClientInstance().responseHandler({
|
|
608
|
+
limit
|
|
609
|
+
}
|
|
610
|
+
}).then(this.getClientInstance().responseHandler({
|
|
696
611
|
200: {
|
|
697
|
-
"application/json": "json"
|
|
698
|
-
}
|
|
699
|
-
}))
|
|
700
|
-
.then(commonHttpClient.castResponse())
|
|
701
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCommentContentProperties.response")))
|
|
702
|
-
.then(commonHttpClient.getBody);
|
|
612
|
+
"application/json": "json"
|
|
613
|
+
}
|
|
614
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCommentContentProperties.response"))).then(commonHttpClient.getBody);
|
|
703
615
|
};
|
|
704
616
|
/**
|
|
705
617
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -714,24 +626,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
714
626
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-comments-comment-id-properties-property-id-get
|
|
715
627
|
* @param params
|
|
716
628
|
*/
|
|
717
|
-
this.getCommentContentPropertiesById = ({ commentId, propertyId
|
|
718
|
-
return this.getClientInstance()
|
|
719
|
-
.request({
|
|
629
|
+
this.getCommentContentPropertiesById = ({ commentId, propertyId }) => {
|
|
630
|
+
return this.getClientInstance().request({
|
|
720
631
|
path: "/comments/{comment-id}/properties/{property-id}",
|
|
721
632
|
method: "GET",
|
|
722
633
|
pathParams: {
|
|
723
634
|
"comment-id": commentId,
|
|
724
|
-
"property-id": propertyId
|
|
725
|
-
}
|
|
726
|
-
})
|
|
727
|
-
.then(this.getClientInstance().responseHandler({
|
|
635
|
+
"property-id": propertyId
|
|
636
|
+
}
|
|
637
|
+
}).then(this.getClientInstance().responseHandler({
|
|
728
638
|
200: {
|
|
729
|
-
"application/json": "json"
|
|
730
|
-
}
|
|
731
|
-
}))
|
|
732
|
-
.then(commonHttpClient.castResponse())
|
|
733
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCommentContentPropertiesById.response")))
|
|
734
|
-
.then(commonHttpClient.getBody);
|
|
639
|
+
"application/json": "json"
|
|
640
|
+
}
|
|
641
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCommentContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
735
642
|
};
|
|
736
643
|
/**
|
|
737
644
|
* Retrieves Content Properties tied to a specified custom content.
|
|
@@ -745,29 +652,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
745
652
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-custom-content-custom-content-id-properties-get
|
|
746
653
|
* @param params
|
|
747
654
|
*/
|
|
748
|
-
this.getCustomContentContentProperties = ({ customContentId, key, sort, cursor, limit
|
|
749
|
-
return this.getClientInstance()
|
|
750
|
-
.request({
|
|
655
|
+
this.getCustomContentContentProperties = ({ customContentId, key, sort, cursor, limit }) => {
|
|
656
|
+
return this.getClientInstance().request({
|
|
751
657
|
path: "/custom-content/{custom-content-id}/properties",
|
|
752
658
|
method: "GET",
|
|
753
659
|
pathParams: {
|
|
754
|
-
"custom-content-id": customContentId
|
|
660
|
+
"custom-content-id": customContentId
|
|
755
661
|
},
|
|
756
662
|
query: {
|
|
757
663
|
key,
|
|
758
664
|
sort,
|
|
759
665
|
cursor,
|
|
760
|
-
limit
|
|
761
|
-
}
|
|
762
|
-
})
|
|
763
|
-
.then(this.getClientInstance().responseHandler({
|
|
666
|
+
limit
|
|
667
|
+
}
|
|
668
|
+
}).then(this.getClientInstance().responseHandler({
|
|
764
669
|
200: {
|
|
765
|
-
"application/json": "json"
|
|
766
|
-
}
|
|
767
|
-
}))
|
|
768
|
-
.then(commonHttpClient.castResponse())
|
|
769
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCustomContentContentProperties.response")))
|
|
770
|
-
.then(commonHttpClient.getBody);
|
|
670
|
+
"application/json": "json"
|
|
671
|
+
}
|
|
672
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCustomContentContentProperties.response"))).then(commonHttpClient.getBody);
|
|
771
673
|
};
|
|
772
674
|
/**
|
|
773
675
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -782,24 +684,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
782
684
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-custom-content-custom-content-id-properties-property-id-get
|
|
783
685
|
* @param params
|
|
784
686
|
*/
|
|
785
|
-
this.getCustomContentContentPropertiesById = ({ customContentId, propertyId
|
|
786
|
-
return this.getClientInstance()
|
|
787
|
-
.request({
|
|
687
|
+
this.getCustomContentContentPropertiesById = ({ customContentId, propertyId }) => {
|
|
688
|
+
return this.getClientInstance().request({
|
|
788
689
|
path: "/custom-content/{custom-content-id}/properties/{property-id}",
|
|
789
690
|
method: "GET",
|
|
790
691
|
pathParams: {
|
|
791
692
|
"custom-content-id": customContentId,
|
|
792
|
-
"property-id": propertyId
|
|
793
|
-
}
|
|
794
|
-
})
|
|
795
|
-
.then(this.getClientInstance().responseHandler({
|
|
693
|
+
"property-id": propertyId
|
|
694
|
+
}
|
|
695
|
+
}).then(this.getClientInstance().responseHandler({
|
|
796
696
|
200: {
|
|
797
|
-
"application/json": "json"
|
|
798
|
-
}
|
|
799
|
-
}))
|
|
800
|
-
.then(commonHttpClient.castResponse())
|
|
801
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCustomContentContentPropertiesById.response")))
|
|
802
|
-
.then(commonHttpClient.getBody);
|
|
697
|
+
"application/json": "json"
|
|
698
|
+
}
|
|
699
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getCustomContentContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
803
700
|
};
|
|
804
701
|
/**
|
|
805
702
|
* Retrieves Content Properties tied to a specified database.
|
|
@@ -813,29 +710,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
813
710
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-databases-id-properties-get
|
|
814
711
|
* @param params
|
|
815
712
|
*/
|
|
816
|
-
this.getDatabaseContentProperties = ({ id, key, sort, cursor, limit
|
|
817
|
-
return this.getClientInstance()
|
|
818
|
-
.request({
|
|
713
|
+
this.getDatabaseContentProperties = ({ id, key, sort, cursor, limit }) => {
|
|
714
|
+
return this.getClientInstance().request({
|
|
819
715
|
path: "/databases/{id}/properties",
|
|
820
716
|
method: "GET",
|
|
821
717
|
pathParams: {
|
|
822
|
-
id
|
|
718
|
+
id
|
|
823
719
|
},
|
|
824
720
|
query: {
|
|
825
721
|
key,
|
|
826
722
|
sort,
|
|
827
723
|
cursor,
|
|
828
|
-
limit
|
|
829
|
-
}
|
|
830
|
-
})
|
|
831
|
-
.then(this.getClientInstance().responseHandler({
|
|
724
|
+
limit
|
|
725
|
+
}
|
|
726
|
+
}).then(this.getClientInstance().responseHandler({
|
|
832
727
|
200: {
|
|
833
|
-
"application/json": "json"
|
|
834
|
-
}
|
|
835
|
-
}))
|
|
836
|
-
.then(commonHttpClient.castResponse())
|
|
837
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getDatabaseContentProperties.response")))
|
|
838
|
-
.then(commonHttpClient.getBody);
|
|
728
|
+
"application/json": "json"
|
|
729
|
+
}
|
|
730
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getDatabaseContentProperties.response"))).then(commonHttpClient.getBody);
|
|
839
731
|
};
|
|
840
732
|
/**
|
|
841
733
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -850,24 +742,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
850
742
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-databases-database-id-properties-property-id-get
|
|
851
743
|
* @param params
|
|
852
744
|
*/
|
|
853
|
-
this.getDatabaseContentPropertiesById = ({ databaseId, propertyId
|
|
854
|
-
return this.getClientInstance()
|
|
855
|
-
.request({
|
|
745
|
+
this.getDatabaseContentPropertiesById = ({ databaseId, propertyId }) => {
|
|
746
|
+
return this.getClientInstance().request({
|
|
856
747
|
path: "/databases/{database-id}/properties/{property-id}",
|
|
857
748
|
method: "GET",
|
|
858
749
|
pathParams: {
|
|
859
750
|
"database-id": databaseId,
|
|
860
|
-
"property-id": propertyId
|
|
861
|
-
}
|
|
862
|
-
})
|
|
863
|
-
.then(this.getClientInstance().responseHandler({
|
|
751
|
+
"property-id": propertyId
|
|
752
|
+
}
|
|
753
|
+
}).then(this.getClientInstance().responseHandler({
|
|
864
754
|
200: {
|
|
865
|
-
"application/json": "json"
|
|
866
|
-
}
|
|
867
|
-
}))
|
|
868
|
-
.then(commonHttpClient.castResponse())
|
|
869
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getDatabaseContentPropertiesById.response")))
|
|
870
|
-
.then(commonHttpClient.getBody);
|
|
755
|
+
"application/json": "json"
|
|
756
|
+
}
|
|
757
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getDatabaseContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
871
758
|
};
|
|
872
759
|
/**
|
|
873
760
|
* Retrieves Content Properties tied to a specified folder.
|
|
@@ -881,29 +768,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
881
768
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-folders-id-properties-get
|
|
882
769
|
* @param params
|
|
883
770
|
*/
|
|
884
|
-
this.getFolderContentProperties = ({ id, key, sort, cursor, limit
|
|
885
|
-
return this.getClientInstance()
|
|
886
|
-
.request({
|
|
771
|
+
this.getFolderContentProperties = ({ id, key, sort, cursor, limit }) => {
|
|
772
|
+
return this.getClientInstance().request({
|
|
887
773
|
path: "/folders/{id}/properties",
|
|
888
774
|
method: "GET",
|
|
889
775
|
pathParams: {
|
|
890
|
-
id
|
|
776
|
+
id
|
|
891
777
|
},
|
|
892
778
|
query: {
|
|
893
779
|
key,
|
|
894
780
|
sort,
|
|
895
781
|
cursor,
|
|
896
|
-
limit
|
|
897
|
-
}
|
|
898
|
-
})
|
|
899
|
-
.then(this.getClientInstance().responseHandler({
|
|
782
|
+
limit
|
|
783
|
+
}
|
|
784
|
+
}).then(this.getClientInstance().responseHandler({
|
|
900
785
|
200: {
|
|
901
|
-
"application/json": "json"
|
|
902
|
-
}
|
|
903
|
-
}))
|
|
904
|
-
.then(commonHttpClient.castResponse())
|
|
905
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getFolderContentProperties.response")))
|
|
906
|
-
.then(commonHttpClient.getBody);
|
|
786
|
+
"application/json": "json"
|
|
787
|
+
}
|
|
788
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getFolderContentProperties.response"))).then(commonHttpClient.getBody);
|
|
907
789
|
};
|
|
908
790
|
/**
|
|
909
791
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -918,24 +800,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
918
800
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-folders-folder-id-properties-property-id-get
|
|
919
801
|
* @param params
|
|
920
802
|
*/
|
|
921
|
-
this.getFolderContentPropertiesById = ({ folderId, propertyId
|
|
922
|
-
return this.getClientInstance()
|
|
923
|
-
.request({
|
|
803
|
+
this.getFolderContentPropertiesById = ({ folderId, propertyId }) => {
|
|
804
|
+
return this.getClientInstance().request({
|
|
924
805
|
path: "/folders/{folder-id}/properties/{property-id}",
|
|
925
806
|
method: "GET",
|
|
926
807
|
pathParams: {
|
|
927
808
|
"folder-id": folderId,
|
|
928
|
-
"property-id": propertyId
|
|
929
|
-
}
|
|
930
|
-
})
|
|
931
|
-
.then(this.getClientInstance().responseHandler({
|
|
809
|
+
"property-id": propertyId
|
|
810
|
+
}
|
|
811
|
+
}).then(this.getClientInstance().responseHandler({
|
|
932
812
|
200: {
|
|
933
|
-
"application/json": "json"
|
|
934
|
-
}
|
|
935
|
-
}))
|
|
936
|
-
.then(commonHttpClient.castResponse())
|
|
937
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getFolderContentPropertiesById.response")))
|
|
938
|
-
.then(commonHttpClient.getBody);
|
|
813
|
+
"application/json": "json"
|
|
814
|
+
}
|
|
815
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getFolderContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
939
816
|
};
|
|
940
817
|
/**
|
|
941
818
|
* Retrieves Content Properties tied to a specified page.
|
|
@@ -949,29 +826,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
949
826
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-pages-page-id-properties-get
|
|
950
827
|
* @param params
|
|
951
828
|
*/
|
|
952
|
-
this.getPageContentProperties = ({ pageId, key, sort, cursor, limit
|
|
953
|
-
return this.getClientInstance()
|
|
954
|
-
.request({
|
|
829
|
+
this.getPageContentProperties = ({ pageId, key, sort, cursor, limit }) => {
|
|
830
|
+
return this.getClientInstance().request({
|
|
955
831
|
path: "/pages/{page-id}/properties",
|
|
956
832
|
method: "GET",
|
|
957
833
|
pathParams: {
|
|
958
|
-
"page-id": pageId
|
|
834
|
+
"page-id": pageId
|
|
959
835
|
},
|
|
960
836
|
query: {
|
|
961
837
|
key,
|
|
962
838
|
sort,
|
|
963
839
|
cursor,
|
|
964
|
-
limit
|
|
965
|
-
}
|
|
966
|
-
})
|
|
967
|
-
.then(this.getClientInstance().responseHandler({
|
|
840
|
+
limit
|
|
841
|
+
}
|
|
842
|
+
}).then(this.getClientInstance().responseHandler({
|
|
968
843
|
200: {
|
|
969
|
-
"application/json": "json"
|
|
970
|
-
}
|
|
971
|
-
}))
|
|
972
|
-
.then(commonHttpClient.castResponse())
|
|
973
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getPageContentProperties.response")))
|
|
974
|
-
.then(commonHttpClient.getBody);
|
|
844
|
+
"application/json": "json"
|
|
845
|
+
}
|
|
846
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getPageContentProperties.response"))).then(commonHttpClient.getBody);
|
|
975
847
|
};
|
|
976
848
|
/**
|
|
977
849
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -986,24 +858,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
986
858
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-pages-page-id-properties-property-id-get
|
|
987
859
|
* @param params
|
|
988
860
|
*/
|
|
989
|
-
this.getPageContentPropertiesById = ({ pageId, propertyId
|
|
990
|
-
return this.getClientInstance()
|
|
991
|
-
.request({
|
|
861
|
+
this.getPageContentPropertiesById = ({ pageId, propertyId }) => {
|
|
862
|
+
return this.getClientInstance().request({
|
|
992
863
|
path: "/pages/{page-id}/properties/{property-id}",
|
|
993
864
|
method: "GET",
|
|
994
865
|
pathParams: {
|
|
995
866
|
"page-id": pageId,
|
|
996
|
-
"property-id": propertyId
|
|
997
|
-
}
|
|
998
|
-
})
|
|
999
|
-
.then(this.getClientInstance().responseHandler({
|
|
867
|
+
"property-id": propertyId
|
|
868
|
+
}
|
|
869
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1000
870
|
200: {
|
|
1001
|
-
"application/json": "json"
|
|
1002
|
-
}
|
|
1003
|
-
}))
|
|
1004
|
-
.then(commonHttpClient.castResponse())
|
|
1005
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getPageContentPropertiesById.response")))
|
|
1006
|
-
.then(commonHttpClient.getBody);
|
|
871
|
+
"application/json": "json"
|
|
872
|
+
}
|
|
873
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getPageContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
1007
874
|
};
|
|
1008
875
|
/**
|
|
1009
876
|
* Retrieves Content Properties tied to a specified Smart Link in the content tree.
|
|
@@ -1017,29 +884,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1017
884
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-embeds-id-properties-get
|
|
1018
885
|
* @param params
|
|
1019
886
|
*/
|
|
1020
|
-
this.getSmartLinkContentProperties = ({ id, key, sort, cursor, limit
|
|
1021
|
-
return this.getClientInstance()
|
|
1022
|
-
.request({
|
|
887
|
+
this.getSmartLinkContentProperties = ({ id, key, sort, cursor, limit }) => {
|
|
888
|
+
return this.getClientInstance().request({
|
|
1023
889
|
path: "/embeds/{id}/properties",
|
|
1024
890
|
method: "GET",
|
|
1025
891
|
pathParams: {
|
|
1026
|
-
id
|
|
892
|
+
id
|
|
1027
893
|
},
|
|
1028
894
|
query: {
|
|
1029
895
|
key,
|
|
1030
896
|
sort,
|
|
1031
897
|
cursor,
|
|
1032
|
-
limit
|
|
1033
|
-
}
|
|
1034
|
-
})
|
|
1035
|
-
.then(this.getClientInstance().responseHandler({
|
|
898
|
+
limit
|
|
899
|
+
}
|
|
900
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1036
901
|
200: {
|
|
1037
|
-
"application/json": "json"
|
|
1038
|
-
}
|
|
1039
|
-
}))
|
|
1040
|
-
.then(commonHttpClient.castResponse())
|
|
1041
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getSmartLinkContentProperties.response")))
|
|
1042
|
-
.then(commonHttpClient.getBody);
|
|
902
|
+
"application/json": "json"
|
|
903
|
+
}
|
|
904
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getSmartLinkContentProperties.response"))).then(commonHttpClient.getBody);
|
|
1043
905
|
};
|
|
1044
906
|
/**
|
|
1045
907
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -1054,24 +916,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1054
916
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-embeds-embed-id-properties-property-id-get
|
|
1055
917
|
* @param params
|
|
1056
918
|
*/
|
|
1057
|
-
this.getSmartLinkContentPropertiesById = ({ embedId, propertyId
|
|
1058
|
-
return this.getClientInstance()
|
|
1059
|
-
.request({
|
|
919
|
+
this.getSmartLinkContentPropertiesById = ({ embedId, propertyId }) => {
|
|
920
|
+
return this.getClientInstance().request({
|
|
1060
921
|
path: "/embeds/{embed-id}/properties/{property-id}",
|
|
1061
922
|
method: "GET",
|
|
1062
923
|
pathParams: {
|
|
1063
924
|
"embed-id": embedId,
|
|
1064
|
-
"property-id": propertyId
|
|
1065
|
-
}
|
|
1066
|
-
})
|
|
1067
|
-
.then(this.getClientInstance().responseHandler({
|
|
925
|
+
"property-id": propertyId
|
|
926
|
+
}
|
|
927
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1068
928
|
200: {
|
|
1069
|
-
"application/json": "json"
|
|
1070
|
-
}
|
|
1071
|
-
}))
|
|
1072
|
-
.then(commonHttpClient.castResponse())
|
|
1073
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getSmartLinkContentPropertiesById.response")))
|
|
1074
|
-
.then(commonHttpClient.getBody);
|
|
929
|
+
"application/json": "json"
|
|
930
|
+
}
|
|
931
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getSmartLinkContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
1075
932
|
};
|
|
1076
933
|
/**
|
|
1077
934
|
* Retrieves Content Properties tied to a specified whiteboard.
|
|
@@ -1085,29 +942,24 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1085
942
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-whiteboards-id-properties-get
|
|
1086
943
|
* @param params
|
|
1087
944
|
*/
|
|
1088
|
-
this.getWhiteboardContentProperties = ({ id, key, sort, cursor, limit
|
|
1089
|
-
return this.getClientInstance()
|
|
1090
|
-
.request({
|
|
945
|
+
this.getWhiteboardContentProperties = ({ id, key, sort, cursor, limit }) => {
|
|
946
|
+
return this.getClientInstance().request({
|
|
1091
947
|
path: "/whiteboards/{id}/properties",
|
|
1092
948
|
method: "GET",
|
|
1093
949
|
pathParams: {
|
|
1094
|
-
id
|
|
950
|
+
id
|
|
1095
951
|
},
|
|
1096
952
|
query: {
|
|
1097
953
|
key,
|
|
1098
954
|
sort,
|
|
1099
955
|
cursor,
|
|
1100
|
-
limit
|
|
1101
|
-
}
|
|
1102
|
-
})
|
|
1103
|
-
.then(this.getClientInstance().responseHandler({
|
|
956
|
+
limit
|
|
957
|
+
}
|
|
958
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1104
959
|
200: {
|
|
1105
|
-
"application/json": "json"
|
|
1106
|
-
}
|
|
1107
|
-
}))
|
|
1108
|
-
.then(commonHttpClient.castResponse())
|
|
1109
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getWhiteboardContentProperties.response")))
|
|
1110
|
-
.then(commonHttpClient.getBody);
|
|
960
|
+
"application/json": "json"
|
|
961
|
+
}
|
|
962
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getWhiteboardContentProperties.response"))).then(commonHttpClient.getBody);
|
|
1111
963
|
};
|
|
1112
964
|
/**
|
|
1113
965
|
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
@@ -1122,24 +974,19 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1122
974
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-whiteboards-whiteboard-id-properties-property-id-get
|
|
1123
975
|
* @param params
|
|
1124
976
|
*/
|
|
1125
|
-
this.getWhiteboardContentPropertiesById = ({ whiteboardId, propertyId
|
|
1126
|
-
return this.getClientInstance()
|
|
1127
|
-
.request({
|
|
977
|
+
this.getWhiteboardContentPropertiesById = ({ whiteboardId, propertyId }) => {
|
|
978
|
+
return this.getClientInstance().request({
|
|
1128
979
|
path: "/whiteboards/{whiteboard-id}/properties/{property-id}",
|
|
1129
980
|
method: "GET",
|
|
1130
981
|
pathParams: {
|
|
1131
982
|
"whiteboard-id": whiteboardId,
|
|
1132
|
-
"property-id": propertyId
|
|
1133
|
-
}
|
|
1134
|
-
})
|
|
1135
|
-
.then(this.getClientInstance().responseHandler({
|
|
983
|
+
"property-id": propertyId
|
|
984
|
+
}
|
|
985
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1136
986
|
200: {
|
|
1137
|
-
"application/json": "json"
|
|
1138
|
-
}
|
|
1139
|
-
}))
|
|
1140
|
-
.then(commonHttpClient.castResponse())
|
|
1141
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getWhiteboardContentPropertiesById.response")))
|
|
1142
|
-
.then(commonHttpClient.getBody);
|
|
987
|
+
"application/json": "json"
|
|
988
|
+
}
|
|
989
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.getWhiteboardContentPropertiesById.response"))).then(commonHttpClient.getBody);
|
|
1143
990
|
};
|
|
1144
991
|
/**
|
|
1145
992
|
* Update a content property for attachment by its id.
|
|
@@ -1153,28 +1000,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1153
1000
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-attachments-attachment-id-properties-property-id-put
|
|
1154
1001
|
* @param params
|
|
1155
1002
|
*/
|
|
1156
|
-
this.updateAttachmentPropertyById = ({ attachmentId, propertyId, contentPropertyUpdateRequest
|
|
1157
|
-
return this.getClientInstance()
|
|
1158
|
-
.request({
|
|
1003
|
+
this.updateAttachmentPropertyById = ({ attachmentId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1004
|
+
return this.getClientInstance().request({
|
|
1159
1005
|
path: "/attachments/{attachment-id}/properties/{property-id}",
|
|
1160
1006
|
method: "PUT",
|
|
1161
1007
|
pathParams: {
|
|
1162
1008
|
"attachment-id": attachmentId,
|
|
1163
|
-
"property-id": propertyId
|
|
1009
|
+
"property-id": propertyId
|
|
1164
1010
|
},
|
|
1165
1011
|
headers: {
|
|
1166
|
-
"Content-Type": "application/json"
|
|
1012
|
+
"Content-Type": "application/json"
|
|
1167
1013
|
},
|
|
1168
|
-
body: contentPropertyUpdateRequest
|
|
1169
|
-
})
|
|
1170
|
-
.then(this.getClientInstance().responseHandler({
|
|
1014
|
+
body: contentPropertyUpdateRequest
|
|
1015
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1171
1016
|
200: {
|
|
1172
|
-
"application/json": "json"
|
|
1173
|
-
}
|
|
1174
|
-
}))
|
|
1175
|
-
.then(commonHttpClient.castResponse())
|
|
1176
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateAttachmentPropertyById.response")))
|
|
1177
|
-
.then(commonHttpClient.getBody);
|
|
1017
|
+
"application/json": "json"
|
|
1018
|
+
}
|
|
1019
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateAttachmentPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1178
1020
|
};
|
|
1179
1021
|
/**
|
|
1180
1022
|
* Update a content property for blog post by its id.
|
|
@@ -1188,28 +1030,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1188
1030
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-blogposts-blogpost-id-properties-property-id-put
|
|
1189
1031
|
* @param params
|
|
1190
1032
|
*/
|
|
1191
|
-
this.updateBlogpostPropertyById = ({ blogpostId, propertyId, contentPropertyUpdateRequest
|
|
1192
|
-
return this.getClientInstance()
|
|
1193
|
-
.request({
|
|
1033
|
+
this.updateBlogpostPropertyById = ({ blogpostId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1034
|
+
return this.getClientInstance().request({
|
|
1194
1035
|
path: "/blogposts/{blogpost-id}/properties/{property-id}",
|
|
1195
1036
|
method: "PUT",
|
|
1196
1037
|
pathParams: {
|
|
1197
1038
|
"blogpost-id": blogpostId,
|
|
1198
|
-
"property-id": propertyId
|
|
1039
|
+
"property-id": propertyId
|
|
1199
1040
|
},
|
|
1200
1041
|
headers: {
|
|
1201
|
-
"Content-Type": "application/json"
|
|
1042
|
+
"Content-Type": "application/json"
|
|
1202
1043
|
},
|
|
1203
|
-
body: contentPropertyUpdateRequest
|
|
1204
|
-
})
|
|
1205
|
-
.then(this.getClientInstance().responseHandler({
|
|
1044
|
+
body: contentPropertyUpdateRequest
|
|
1045
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1206
1046
|
200: {
|
|
1207
|
-
"application/json": "json"
|
|
1208
|
-
}
|
|
1209
|
-
}))
|
|
1210
|
-
.then(commonHttpClient.castResponse())
|
|
1211
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateBlogpostPropertyById.response")))
|
|
1212
|
-
.then(commonHttpClient.getBody);
|
|
1047
|
+
"application/json": "json"
|
|
1048
|
+
}
|
|
1049
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateBlogpostPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1213
1050
|
};
|
|
1214
1051
|
/**
|
|
1215
1052
|
* Update a content property for a comment by its id.
|
|
@@ -1223,28 +1060,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1223
1060
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-comments-comment-id-properties-property-id-put
|
|
1224
1061
|
* @param params
|
|
1225
1062
|
*/
|
|
1226
|
-
this.updateCommentPropertyById = ({ commentId, propertyId, contentPropertyUpdateRequest
|
|
1227
|
-
return this.getClientInstance()
|
|
1228
|
-
.request({
|
|
1063
|
+
this.updateCommentPropertyById = ({ commentId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1064
|
+
return this.getClientInstance().request({
|
|
1229
1065
|
path: "/comments/{comment-id}/properties/{property-id}",
|
|
1230
1066
|
method: "PUT",
|
|
1231
1067
|
pathParams: {
|
|
1232
1068
|
"comment-id": commentId,
|
|
1233
|
-
"property-id": propertyId
|
|
1069
|
+
"property-id": propertyId
|
|
1234
1070
|
},
|
|
1235
1071
|
headers: {
|
|
1236
|
-
"Content-Type": "application/json"
|
|
1072
|
+
"Content-Type": "application/json"
|
|
1237
1073
|
},
|
|
1238
|
-
body: contentPropertyUpdateRequest
|
|
1239
|
-
})
|
|
1240
|
-
.then(this.getClientInstance().responseHandler({
|
|
1074
|
+
body: contentPropertyUpdateRequest
|
|
1075
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1241
1076
|
200: {
|
|
1242
|
-
"application/json": "json"
|
|
1243
|
-
}
|
|
1244
|
-
}))
|
|
1245
|
-
.then(commonHttpClient.castResponse())
|
|
1246
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateCommentPropertyById.response")))
|
|
1247
|
-
.then(commonHttpClient.getBody);
|
|
1077
|
+
"application/json": "json"
|
|
1078
|
+
}
|
|
1079
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateCommentPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1248
1080
|
};
|
|
1249
1081
|
/**
|
|
1250
1082
|
* Update a content property for a piece of custom content by its id.
|
|
@@ -1258,28 +1090,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1258
1090
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-custom-content-custom-content-id-properties-property-id-put
|
|
1259
1091
|
* @param params
|
|
1260
1092
|
*/
|
|
1261
|
-
this.updateCustomContentPropertyById = ({ customContentId, propertyId, contentPropertyUpdateRequest
|
|
1262
|
-
return this.getClientInstance()
|
|
1263
|
-
.request({
|
|
1093
|
+
this.updateCustomContentPropertyById = ({ customContentId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1094
|
+
return this.getClientInstance().request({
|
|
1264
1095
|
path: "/custom-content/{custom-content-id}/properties/{property-id}",
|
|
1265
1096
|
method: "PUT",
|
|
1266
1097
|
pathParams: {
|
|
1267
1098
|
"custom-content-id": customContentId,
|
|
1268
|
-
"property-id": propertyId
|
|
1099
|
+
"property-id": propertyId
|
|
1269
1100
|
},
|
|
1270
1101
|
headers: {
|
|
1271
|
-
"Content-Type": "application/json"
|
|
1102
|
+
"Content-Type": "application/json"
|
|
1272
1103
|
},
|
|
1273
|
-
body: contentPropertyUpdateRequest
|
|
1274
|
-
})
|
|
1275
|
-
.then(this.getClientInstance().responseHandler({
|
|
1104
|
+
body: contentPropertyUpdateRequest
|
|
1105
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1276
1106
|
200: {
|
|
1277
|
-
"application/json": "json"
|
|
1278
|
-
}
|
|
1279
|
-
}))
|
|
1280
|
-
.then(commonHttpClient.castResponse())
|
|
1281
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateCustomContentPropertyById.response")))
|
|
1282
|
-
.then(commonHttpClient.getBody);
|
|
1107
|
+
"application/json": "json"
|
|
1108
|
+
}
|
|
1109
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateCustomContentPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1283
1110
|
};
|
|
1284
1111
|
/**
|
|
1285
1112
|
* Update a content property for a database by its id.
|
|
@@ -1293,28 +1120,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1293
1120
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-databases-database-id-properties-property-id-put
|
|
1294
1121
|
* @param params
|
|
1295
1122
|
*/
|
|
1296
|
-
this.updateDatabasePropertyById = ({ databaseId, propertyId, contentPropertyUpdateRequest
|
|
1297
|
-
return this.getClientInstance()
|
|
1298
|
-
.request({
|
|
1123
|
+
this.updateDatabasePropertyById = ({ databaseId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1124
|
+
return this.getClientInstance().request({
|
|
1299
1125
|
path: "/databases/{database-id}/properties/{property-id}",
|
|
1300
1126
|
method: "PUT",
|
|
1301
1127
|
pathParams: {
|
|
1302
1128
|
"database-id": databaseId,
|
|
1303
|
-
"property-id": propertyId
|
|
1129
|
+
"property-id": propertyId
|
|
1304
1130
|
},
|
|
1305
1131
|
headers: {
|
|
1306
|
-
"Content-Type": "application/json"
|
|
1132
|
+
"Content-Type": "application/json"
|
|
1307
1133
|
},
|
|
1308
|
-
body: contentPropertyUpdateRequest
|
|
1309
|
-
})
|
|
1310
|
-
.then(this.getClientInstance().responseHandler({
|
|
1134
|
+
body: contentPropertyUpdateRequest
|
|
1135
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1311
1136
|
200: {
|
|
1312
|
-
"application/json": "json"
|
|
1313
|
-
}
|
|
1314
|
-
}))
|
|
1315
|
-
.then(commonHttpClient.castResponse())
|
|
1316
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateDatabasePropertyById.response")))
|
|
1317
|
-
.then(commonHttpClient.getBody);
|
|
1137
|
+
"application/json": "json"
|
|
1138
|
+
}
|
|
1139
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateDatabasePropertyById.response"))).then(commonHttpClient.getBody);
|
|
1318
1140
|
};
|
|
1319
1141
|
/**
|
|
1320
1142
|
* Update a content property for a folder by its id.
|
|
@@ -1328,28 +1150,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1328
1150
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-folders-folder-id-properties-property-id-put
|
|
1329
1151
|
* @param params
|
|
1330
1152
|
*/
|
|
1331
|
-
this.updateFolderPropertyById = ({ folderId, propertyId, contentPropertyUpdateRequest
|
|
1332
|
-
return this.getClientInstance()
|
|
1333
|
-
.request({
|
|
1153
|
+
this.updateFolderPropertyById = ({ folderId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1154
|
+
return this.getClientInstance().request({
|
|
1334
1155
|
path: "/folders/{folder-id}/properties/{property-id}",
|
|
1335
1156
|
method: "PUT",
|
|
1336
1157
|
pathParams: {
|
|
1337
1158
|
"folder-id": folderId,
|
|
1338
|
-
"property-id": propertyId
|
|
1159
|
+
"property-id": propertyId
|
|
1339
1160
|
},
|
|
1340
1161
|
headers: {
|
|
1341
|
-
"Content-Type": "application/json"
|
|
1162
|
+
"Content-Type": "application/json"
|
|
1342
1163
|
},
|
|
1343
|
-
body: contentPropertyUpdateRequest
|
|
1344
|
-
})
|
|
1345
|
-
.then(this.getClientInstance().responseHandler({
|
|
1164
|
+
body: contentPropertyUpdateRequest
|
|
1165
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1346
1166
|
200: {
|
|
1347
|
-
"application/json": "json"
|
|
1348
|
-
}
|
|
1349
|
-
}))
|
|
1350
|
-
.then(commonHttpClient.castResponse())
|
|
1351
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateFolderPropertyById.response")))
|
|
1352
|
-
.then(commonHttpClient.getBody);
|
|
1167
|
+
"application/json": "json"
|
|
1168
|
+
}
|
|
1169
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateFolderPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1353
1170
|
};
|
|
1354
1171
|
/**
|
|
1355
1172
|
* Update a content property for a page by its id.
|
|
@@ -1363,28 +1180,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1363
1180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-pages-page-id-properties-property-id-put
|
|
1364
1181
|
* @param params
|
|
1365
1182
|
*/
|
|
1366
|
-
this.updatePagePropertyById = ({ pageId, propertyId, contentPropertyUpdateRequest
|
|
1367
|
-
return this.getClientInstance()
|
|
1368
|
-
.request({
|
|
1183
|
+
this.updatePagePropertyById = ({ pageId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1184
|
+
return this.getClientInstance().request({
|
|
1369
1185
|
path: "/pages/{page-id}/properties/{property-id}",
|
|
1370
1186
|
method: "PUT",
|
|
1371
1187
|
pathParams: {
|
|
1372
1188
|
"page-id": pageId,
|
|
1373
|
-
"property-id": propertyId
|
|
1189
|
+
"property-id": propertyId
|
|
1374
1190
|
},
|
|
1375
1191
|
headers: {
|
|
1376
|
-
"Content-Type": "application/json"
|
|
1192
|
+
"Content-Type": "application/json"
|
|
1377
1193
|
},
|
|
1378
|
-
body: contentPropertyUpdateRequest
|
|
1379
|
-
})
|
|
1380
|
-
.then(this.getClientInstance().responseHandler({
|
|
1194
|
+
body: contentPropertyUpdateRequest
|
|
1195
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1381
1196
|
200: {
|
|
1382
|
-
"application/json": "json"
|
|
1383
|
-
}
|
|
1384
|
-
}))
|
|
1385
|
-
.then(commonHttpClient.castResponse())
|
|
1386
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updatePagePropertyById.response")))
|
|
1387
|
-
.then(commonHttpClient.getBody);
|
|
1197
|
+
"application/json": "json"
|
|
1198
|
+
}
|
|
1199
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updatePagePropertyById.response"))).then(commonHttpClient.getBody);
|
|
1388
1200
|
};
|
|
1389
1201
|
/**
|
|
1390
1202
|
* Update a content property for a Smart Link in the content tree by its id.
|
|
@@ -1398,28 +1210,23 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1398
1210
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-embeds-embed-id-properties-property-id-put
|
|
1399
1211
|
* @param params
|
|
1400
1212
|
*/
|
|
1401
|
-
this.updateSmartLinkPropertyById = ({ embedId, propertyId, contentPropertyUpdateRequest
|
|
1402
|
-
return this.getClientInstance()
|
|
1403
|
-
.request({
|
|
1213
|
+
this.updateSmartLinkPropertyById = ({ embedId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1214
|
+
return this.getClientInstance().request({
|
|
1404
1215
|
path: "/embeds/{embed-id}/properties/{property-id}",
|
|
1405
1216
|
method: "PUT",
|
|
1406
1217
|
pathParams: {
|
|
1407
1218
|
"embed-id": embedId,
|
|
1408
|
-
"property-id": propertyId
|
|
1219
|
+
"property-id": propertyId
|
|
1409
1220
|
},
|
|
1410
1221
|
headers: {
|
|
1411
|
-
"Content-Type": "application/json"
|
|
1222
|
+
"Content-Type": "application/json"
|
|
1412
1223
|
},
|
|
1413
|
-
body: contentPropertyUpdateRequest
|
|
1414
|
-
})
|
|
1415
|
-
.then(this.getClientInstance().responseHandler({
|
|
1224
|
+
body: contentPropertyUpdateRequest
|
|
1225
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1416
1226
|
200: {
|
|
1417
|
-
"application/json": "json"
|
|
1418
|
-
}
|
|
1419
|
-
}))
|
|
1420
|
-
.then(commonHttpClient.castResponse())
|
|
1421
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateSmartLinkPropertyById.response")))
|
|
1422
|
-
.then(commonHttpClient.getBody);
|
|
1227
|
+
"application/json": "json"
|
|
1228
|
+
}
|
|
1229
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateSmartLinkPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1423
1230
|
};
|
|
1424
1231
|
/**
|
|
1425
1232
|
* Update a content property for a whiteboard by its id.
|
|
@@ -1433,364 +1240,233 @@ class ContentPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1433
1240
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties#api-whiteboards-whiteboard-id-properties-property-id-put
|
|
1434
1241
|
* @param params
|
|
1435
1242
|
*/
|
|
1436
|
-
this.updateWhiteboardPropertyById = ({ whiteboardId, propertyId, contentPropertyUpdateRequest
|
|
1437
|
-
return this.getClientInstance()
|
|
1438
|
-
.request({
|
|
1243
|
+
this.updateWhiteboardPropertyById = ({ whiteboardId, propertyId, contentPropertyUpdateRequest }) => {
|
|
1244
|
+
return this.getClientInstance().request({
|
|
1439
1245
|
path: "/whiteboards/{whiteboard-id}/properties/{property-id}",
|
|
1440
1246
|
method: "PUT",
|
|
1441
1247
|
pathParams: {
|
|
1442
1248
|
"whiteboard-id": whiteboardId,
|
|
1443
|
-
"property-id": propertyId
|
|
1249
|
+
"property-id": propertyId
|
|
1444
1250
|
},
|
|
1445
1251
|
headers: {
|
|
1446
|
-
"Content-Type": "application/json"
|
|
1252
|
+
"Content-Type": "application/json"
|
|
1447
1253
|
},
|
|
1448
|
-
body: contentPropertyUpdateRequest
|
|
1449
|
-
})
|
|
1450
|
-
.then(this.getClientInstance().responseHandler({
|
|
1254
|
+
body: contentPropertyUpdateRequest
|
|
1255
|
+
}).then(this.getClientInstance().responseHandler({
|
|
1451
1256
|
200: {
|
|
1452
|
-
"application/json": "json"
|
|
1453
|
-
}
|
|
1454
|
-
}))
|
|
1455
|
-
.then(commonHttpClient.castResponse())
|
|
1456
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateWhiteboardPropertyById.response")))
|
|
1457
|
-
.then(commonHttpClient.getBody);
|
|
1257
|
+
"application/json": "json"
|
|
1258
|
+
}
|
|
1259
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentPropertiesService.updateWhiteboardPropertyById.response"))).then(commonHttpClient.getBody);
|
|
1458
1260
|
};
|
|
1459
1261
|
}
|
|
1460
1262
|
static initialize() {
|
|
1461
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getAttachmentContentProperties.response", zod_1.z
|
|
1462
|
-
.object({
|
|
1263
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getAttachmentContentProperties.response", zod_1.z.object({
|
|
1463
1264
|
status: zod_1.z.literal(200),
|
|
1464
1265
|
mediaType: zod_1.z.literal("application/json"),
|
|
1465
|
-
body: zod_1.z
|
|
1466
|
-
.
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
.lazy("MultiEntityLinks")
|
|
1472
|
-
.optional(),
|
|
1473
|
-
})
|
|
1474
|
-
.catchall(zod_1.z.unknown()),
|
|
1475
|
-
})
|
|
1476
|
-
.describe("ContentPropertiesService.getAttachmentContentProperties.response"));
|
|
1477
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createAttachmentProperty.response", zod_1.z
|
|
1478
|
-
.object({
|
|
1266
|
+
body: zod_1.z.object({
|
|
1267
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1268
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1269
|
+
}).catchall(zod_1.z.unknown())
|
|
1270
|
+
}).describe("ContentPropertiesService.getAttachmentContentProperties.response"));
|
|
1271
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createAttachmentProperty.response", zod_1.z.object({
|
|
1479
1272
|
status: zod_1.z.literal(200),
|
|
1480
1273
|
mediaType: zod_1.z.literal("application/json"),
|
|
1481
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1482
|
-
})
|
|
1483
|
-
|
|
1484
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getAttachmentContentPropertiesById.response", zod_1.z
|
|
1485
|
-
.object({
|
|
1274
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1275
|
+
}).describe("ContentPropertiesService.createAttachmentProperty.response"));
|
|
1276
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getAttachmentContentPropertiesById.response", zod_1.z.object({
|
|
1486
1277
|
status: zod_1.z.literal(200),
|
|
1487
1278
|
mediaType: zod_1.z.literal("application/json"),
|
|
1488
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1489
|
-
})
|
|
1490
|
-
|
|
1491
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateAttachmentPropertyById.response", zod_1.z
|
|
1492
|
-
.object({
|
|
1279
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1280
|
+
}).describe("ContentPropertiesService.getAttachmentContentPropertiesById.response"));
|
|
1281
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateAttachmentPropertyById.response", zod_1.z.object({
|
|
1493
1282
|
status: zod_1.z.literal(200),
|
|
1494
1283
|
mediaType: zod_1.z.literal("application/json"),
|
|
1495
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1496
|
-
})
|
|
1497
|
-
|
|
1498
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getBlogpostContentProperties.response", zod_1.z
|
|
1499
|
-
.object({
|
|
1284
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1285
|
+
}).describe("ContentPropertiesService.updateAttachmentPropertyById.response"));
|
|
1286
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getBlogpostContentProperties.response", zod_1.z.object({
|
|
1500
1287
|
status: zod_1.z.literal(200),
|
|
1501
1288
|
mediaType: zod_1.z.literal("application/json"),
|
|
1502
|
-
body: zod_1.z
|
|
1503
|
-
.
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
.lazy("MultiEntityLinks")
|
|
1509
|
-
.optional(),
|
|
1510
|
-
})
|
|
1511
|
-
.catchall(zod_1.z.unknown()),
|
|
1512
|
-
})
|
|
1513
|
-
.describe("ContentPropertiesService.getBlogpostContentProperties.response"));
|
|
1514
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createBlogpostProperty.response", zod_1.z
|
|
1515
|
-
.object({
|
|
1289
|
+
body: zod_1.z.object({
|
|
1290
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1291
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1292
|
+
}).catchall(zod_1.z.unknown())
|
|
1293
|
+
}).describe("ContentPropertiesService.getBlogpostContentProperties.response"));
|
|
1294
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createBlogpostProperty.response", zod_1.z.object({
|
|
1516
1295
|
status: zod_1.z.literal(200),
|
|
1517
1296
|
mediaType: zod_1.z.literal("application/json"),
|
|
1518
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1519
|
-
})
|
|
1520
|
-
|
|
1521
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getBlogpostContentPropertiesById.response", zod_1.z
|
|
1522
|
-
.object({
|
|
1297
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1298
|
+
}).describe("ContentPropertiesService.createBlogpostProperty.response"));
|
|
1299
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getBlogpostContentPropertiesById.response", zod_1.z.object({
|
|
1523
1300
|
status: zod_1.z.literal(200),
|
|
1524
1301
|
mediaType: zod_1.z.literal("application/json"),
|
|
1525
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1526
|
-
})
|
|
1527
|
-
|
|
1528
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateBlogpostPropertyById.response", zod_1.z
|
|
1529
|
-
.object({
|
|
1302
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1303
|
+
}).describe("ContentPropertiesService.getBlogpostContentPropertiesById.response"));
|
|
1304
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateBlogpostPropertyById.response", zod_1.z.object({
|
|
1530
1305
|
status: zod_1.z.literal(200),
|
|
1531
1306
|
mediaType: zod_1.z.literal("application/json"),
|
|
1532
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1533
|
-
})
|
|
1534
|
-
|
|
1535
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCommentContentProperties.response", zod_1.z
|
|
1536
|
-
.object({
|
|
1307
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1308
|
+
}).describe("ContentPropertiesService.updateBlogpostPropertyById.response"));
|
|
1309
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCommentContentProperties.response", zod_1.z.object({
|
|
1537
1310
|
status: zod_1.z.literal(200),
|
|
1538
1311
|
mediaType: zod_1.z.literal("application/json"),
|
|
1539
|
-
body: zod_1.z
|
|
1540
|
-
.
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
.lazy("MultiEntityLinks")
|
|
1546
|
-
.optional(),
|
|
1547
|
-
})
|
|
1548
|
-
.catchall(zod_1.z.unknown()),
|
|
1549
|
-
})
|
|
1550
|
-
.describe("ContentPropertiesService.getCommentContentProperties.response"));
|
|
1551
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createCommentProperty.response", zod_1.z
|
|
1552
|
-
.object({
|
|
1312
|
+
body: zod_1.z.object({
|
|
1313
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1314
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1315
|
+
}).catchall(zod_1.z.unknown())
|
|
1316
|
+
}).describe("ContentPropertiesService.getCommentContentProperties.response"));
|
|
1317
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createCommentProperty.response", zod_1.z.object({
|
|
1553
1318
|
status: zod_1.z.literal(200),
|
|
1554
1319
|
mediaType: zod_1.z.literal("application/json"),
|
|
1555
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1556
|
-
})
|
|
1557
|
-
|
|
1558
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCommentContentPropertiesById.response", zod_1.z
|
|
1559
|
-
.object({
|
|
1320
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1321
|
+
}).describe("ContentPropertiesService.createCommentProperty.response"));
|
|
1322
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCommentContentPropertiesById.response", zod_1.z.object({
|
|
1560
1323
|
status: zod_1.z.literal(200),
|
|
1561
1324
|
mediaType: zod_1.z.literal("application/json"),
|
|
1562
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1563
|
-
})
|
|
1564
|
-
|
|
1565
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateCommentPropertyById.response", zod_1.z
|
|
1566
|
-
.object({
|
|
1325
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1326
|
+
}).describe("ContentPropertiesService.getCommentContentPropertiesById.response"));
|
|
1327
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateCommentPropertyById.response", zod_1.z.object({
|
|
1567
1328
|
status: zod_1.z.literal(200),
|
|
1568
1329
|
mediaType: zod_1.z.literal("application/json"),
|
|
1569
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1570
|
-
})
|
|
1571
|
-
|
|
1572
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCustomContentContentProperties.response", zod_1.z
|
|
1573
|
-
.object({
|
|
1330
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1331
|
+
}).describe("ContentPropertiesService.updateCommentPropertyById.response"));
|
|
1332
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCustomContentContentProperties.response", zod_1.z.object({
|
|
1574
1333
|
status: zod_1.z.literal(200),
|
|
1575
1334
|
mediaType: zod_1.z.literal("application/json"),
|
|
1576
|
-
body: zod_1.z
|
|
1577
|
-
.
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
.lazy("MultiEntityLinks")
|
|
1583
|
-
.optional(),
|
|
1584
|
-
})
|
|
1585
|
-
.catchall(zod_1.z.unknown()),
|
|
1586
|
-
})
|
|
1587
|
-
.describe("ContentPropertiesService.getCustomContentContentProperties.response"));
|
|
1588
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createCustomContentProperty.response", zod_1.z
|
|
1589
|
-
.object({
|
|
1335
|
+
body: zod_1.z.object({
|
|
1336
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1337
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1338
|
+
}).catchall(zod_1.z.unknown())
|
|
1339
|
+
}).describe("ContentPropertiesService.getCustomContentContentProperties.response"));
|
|
1340
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createCustomContentProperty.response", zod_1.z.object({
|
|
1590
1341
|
status: zod_1.z.literal(200),
|
|
1591
1342
|
mediaType: zod_1.z.literal("application/json"),
|
|
1592
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1593
|
-
})
|
|
1594
|
-
|
|
1595
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCustomContentContentPropertiesById.response", zod_1.z
|
|
1596
|
-
.object({
|
|
1343
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1344
|
+
}).describe("ContentPropertiesService.createCustomContentProperty.response"));
|
|
1345
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getCustomContentContentPropertiesById.response", zod_1.z.object({
|
|
1597
1346
|
status: zod_1.z.literal(200),
|
|
1598
1347
|
mediaType: zod_1.z.literal("application/json"),
|
|
1599
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1600
|
-
})
|
|
1601
|
-
|
|
1602
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateCustomContentPropertyById.response", zod_1.z
|
|
1603
|
-
.object({
|
|
1348
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1349
|
+
}).describe("ContentPropertiesService.getCustomContentContentPropertiesById.response"));
|
|
1350
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateCustomContentPropertyById.response", zod_1.z.object({
|
|
1604
1351
|
status: zod_1.z.literal(200),
|
|
1605
1352
|
mediaType: zod_1.z.literal("application/json"),
|
|
1606
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1607
|
-
})
|
|
1608
|
-
|
|
1609
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getDatabaseContentPropertiesById.response", zod_1.z
|
|
1610
|
-
.object({
|
|
1353
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1354
|
+
}).describe("ContentPropertiesService.updateCustomContentPropertyById.response"));
|
|
1355
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getDatabaseContentPropertiesById.response", zod_1.z.object({
|
|
1611
1356
|
status: zod_1.z.literal(200),
|
|
1612
1357
|
mediaType: zod_1.z.literal("application/json"),
|
|
1613
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1614
|
-
})
|
|
1615
|
-
|
|
1616
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateDatabasePropertyById.response", zod_1.z
|
|
1617
|
-
.object({
|
|
1358
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1359
|
+
}).describe("ContentPropertiesService.getDatabaseContentPropertiesById.response"));
|
|
1360
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateDatabasePropertyById.response", zod_1.z.object({
|
|
1618
1361
|
status: zod_1.z.literal(200),
|
|
1619
1362
|
mediaType: zod_1.z.literal("application/json"),
|
|
1620
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1621
|
-
})
|
|
1622
|
-
|
|
1623
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getDatabaseContentProperties.response", zod_1.z
|
|
1624
|
-
.object({
|
|
1363
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1364
|
+
}).describe("ContentPropertiesService.updateDatabasePropertyById.response"));
|
|
1365
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getDatabaseContentProperties.response", zod_1.z.object({
|
|
1625
1366
|
status: zod_1.z.literal(200),
|
|
1626
1367
|
mediaType: zod_1.z.literal("application/json"),
|
|
1627
|
-
body: zod_1.z
|
|
1628
|
-
.
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
.lazy("MultiEntityLinks")
|
|
1634
|
-
.optional(),
|
|
1635
|
-
})
|
|
1636
|
-
.catchall(zod_1.z.unknown()),
|
|
1637
|
-
})
|
|
1638
|
-
.describe("ContentPropertiesService.getDatabaseContentProperties.response"));
|
|
1639
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createDatabaseProperty.response", zod_1.z
|
|
1640
|
-
.object({
|
|
1368
|
+
body: zod_1.z.object({
|
|
1369
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1370
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1371
|
+
}).catchall(zod_1.z.unknown())
|
|
1372
|
+
}).describe("ContentPropertiesService.getDatabaseContentProperties.response"));
|
|
1373
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createDatabaseProperty.response", zod_1.z.object({
|
|
1641
1374
|
status: zod_1.z.literal(200),
|
|
1642
1375
|
mediaType: zod_1.z.literal("application/json"),
|
|
1643
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1644
|
-
})
|
|
1645
|
-
|
|
1646
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getSmartLinkContentPropertiesById.response", zod_1.z
|
|
1647
|
-
.object({
|
|
1376
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1377
|
+
}).describe("ContentPropertiesService.createDatabaseProperty.response"));
|
|
1378
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getSmartLinkContentPropertiesById.response", zod_1.z.object({
|
|
1648
1379
|
status: zod_1.z.literal(200),
|
|
1649
1380
|
mediaType: zod_1.z.literal("application/json"),
|
|
1650
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1651
|
-
})
|
|
1652
|
-
|
|
1653
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateSmartLinkPropertyById.response", zod_1.z
|
|
1654
|
-
.object({
|
|
1381
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1382
|
+
}).describe("ContentPropertiesService.getSmartLinkContentPropertiesById.response"));
|
|
1383
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateSmartLinkPropertyById.response", zod_1.z.object({
|
|
1655
1384
|
status: zod_1.z.literal(200),
|
|
1656
1385
|
mediaType: zod_1.z.literal("application/json"),
|
|
1657
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1658
|
-
})
|
|
1659
|
-
|
|
1660
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getSmartLinkContentProperties.response", zod_1.z
|
|
1661
|
-
.object({
|
|
1386
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1387
|
+
}).describe("ContentPropertiesService.updateSmartLinkPropertyById.response"));
|
|
1388
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getSmartLinkContentProperties.response", zod_1.z.object({
|
|
1662
1389
|
status: zod_1.z.literal(200),
|
|
1663
1390
|
mediaType: zod_1.z.literal("application/json"),
|
|
1664
|
-
body: zod_1.z
|
|
1665
|
-
.
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
.lazy("MultiEntityLinks")
|
|
1671
|
-
.optional(),
|
|
1672
|
-
})
|
|
1673
|
-
.catchall(zod_1.z.unknown()),
|
|
1674
|
-
})
|
|
1675
|
-
.describe("ContentPropertiesService.getSmartLinkContentProperties.response"));
|
|
1676
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createSmartLinkProperty.response", zod_1.z
|
|
1677
|
-
.object({
|
|
1391
|
+
body: zod_1.z.object({
|
|
1392
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1393
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1394
|
+
}).catchall(zod_1.z.unknown())
|
|
1395
|
+
}).describe("ContentPropertiesService.getSmartLinkContentProperties.response"));
|
|
1396
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createSmartLinkProperty.response", zod_1.z.object({
|
|
1678
1397
|
status: zod_1.z.literal(200),
|
|
1679
1398
|
mediaType: zod_1.z.literal("application/json"),
|
|
1680
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1681
|
-
})
|
|
1682
|
-
|
|
1683
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getFolderContentPropertiesById.response", zod_1.z
|
|
1684
|
-
.object({
|
|
1399
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1400
|
+
}).describe("ContentPropertiesService.createSmartLinkProperty.response"));
|
|
1401
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getFolderContentPropertiesById.response", zod_1.z.object({
|
|
1685
1402
|
status: zod_1.z.literal(200),
|
|
1686
1403
|
mediaType: zod_1.z.literal("application/json"),
|
|
1687
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1688
|
-
})
|
|
1689
|
-
|
|
1690
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateFolderPropertyById.response", zod_1.z
|
|
1691
|
-
.object({
|
|
1404
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1405
|
+
}).describe("ContentPropertiesService.getFolderContentPropertiesById.response"));
|
|
1406
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateFolderPropertyById.response", zod_1.z.object({
|
|
1692
1407
|
status: zod_1.z.literal(200),
|
|
1693
1408
|
mediaType: zod_1.z.literal("application/json"),
|
|
1694
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1695
|
-
})
|
|
1696
|
-
|
|
1697
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getFolderContentProperties.response", zod_1.z
|
|
1698
|
-
.object({
|
|
1409
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1410
|
+
}).describe("ContentPropertiesService.updateFolderPropertyById.response"));
|
|
1411
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getFolderContentProperties.response", zod_1.z.object({
|
|
1699
1412
|
status: zod_1.z.literal(200),
|
|
1700
1413
|
mediaType: zod_1.z.literal("application/json"),
|
|
1701
|
-
body: zod_1.z
|
|
1702
|
-
.
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
.lazy("MultiEntityLinks")
|
|
1708
|
-
.optional(),
|
|
1709
|
-
})
|
|
1710
|
-
.catchall(zod_1.z.unknown()),
|
|
1711
|
-
})
|
|
1712
|
-
.describe("ContentPropertiesService.getFolderContentProperties.response"));
|
|
1713
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createFolderProperty.response", zod_1.z
|
|
1714
|
-
.object({
|
|
1414
|
+
body: zod_1.z.object({
|
|
1415
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1416
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1417
|
+
}).catchall(zod_1.z.unknown())
|
|
1418
|
+
}).describe("ContentPropertiesService.getFolderContentProperties.response"));
|
|
1419
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createFolderProperty.response", zod_1.z.object({
|
|
1715
1420
|
status: zod_1.z.literal(200),
|
|
1716
1421
|
mediaType: zod_1.z.literal("application/json"),
|
|
1717
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1718
|
-
})
|
|
1719
|
-
|
|
1720
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getPageContentProperties.response", zod_1.z
|
|
1721
|
-
.object({
|
|
1422
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1423
|
+
}).describe("ContentPropertiesService.createFolderProperty.response"));
|
|
1424
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getPageContentProperties.response", zod_1.z.object({
|
|
1722
1425
|
status: zod_1.z.literal(200),
|
|
1723
1426
|
mediaType: zod_1.z.literal("application/json"),
|
|
1724
|
-
body: zod_1.z
|
|
1725
|
-
.
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
.lazy("MultiEntityLinks")
|
|
1731
|
-
.optional(),
|
|
1732
|
-
})
|
|
1733
|
-
.catchall(zod_1.z.unknown()),
|
|
1734
|
-
})
|
|
1735
|
-
.describe("ContentPropertiesService.getPageContentProperties.response"));
|
|
1736
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createPageProperty.response", zod_1.z
|
|
1737
|
-
.object({
|
|
1427
|
+
body: zod_1.z.object({
|
|
1428
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1429
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1430
|
+
}).catchall(zod_1.z.unknown())
|
|
1431
|
+
}).describe("ContentPropertiesService.getPageContentProperties.response"));
|
|
1432
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createPageProperty.response", zod_1.z.object({
|
|
1738
1433
|
status: zod_1.z.literal(200),
|
|
1739
1434
|
mediaType: zod_1.z.literal("application/json"),
|
|
1740
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1741
|
-
})
|
|
1742
|
-
|
|
1743
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getPageContentPropertiesById.response", zod_1.z
|
|
1744
|
-
.object({
|
|
1435
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1436
|
+
}).describe("ContentPropertiesService.createPageProperty.response"));
|
|
1437
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getPageContentPropertiesById.response", zod_1.z.object({
|
|
1745
1438
|
status: zod_1.z.literal(200),
|
|
1746
1439
|
mediaType: zod_1.z.literal("application/json"),
|
|
1747
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1748
|
-
})
|
|
1749
|
-
|
|
1750
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updatePagePropertyById.response", zod_1.z
|
|
1751
|
-
.object({
|
|
1440
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1441
|
+
}).describe("ContentPropertiesService.getPageContentPropertiesById.response"));
|
|
1442
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updatePagePropertyById.response", zod_1.z.object({
|
|
1752
1443
|
status: zod_1.z.literal(200),
|
|
1753
1444
|
mediaType: zod_1.z.literal("application/json"),
|
|
1754
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1755
|
-
})
|
|
1756
|
-
|
|
1757
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getWhiteboardContentProperties.response", zod_1.z
|
|
1758
|
-
.object({
|
|
1445
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1446
|
+
}).describe("ContentPropertiesService.updatePagePropertyById.response"));
|
|
1447
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getWhiteboardContentProperties.response", zod_1.z.object({
|
|
1759
1448
|
status: zod_1.z.literal(200),
|
|
1760
1449
|
mediaType: zod_1.z.literal("application/json"),
|
|
1761
|
-
body: zod_1.z
|
|
1762
|
-
.
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
.lazy("MultiEntityLinks")
|
|
1768
|
-
.optional(),
|
|
1769
|
-
})
|
|
1770
|
-
.catchall(zod_1.z.unknown()),
|
|
1771
|
-
})
|
|
1772
|
-
.describe("ContentPropertiesService.getWhiteboardContentProperties.response"));
|
|
1773
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createWhiteboardProperty.response", zod_1.z
|
|
1774
|
-
.object({
|
|
1450
|
+
body: zod_1.z.object({
|
|
1451
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")).optional(),
|
|
1452
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
1453
|
+
}).catchall(zod_1.z.unknown())
|
|
1454
|
+
}).describe("ContentPropertiesService.getWhiteboardContentProperties.response"));
|
|
1455
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.createWhiteboardProperty.response", zod_1.z.object({
|
|
1775
1456
|
status: zod_1.z.literal(200),
|
|
1776
1457
|
mediaType: zod_1.z.literal("application/json"),
|
|
1777
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1778
|
-
})
|
|
1779
|
-
|
|
1780
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getWhiteboardContentPropertiesById.response", zod_1.z
|
|
1781
|
-
.object({
|
|
1458
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1459
|
+
}).describe("ContentPropertiesService.createWhiteboardProperty.response"));
|
|
1460
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.getWhiteboardContentPropertiesById.response", zod_1.z.object({
|
|
1782
1461
|
status: zod_1.z.literal(200),
|
|
1783
1462
|
mediaType: zod_1.z.literal("application/json"),
|
|
1784
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1785
|
-
})
|
|
1786
|
-
|
|
1787
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateWhiteboardPropertyById.response", zod_1.z
|
|
1788
|
-
.object({
|
|
1463
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1464
|
+
}).describe("ContentPropertiesService.getWhiteboardContentPropertiesById.response"));
|
|
1465
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentPropertiesService.updateWhiteboardPropertyById.response", zod_1.z.object({
|
|
1789
1466
|
status: zod_1.z.literal(200),
|
|
1790
1467
|
mediaType: zod_1.z.literal("application/json"),
|
|
1791
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1792
|
-
})
|
|
1793
|
-
.describe("ContentPropertiesService.updateWhiteboardPropertyById.response"));
|
|
1468
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentProperty")
|
|
1469
|
+
}).describe("ContentPropertiesService.updateWhiteboardPropertyById.response"));
|
|
1794
1470
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
1795
1471
|
}
|
|
1796
1472
|
}
|