codapact-confluence 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,4795 @@
1
+ """Types generated from the semantic model. Do not edit."""
2
+
3
+ # ruff: noqa: E501, UP013
4
+ from __future__ import annotations
5
+
6
+ from typing import (
7
+ Any,
8
+ Literal,
9
+ NotRequired,
10
+ TypedDict,
11
+ )
12
+
13
+ __all__ = ['AbstractPageLinks', 'AccountStatus', 'AccountType', 'AdminKeyResponse', 'Ancestor', 'AncestorType', 'AttachmentBulk', 'AttachmentCommentModel', 'AttachmentLinks', 'AttachmentSingle', 'AttachmentSingleLabels', 'AttachmentSingleOperations', 'AttachmentSingleProperties', 'AttachmentSingleVersions', 'AttachmentSortOrder', 'AttachmentVersion', 'BlogPostBodyWrite', 'BlogPostBodyWriteRepresentation', 'BlogPostBulk', 'BlogPostCommentModel', 'BlogPostContentStatus', 'BlogPostInlineCommentModel', 'BlogPostNestedBodyWrite', 'BlogPostSingle', 'BlogPostSingleLabels', 'BlogPostSingleLikes', 'BlogPostSingleOperations', 'BlogPostSingleProperties', 'BlogPostSingleVersions', 'BlogPostSortOrder', 'BlogPostVersion', 'BodyBulk', 'BodySingle', 'BodyType', 'BulkAssignRolesRequest', 'BulkRemoveAccessRequest', 'BulkTransitionCombinationEntry', 'BulkTransitionCombinationEntryPrincipalTypesItem', 'BulkTransitionDecodedPermission', 'BulkTransitionPrincipalTypeAssignment', 'BulkTransitionPrincipalTypeAssignmentPrincipalType', 'BulkTransitionRoleAssignment', 'BulkTransitionSpaceSelection', 'BulkTransitionSpaceSelectionSpaceType', 'BulkTransitionSpaceTarget', 'BulkTransitionTaskResponse', 'BulkTransitionTaskResponseStatus', 'BulkTransitionTaskStatusResponse', 'BulkTransitionTaskStatusResponseStatus', 'CheckAccessByEmailBody', 'CheckAccessByEmailResponse', 'ChildCustomContent', 'ChildCustomContentSortOrder', 'ChildPage', 'ChildPageSortOrder', 'ChildrenCommentModel', 'ChildrenResponse', 'ClassificationLevel', 'ClassificationLevelColor', 'ClassificationLevelStatus', 'CommentBodyWrite', 'CommentBodyWriteRepresentation', 'CommentLinks', 'CommentNestedBodyWrite', 'CommentSortOrder', 'CommentVersion', 'ContentIdToContentTypeResponse', 'ContentIdToContentTypeResponseResultsValue', 'ContentIdToContentTypeResponseResultsValueOption1', 'ContentPermissionError', 'ContentPermissionErrorResponse', 'ContentPermissionOutput', 'ContentPermissionOutputOperation', 'ContentPermissionPrincipal', 'ContentPermissionPrincipalPrincipalType', 'ContentPermissionsRequest', 'ContentPermissionsResponse', 'ContentPrincipalInput', 'ContentPrincipalInputPrincipalType', 'ContentProperty', 'ContentPropertyCreateRequest', 'ContentPropertySortOrder', 'ContentPropertyUpdateRequest', 'ContentPropertyUpdateRequestVersion', 'ContentRestrictionState', 'ContentSortOrder', 'ContentStatus', 'ConvertContentIdsToContentTypesBody', 'ConvertContentIdsToContentTypesBodyContentIdsItem', 'CreateBlogPostBody', 'CreateBlogPostBodyBody', 'CreateBlogPostBodyStatus', 'CreateBlogPostResponse', 'CreateBlogPostResponseLinks', 'CreateBulkUserLookupBody', 'CreateBulkUserLookupResponse', 'CreateCustomContentBody', 'CreateCustomContentBodyBody', 'CreateCustomContentBodyStatus', 'CreateCustomContentResponse', 'CreateCustomContentResponseLinks', 'CreateDatabaseBody', 'CreateDatabaseResponse', 'CreateDatabaseResponseLinks', 'CreateFolderBody', 'CreateFolderResponse', 'CreateFolderResponseLinks', 'CreateFooterCommentModel', 'CreateFooterCommentModelBody', 'CreateFooterCommentResponse', 'CreateFooterCommentResponseLinks', 'CreateInlineCommentModel', 'CreateInlineCommentModelBody', 'CreateInlineCommentModelInlineCommentProperties', 'CreateInlineCommentResponse', 'CreateInlineCommentResponseLinks', 'CreatePageBody', 'CreatePageBodyBody', 'CreatePageBodyStatus', 'CreatePageBodySubtype', 'CreatePageResponse', 'CreatePageResponseLinks', 'CreateSmartLinkBody', 'CreateSmartLinkResponse', 'CreateSmartLinkResponseLinks', 'CreateSpaceBody', 'CreateSpaceBodyDescription', 'CreateSpaceBodyRoleAssignmentsItem', 'CreateSpaceResponse', 'CreateSpaceResponseLinks', 'CreateSpaceRoleBody', 'CreateWhiteboardBody', 'CreateWhiteboardBodyLocale', 'CreateWhiteboardBodyTemplateKey', 'CreateWhiteboardResponse', 'CreateWhiteboardResponseLinks', 'CustomContentBodyBulk', 'CustomContentBodyRepresentation', 'CustomContentBodyRepresentationSingle', 'CustomContentBodySingle', 'CustomContentBodyWrite', 'CustomContentBodyWriteRepresentation', 'CustomContentBulk', 'CustomContentCommentModel', 'CustomContentLinks', 'CustomContentNestedBodyWrite', 'CustomContentSingle', 'CustomContentSingleLabels', 'CustomContentSingleOperations', 'CustomContentSingleProperties', 'CustomContentSingleVersions', 'CustomContentSortOrder', 'CustomContentVersion', 'DataPolicyMetadata', 'DataPolicySpace', 'DataPolicySpaceDataPolicy', 'DatabaseAdfDocument', 'DatabaseAdfDocumentType', 'DatabaseAiSummaryField', 'DatabaseAiSummaryFieldSettings', 'DatabaseAiSummaryFieldType', 'DatabaseAiSummaryRunMetadata', 'DatabaseAiSummaryValue', 'DatabaseAiSummaryValueMetadata', 'DatabaseAiSummaryValueMetadataLastUpdatedBy', 'DatabaseAiSummaryValueType', 'DatabaseAttachmentField', 'DatabaseAttachmentFieldType', 'DatabaseAttachmentRef', 'DatabaseAttachmentValue', 'DatabaseAttachmentValueType', 'DatabaseBacklinkField', 'DatabaseBacklinkFieldSettings', 'DatabaseBacklinkFieldType', 'DatabaseCheckboxField', 'DatabaseCheckboxFieldType', 'DatabaseCheckboxValue', 'DatabaseCheckboxValueType', 'DatabaseDateField', 'DatabaseDateFieldSettings', 'DatabaseDateFieldType', 'DatabaseDateValue', 'DatabaseDateValueType', 'DatabaseEmptyFieldSettings', 'DatabaseEntry', 'DatabaseEntryDetailsField', 'DatabaseEntryDetailsFieldSettings', 'DatabaseEntryDetailsFieldType', 'DatabaseEntryLinkField', 'DatabaseEntryLinkFieldType', 'DatabaseEntryLinkValue', 'DatabaseEntryLinkValueType', 'DatabaseEntryListResponse', 'DatabaseEntryRef', 'DatabaseEntrySingleResponse', 'DatabaseError', 'DatabaseErrorCode', 'DatabaseErrorResponse', 'DatabaseField', 'DatabaseFieldBase', 'DatabaseFieldListResponse', 'DatabaseFieldSettings', 'DatabaseFieldType', 'DatabaseFieldValue', 'DatabaseHyperlinkField', 'DatabaseHyperlinkFieldType', 'DatabaseHyperlinkItem', 'DatabaseHyperlinkValue', 'DatabaseHyperlinkValueType', 'DatabaseJiraIssueDetailsField', 'DatabaseJiraIssueDetailsFieldSettings', 'DatabaseJiraIssueDetailsFieldType', 'DatabaseJiraIssueField', 'DatabaseJiraIssueFieldSettings', 'DatabaseJiraIssueFieldType', 'DatabaseJiraIssueRef', 'DatabaseJiraIssueValue', 'DatabaseJiraIssueValueType', 'DatabaseLinks', 'DatabaseNullLookupValue', 'DatabaseNullLookupValueType', 'DatabaseNumberField', 'DatabaseNumberFieldSettings', 'DatabaseNumberFieldType', 'DatabaseNumberFormat', 'DatabaseNumberFormatType', 'DatabaseNumberValue', 'DatabaseNumberValueType', 'DatabasePageDetailsField', 'DatabasePageDetailsFieldSettings', 'DatabasePageDetailsFieldType', 'DatabasePageLabelsField', 'DatabasePageLabelsFieldType', 'DatabasePageLinkField', 'DatabasePageLinkFieldType', 'DatabasePageLinkValue', 'DatabasePageLinkValueType', 'DatabasePageRef', 'DatabasePageStatusField', 'DatabasePageStatusFieldType', 'DatabasePaginationMeta', 'DatabaseSelectField', 'DatabaseSelectFieldSettings', 'DatabaseSelectFieldType', 'DatabaseSelectOption', 'DatabaseSelectValue', 'DatabaseSelectValueType', 'DatabaseSingle', 'DatabaseSourceFieldSettings', 'DatabaseTextField', 'DatabaseTextFieldSettings', 'DatabaseTextFieldType', 'DatabaseTextValue', 'DatabaseTextValueType', 'DatabaseUserField', 'DatabaseUserFieldType', 'DatabaseUserRef', 'DatabaseUserValue', 'DatabaseUserValueType', 'DatabaseView', 'DatabaseViewListResponse', 'DatabaseViewType', 'DatabasesPublicApiLinks', 'DeleteBlogPostPermissionsOperation', 'DeleteBlogPostPermissionsPrincipalType', 'DeleteDatabasePermissionsOperation', 'DeleteDatabasePermissionsPrincipalType', 'DeleteFolderPermissionsOperation', 'DeleteFolderPermissionsPrincipalType', 'DeletePagePermissionsOperation', 'DeletePagePermissionsPrincipalType', 'DeleteSpaceRoleResponse', 'DeleteWhiteboardPermissionsOperation', 'DeleteWhiteboardPermissionsPrincipalType', 'DescendantsResponse', 'DetailedVersion', 'EnableAdminKeyBody', 'FolderLinks', 'FolderSingle', 'FooterCommentModel', 'FooterCommentModelLikes', 'FooterCommentModelOperations', 'FooterCommentModelProperties', 'FooterCommentModelVersions', 'GetAttachmentByIdResponse', 'GetAttachmentByIdResponseLinks', 'GetAttachmentCommentsResponse', 'GetAttachmentContentPropertiesResponse', 'GetAttachmentLabelsPrefix', 'GetAttachmentLabelsResponse', 'GetAttachmentVersionsResponse', 'GetAttachmentsResponse', 'GetAttachmentsStatusItem', 'GetAvailableSpacePermissionsResponse', 'GetAvailableSpaceRolesResponse', 'GetBlogPostByIdResponse', 'GetBlogPostByIdResponseLinks', 'GetBlogPostByIdStatusItem', 'GetBlogPostClassificationLevelStatus', 'GetBlogPostFooterCommentsResponse', 'GetBlogPostFooterCommentsStatusItem', 'GetBlogPostInlineCommentsResolutionStatusItem', 'GetBlogPostInlineCommentsResponse', 'GetBlogPostInlineCommentsStatusItem', 'GetBlogPostLabelsPrefix', 'GetBlogPostLabelsResponse', 'GetBlogPostLikeCountResponse', 'GetBlogPostLikeUsersResponse', 'GetBlogPostPermissionsOperation', 'GetBlogPostPermissionsPrincipalType', 'GetBlogPostPermissionsResponse', 'GetBlogPostVersionsResponse', 'GetBlogPostsInSpaceResponse', 'GetBlogPostsInSpaceStatusItem', 'GetBlogPostsResponse', 'GetBlogPostsStatusItem', 'GetBlogpostAttachmentsResponse', 'GetBlogpostAttachmentsStatusItem', 'GetBlogpostContentPropertiesResponse', 'GetChildCustomContentResponse', 'GetChildPagesResponse', 'GetCommentContentPropertiesResponse', 'GetCustomContentAttachmentsResponse', 'GetCustomContentAttachmentsStatusItem', 'GetCustomContentByIdResponse', 'GetCustomContentByIdResponseLinks', 'GetCustomContentByTypeInBlogPostResponse', 'GetCustomContentByTypeInPageResponse', 'GetCustomContentByTypeInSpaceResponse', 'GetCustomContentByTypeResponse', 'GetCustomContentCommentsResponse', 'GetCustomContentContentPropertiesResponse', 'GetCustomContentLabelsPrefix', 'GetCustomContentLabelsResponse', 'GetCustomContentVersionsResponse', 'GetDataPolicySpacesResponse', 'GetDatabaseAncestorsResponse', 'GetDatabaseByIdResponse', 'GetDatabaseByIdResponseLinks', 'GetDatabaseContentPropertiesResponse', 'GetDatabaseDescendantsResponse', 'GetDatabaseDirectChildrenResponse', 'GetDatabasePermissionsOperation', 'GetDatabasePermissionsPrincipalType', 'GetDatabasePermissionsResponse', 'GetFolderAncestorsResponse', 'GetFolderByIdResponse', 'GetFolderByIdResponseLinks', 'GetFolderContentPropertiesResponse', 'GetFolderDescendantsResponse', 'GetFolderDirectChildrenResponse', 'GetFolderPermissionsOperation', 'GetFolderPermissionsPrincipalType', 'GetFolderPermissionsResponse', 'GetFooterCommentByIdResponse', 'GetFooterCommentByIdResponseLinks', 'GetFooterCommentChildrenResponse', 'GetFooterCommentVersionsResponse', 'GetFooterCommentsResponse', 'GetFooterLikeCountResponse', 'GetFooterLikeUsersResponse', 'GetForgeAppPropertiesResponse', 'GetForgeAppPropertiesResponseResultsItem', 'GetForgeAppPropertyResponse', 'GetInlineCommentByIdResponse', 'GetInlineCommentByIdResponseLinks', 'GetInlineCommentChildrenResponse', 'GetInlineCommentVersionsResponse', 'GetInlineCommentsResponse', 'GetInlineLikeCountResponse', 'GetInlineLikeUsersResponse', 'GetLabelAttachmentsResponse', 'GetLabelBlogPostsResponse', 'GetLabelPagesResponse', 'GetLabelsResponse', 'GetPageAncestorsResponse', 'GetPageAttachmentsResponse', 'GetPageAttachmentsStatusItem', 'GetPageByIdResponse', 'GetPageByIdResponseLinks', 'GetPageByIdStatusItem', 'GetPageClassificationLevelStatus', 'GetPageContentPropertiesResponse', 'GetPageDescendantsResponse', 'GetPageDirectChildrenResponse', 'GetPageFooterCommentsResponse', 'GetPageFooterCommentsStatusItem', 'GetPageInlineCommentsResolutionStatusItem', 'GetPageInlineCommentsResponse', 'GetPageInlineCommentsStatusItem', 'GetPageLabelsPrefix', 'GetPageLabelsResponse', 'GetPageLikeCountResponse', 'GetPageLikeUsersResponse', 'GetPagePermissionsOperation', 'GetPagePermissionsPrincipalType', 'GetPagePermissionsResponse', 'GetPageVersionsResponse', 'GetPagesInSpaceDepth', 'GetPagesInSpaceResponse', 'GetPagesInSpaceStatusItem', 'GetPagesResponse', 'GetPagesStatusItem', 'GetPagesSubtype', 'GetSmartLinkAncestorsResponse', 'GetSmartLinkByIdResponse', 'GetSmartLinkByIdResponseLinks', 'GetSmartLinkContentPropertiesResponse', 'GetSmartLinkDescendantsResponse', 'GetSmartLinkDirectChildrenResponse', 'GetSpaceByIdResponse', 'GetSpaceByIdResponseLinks', 'GetSpaceContentLabelsPrefix', 'GetSpaceContentLabelsResponse', 'GetSpaceLabelsPrefix', 'GetSpaceLabelsResponse', 'GetSpacePermissionsAssignmentsResponse', 'GetSpacePropertiesResponse', 'GetSpaceRoleAssignmentsResponse', 'GetSpaceRoleModeResponse', 'GetSpaceRoleModeResponseMode', 'GetSpaceRolesByIdResponse', 'GetSpaceRolesByIdResponseLinks', 'GetSpacesResponse', 'GetSpacesStatus', 'GetSpacesType', 'GetTasksResponse', 'GetTasksStatus', 'GetWhiteboardAncestorsResponse', 'GetWhiteboardByIdResponse', 'GetWhiteboardByIdResponseLinks', 'GetWhiteboardContentPropertiesResponse', 'GetWhiteboardDescendantsResponse', 'GetWhiteboardDirectChildrenResponse', 'GetWhiteboardPermissionsOperation', 'GetWhiteboardPermissionsPrincipalType', 'GetWhiteboardPermissionsResponse', 'Icon', 'InlineCommentChildrenModel', 'InlineCommentModel', 'InlineCommentModelLikes', 'InlineCommentModelOperations', 'InlineCommentModelProperties', 'InlineCommentModelVersions', 'InlineCommentProperties', 'InlineCommentResolutionStatus', 'InviteByEmailBody', 'Label', 'LabelSortOrder', 'Like', 'ListSpacePermissionCombinationsResponse', 'MultiEntityLinks', 'OnlyArchivedAndCurrentContentStatus', 'Operation', 'OperationPermissionsInput', 'OperationPermissionsInputOperation', 'OptionalFieldLinks', 'OptionalFieldMeta', 'PageBodyWrite', 'PageBodyWriteRepresentation', 'PageBulk', 'PageCommentModel', 'PageInlineCommentModel', 'PageNestedBodyWrite', 'PageSingle', 'PageSingleLabels', 'PageSingleLikes', 'PageSingleOperations', 'PageSingleProperties', 'PageSingleVersions', 'PageSortOrder', 'PageVersion', 'ParentContentType', 'PermittedOperationsResponse', 'PostBlogPostClassificationLevelBody', 'PostBlogPostClassificationLevelBodyStatus', 'PostDatabaseClassificationLevelBody', 'PostDatabaseClassificationLevelBodyStatus', 'PostPageClassificationLevelBody', 'PostPageClassificationLevelBodyStatus', 'PostRedactBlogBody', 'PostRedactBlogBodyBody', 'PostRedactBlogBodyTitle', 'PostRedactPageBody', 'PostRedactPageBodyBody', 'PostRedactPageBodyTitle', 'PostWhiteboardClassificationLevelBody', 'PostWhiteboardClassificationLevelBodyStatus', 'PrimaryBodyRepresentation', 'PrimaryBodyRepresentationSingle', 'Principal', 'PrincipalType', 'PutBlogPostClassificationLevelBody', 'PutBlogPostClassificationLevelBodyStatus', 'PutDatabaseClassificationLevelBody', 'PutDatabaseClassificationLevelBodyStatus', 'PutPageClassificationLevelBody', 'PutPageClassificationLevelBodyStatus', 'PutSpaceDefaultClassificationLevelBody', 'PutWhiteboardClassificationLevelBody', 'PutWhiteboardClassificationLevelBodyStatus', 'Redaction', 'RedactionPointer', 'RedactionPointerResponse', 'RedactionResponse', 'RedactionSectionResponse', 'RestrictionStateResponse', 'RoleType', 'SetBlogPostRestrictionStateBody', 'SetDatabaseRestrictionStateBody', 'SetFolderRestrictionStateBody', 'SetPageRestrictionStateBody', 'SetSpaceRoleAssignmentsBodyItem', 'SetSpaceRoleAssignmentsResponse', 'SetWhiteboardRestrictionStateBody', 'SmartLinkLinks', 'SmartLinkSingle', 'SpaceBulk', 'SpaceDescription', 'SpaceDescriptionBodyRepresentation', 'SpaceIcon', 'SpaceLinks', 'SpacePermission', 'SpacePermissionAssignment', 'SpacePermissionAssignmentOperation', 'SpacePermissionAssignmentOperationKey', 'SpacePermissionAssignmentOperationTargetType', 'SpacePermissionAssignmentPrincipal', 'SpacePermissionAssignmentPrincipalType', 'SpaceProperty', 'SpacePropertyCreateRequest', 'SpacePropertyUpdateRequest', 'SpacePropertyUpdateRequestVersion', 'SpacePropertyVersion', 'SpaceRole', 'SpaceRoleAssignment', 'SpaceSingle', 'SpaceSingleLabels', 'SpaceSingleOperations', 'SpaceSinglePermissions', 'SpaceSingleProperties', 'SpaceSortOrder', 'SpaceStatus', 'SpaceType', 'Task', 'TaskBodySingle', 'TaskStatus', 'UpdateBlogPostBody', 'UpdateBlogPostBodyBody', 'UpdateBlogPostBodyStatus', 'UpdateBlogPostBodyVersion', 'UpdateBlogPostResponse', 'UpdateBlogPostResponseLinks', 'UpdateCustomContentBody', 'UpdateCustomContentBodyBody', 'UpdateCustomContentBodyStatus', 'UpdateCustomContentBodyVersion', 'UpdateCustomContentResponse', 'UpdateCustomContentResponseLinks', 'UpdateFooterCommentBody', 'UpdateFooterCommentBodyLinks', 'UpdateFooterCommentModel', 'UpdateFooterCommentModelBody', 'UpdateFooterCommentModelVersion', 'UpdateInlineCommentModel', 'UpdateInlineCommentModelBody', 'UpdateInlineCommentModelVersion', 'UpdateInlineCommentResponse', 'UpdateInlineCommentResponseLinks', 'UpdatePageBody', 'UpdatePageBodyBody', 'UpdatePageBodyStatus', 'UpdatePageBodyVersion', 'UpdatePageResponse', 'UpdatePageResponseLinks', 'UpdatePageTitleBody', 'UpdatePageTitleBodyStatus', 'UpdatePageTitleResponse', 'UpdatePageTitleResponseLinks', 'UpdateSpaceRoleBody', 'UpdateSpaceRoleResponse', 'UpdateTaskBody', 'UpdateTaskBodyStatus', 'User', 'Version', 'VersionSortOrder', 'VersionedEntity', 'WhiteboardLinks', 'WhiteboardSingle']
14
+
15
+ AbstractPageLinks = TypedDict(
16
+ 'AbstractPageLinks',
17
+ {
18
+ 'webui': NotRequired["str"],
19
+ 'editui': NotRequired["str"],
20
+ 'tinyui': NotRequired["str"],
21
+ },
22
+ )
23
+
24
+ type AccountStatus = Literal['active', 'inactive', 'closed', 'unknown']
25
+ """The account status of the user."""
26
+
27
+ type AccountType = Literal['atlassian', 'app', 'customer', 'unknown']
28
+ """The account type of the user."""
29
+
30
+ AdminKeyResponse = TypedDict(
31
+ 'AdminKeyResponse',
32
+ {
33
+ 'account_id': NotRequired["str"],
34
+ 'expiration_time': NotRequired["str"],
35
+ },
36
+ )
37
+
38
+ Ancestor = TypedDict(
39
+ 'Ancestor',
40
+ {
41
+ 'id': NotRequired["str"],
42
+ 'type': NotRequired["AncestorType"],
43
+ },
44
+ )
45
+
46
+ type AncestorType = Literal['page', 'whiteboard', 'database', 'embed', 'folder']
47
+ """The type of ancestor."""
48
+
49
+ AttachmentBulk = TypedDict(
50
+ 'AttachmentBulk',
51
+ {
52
+ 'id': NotRequired["str"],
53
+ 'status': NotRequired["ContentStatus"],
54
+ 'title': NotRequired["str"],
55
+ 'created_at': NotRequired["str"],
56
+ 'page_id': NotRequired["str"],
57
+ 'blog_post_id': NotRequired["str"],
58
+ 'custom_content_id': NotRequired["str"],
59
+ 'media_type': NotRequired["str"],
60
+ 'media_type_description': NotRequired["str"],
61
+ 'comment': NotRequired["str"],
62
+ 'file_id': NotRequired["str"],
63
+ 'file_size': NotRequired["int"],
64
+ 'webui_link': NotRequired["str"],
65
+ 'download_link': NotRequired["str"],
66
+ 'version': NotRequired["Version"],
67
+ 'links': NotRequired["AttachmentLinks"],
68
+ },
69
+ )
70
+
71
+ AttachmentCommentModel = TypedDict(
72
+ 'AttachmentCommentModel',
73
+ {
74
+ 'id': NotRequired["str"],
75
+ 'status': NotRequired["ContentStatus"],
76
+ 'title': NotRequired["str"],
77
+ 'attachment_id': NotRequired["str"],
78
+ 'version': NotRequired["Version"],
79
+ 'body': NotRequired["BodySingle"],
80
+ 'links': NotRequired["CommentLinks"],
81
+ },
82
+ )
83
+
84
+ AttachmentLinks = TypedDict(
85
+ 'AttachmentLinks',
86
+ {
87
+ 'webui': NotRequired["str"],
88
+ 'download': NotRequired["str"],
89
+ },
90
+ )
91
+
92
+ AttachmentSingle = TypedDict(
93
+ 'AttachmentSingle',
94
+ {
95
+ 'id': NotRequired["str"],
96
+ 'status': NotRequired["ContentStatus"],
97
+ 'title': NotRequired["str"],
98
+ 'created_at': NotRequired["str"],
99
+ 'page_id': NotRequired["str"],
100
+ 'blog_post_id': NotRequired["str"],
101
+ 'custom_content_id': NotRequired["str"],
102
+ 'media_type': NotRequired["str"],
103
+ 'media_type_description': NotRequired["str"],
104
+ 'comment': NotRequired["str"],
105
+ 'file_id': NotRequired["str"],
106
+ 'file_size': NotRequired["int"],
107
+ 'webui_link': NotRequired["str"],
108
+ 'download_link': NotRequired["str"],
109
+ 'version': NotRequired["Version"],
110
+ 'labels': NotRequired["AttachmentSingleLabels"],
111
+ 'properties': NotRequired["AttachmentSingleProperties"],
112
+ 'operations': NotRequired["AttachmentSingleOperations"],
113
+ 'versions': NotRequired["AttachmentSingleVersions"],
114
+ 'links': NotRequired["AttachmentLinks"],
115
+ },
116
+ )
117
+
118
+ AttachmentSingleLabels = TypedDict(
119
+ 'AttachmentSingleLabels',
120
+ {
121
+ 'results': NotRequired["list[Label]"],
122
+ 'meta': NotRequired["OptionalFieldMeta"],
123
+ 'links': NotRequired["OptionalFieldLinks"],
124
+ },
125
+ )
126
+
127
+ AttachmentSingleOperations = TypedDict(
128
+ 'AttachmentSingleOperations',
129
+ {
130
+ 'results': NotRequired["list[Operation]"],
131
+ 'meta': NotRequired["OptionalFieldMeta"],
132
+ 'links': NotRequired["OptionalFieldLinks"],
133
+ },
134
+ )
135
+
136
+ AttachmentSingleProperties = TypedDict(
137
+ 'AttachmentSingleProperties',
138
+ {
139
+ 'results': NotRequired["list[ContentProperty]"],
140
+ 'meta': NotRequired["OptionalFieldMeta"],
141
+ 'links': NotRequired["OptionalFieldLinks"],
142
+ },
143
+ )
144
+
145
+ AttachmentSingleVersions = TypedDict(
146
+ 'AttachmentSingleVersions',
147
+ {
148
+ 'results': NotRequired["list[Version]"],
149
+ 'meta': NotRequired["OptionalFieldMeta"],
150
+ 'links': NotRequired["OptionalFieldLinks"],
151
+ },
152
+ )
153
+
154
+ type AttachmentSortOrder = Literal['created-date', '-created-date', 'modified-date', '-modified-date']
155
+ """The sort fields for attachments. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
156
+
157
+ AttachmentVersion = TypedDict(
158
+ 'AttachmentVersion',
159
+ {
160
+ 'created_at': NotRequired["str"],
161
+ 'message': NotRequired["str"],
162
+ 'number': NotRequired["int"],
163
+ 'minor_edit': NotRequired["bool"],
164
+ 'author_id': NotRequired["str"],
165
+ 'attachment': NotRequired["VersionedEntity"],
166
+ },
167
+ )
168
+
169
+ BlogPostBodyWrite = TypedDict(
170
+ 'BlogPostBodyWrite',
171
+ {
172
+ 'representation': NotRequired["BlogPostBodyWriteRepresentation"],
173
+ 'value': NotRequired["str"],
174
+ },
175
+ )
176
+
177
+ type BlogPostBodyWriteRepresentation = Literal['storage', 'atlas_doc_format', 'wiki']
178
+ """Type of content representation used for the value field."""
179
+
180
+ BlogPostBulk = TypedDict(
181
+ 'BlogPostBulk',
182
+ {
183
+ 'id': NotRequired["str"],
184
+ 'status': NotRequired["BlogPostContentStatus"],
185
+ 'title': NotRequired["str"],
186
+ 'space_id': NotRequired["str"],
187
+ 'author_id': NotRequired["str"],
188
+ 'created_at': NotRequired["str"],
189
+ 'version': NotRequired["Version"],
190
+ 'body': NotRequired["BodyBulk"],
191
+ 'links': NotRequired["AbstractPageLinks"],
192
+ },
193
+ )
194
+
195
+ BlogPostCommentModel = TypedDict(
196
+ 'BlogPostCommentModel',
197
+ {
198
+ 'id': NotRequired["str"],
199
+ 'status': NotRequired["ContentStatus"],
200
+ 'title': NotRequired["str"],
201
+ 'blog_post_id': NotRequired["str"],
202
+ 'version': NotRequired["Version"],
203
+ 'body': NotRequired["BodyBulk"],
204
+ 'links': NotRequired["CommentLinks"],
205
+ },
206
+ )
207
+
208
+ type BlogPostContentStatus = Literal['current', 'draft', 'historical', 'trashed', 'deleted', 'any']
209
+ """The status of the content."""
210
+
211
+ BlogPostInlineCommentModel = TypedDict(
212
+ 'BlogPostInlineCommentModel',
213
+ {
214
+ 'id': NotRequired["str"],
215
+ 'status': NotRequired["ContentStatus"],
216
+ 'title': NotRequired["str"],
217
+ 'blog_post_id': NotRequired["str"],
218
+ 'version': NotRequired["Version"],
219
+ 'body': NotRequired["BodyBulk"],
220
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
221
+ 'properties': NotRequired["InlineCommentProperties"],
222
+ 'links': NotRequired["CommentLinks"],
223
+ },
224
+ )
225
+
226
+ BlogPostNestedBodyWrite = TypedDict(
227
+ 'BlogPostNestedBodyWrite',
228
+ {
229
+ 'storage': NotRequired["BlogPostBodyWrite"],
230
+ 'atlas_doc_format': NotRequired["BlogPostBodyWrite"],
231
+ 'wiki': NotRequired["BlogPostBodyWrite"],
232
+ },
233
+ )
234
+ """
235
+ Body of the blog post. Only one body format should be specified as the property
236
+ for this object, e.g. `storage`.
237
+ """
238
+
239
+ BlogPostSingle = TypedDict(
240
+ 'BlogPostSingle',
241
+ {
242
+ 'id': NotRequired["str"],
243
+ 'status': NotRequired["BlogPostContentStatus"],
244
+ 'title': NotRequired["str"],
245
+ 'space_id': NotRequired["str"],
246
+ 'author_id': NotRequired["str"],
247
+ 'created_at': NotRequired["str"],
248
+ 'version': NotRequired["Version"],
249
+ 'body': NotRequired["BodySingle"],
250
+ 'labels': NotRequired["BlogPostSingleLabels"],
251
+ 'properties': NotRequired["BlogPostSingleProperties"],
252
+ 'operations': NotRequired["BlogPostSingleOperations"],
253
+ 'likes': NotRequired["BlogPostSingleLikes"],
254
+ 'versions': NotRequired["BlogPostSingleVersions"],
255
+ 'is_favorited_by_current_user': NotRequired["bool"],
256
+ 'links': NotRequired["AbstractPageLinks"],
257
+ },
258
+ )
259
+
260
+ BlogPostSingleLabels = TypedDict(
261
+ 'BlogPostSingleLabels',
262
+ {
263
+ 'results': NotRequired["list[Label]"],
264
+ 'meta': NotRequired["OptionalFieldMeta"],
265
+ 'links': NotRequired["OptionalFieldLinks"],
266
+ },
267
+ )
268
+
269
+ BlogPostSingleLikes = TypedDict(
270
+ 'BlogPostSingleLikes',
271
+ {
272
+ 'results': NotRequired["list[Like]"],
273
+ 'meta': NotRequired["OptionalFieldMeta"],
274
+ 'links': NotRequired["OptionalFieldLinks"],
275
+ },
276
+ )
277
+
278
+ BlogPostSingleOperations = TypedDict(
279
+ 'BlogPostSingleOperations',
280
+ {
281
+ 'results': NotRequired["list[Operation]"],
282
+ 'meta': NotRequired["OptionalFieldMeta"],
283
+ 'links': NotRequired["OptionalFieldLinks"],
284
+ },
285
+ )
286
+
287
+ BlogPostSingleProperties = TypedDict(
288
+ 'BlogPostSingleProperties',
289
+ {
290
+ 'results': NotRequired["list[ContentProperty]"],
291
+ 'meta': NotRequired["OptionalFieldMeta"],
292
+ 'links': NotRequired["OptionalFieldLinks"],
293
+ },
294
+ )
295
+
296
+ BlogPostSingleVersions = TypedDict(
297
+ 'BlogPostSingleVersions',
298
+ {
299
+ 'results': NotRequired["list[Version]"],
300
+ 'meta': NotRequired["OptionalFieldMeta"],
301
+ 'links': NotRequired["OptionalFieldLinks"],
302
+ },
303
+ )
304
+
305
+ type BlogPostSortOrder = Literal['id', '-id', 'created-date', '-created-date', 'modified-date', '-modified-date']
306
+ """The sort fields for blog posts. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
307
+
308
+ BlogPostVersion = TypedDict(
309
+ 'BlogPostVersion',
310
+ {
311
+ 'created_at': NotRequired["str"],
312
+ 'message': NotRequired["str"],
313
+ 'number': NotRequired["int"],
314
+ 'minor_edit': NotRequired["bool"],
315
+ 'author_id': NotRequired["str"],
316
+ 'blogpost': NotRequired["VersionedEntity"],
317
+ },
318
+ )
319
+
320
+ BodyBulk = TypedDict(
321
+ 'BodyBulk',
322
+ {
323
+ 'storage': NotRequired["BodyType"],
324
+ 'atlas_doc_format': NotRequired["BodyType"],
325
+ },
326
+ )
327
+ """Contains fields for each representation type requested."""
328
+
329
+ BodySingle = TypedDict(
330
+ 'BodySingle',
331
+ {
332
+ 'storage': NotRequired["BodyType"],
333
+ 'atlas_doc_format': NotRequired["BodyType"],
334
+ 'view': NotRequired["BodyType"],
335
+ },
336
+ )
337
+ """Contains fields for each representation type requested."""
338
+
339
+ BodyType = TypedDict(
340
+ 'BodyType',
341
+ {
342
+ 'representation': NotRequired["str"],
343
+ 'value': NotRequired["str"],
344
+ },
345
+ )
346
+
347
+ BulkAssignRolesRequest = TypedDict(
348
+ 'BulkAssignRolesRequest',
349
+ {
350
+ 'assignments': "list[BulkTransitionRoleAssignment]",
351
+ 'space_selection': "BulkTransitionSpaceSelection",
352
+ },
353
+ )
354
+
355
+ BulkRemoveAccessRequest = TypedDict(
356
+ 'BulkRemoveAccessRequest',
357
+ {
358
+ 'permission_combination_ids': "list[str]",
359
+ 'space_selection': "BulkTransitionSpaceSelection",
360
+ },
361
+ )
362
+
363
+ BulkTransitionCombinationEntry = TypedDict(
364
+ 'BulkTransitionCombinationEntry',
365
+ {
366
+ 'combination_id': "str",
367
+ 'space_count': "int",
368
+ 'principal_count': "int",
369
+ 'permissions': "list[BulkTransitionDecodedPermission]",
370
+ 'principal_types': "list[BulkTransitionCombinationEntryPrincipalTypesItem]",
371
+ },
372
+ )
373
+
374
+ type BulkTransitionCombinationEntryPrincipalTypesItem = Literal['USER', 'GROUP', 'GUEST', 'ANONYMOUS', 'ALL_LICENSED_USERS_USER_CLASS', 'ALL_PRODUCT_ADMINS_USER_CLASS', 'APP', 'TEAM']
375
+
376
+ BulkTransitionDecodedPermission = TypedDict(
377
+ 'BulkTransitionDecodedPermission',
378
+ {
379
+ 'id': "str",
380
+ 'display_name': "str",
381
+ },
382
+ )
383
+
384
+ BulkTransitionPrincipalTypeAssignment = TypedDict(
385
+ 'BulkTransitionPrincipalTypeAssignment',
386
+ {
387
+ 'principal_type': "BulkTransitionPrincipalTypeAssignmentPrincipalType",
388
+ 'remove_access': "bool",
389
+ 'role_id': NotRequired["str | None"],
390
+ },
391
+ )
392
+
393
+ type BulkTransitionPrincipalTypeAssignmentPrincipalType = Literal['USER', 'GROUP', 'GUEST', 'ANONYMOUS', 'ALL_LICENSED_USERS_USER_CLASS', 'ALL_PRODUCT_ADMINS_USER_CLASS', 'APP']
394
+ """The type of principal."""
395
+
396
+ BulkTransitionRoleAssignment = TypedDict(
397
+ 'BulkTransitionRoleAssignment',
398
+ {
399
+ 'permission_combination_id': "str",
400
+ 'principal_type_assignments': "list[BulkTransitionPrincipalTypeAssignment]",
401
+ },
402
+ )
403
+
404
+ BulkTransitionSpaceSelection = TypedDict(
405
+ 'BulkTransitionSpaceSelection',
406
+ {
407
+ 'space_type': "BulkTransitionSpaceSelectionSpaceType",
408
+ 'selected_spaces': NotRequired["list[BulkTransitionSpaceTarget]"],
409
+ },
410
+ )
411
+
412
+ type BulkTransitionSpaceSelectionSpaceType = Literal['ALL', 'ALL_EXCEPT_PERSONAL', 'ALL_EXCEPT_SPECIFIC', 'PERSONAL', 'SPECIFIC']
413
+ """The space selection type."""
414
+
415
+ BulkTransitionSpaceTarget = TypedDict(
416
+ 'BulkTransitionSpaceTarget',
417
+ {
418
+ 'id': "str",
419
+ 'key': "str",
420
+ },
421
+ )
422
+
423
+ BulkTransitionTaskResponse = TypedDict(
424
+ 'BulkTransitionTaskResponse',
425
+ {
426
+ 'task_id': "str",
427
+ 'status': "BulkTransitionTaskResponseStatus",
428
+ 'status_url': "str",
429
+ },
430
+ )
431
+
432
+ type BulkTransitionTaskResponseStatus = Literal['IN_PROGRESS', 'COMPLETED', 'FAILED']
433
+ """The current status of the task."""
434
+
435
+ BulkTransitionTaskStatusResponse = TypedDict(
436
+ 'BulkTransitionTaskStatusResponse',
437
+ {
438
+ 'task_id': "str",
439
+ 'status': "BulkTransitionTaskStatusResponseStatus",
440
+ 'error_message': NotRequired["str | None"],
441
+ },
442
+ )
443
+
444
+ type BulkTransitionTaskStatusResponseStatus = Literal['IN_PROGRESS', 'COMPLETED', 'FAILED']
445
+ """The current status of the task."""
446
+
447
+ CheckAccessByEmailBody = TypedDict(
448
+ 'CheckAccessByEmailBody',
449
+ {
450
+ 'emails': "list[str]",
451
+ },
452
+ )
453
+
454
+ CheckAccessByEmailResponse = TypedDict(
455
+ 'CheckAccessByEmailResponse',
456
+ {
457
+ 'emails_without_access': NotRequired["list[str]"],
458
+ 'invalid_emails': NotRequired["list[str]"],
459
+ },
460
+ )
461
+
462
+ ChildCustomContent = TypedDict(
463
+ 'ChildCustomContent',
464
+ {
465
+ 'id': NotRequired["str"],
466
+ 'status': NotRequired["OnlyArchivedAndCurrentContentStatus"],
467
+ 'title': NotRequired["str"],
468
+ 'type': NotRequired["str"],
469
+ 'space_id': NotRequired["str"],
470
+ },
471
+ )
472
+
473
+ type ChildCustomContentSortOrder = Literal['created-date', '-created-date', 'id', '-id', 'modified-date', '-modified-date']
474
+ """The sort fields for child custom content. The default sort direction is ascending by id. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
475
+
476
+ ChildPage = TypedDict(
477
+ 'ChildPage',
478
+ {
479
+ 'id': NotRequired["str"],
480
+ 'status': NotRequired["OnlyArchivedAndCurrentContentStatus"],
481
+ 'title': NotRequired["str"],
482
+ 'space_id': NotRequired["str"],
483
+ 'child_position': NotRequired["int | None"],
484
+ },
485
+ )
486
+
487
+ type ChildPageSortOrder = Literal['created-date', '-created-date', 'id', '-id', 'child-position', '-child-position', 'modified-date', '-modified-date']
488
+ """The sort fields for child pages. The default sort direction is ascending by child-position. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
489
+
490
+ ChildrenCommentModel = TypedDict(
491
+ 'ChildrenCommentModel',
492
+ {
493
+ 'id': NotRequired["str"],
494
+ 'status': NotRequired["ContentStatus"],
495
+ 'title': NotRequired["str"],
496
+ 'parent_comment_id': NotRequired["str"],
497
+ 'version': NotRequired["Version"],
498
+ 'body': NotRequired["BodyBulk"],
499
+ 'links': NotRequired["CommentLinks"],
500
+ },
501
+ )
502
+
503
+ ChildrenResponse = TypedDict(
504
+ 'ChildrenResponse',
505
+ {
506
+ 'id': NotRequired["str"],
507
+ 'status': NotRequired["OnlyArchivedAndCurrentContentStatus"],
508
+ 'title': NotRequired["str"],
509
+ 'type': NotRequired["str"],
510
+ 'space_id': NotRequired["str"],
511
+ 'child_position': NotRequired["int | None"],
512
+ },
513
+ )
514
+
515
+ ClassificationLevel = TypedDict(
516
+ 'ClassificationLevel',
517
+ {
518
+ 'id': NotRequired["str"],
519
+ 'status': NotRequired["ClassificationLevelStatus"],
520
+ 'order': NotRequired["float"],
521
+ 'name': NotRequired["str"],
522
+ 'description': NotRequired["str"],
523
+ 'guideline': NotRequired["str"],
524
+ 'color': NotRequired["ClassificationLevelColor"],
525
+ },
526
+ )
527
+ """
528
+ A unit of [data classification](https://support.atlassian.com/security-and-access-policies/docs/what-is-data-classification/) defined by an organiation.
529
+ A classification level may be associated with specific storage and handling requirements or expectations.
530
+ """
531
+
532
+ type ClassificationLevelColor = Literal['RED', 'RED_BOLD', 'ORANGE', 'YELLOW', 'GREEN', 'BLUE', 'NAVY', 'TEAL', 'PURPLE', 'GREY', 'LIME']
533
+
534
+ type ClassificationLevelStatus = Literal['DRAFT', 'PUBLISHED', 'ARCHIVED']
535
+
536
+ CommentBodyWrite = TypedDict(
537
+ 'CommentBodyWrite',
538
+ {
539
+ 'representation': NotRequired["CommentBodyWriteRepresentation"],
540
+ 'value': NotRequired["str"],
541
+ },
542
+ )
543
+
544
+ type CommentBodyWriteRepresentation = Literal['storage', 'atlas_doc_format', 'wiki']
545
+ """Type of content representation used for the value field."""
546
+
547
+ CommentLinks = TypedDict(
548
+ 'CommentLinks',
549
+ {
550
+ 'webui': NotRequired["str"],
551
+ },
552
+ )
553
+
554
+ CommentNestedBodyWrite = TypedDict(
555
+ 'CommentNestedBodyWrite',
556
+ {
557
+ 'storage': NotRequired["CommentBodyWrite"],
558
+ 'atlas_doc_format': NotRequired["CommentBodyWrite"],
559
+ 'wiki': NotRequired["CommentBodyWrite"],
560
+ },
561
+ )
562
+ """
563
+ Body of the comment. Only one body format should be specified as the property
564
+ for this object, e.g. `storage`.
565
+ """
566
+
567
+ type CommentSortOrder = Literal['created-date', '-created-date', 'modified-date', '-modified-date']
568
+ """The sort fields for comments. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
569
+
570
+ CommentVersion = TypedDict(
571
+ 'CommentVersion',
572
+ {
573
+ 'created_at': NotRequired["str"],
574
+ 'message': NotRequired["str"],
575
+ 'number': NotRequired["int"],
576
+ 'minor_edit': NotRequired["bool"],
577
+ 'author_id': NotRequired["str"],
578
+ 'comment': NotRequired["VersionedEntity"],
579
+ },
580
+ )
581
+
582
+ ContentIdToContentTypeResponse = TypedDict(
583
+ 'ContentIdToContentTypeResponse',
584
+ {
585
+ 'results': NotRequired["dict[str, ContentIdToContentTypeResponseResultsValue]"],
586
+ },
587
+ )
588
+
589
+ type ContentIdToContentTypeResponseResultsValue = ContentIdToContentTypeResponseResultsValueOption1 | str
590
+
591
+ type ContentIdToContentTypeResponseResultsValueOption1 = Literal['page', 'blogpost', 'attachment', 'footer-comment', 'inline-comment']
592
+ """Built in content types"""
593
+
594
+ ContentPermissionError = TypedDict(
595
+ 'ContentPermissionError',
596
+ {
597
+ 'status': "int",
598
+ 'code': "str",
599
+ 'title': "str",
600
+ 'detail': NotRequired["str | None"],
601
+ },
602
+ )
603
+
604
+ ContentPermissionErrorResponse = TypedDict(
605
+ 'ContentPermissionErrorResponse',
606
+ {
607
+ 'errors': "list[ContentPermissionError]",
608
+ },
609
+ )
610
+ """An error response that follows the Atlassian REST API error standard."""
611
+
612
+ ContentPermissionOutput = TypedDict(
613
+ 'ContentPermissionOutput',
614
+ {
615
+ 'operation': "ContentPermissionOutputOperation",
616
+ 'principal': "ContentPermissionPrincipal",
617
+ 'created_at': NotRequired["str"],
618
+ 'created_by': NotRequired["str"],
619
+ 'created_by_aaid': NotRequired["str"],
620
+ },
621
+ )
622
+ """A single direct-permission entry on a content item."""
623
+
624
+ type ContentPermissionOutputOperation = Literal['read', 'update']
625
+ """The operation the permission grants."""
626
+
627
+ ContentPermissionPrincipal = TypedDict(
628
+ 'ContentPermissionPrincipal',
629
+ {
630
+ 'principal_type': "ContentPermissionPrincipalPrincipalType",
631
+ 'principal_id': "str",
632
+ },
633
+ )
634
+ """A user or group principal on a content permission entry."""
635
+
636
+ type ContentPermissionPrincipalPrincipalType = Literal['user', 'group']
637
+ """The type of principal."""
638
+
639
+ ContentPermissionsRequest = TypedDict(
640
+ 'ContentPermissionsRequest',
641
+ {
642
+ 'permissions': "list[OperationPermissionsInput]",
643
+ },
644
+ )
645
+ """
646
+ A list of operation-grouped permission assignments.
647
+
648
+ The resulting direct-permission set cannot exceed 500 entries. Requests that would exceed this limit return a `400` response.
649
+ """
650
+
651
+ ContentPermissionsResponse = TypedDict(
652
+ 'ContentPermissionsResponse',
653
+ {
654
+ 'results': "list[ContentPermissionOutput]",
655
+ 'links': "MultiEntityLinks",
656
+ },
657
+ )
658
+ """
659
+ Contains up to 250 direct permissions on a content item. GET responses support cursor pagination to retrieve additional entries.
660
+
661
+ POST and PUT responses contain only the first 250 permissions from the resulting direct-permission set. Use the corresponding GET permissions endpoint to retrieve any remaining entries.
662
+ """
663
+
664
+ ContentPrincipalInput = TypedDict(
665
+ 'ContentPrincipalInput',
666
+ {
667
+ 'principal_type': "ContentPrincipalInputPrincipalType",
668
+ 'principal_id': "str",
669
+ },
670
+ )
671
+ """Identifies a user or group to assign a permission to."""
672
+
673
+ type ContentPrincipalInputPrincipalType = Literal['user', 'group']
674
+ """The type of principal."""
675
+
676
+ ContentProperty = TypedDict(
677
+ 'ContentProperty',
678
+ {
679
+ 'id': NotRequired["str"],
680
+ 'key': NotRequired["str"],
681
+ 'value': NotRequired["Any"],
682
+ 'version': NotRequired["Version"],
683
+ },
684
+ )
685
+
686
+ ContentPropertyCreateRequest = TypedDict(
687
+ 'ContentPropertyCreateRequest',
688
+ {
689
+ 'key': NotRequired["str"],
690
+ 'value': NotRequired["Any"],
691
+ },
692
+ )
693
+
694
+ type ContentPropertySortOrder = Literal['key', '-key']
695
+ """The sort fields for content properties. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
696
+
697
+ ContentPropertyUpdateRequest = TypedDict(
698
+ 'ContentPropertyUpdateRequest',
699
+ {
700
+ 'key': NotRequired["str"],
701
+ 'value': NotRequired["Any"],
702
+ 'version': NotRequired["ContentPropertyUpdateRequestVersion"],
703
+ },
704
+ )
705
+
706
+ ContentPropertyUpdateRequestVersion = TypedDict(
707
+ 'ContentPropertyUpdateRequestVersion',
708
+ {
709
+ 'number': NotRequired["int"],
710
+ 'message': NotRequired["str"],
711
+ },
712
+ )
713
+ """New version number and associated message"""
714
+
715
+ type ContentRestrictionState = Literal['OPEN', 'EDIT_RESTRICTED', 'VIEW_RESTRICTED']
716
+ """
717
+ The direct restriction state of a content item. Inherited restrictions are not represented by this REST enum.
718
+ - `OPEN` – No direct restrictions. Effective access may still be restricted by a parent.
719
+ - `EDIT_RESTRICTED` – Direct viewing is open but editing is restricted to explicitly granted users/groups.
720
+ - `VIEW_RESTRICTED` – Direct viewing and editing are restricted to explicitly granted users/groups.
721
+ """
722
+
723
+ type ContentSortOrder = Literal['created-date', '-created-date', 'id', '-id', 'modified-date', '-modified-date', 'child-position', '-child-position', 'title', '-title']
724
+ """The sort fields for hierarchical content types. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
725
+
726
+ type ContentStatus = Literal['current', 'draft', 'archived', 'historical', 'trashed', 'deleted', 'any']
727
+ """The status of the content."""
728
+
729
+ ConvertContentIdsToContentTypesBody = TypedDict(
730
+ 'ConvertContentIdsToContentTypesBody',
731
+ {
732
+ 'content_ids': "list[ConvertContentIdsToContentTypesBodyContentIdsItem]",
733
+ },
734
+ )
735
+
736
+ type ConvertContentIdsToContentTypesBodyContentIdsItem = str | float
737
+
738
+ CreateBlogPostBody = TypedDict(
739
+ 'CreateBlogPostBody',
740
+ {
741
+ 'space_id': "str",
742
+ 'status': NotRequired["CreateBlogPostBodyStatus"],
743
+ 'title': NotRequired["str"],
744
+ 'body': NotRequired["CreateBlogPostBodyBody"],
745
+ 'created_at': NotRequired["str"],
746
+ },
747
+ )
748
+
749
+ type CreateBlogPostBodyBody = BlogPostBodyWrite | BlogPostNestedBodyWrite
750
+
751
+ type CreateBlogPostBodyStatus = Literal['current', 'draft']
752
+ """The status of the blog post, specifies if the blog post will be created as a new blog post or a draft"""
753
+
754
+ CreateBlogPostResponse = TypedDict(
755
+ 'CreateBlogPostResponse',
756
+ {
757
+ 'id': NotRequired["str"],
758
+ 'status': NotRequired["BlogPostContentStatus"],
759
+ 'title': NotRequired["str"],
760
+ 'space_id': NotRequired["str"],
761
+ 'author_id': NotRequired["str"],
762
+ 'created_at': NotRequired["str"],
763
+ 'version': NotRequired["Version"],
764
+ 'body': NotRequired["BodySingle"],
765
+ 'labels': NotRequired["BlogPostSingleLabels"],
766
+ 'properties': NotRequired["BlogPostSingleProperties"],
767
+ 'operations': NotRequired["BlogPostSingleOperations"],
768
+ 'likes': NotRequired["BlogPostSingleLikes"],
769
+ 'versions': NotRequired["BlogPostSingleVersions"],
770
+ 'is_favorited_by_current_user': NotRequired["bool"],
771
+ 'links': NotRequired["CreateBlogPostResponseLinks"],
772
+ },
773
+ )
774
+
775
+ CreateBlogPostResponseLinks = TypedDict(
776
+ 'CreateBlogPostResponseLinks',
777
+ {
778
+ 'base': NotRequired["str"],
779
+ },
780
+ )
781
+
782
+ CreateBulkUserLookupBody = TypedDict(
783
+ 'CreateBulkUserLookupBody',
784
+ {
785
+ 'account_ids': "list[str]",
786
+ },
787
+ )
788
+
789
+ CreateBulkUserLookupResponse = TypedDict(
790
+ 'CreateBulkUserLookupResponse',
791
+ {
792
+ 'results': NotRequired["list[User]"],
793
+ 'links': NotRequired["MultiEntityLinks"],
794
+ },
795
+ )
796
+ """MultiEntityResult<User>"""
797
+
798
+ CreateCustomContentBody = TypedDict(
799
+ 'CreateCustomContentBody',
800
+ {
801
+ 'type': "str",
802
+ 'status': NotRequired["CreateCustomContentBodyStatus"],
803
+ 'space_id': NotRequired["str"],
804
+ 'page_id': NotRequired["str"],
805
+ 'blog_post_id': NotRequired["str"],
806
+ 'custom_content_id': NotRequired["str"],
807
+ 'title': "str",
808
+ 'body': "CreateCustomContentBodyBody",
809
+ },
810
+ )
811
+
812
+ type CreateCustomContentBodyBody = CustomContentBodyWrite | CustomContentNestedBodyWrite
813
+
814
+ type CreateCustomContentBodyStatus = Literal['current', 'draft']
815
+ """The status of the custom content. Defaults to `current` when status not provided."""
816
+
817
+ CreateCustomContentResponse = TypedDict(
818
+ 'CreateCustomContentResponse',
819
+ {
820
+ 'id': NotRequired["str"],
821
+ 'type': NotRequired["str"],
822
+ 'status': NotRequired["ContentStatus"],
823
+ 'title': NotRequired["str"],
824
+ 'space_id': NotRequired["str"],
825
+ 'page_id': NotRequired["str"],
826
+ 'blog_post_id': NotRequired["str"],
827
+ 'custom_content_id': NotRequired["str"],
828
+ 'author_id': NotRequired["str"],
829
+ 'created_at': NotRequired["str"],
830
+ 'version': NotRequired["Version"],
831
+ 'labels': NotRequired["CustomContentSingleLabels"],
832
+ 'properties': NotRequired["CustomContentSingleProperties"],
833
+ 'operations': NotRequired["CustomContentSingleOperations"],
834
+ 'versions': NotRequired["CustomContentSingleVersions"],
835
+ 'body': NotRequired["CustomContentBodySingle"],
836
+ 'links': NotRequired["CreateCustomContentResponseLinks"],
837
+ },
838
+ )
839
+
840
+ CreateCustomContentResponseLinks = TypedDict(
841
+ 'CreateCustomContentResponseLinks',
842
+ {
843
+ 'base': NotRequired["str"],
844
+ },
845
+ )
846
+
847
+ CreateDatabaseBody = TypedDict(
848
+ 'CreateDatabaseBody',
849
+ {
850
+ 'space_id': "str",
851
+ 'title': NotRequired["str"],
852
+ 'parent_id': NotRequired["str"],
853
+ },
854
+ )
855
+
856
+ CreateDatabaseResponse = TypedDict(
857
+ 'CreateDatabaseResponse',
858
+ {
859
+ 'id': NotRequired["str"],
860
+ 'type': NotRequired["str"],
861
+ 'status': NotRequired["ContentStatus"],
862
+ 'title': NotRequired["str"],
863
+ 'parent_id': NotRequired["str"],
864
+ 'parent_type': NotRequired["ParentContentType"],
865
+ 'position': NotRequired["int | None"],
866
+ 'author_id': NotRequired["str"],
867
+ 'owner_id': NotRequired["str"],
868
+ 'created_at': NotRequired["str"],
869
+ 'space_id': NotRequired["str"],
870
+ 'version': NotRequired["Version"],
871
+ 'links': NotRequired["CreateDatabaseResponseLinks"],
872
+ },
873
+ )
874
+
875
+ CreateDatabaseResponseLinks = TypedDict(
876
+ 'CreateDatabaseResponseLinks',
877
+ {
878
+ 'base': NotRequired["str"],
879
+ },
880
+ )
881
+
882
+ CreateFolderBody = TypedDict(
883
+ 'CreateFolderBody',
884
+ {
885
+ 'space_id': "str",
886
+ 'title': NotRequired["str"],
887
+ 'parent_id': NotRequired["str"],
888
+ },
889
+ )
890
+
891
+ CreateFolderResponse = TypedDict(
892
+ 'CreateFolderResponse',
893
+ {
894
+ 'id': NotRequired["str"],
895
+ 'type': NotRequired["str"],
896
+ 'status': NotRequired["ContentStatus"],
897
+ 'title': NotRequired["str"],
898
+ 'parent_id': NotRequired["str"],
899
+ 'parent_type': NotRequired["ParentContentType"],
900
+ 'position': NotRequired["int | None"],
901
+ 'author_id': NotRequired["str"],
902
+ 'owner_id': NotRequired["str"],
903
+ 'created_at': NotRequired["str"],
904
+ 'space_id': NotRequired["str"],
905
+ 'version': NotRequired["Version"],
906
+ 'links': NotRequired["CreateFolderResponseLinks"],
907
+ },
908
+ )
909
+
910
+ CreateFolderResponseLinks = TypedDict(
911
+ 'CreateFolderResponseLinks',
912
+ {
913
+ 'base': NotRequired["str"],
914
+ },
915
+ )
916
+
917
+ CreateFooterCommentModel = TypedDict(
918
+ 'CreateFooterCommentModel',
919
+ {
920
+ 'blog_post_id': NotRequired["str"],
921
+ 'page_id': NotRequired["str"],
922
+ 'parent_comment_id': NotRequired["str"],
923
+ 'attachment_id': NotRequired["str"],
924
+ 'custom_content_id': NotRequired["str"],
925
+ 'body': NotRequired["CreateFooterCommentModelBody"],
926
+ },
927
+ )
928
+
929
+ type CreateFooterCommentModelBody = CommentBodyWrite | CommentNestedBodyWrite
930
+
931
+ CreateFooterCommentResponse = TypedDict(
932
+ 'CreateFooterCommentResponse',
933
+ {
934
+ 'id': NotRequired["str"],
935
+ 'status': NotRequired["ContentStatus"],
936
+ 'title': NotRequired["str"],
937
+ 'blog_post_id': NotRequired["str"],
938
+ 'page_id': NotRequired["str"],
939
+ 'attachment_id': NotRequired["str"],
940
+ 'custom_content_id': NotRequired["str"],
941
+ 'parent_comment_id': NotRequired["str"],
942
+ 'version': NotRequired["Version"],
943
+ 'properties': NotRequired["FooterCommentModelProperties"],
944
+ 'operations': NotRequired["FooterCommentModelOperations"],
945
+ 'likes': NotRequired["FooterCommentModelLikes"],
946
+ 'versions': NotRequired["FooterCommentModelVersions"],
947
+ 'body': NotRequired["BodySingle"],
948
+ 'links': NotRequired["CreateFooterCommentResponseLinks"],
949
+ },
950
+ )
951
+
952
+ CreateFooterCommentResponseLinks = TypedDict(
953
+ 'CreateFooterCommentResponseLinks',
954
+ {
955
+ 'base': NotRequired["str"],
956
+ },
957
+ )
958
+
959
+ CreateInlineCommentModel = TypedDict(
960
+ 'CreateInlineCommentModel',
961
+ {
962
+ 'blog_post_id': NotRequired["str"],
963
+ 'page_id': NotRequired["str"],
964
+ 'parent_comment_id': NotRequired["str"],
965
+ 'body': NotRequired["CreateInlineCommentModelBody"],
966
+ 'inline_comment_properties': NotRequired["CreateInlineCommentModelInlineCommentProperties"],
967
+ },
968
+ )
969
+
970
+ type CreateInlineCommentModelBody = CommentBodyWrite | CommentNestedBodyWrite
971
+
972
+ CreateInlineCommentModelInlineCommentProperties = TypedDict(
973
+ 'CreateInlineCommentModelInlineCommentProperties',
974
+ {
975
+ 'text_selection': NotRequired["str"],
976
+ 'text_selection_match_count': NotRequired["int"],
977
+ 'text_selection_match_index': NotRequired["int"],
978
+ },
979
+ )
980
+ """Object describing the text to highlight on the page/blog post. Only applicable for top level inline comments (not replies) and required in that case."""
981
+
982
+ CreateInlineCommentResponse = TypedDict(
983
+ 'CreateInlineCommentResponse',
984
+ {
985
+ 'id': NotRequired["str"],
986
+ 'status': NotRequired["ContentStatus"],
987
+ 'title': NotRequired["str"],
988
+ 'blog_post_id': NotRequired["str"],
989
+ 'page_id': NotRequired["str"],
990
+ 'parent_comment_id': NotRequired["str"],
991
+ 'version': NotRequired["Version"],
992
+ 'body': NotRequired["BodySingle"],
993
+ 'resolution_last_modifier_id': NotRequired["str"],
994
+ 'resolution_last_modified_at': NotRequired["str"],
995
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
996
+ 'properties': NotRequired["InlineCommentModelProperties"],
997
+ 'operations': NotRequired["InlineCommentModelOperations"],
998
+ 'likes': NotRequired["InlineCommentModelLikes"],
999
+ 'versions': NotRequired["InlineCommentModelVersions"],
1000
+ 'links': NotRequired["CreateInlineCommentResponseLinks"],
1001
+ },
1002
+ )
1003
+
1004
+ CreateInlineCommentResponseLinks = TypedDict(
1005
+ 'CreateInlineCommentResponseLinks',
1006
+ {
1007
+ 'base': NotRequired["str"],
1008
+ },
1009
+ )
1010
+
1011
+ CreatePageBody = TypedDict(
1012
+ 'CreatePageBody',
1013
+ {
1014
+ 'space_id': "str",
1015
+ 'status': NotRequired["CreatePageBodyStatus"],
1016
+ 'title': NotRequired["str"],
1017
+ 'parent_id': NotRequired["str"],
1018
+ 'body': NotRequired["CreatePageBodyBody"],
1019
+ 'subtype': NotRequired["CreatePageBodySubtype"],
1020
+ },
1021
+ )
1022
+
1023
+ type CreatePageBodyBody = PageBodyWrite | PageNestedBodyWrite
1024
+
1025
+ type CreatePageBodyStatus = Literal['current', 'draft']
1026
+ """The status of the page, published or draft."""
1027
+
1028
+ type CreatePageBodySubtype = Literal['live']
1029
+ """The subtype of the page. Provide the subtype live to create a live doc or no subtype to create a page."""
1030
+
1031
+ CreatePageResponse = TypedDict(
1032
+ 'CreatePageResponse',
1033
+ {
1034
+ 'id': NotRequired["str"],
1035
+ 'status': NotRequired["ContentStatus"],
1036
+ 'title': NotRequired["str"],
1037
+ 'space_id': NotRequired["str"],
1038
+ 'parent_id': NotRequired["str"],
1039
+ 'parent_type': NotRequired["ParentContentType"],
1040
+ 'position': NotRequired["int | None"],
1041
+ 'author_id': NotRequired["str"],
1042
+ 'owner_id': NotRequired["str | None"],
1043
+ 'last_owner_id': NotRequired["str | None"],
1044
+ 'created_at': NotRequired["str"],
1045
+ 'version': NotRequired["Version"],
1046
+ 'body': NotRequired["BodySingle"],
1047
+ 'labels': NotRequired["PageSingleLabels"],
1048
+ 'properties': NotRequired["PageSingleProperties"],
1049
+ 'operations': NotRequired["PageSingleOperations"],
1050
+ 'likes': NotRequired["PageSingleLikes"],
1051
+ 'versions': NotRequired["PageSingleVersions"],
1052
+ 'is_favorited_by_current_user': NotRequired["bool"],
1053
+ 'links': NotRequired["CreatePageResponseLinks"],
1054
+ },
1055
+ )
1056
+
1057
+ CreatePageResponseLinks = TypedDict(
1058
+ 'CreatePageResponseLinks',
1059
+ {
1060
+ 'base': NotRequired["str"],
1061
+ },
1062
+ )
1063
+
1064
+ CreateSmartLinkBody = TypedDict(
1065
+ 'CreateSmartLinkBody',
1066
+ {
1067
+ 'space_id': "str",
1068
+ 'title': NotRequired["str"],
1069
+ 'parent_id': NotRequired["str"],
1070
+ 'embed_url': NotRequired["str"],
1071
+ },
1072
+ )
1073
+
1074
+ CreateSmartLinkResponse = TypedDict(
1075
+ 'CreateSmartLinkResponse',
1076
+ {
1077
+ 'id': NotRequired["str"],
1078
+ 'type': NotRequired["str"],
1079
+ 'status': NotRequired["ContentStatus"],
1080
+ 'title': NotRequired["str"],
1081
+ 'parent_id': NotRequired["str"],
1082
+ 'parent_type': NotRequired["ParentContentType"],
1083
+ 'position': NotRequired["int | None"],
1084
+ 'author_id': NotRequired["str"],
1085
+ 'owner_id': NotRequired["str"],
1086
+ 'created_at': NotRequired["str"],
1087
+ 'embed_url': NotRequired["str"],
1088
+ 'space_id': NotRequired["str"],
1089
+ 'version': NotRequired["Version"],
1090
+ 'links': NotRequired["CreateSmartLinkResponseLinks"],
1091
+ },
1092
+ )
1093
+
1094
+ CreateSmartLinkResponseLinks = TypedDict(
1095
+ 'CreateSmartLinkResponseLinks',
1096
+ {
1097
+ 'base': NotRequired["str"],
1098
+ },
1099
+ )
1100
+
1101
+ CreateSpaceBody = TypedDict(
1102
+ 'CreateSpaceBody',
1103
+ {
1104
+ 'name': "str",
1105
+ 'key': NotRequired["str"],
1106
+ 'alias': NotRequired["str"],
1107
+ 'description': NotRequired["CreateSpaceBodyDescription"],
1108
+ 'role_assignments': NotRequired["list[CreateSpaceBodyRoleAssignmentsItem]"],
1109
+ 'copy_space_access_configuration': NotRequired["int"],
1110
+ 'create_private_space': NotRequired["bool"],
1111
+ 'template_key': NotRequired["str"],
1112
+ },
1113
+ )
1114
+
1115
+ CreateSpaceBodyDescription = TypedDict(
1116
+ 'CreateSpaceBodyDescription',
1117
+ {
1118
+ 'value': NotRequired["str"],
1119
+ 'representation': NotRequired["str"],
1120
+ },
1121
+ )
1122
+ """The description of the new/updated space. Note, only the 'plain' representation is currently supported."""
1123
+
1124
+ CreateSpaceBodyRoleAssignmentsItem = TypedDict(
1125
+ 'CreateSpaceBodyRoleAssignmentsItem',
1126
+ {
1127
+ 'principal': NotRequired["Principal"],
1128
+ 'role_id': NotRequired["str"],
1129
+ },
1130
+ )
1131
+ """The role assignments for the new space. If none are provided, the Default Space Roles are applied. If roles are provided, the space is created with exactly the provided set of roles. A private space is created if only the creator is assigned to a role and it’s the Admin role. At least one Admin role assignment must be specified."""
1132
+
1133
+ CreateSpaceResponse = TypedDict(
1134
+ 'CreateSpaceResponse',
1135
+ {
1136
+ 'id': NotRequired["str"],
1137
+ 'key': NotRequired["str"],
1138
+ 'name': NotRequired["str"],
1139
+ 'type': NotRequired["SpaceType"],
1140
+ 'status': NotRequired["SpaceStatus"],
1141
+ 'author_id': NotRequired["str"],
1142
+ 'space_owner_id': NotRequired["str"],
1143
+ 'current_active_alias': NotRequired["str"],
1144
+ 'created_at': NotRequired["str"],
1145
+ 'homepage_id': NotRequired["str"],
1146
+ 'description': NotRequired["SpaceDescription"],
1147
+ 'icon': NotRequired["SpaceIcon"],
1148
+ 'links': NotRequired["CreateSpaceResponseLinks"],
1149
+ },
1150
+ )
1151
+
1152
+ CreateSpaceResponseLinks = TypedDict(
1153
+ 'CreateSpaceResponseLinks',
1154
+ {
1155
+ 'base': NotRequired["str"],
1156
+ },
1157
+ )
1158
+
1159
+ CreateSpaceRoleBody = TypedDict(
1160
+ 'CreateSpaceRoleBody',
1161
+ {
1162
+ 'name': "str",
1163
+ 'description': "str",
1164
+ 'space_permissions': "list[str]",
1165
+ },
1166
+ )
1167
+
1168
+ CreateWhiteboardBody = TypedDict(
1169
+ 'CreateWhiteboardBody',
1170
+ {
1171
+ 'space_id': "str",
1172
+ 'title': NotRequired["str"],
1173
+ 'parent_id': NotRequired["str"],
1174
+ 'template_key': NotRequired["CreateWhiteboardBodyTemplateKey"],
1175
+ 'locale': NotRequired["CreateWhiteboardBodyLocale"],
1176
+ },
1177
+ )
1178
+
1179
+ type CreateWhiteboardBodyLocale = Literal['de-DE', 'cs-CZ', 'ko-KR', 'fr-FR', 'it-IT', 'ja-JP', 'nl-NL', 'nb-NO', 'da-DK', 'sv-SE', 'fi-FI', 'ru-RU', 'pl-PL', 'tr-TR', 'hu-HU', 'en-GB', 'en-US', 'pt-BR', 'zh-CN', 'zh-TW', 'es-ES']
1180
+ """If templateKey is provided, locale will decide which language the template will be created with. If locale is omitted, the user's locale will be used."""
1181
+
1182
+ type CreateWhiteboardBodyTemplateKey = Literal['2x2-prioritization', '4ls-retro', 'annual-calendar', 'brainwriting', 'concept-map', 'crazy-8s', 'daily-sync', 'disruptive-brainstorm', 'dot-voting', 'elevator-pitch', 'flow-chart', 'gap-analysis', 'ice-breakers', 'incident-postmortem', 'journey-mapping-kit', 'kanban-board', 'lean-coffee', 'network-of-teams', 'org-chart', 'pi-planning', 'prioritization', 'prioritization-experiment', 'product-roadmap', 'product-vision-board', 'rice', 'sailboat-retro', 'service-blueprint', 'simple-retrospective', 'sprint-planning', 'sticky-note-pack', 'swimlanes', 'team-formation-guide', 'timeline', 'timeline-workflow', 'user-story-map', 'workflow', 'vision-board', 'venn-diagram', 'storyboard', 'action-plan', 'root-cause-analysis', 'executive-summary', 'stakeholder-mapping', 'annual-calendar-2025-2026', 'health-monitor', 'okr-planning', 'swot-analysis', 'poker-planning', 'fishbone-diagram', 'risk-assessment', 'bounded-context', 'hopes-and-fears', 'swimlane-vertical']
1183
+ """Providing a template key will add that template to the new whiteboard."""
1184
+
1185
+ CreateWhiteboardResponse = TypedDict(
1186
+ 'CreateWhiteboardResponse',
1187
+ {
1188
+ 'id': NotRequired["str"],
1189
+ 'type': NotRequired["str"],
1190
+ 'status': NotRequired["ContentStatus"],
1191
+ 'title': NotRequired["str"],
1192
+ 'parent_id': NotRequired["str"],
1193
+ 'parent_type': NotRequired["ParentContentType"],
1194
+ 'position': NotRequired["int | None"],
1195
+ 'author_id': NotRequired["str"],
1196
+ 'owner_id': NotRequired["str"],
1197
+ 'created_at': NotRequired["str"],
1198
+ 'space_id': NotRequired["str"],
1199
+ 'version': NotRequired["Version"],
1200
+ 'links': NotRequired["CreateWhiteboardResponseLinks"],
1201
+ },
1202
+ )
1203
+
1204
+ CreateWhiteboardResponseLinks = TypedDict(
1205
+ 'CreateWhiteboardResponseLinks',
1206
+ {
1207
+ 'base': NotRequired["str"],
1208
+ },
1209
+ )
1210
+
1211
+ CustomContentBodyBulk = TypedDict(
1212
+ 'CustomContentBodyBulk',
1213
+ {
1214
+ 'raw': NotRequired["BodyType"],
1215
+ 'storage': NotRequired["BodyType"],
1216
+ 'atlas_doc_format': NotRequired["BodyType"],
1217
+ },
1218
+ )
1219
+ """Contains fields for each representation type requested."""
1220
+
1221
+ type CustomContentBodyRepresentation = Literal['raw', 'storage', 'atlas_doc_format']
1222
+ """The formats a custom content body can be represented as. A subset of BodyRepresentation."""
1223
+
1224
+ type CustomContentBodyRepresentationSingle = Literal['raw', 'storage', 'atlas_doc_format', 'view', 'export_view', 'anonymous_export_view']
1225
+ """The formats a custom content body can be represented as. A subset of BodyRepresentation."""
1226
+
1227
+ CustomContentBodySingle = TypedDict(
1228
+ 'CustomContentBodySingle',
1229
+ {
1230
+ 'raw': NotRequired["BodyType"],
1231
+ 'storage': NotRequired["BodyType"],
1232
+ 'atlas_doc_format': NotRequired["BodyType"],
1233
+ 'view': NotRequired["BodyType"],
1234
+ },
1235
+ )
1236
+ """Contains fields for each representation type requested."""
1237
+
1238
+ CustomContentBodyWrite = TypedDict(
1239
+ 'CustomContentBodyWrite',
1240
+ {
1241
+ 'representation': NotRequired["CustomContentBodyWriteRepresentation"],
1242
+ 'value': NotRequired["str"],
1243
+ },
1244
+ )
1245
+
1246
+ type CustomContentBodyWriteRepresentation = Literal['storage', 'atlas_doc_format', 'raw']
1247
+ """Type of content representation used for the value field."""
1248
+
1249
+ CustomContentBulk = TypedDict(
1250
+ 'CustomContentBulk',
1251
+ {
1252
+ 'id': NotRequired["str"],
1253
+ 'type': NotRequired["str"],
1254
+ 'status': NotRequired["ContentStatus"],
1255
+ 'title': NotRequired["str"],
1256
+ 'space_id': NotRequired["str"],
1257
+ 'page_id': NotRequired["str"],
1258
+ 'blog_post_id': NotRequired["str"],
1259
+ 'custom_content_id': NotRequired["str"],
1260
+ 'author_id': NotRequired["str"],
1261
+ 'created_at': NotRequired["str"],
1262
+ 'version': NotRequired["Version"],
1263
+ 'body': NotRequired["CustomContentBodyBulk"],
1264
+ 'links': NotRequired["CustomContentLinks"],
1265
+ },
1266
+ )
1267
+
1268
+ CustomContentCommentModel = TypedDict(
1269
+ 'CustomContentCommentModel',
1270
+ {
1271
+ 'id': NotRequired["str"],
1272
+ 'status': NotRequired["ContentStatus"],
1273
+ 'title': NotRequired["str"],
1274
+ 'custom_content_id': NotRequired["str"],
1275
+ 'version': NotRequired["Version"],
1276
+ 'body': NotRequired["BodySingle"],
1277
+ 'links': NotRequired["CommentLinks"],
1278
+ },
1279
+ )
1280
+
1281
+ CustomContentLinks = TypedDict(
1282
+ 'CustomContentLinks',
1283
+ {
1284
+ 'webui': NotRequired["str"],
1285
+ },
1286
+ )
1287
+
1288
+ CustomContentNestedBodyWrite = TypedDict(
1289
+ 'CustomContentNestedBodyWrite',
1290
+ {
1291
+ 'storage': NotRequired["CustomContentBodyWrite"],
1292
+ 'atlas_doc_format': NotRequired["CustomContentBodyWrite"],
1293
+ 'raw': NotRequired["CustomContentBodyWrite"],
1294
+ },
1295
+ )
1296
+ """
1297
+ Body of the custom content. Only one body format should be specified as the property
1298
+ for this object, e.g. `storage`.
1299
+ """
1300
+
1301
+ CustomContentSingle = TypedDict(
1302
+ 'CustomContentSingle',
1303
+ {
1304
+ 'id': NotRequired["str"],
1305
+ 'type': NotRequired["str"],
1306
+ 'status': NotRequired["ContentStatus"],
1307
+ 'title': NotRequired["str"],
1308
+ 'space_id': NotRequired["str"],
1309
+ 'page_id': NotRequired["str"],
1310
+ 'blog_post_id': NotRequired["str"],
1311
+ 'custom_content_id': NotRequired["str"],
1312
+ 'author_id': NotRequired["str"],
1313
+ 'created_at': NotRequired["str"],
1314
+ 'version': NotRequired["Version"],
1315
+ 'labels': NotRequired["CustomContentSingleLabels"],
1316
+ 'properties': NotRequired["CustomContentSingleProperties"],
1317
+ 'operations': NotRequired["CustomContentSingleOperations"],
1318
+ 'versions': NotRequired["CustomContentSingleVersions"],
1319
+ 'body': NotRequired["CustomContentBodySingle"],
1320
+ 'links': NotRequired["CustomContentLinks"],
1321
+ },
1322
+ )
1323
+
1324
+ CustomContentSingleLabels = TypedDict(
1325
+ 'CustomContentSingleLabels',
1326
+ {
1327
+ 'results': NotRequired["list[Label]"],
1328
+ 'meta': NotRequired["OptionalFieldMeta"],
1329
+ 'links': NotRequired["OptionalFieldLinks"],
1330
+ },
1331
+ )
1332
+
1333
+ CustomContentSingleOperations = TypedDict(
1334
+ 'CustomContentSingleOperations',
1335
+ {
1336
+ 'results': NotRequired["list[Operation]"],
1337
+ 'meta': NotRequired["OptionalFieldMeta"],
1338
+ 'links': NotRequired["OptionalFieldLinks"],
1339
+ },
1340
+ )
1341
+
1342
+ CustomContentSingleProperties = TypedDict(
1343
+ 'CustomContentSingleProperties',
1344
+ {
1345
+ 'results': NotRequired["list[ContentProperty]"],
1346
+ 'meta': NotRequired["OptionalFieldMeta"],
1347
+ 'links': NotRequired["OptionalFieldLinks"],
1348
+ },
1349
+ )
1350
+
1351
+ CustomContentSingleVersions = TypedDict(
1352
+ 'CustomContentSingleVersions',
1353
+ {
1354
+ 'results': NotRequired["list[Version]"],
1355
+ 'meta': NotRequired["OptionalFieldMeta"],
1356
+ 'links': NotRequired["OptionalFieldLinks"],
1357
+ },
1358
+ )
1359
+
1360
+ type CustomContentSortOrder = Literal['id', '-id', 'created-date', '-created-date', 'modified-date', '-modified-date', 'title', '-title']
1361
+ """The sort fields for custom content. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
1362
+
1363
+ CustomContentVersion = TypedDict(
1364
+ 'CustomContentVersion',
1365
+ {
1366
+ 'created_at': NotRequired["str"],
1367
+ 'message': NotRequired["str"],
1368
+ 'number': NotRequired["int"],
1369
+ 'minor_edit': NotRequired["bool"],
1370
+ 'author_id': NotRequired["str"],
1371
+ 'custom': NotRequired["VersionedEntity"],
1372
+ },
1373
+ )
1374
+
1375
+ DataPolicyMetadata = TypedDict(
1376
+ 'DataPolicyMetadata',
1377
+ {
1378
+ 'any_content_blocked': NotRequired["bool"],
1379
+ },
1380
+ )
1381
+ """Details about data policies."""
1382
+
1383
+ DataPolicySpace = TypedDict(
1384
+ 'DataPolicySpace',
1385
+ {
1386
+ 'id': NotRequired["str"],
1387
+ 'key': NotRequired["str"],
1388
+ 'name': NotRequired["str"],
1389
+ 'description': NotRequired["SpaceDescription"],
1390
+ 'data_policy': NotRequired["DataPolicySpaceDataPolicy"],
1391
+ 'icon': NotRequired["SpaceIcon"],
1392
+ 'links': NotRequired["SpaceLinks"],
1393
+ },
1394
+ )
1395
+
1396
+ DataPolicySpaceDataPolicy = TypedDict(
1397
+ 'DataPolicySpaceDataPolicy',
1398
+ {
1399
+ 'any_content_blocked': NotRequired["bool"],
1400
+ },
1401
+ )
1402
+
1403
+ DatabaseAdfDocument = TypedDict(
1404
+ 'DatabaseAdfDocument',
1405
+ {
1406
+ 'version': "int",
1407
+ 'type': "DatabaseAdfDocumentType",
1408
+ 'content': NotRequired["list[Any]"],
1409
+ },
1410
+ )
1411
+ """Minimal Atlassian Document Format envelope."""
1412
+
1413
+ type DatabaseAdfDocumentType = Literal['doc']
1414
+
1415
+ DatabaseAiSummaryField = TypedDict(
1416
+ 'DatabaseAiSummaryField',
1417
+ {
1418
+ 'id': "str",
1419
+ 'name': "str",
1420
+ 'description': "str | None",
1421
+ 'type': "DatabaseAiSummaryFieldType",
1422
+ 'settings': "DatabaseAiSummaryFieldSettings",
1423
+ },
1424
+ )
1425
+
1426
+ DatabaseAiSummaryFieldSettings = TypedDict(
1427
+ 'DatabaseAiSummaryFieldSettings',
1428
+ {
1429
+ 'ai_run_metadata': NotRequired["DatabaseAiSummaryRunMetadata"],
1430
+ },
1431
+ )
1432
+
1433
+ type DatabaseAiSummaryFieldType = Literal['aiSummary']
1434
+
1435
+ DatabaseAiSummaryRunMetadata = TypedDict(
1436
+ 'DatabaseAiSummaryRunMetadata',
1437
+ {
1438
+ 'last_ai_run_user_account_id': "str | None",
1439
+ },
1440
+ )
1441
+
1442
+ DatabaseAiSummaryValue = TypedDict(
1443
+ 'DatabaseAiSummaryValue',
1444
+ {
1445
+ 'type': "DatabaseAiSummaryValueType",
1446
+ 'plain': "str | None",
1447
+ 'rich': "DatabaseAdfDocument | None",
1448
+ 'metadata': "DatabaseAiSummaryValueMetadata | None",
1449
+ },
1450
+ )
1451
+
1452
+ DatabaseAiSummaryValueMetadata = TypedDict(
1453
+ 'DatabaseAiSummaryValueMetadata',
1454
+ {
1455
+ 'last_updated_at': "str | None",
1456
+ 'last_updated_by': "DatabaseAiSummaryValueMetadataLastUpdatedBy | None",
1457
+ 'last_updated_user_account_id': "str | None",
1458
+ },
1459
+ )
1460
+
1461
+ type DatabaseAiSummaryValueMetadataLastUpdatedBy = Literal['ai', 'user']
1462
+
1463
+ type DatabaseAiSummaryValueType = Literal['aiSummary']
1464
+
1465
+ DatabaseAttachmentField = TypedDict(
1466
+ 'DatabaseAttachmentField',
1467
+ {
1468
+ 'id': "str",
1469
+ 'name': "str",
1470
+ 'description': "str | None",
1471
+ 'type': "DatabaseAttachmentFieldType",
1472
+ 'settings': "DatabaseEmptyFieldSettings",
1473
+ },
1474
+ )
1475
+
1476
+ type DatabaseAttachmentFieldType = Literal['attachment']
1477
+
1478
+ DatabaseAttachmentRef = TypedDict(
1479
+ 'DatabaseAttachmentRef',
1480
+ {
1481
+ 'media_id': "str",
1482
+ },
1483
+ )
1484
+
1485
+ DatabaseAttachmentValue = TypedDict(
1486
+ 'DatabaseAttachmentValue',
1487
+ {
1488
+ 'type': "DatabaseAttachmentValueType",
1489
+ 'value': "list[DatabaseAttachmentRef] | None",
1490
+ },
1491
+ )
1492
+
1493
+ type DatabaseAttachmentValueType = Literal['attachment']
1494
+
1495
+ DatabaseBacklinkField = TypedDict(
1496
+ 'DatabaseBacklinkField',
1497
+ {
1498
+ 'id': "str",
1499
+ 'name': "str",
1500
+ 'description': "str | None",
1501
+ 'type': "DatabaseBacklinkFieldType",
1502
+ 'settings': "DatabaseBacklinkFieldSettings",
1503
+ },
1504
+ )
1505
+
1506
+ DatabaseBacklinkFieldSettings = TypedDict(
1507
+ 'DatabaseBacklinkFieldSettings',
1508
+ {
1509
+ 'source_database_content_id': NotRequired["str"],
1510
+ },
1511
+ )
1512
+
1513
+ type DatabaseBacklinkFieldType = Literal['backlink']
1514
+
1515
+ DatabaseCheckboxField = TypedDict(
1516
+ 'DatabaseCheckboxField',
1517
+ {
1518
+ 'id': "str",
1519
+ 'name': "str",
1520
+ 'description': "str | None",
1521
+ 'type': "DatabaseCheckboxFieldType",
1522
+ 'settings': "DatabaseEmptyFieldSettings",
1523
+ },
1524
+ )
1525
+
1526
+ type DatabaseCheckboxFieldType = Literal['checkbox']
1527
+
1528
+ DatabaseCheckboxValue = TypedDict(
1529
+ 'DatabaseCheckboxValue',
1530
+ {
1531
+ 'type': "DatabaseCheckboxValueType",
1532
+ 'value': "bool | None",
1533
+ },
1534
+ )
1535
+
1536
+ type DatabaseCheckboxValueType = Literal['checkbox']
1537
+
1538
+ DatabaseDateField = TypedDict(
1539
+ 'DatabaseDateField',
1540
+ {
1541
+ 'id': "str",
1542
+ 'name': "str",
1543
+ 'description': "str | None",
1544
+ 'type': "DatabaseDateFieldType",
1545
+ 'settings': "DatabaseDateFieldSettings",
1546
+ },
1547
+ )
1548
+
1549
+ DatabaseDateFieldSettings = TypedDict(
1550
+ 'DatabaseDateFieldSettings',
1551
+ {
1552
+ 'includes_time': "bool",
1553
+ },
1554
+ )
1555
+
1556
+ type DatabaseDateFieldType = Literal['date']
1557
+
1558
+ DatabaseDateValue = TypedDict(
1559
+ 'DatabaseDateValue',
1560
+ {
1561
+ 'type': "DatabaseDateValueType",
1562
+ 'value': "str | None",
1563
+ },
1564
+ )
1565
+
1566
+ type DatabaseDateValueType = Literal['date']
1567
+
1568
+ type DatabaseEmptyFieldSettings = dict[str, Any]
1569
+ """Field types with no type-specific settings."""
1570
+
1571
+ DatabaseEntry = TypedDict(
1572
+ 'DatabaseEntry',
1573
+ {
1574
+ 'id': "str",
1575
+ 'database_id': "str",
1576
+ 'values': "dict[str, DatabaseFieldValue]",
1577
+ },
1578
+ )
1579
+ """A single entry (row) within a database."""
1580
+
1581
+ DatabaseEntryDetailsField = TypedDict(
1582
+ 'DatabaseEntryDetailsField',
1583
+ {
1584
+ 'id': "str",
1585
+ 'name': "str",
1586
+ 'description': "str | None",
1587
+ 'type': "DatabaseEntryDetailsFieldType",
1588
+ 'settings': "DatabaseEntryDetailsFieldSettings",
1589
+ },
1590
+ )
1591
+
1592
+ DatabaseEntryDetailsFieldSettings = TypedDict(
1593
+ 'DatabaseEntryDetailsFieldSettings',
1594
+ {
1595
+ 'source_field_id': NotRequired["str"],
1596
+ 'lookup_field_id': NotRequired["str"],
1597
+ },
1598
+ )
1599
+
1600
+ type DatabaseEntryDetailsFieldType = Literal['entryDetails']
1601
+
1602
+ DatabaseEntryLinkField = TypedDict(
1603
+ 'DatabaseEntryLinkField',
1604
+ {
1605
+ 'id': "str",
1606
+ 'name': "str",
1607
+ 'description': "str | None",
1608
+ 'type': "DatabaseEntryLinkFieldType",
1609
+ 'settings': "DatabaseEmptyFieldSettings",
1610
+ },
1611
+ )
1612
+
1613
+ type DatabaseEntryLinkFieldType = Literal['entryLink']
1614
+
1615
+ DatabaseEntryLinkValue = TypedDict(
1616
+ 'DatabaseEntryLinkValue',
1617
+ {
1618
+ 'type': "DatabaseEntryLinkValueType",
1619
+ 'value': "list[DatabaseEntryRef] | None",
1620
+ },
1621
+ )
1622
+
1623
+ type DatabaseEntryLinkValueType = Literal['entryLink']
1624
+
1625
+ DatabaseEntryListResponse = TypedDict(
1626
+ 'DatabaseEntryListResponse',
1627
+ {
1628
+ 'results': "list[DatabaseEntry]",
1629
+ 'links': "DatabasesPublicApiLinks",
1630
+ 'meta': "DatabasePaginationMeta",
1631
+ },
1632
+ )
1633
+
1634
+ DatabaseEntryRef = TypedDict(
1635
+ 'DatabaseEntryRef',
1636
+ {
1637
+ 'entry_id': "str",
1638
+ 'database_content_id': NotRequired["str"],
1639
+ },
1640
+ )
1641
+
1642
+ DatabaseEntrySingleResponse = TypedDict(
1643
+ 'DatabaseEntrySingleResponse',
1644
+ {
1645
+ 'id': "str",
1646
+ 'database_id': "str",
1647
+ 'values': "dict[str, DatabaseFieldValue]",
1648
+ 'links': "DatabasesPublicApiLinks",
1649
+ },
1650
+ )
1651
+ """
1652
+ A single entry, not wrapped in a `results` array, with a `_links.self`
1653
+ path and an absolute `_links.base` URL.
1654
+ """
1655
+
1656
+ DatabaseError = TypedDict(
1657
+ 'DatabaseError',
1658
+ {
1659
+ 'id': NotRequired["str"],
1660
+ 'status': "int",
1661
+ 'code': "DatabaseErrorCode",
1662
+ 'title': "str",
1663
+ 'detail': NotRequired["str | None"],
1664
+ },
1665
+ )
1666
+
1667
+ type DatabaseErrorCode = Literal['INVALID_CURSOR', 'UNSUPPORTED_CURSOR_VERSION', 'CURSOR_QUERY_MISMATCH', 'INVALID_FILTER', 'UNSUPPORTED_FILTER_OPERATOR', 'FIELD_NOT_FILTERABLE', 'FIELD_NOT_SORTABLE', 'UNSUPPORTED_SORT_MODIFIER', 'INVALID_SORT', 'INVALID_PAGE_LIMIT', 'DATABASE_NOT_FOUND', 'ENTRY_NOT_FOUND', 'DATABASE_TOO_LARGE', 'SERVICE_DISABLED', 'SERVICE_UNAVAILABLE', 'REQUEST_TIMEOUT']
1668
+ """Stable machine-readable error code."""
1669
+
1670
+ DatabaseErrorResponse = TypedDict(
1671
+ 'DatabaseErrorResponse',
1672
+ {
1673
+ 'errors': "list[DatabaseError]",
1674
+ },
1675
+ )
1676
+ """
1677
+ Structured Confluence V2 error envelope. The HTTP status and `code` are
1678
+ the stable machine-readable contract. `title` and `detail` are
1679
+ human-readable, and their exact text is not stable; clients must not use
1680
+ them for program logic.
1681
+ """
1682
+
1683
+ type DatabaseField = DatabaseTextField | DatabaseAiSummaryField | DatabaseNumberField | DatabaseCheckboxField | DatabaseDateField | DatabaseSelectField | DatabaseHyperlinkField | DatabaseUserField | DatabaseAttachmentField | DatabaseJiraIssueField | DatabasePageLinkField | DatabaseEntryLinkField | DatabaseEntryDetailsField | DatabaseBacklinkField | DatabasePageDetailsField | DatabasePageLabelsField | DatabasePageStatusField | DatabaseJiraIssueDetailsField
1684
+ """A field definition whose strict settings shape is selected by `type`."""
1685
+
1686
+ DatabaseFieldBase = TypedDict(
1687
+ 'DatabaseFieldBase',
1688
+ {
1689
+ 'id': "str",
1690
+ 'name': "str",
1691
+ 'description': "str | None",
1692
+ },
1693
+ )
1694
+
1695
+ DatabaseFieldListResponse = TypedDict(
1696
+ 'DatabaseFieldListResponse',
1697
+ {
1698
+ 'results': "list[DatabaseField]",
1699
+ 'links': "DatabasesPublicApiLinks",
1700
+ 'meta': "DatabasePaginationMeta",
1701
+ },
1702
+ )
1703
+
1704
+ type DatabaseFieldSettings = DatabaseTextFieldSettings | DatabaseAiSummaryFieldSettings | DatabaseNumberFieldSettings | DatabaseSelectFieldSettings | DatabaseDateFieldSettings | DatabaseJiraIssueFieldSettings | DatabaseEntryDetailsFieldSettings | DatabaseJiraIssueDetailsFieldSettings | DatabasePageDetailsFieldSettings | DatabaseSourceFieldSettings | DatabaseBacklinkFieldSettings | DatabaseEmptyFieldSettings
1705
+ """
1706
+ Strict settings shape selected by the parent `DatabaseField.type`.
1707
+ Lookup-field settings expose source identifiers but lookup values remain
1708
+ `null` in this representation version. Types without projected settings
1709
+ return an empty object.
1710
+ """
1711
+
1712
+ type DatabaseFieldType = Literal['text', 'aiSummary', 'number', 'checkbox', 'date', 'select', 'hyperlink', 'user', 'attachment', 'jiraIssue', 'pageLink', 'entryLink', 'entryDetails', 'backlink', 'pageDetails', 'pageLabels', 'pageStatus', 'jiraIssueDetails']
1713
+ """The type of a database field."""
1714
+
1715
+ type DatabaseFieldValue = DatabaseTextValue | DatabaseAiSummaryValue | DatabaseNumberValue | DatabaseCheckboxValue | DatabaseDateValue | DatabaseSelectValue | DatabaseHyperlinkValue | DatabaseUserValue | DatabaseAttachmentValue | DatabaseJiraIssueValue | DatabasePageLinkValue | DatabaseEntryLinkValue | DatabaseNullLookupValue
1716
+ """
1717
+ The value of a single field on an entry, discriminated on `type`. Shape
1718
+ varies by field type: some are stored directly, some are stable references
1719
+ to other resources, and lookup-derived field values are objects with a
1720
+ `value` property of `null`.
1721
+ """
1722
+
1723
+ DatabaseHyperlinkField = TypedDict(
1724
+ 'DatabaseHyperlinkField',
1725
+ {
1726
+ 'id': "str",
1727
+ 'name': "str",
1728
+ 'description': "str | None",
1729
+ 'type': "DatabaseHyperlinkFieldType",
1730
+ 'settings': "DatabaseEmptyFieldSettings",
1731
+ },
1732
+ )
1733
+
1734
+ type DatabaseHyperlinkFieldType = Literal['hyperlink']
1735
+
1736
+ DatabaseHyperlinkItem = TypedDict(
1737
+ 'DatabaseHyperlinkItem',
1738
+ {
1739
+ 'url': "str",
1740
+ 'label': NotRequired["str"],
1741
+ },
1742
+ )
1743
+
1744
+ DatabaseHyperlinkValue = TypedDict(
1745
+ 'DatabaseHyperlinkValue',
1746
+ {
1747
+ 'type': "DatabaseHyperlinkValueType",
1748
+ 'value': "list[DatabaseHyperlinkItem] | None",
1749
+ },
1750
+ )
1751
+
1752
+ type DatabaseHyperlinkValueType = Literal['hyperlink']
1753
+
1754
+ DatabaseJiraIssueDetailsField = TypedDict(
1755
+ 'DatabaseJiraIssueDetailsField',
1756
+ {
1757
+ 'id': "str",
1758
+ 'name': "str",
1759
+ 'description': "str | None",
1760
+ 'type': "DatabaseJiraIssueDetailsFieldType",
1761
+ 'settings': "DatabaseJiraIssueDetailsFieldSettings",
1762
+ },
1763
+ )
1764
+
1765
+ DatabaseJiraIssueDetailsFieldSettings = TypedDict(
1766
+ 'DatabaseJiraIssueDetailsFieldSettings',
1767
+ {
1768
+ 'source_field_id': NotRequired["str"],
1769
+ 'jira_field_key': NotRequired["str"],
1770
+ },
1771
+ )
1772
+
1773
+ type DatabaseJiraIssueDetailsFieldType = Literal['jiraIssueDetails']
1774
+
1775
+ DatabaseJiraIssueField = TypedDict(
1776
+ 'DatabaseJiraIssueField',
1777
+ {
1778
+ 'id': "str",
1779
+ 'name': "str",
1780
+ 'description': "str | None",
1781
+ 'type': "DatabaseJiraIssueFieldType",
1782
+ 'settings': "DatabaseJiraIssueFieldSettings",
1783
+ },
1784
+ )
1785
+
1786
+ DatabaseJiraIssueFieldSettings = TypedDict(
1787
+ 'DatabaseJiraIssueFieldSettings',
1788
+ {
1789
+ 'cloud_id': NotRequired["str"],
1790
+ 'server_id': NotRequired["str"],
1791
+ },
1792
+ )
1793
+
1794
+ type DatabaseJiraIssueFieldType = Literal['jiraIssue']
1795
+
1796
+ DatabaseJiraIssueRef = TypedDict(
1797
+ 'DatabaseJiraIssueRef',
1798
+ {
1799
+ 'key': "str",
1800
+ 'cloud_id': NotRequired["str"],
1801
+ 'server_id': NotRequired["str"],
1802
+ },
1803
+ )
1804
+
1805
+ DatabaseJiraIssueValue = TypedDict(
1806
+ 'DatabaseJiraIssueValue',
1807
+ {
1808
+ 'type': "DatabaseJiraIssueValueType",
1809
+ 'value': "list[DatabaseJiraIssueRef] | None",
1810
+ },
1811
+ )
1812
+
1813
+ type DatabaseJiraIssueValueType = Literal['jiraIssue']
1814
+
1815
+ DatabaseLinks = TypedDict(
1816
+ 'DatabaseLinks',
1817
+ {
1818
+ 'webui': NotRequired["str"],
1819
+ },
1820
+ )
1821
+
1822
+ DatabaseNullLookupValue = TypedDict(
1823
+ 'DatabaseNullLookupValue',
1824
+ {
1825
+ 'type': "DatabaseNullLookupValueType",
1826
+ 'value': "None | None",
1827
+ },
1828
+ )
1829
+ """
1830
+ Lookup-derived field types (entryDetails, backlink, pageDetails,
1831
+ pageLabels, pageStatus, jiraIssueDetails) return objects with a `value`
1832
+ property of `null`.
1833
+ """
1834
+
1835
+ type DatabaseNullLookupValueType = Literal['entryDetails', 'backlink', 'pageDetails', 'pageLabels', 'pageStatus', 'jiraIssueDetails']
1836
+
1837
+ DatabaseNumberField = TypedDict(
1838
+ 'DatabaseNumberField',
1839
+ {
1840
+ 'id': "str",
1841
+ 'name': "str",
1842
+ 'description': "str | None",
1843
+ 'type': "DatabaseNumberFieldType",
1844
+ 'settings': "DatabaseNumberFieldSettings",
1845
+ },
1846
+ )
1847
+
1848
+ DatabaseNumberFieldSettings = TypedDict(
1849
+ 'DatabaseNumberFieldSettings',
1850
+ {
1851
+ 'format': NotRequired["DatabaseNumberFormat"],
1852
+ },
1853
+ )
1854
+
1855
+ type DatabaseNumberFieldType = Literal['number']
1856
+
1857
+ DatabaseNumberFormat = TypedDict(
1858
+ 'DatabaseNumberFormat',
1859
+ {
1860
+ 'type': "DatabaseNumberFormatType",
1861
+ 'prefix': NotRequired["str"],
1862
+ 'suffix': NotRequired["str"],
1863
+ 'decimal_places': NotRequired["int"],
1864
+ },
1865
+ )
1866
+
1867
+ type DatabaseNumberFormatType = Literal['number', 'percent', 'currency', 'custom']
1868
+
1869
+ DatabaseNumberValue = TypedDict(
1870
+ 'DatabaseNumberValue',
1871
+ {
1872
+ 'type': "DatabaseNumberValueType",
1873
+ 'value': "str | None",
1874
+ },
1875
+ )
1876
+
1877
+ type DatabaseNumberValueType = Literal['number']
1878
+
1879
+ DatabasePageDetailsField = TypedDict(
1880
+ 'DatabasePageDetailsField',
1881
+ {
1882
+ 'id': "str",
1883
+ 'name': "str",
1884
+ 'description': "str | None",
1885
+ 'type': "DatabasePageDetailsFieldType",
1886
+ 'settings': "DatabasePageDetailsFieldSettings",
1887
+ },
1888
+ )
1889
+
1890
+ DatabasePageDetailsFieldSettings = TypedDict(
1891
+ 'DatabasePageDetailsFieldSettings',
1892
+ {
1893
+ 'source_field_id': NotRequired["str"],
1894
+ 'page_property_key': NotRequired["str"],
1895
+ },
1896
+ )
1897
+
1898
+ type DatabasePageDetailsFieldType = Literal['pageDetails']
1899
+
1900
+ DatabasePageLabelsField = TypedDict(
1901
+ 'DatabasePageLabelsField',
1902
+ {
1903
+ 'id': "str",
1904
+ 'name': "str",
1905
+ 'description': "str | None",
1906
+ 'type': "DatabasePageLabelsFieldType",
1907
+ 'settings': "DatabaseSourceFieldSettings",
1908
+ },
1909
+ )
1910
+
1911
+ type DatabasePageLabelsFieldType = Literal['pageLabels']
1912
+
1913
+ DatabasePageLinkField = TypedDict(
1914
+ 'DatabasePageLinkField',
1915
+ {
1916
+ 'id': "str",
1917
+ 'name': "str",
1918
+ 'description': "str | None",
1919
+ 'type': "DatabasePageLinkFieldType",
1920
+ 'settings': "DatabaseEmptyFieldSettings",
1921
+ },
1922
+ )
1923
+
1924
+ type DatabasePageLinkFieldType = Literal['pageLink']
1925
+
1926
+ DatabasePageLinkValue = TypedDict(
1927
+ 'DatabasePageLinkValue',
1928
+ {
1929
+ 'type': "DatabasePageLinkValueType",
1930
+ 'value': "list[DatabasePageRef] | None",
1931
+ },
1932
+ )
1933
+
1934
+ type DatabasePageLinkValueType = Literal['pageLink']
1935
+
1936
+ DatabasePageRef = TypedDict(
1937
+ 'DatabasePageRef',
1938
+ {
1939
+ 'content_id': "str",
1940
+ },
1941
+ )
1942
+
1943
+ DatabasePageStatusField = TypedDict(
1944
+ 'DatabasePageStatusField',
1945
+ {
1946
+ 'id': "str",
1947
+ 'name': "str",
1948
+ 'description': "str | None",
1949
+ 'type': "DatabasePageStatusFieldType",
1950
+ 'settings': "DatabaseSourceFieldSettings",
1951
+ },
1952
+ )
1953
+
1954
+ type DatabasePageStatusFieldType = Literal['pageStatus']
1955
+
1956
+ DatabasePaginationMeta = TypedDict(
1957
+ 'DatabasePaginationMeta',
1958
+ {
1959
+ 'page_size': "int",
1960
+ 'cursor': NotRequired["str"],
1961
+ 'has_more': "bool",
1962
+ },
1963
+ )
1964
+
1965
+ DatabaseSelectField = TypedDict(
1966
+ 'DatabaseSelectField',
1967
+ {
1968
+ 'id': "str",
1969
+ 'name': "str",
1970
+ 'description': "str | None",
1971
+ 'type': "DatabaseSelectFieldType",
1972
+ 'settings': "DatabaseSelectFieldSettings",
1973
+ },
1974
+ )
1975
+
1976
+ DatabaseSelectFieldSettings = TypedDict(
1977
+ 'DatabaseSelectFieldSettings',
1978
+ {
1979
+ 'options': "list[DatabaseSelectOption]",
1980
+ },
1981
+ )
1982
+
1983
+ type DatabaseSelectFieldType = Literal['select']
1984
+
1985
+ DatabaseSelectOption = TypedDict(
1986
+ 'DatabaseSelectOption',
1987
+ {
1988
+ 'id': "str",
1989
+ 'label': "str",
1990
+ },
1991
+ )
1992
+
1993
+ DatabaseSelectValue = TypedDict(
1994
+ 'DatabaseSelectValue',
1995
+ {
1996
+ 'type': "DatabaseSelectValueType",
1997
+ 'value': "list[DatabaseSelectOption] | None",
1998
+ },
1999
+ )
2000
+
2001
+ type DatabaseSelectValueType = Literal['select']
2002
+
2003
+ DatabaseSingle = TypedDict(
2004
+ 'DatabaseSingle',
2005
+ {
2006
+ 'id': NotRequired["str"],
2007
+ 'type': NotRequired["str"],
2008
+ 'status': NotRequired["ContentStatus"],
2009
+ 'title': NotRequired["str"],
2010
+ 'parent_id': NotRequired["str"],
2011
+ 'parent_type': NotRequired["ParentContentType"],
2012
+ 'position': NotRequired["int | None"],
2013
+ 'author_id': NotRequired["str"],
2014
+ 'owner_id': NotRequired["str"],
2015
+ 'created_at': NotRequired["str"],
2016
+ 'space_id': NotRequired["str"],
2017
+ 'version': NotRequired["Version"],
2018
+ 'links': NotRequired["DatabaseLinks"],
2019
+ },
2020
+ )
2021
+
2022
+ DatabaseSourceFieldSettings = TypedDict(
2023
+ 'DatabaseSourceFieldSettings',
2024
+ {
2025
+ 'source_field_id': NotRequired["str"],
2026
+ },
2027
+ )
2028
+
2029
+ DatabaseTextField = TypedDict(
2030
+ 'DatabaseTextField',
2031
+ {
2032
+ 'id': "str",
2033
+ 'name': "str",
2034
+ 'description': "str | None",
2035
+ 'type': "DatabaseTextFieldType",
2036
+ 'settings': "DatabaseTextFieldSettings",
2037
+ },
2038
+ )
2039
+
2040
+ DatabaseTextFieldSettings = TypedDict(
2041
+ 'DatabaseTextFieldSettings',
2042
+ {
2043
+ 'rich_text': "bool",
2044
+ },
2045
+ )
2046
+
2047
+ type DatabaseTextFieldType = Literal['text']
2048
+
2049
+ DatabaseTextValue = TypedDict(
2050
+ 'DatabaseTextValue',
2051
+ {
2052
+ 'type': "DatabaseTextValueType",
2053
+ 'plain': "str | None",
2054
+ 'rich': "DatabaseAdfDocument | None",
2055
+ },
2056
+ )
2057
+
2058
+ type DatabaseTextValueType = Literal['text']
2059
+
2060
+ DatabaseUserField = TypedDict(
2061
+ 'DatabaseUserField',
2062
+ {
2063
+ 'id': "str",
2064
+ 'name': "str",
2065
+ 'description': "str | None",
2066
+ 'type': "DatabaseUserFieldType",
2067
+ 'settings': "DatabaseEmptyFieldSettings",
2068
+ },
2069
+ )
2070
+
2071
+ type DatabaseUserFieldType = Literal['user']
2072
+
2073
+ DatabaseUserRef = TypedDict(
2074
+ 'DatabaseUserRef',
2075
+ {
2076
+ 'account_id': "str",
2077
+ },
2078
+ )
2079
+
2080
+ DatabaseUserValue = TypedDict(
2081
+ 'DatabaseUserValue',
2082
+ {
2083
+ 'type': "DatabaseUserValueType",
2084
+ 'value': "list[DatabaseUserRef] | None",
2085
+ },
2086
+ )
2087
+
2088
+ type DatabaseUserValueType = Literal['user']
2089
+
2090
+ DatabaseView = TypedDict(
2091
+ 'DatabaseView',
2092
+ {
2093
+ 'id': "str",
2094
+ 'name': "str",
2095
+ 'type': "DatabaseViewType",
2096
+ },
2097
+ )
2098
+ """Metadata for a named view on a database."""
2099
+
2100
+ DatabaseViewListResponse = TypedDict(
2101
+ 'DatabaseViewListResponse',
2102
+ {
2103
+ 'results': "list[DatabaseView]",
2104
+ 'links': "DatabasesPublicApiLinks",
2105
+ 'meta': "DatabasePaginationMeta",
2106
+ },
2107
+ )
2108
+
2109
+ type DatabaseViewType = Literal['table', 'gallery', 'board', 'calendar', 'timeline']
2110
+
2111
+ DatabasesPublicApiLinks = TypedDict(
2112
+ 'DatabasesPublicApiLinks',
2113
+ {
2114
+ 'self': "str",
2115
+ 'base': "str",
2116
+ 'next': NotRequired["str"],
2117
+ },
2118
+ )
2119
+ """
2120
+ Links for a Databases API representation. `self` and `next` are
2121
+ path-only URLs. `base` is the absolute canonical Confluence site base URL.
2122
+ `next` is present only when another page exists. Additional future link
2123
+ relations may be added without a representation-version bump.
2124
+ """
2125
+
2126
+ type DeleteBlogPostPermissionsOperation = Literal['read', 'update']
2127
+
2128
+ type DeleteBlogPostPermissionsPrincipalType = Literal['user', 'group']
2129
+
2130
+ type DeleteDatabasePermissionsOperation = Literal['read', 'update']
2131
+
2132
+ type DeleteDatabasePermissionsPrincipalType = Literal['user', 'group']
2133
+
2134
+ type DeleteFolderPermissionsOperation = Literal['read', 'update']
2135
+
2136
+ type DeleteFolderPermissionsPrincipalType = Literal['user', 'group']
2137
+
2138
+ type DeletePagePermissionsOperation = Literal['read', 'update']
2139
+
2140
+ type DeletePagePermissionsPrincipalType = Literal['user', 'group']
2141
+
2142
+ DeleteSpaceRoleResponse = TypedDict(
2143
+ 'DeleteSpaceRoleResponse',
2144
+ {
2145
+ 'task_id': NotRequired["str"],
2146
+ },
2147
+ )
2148
+
2149
+ type DeleteWhiteboardPermissionsOperation = Literal['read', 'update']
2150
+
2151
+ type DeleteWhiteboardPermissionsPrincipalType = Literal['user', 'group']
2152
+
2153
+ DescendantsResponse = TypedDict(
2154
+ 'DescendantsResponse',
2155
+ {
2156
+ 'id': NotRequired["str"],
2157
+ 'status': NotRequired["OnlyArchivedAndCurrentContentStatus"],
2158
+ 'title': NotRequired["str"],
2159
+ 'type': NotRequired["str"],
2160
+ 'parent_id': NotRequired["str"],
2161
+ 'depth': NotRequired["int"],
2162
+ 'child_position': NotRequired["int | None"],
2163
+ },
2164
+ )
2165
+
2166
+ DetailedVersion = TypedDict(
2167
+ 'DetailedVersion',
2168
+ {
2169
+ 'number': NotRequired["int"],
2170
+ 'author_id': NotRequired["str"],
2171
+ 'message': NotRequired["str"],
2172
+ 'created_at': NotRequired["str"],
2173
+ 'minor_edit': NotRequired["bool"],
2174
+ 'content_type_modified': NotRequired["bool"],
2175
+ 'collaborators': NotRequired["list[str]"],
2176
+ 'prev_version': NotRequired["int"],
2177
+ 'next_version': NotRequired["int"],
2178
+ },
2179
+ )
2180
+
2181
+ EnableAdminKeyBody = TypedDict(
2182
+ 'EnableAdminKeyBody',
2183
+ {
2184
+ 'duration_in_minutes': NotRequired["int"],
2185
+ },
2186
+ )
2187
+
2188
+ FolderLinks = TypedDict(
2189
+ 'FolderLinks',
2190
+ {
2191
+ 'webui': NotRequired["str"],
2192
+ },
2193
+ )
2194
+
2195
+ FolderSingle = TypedDict(
2196
+ 'FolderSingle',
2197
+ {
2198
+ 'id': NotRequired["str"],
2199
+ 'type': NotRequired["str"],
2200
+ 'status': NotRequired["ContentStatus"],
2201
+ 'title': NotRequired["str"],
2202
+ 'parent_id': NotRequired["str"],
2203
+ 'parent_type': NotRequired["ParentContentType"],
2204
+ 'position': NotRequired["int | None"],
2205
+ 'author_id': NotRequired["str"],
2206
+ 'owner_id': NotRequired["str"],
2207
+ 'created_at': NotRequired["str"],
2208
+ 'space_id': NotRequired["str"],
2209
+ 'version': NotRequired["Version"],
2210
+ 'links': NotRequired["FolderLinks"],
2211
+ },
2212
+ )
2213
+
2214
+ FooterCommentModel = TypedDict(
2215
+ 'FooterCommentModel',
2216
+ {
2217
+ 'id': NotRequired["str"],
2218
+ 'status': NotRequired["ContentStatus"],
2219
+ 'title': NotRequired["str"],
2220
+ 'blog_post_id': NotRequired["str"],
2221
+ 'page_id': NotRequired["str"],
2222
+ 'attachment_id': NotRequired["str"],
2223
+ 'custom_content_id': NotRequired["str"],
2224
+ 'parent_comment_id': NotRequired["str"],
2225
+ 'version': NotRequired["Version"],
2226
+ 'properties': NotRequired["FooterCommentModelProperties"],
2227
+ 'operations': NotRequired["FooterCommentModelOperations"],
2228
+ 'likes': NotRequired["FooterCommentModelLikes"],
2229
+ 'versions': NotRequired["FooterCommentModelVersions"],
2230
+ 'body': NotRequired["BodySingle"],
2231
+ 'links': NotRequired["CommentLinks"],
2232
+ },
2233
+ )
2234
+
2235
+ FooterCommentModelLikes = TypedDict(
2236
+ 'FooterCommentModelLikes',
2237
+ {
2238
+ 'results': NotRequired["list[Like]"],
2239
+ 'meta': NotRequired["OptionalFieldMeta"],
2240
+ 'links': NotRequired["OptionalFieldLinks"],
2241
+ },
2242
+ )
2243
+
2244
+ FooterCommentModelOperations = TypedDict(
2245
+ 'FooterCommentModelOperations',
2246
+ {
2247
+ 'results': NotRequired["list[Operation]"],
2248
+ 'meta': NotRequired["OptionalFieldMeta"],
2249
+ 'links': NotRequired["OptionalFieldLinks"],
2250
+ },
2251
+ )
2252
+
2253
+ FooterCommentModelProperties = TypedDict(
2254
+ 'FooterCommentModelProperties',
2255
+ {
2256
+ 'results': NotRequired["list[ContentProperty]"],
2257
+ 'meta': NotRequired["OptionalFieldMeta"],
2258
+ 'links': NotRequired["OptionalFieldLinks"],
2259
+ },
2260
+ )
2261
+
2262
+ FooterCommentModelVersions = TypedDict(
2263
+ 'FooterCommentModelVersions',
2264
+ {
2265
+ 'results': NotRequired["list[Version]"],
2266
+ 'meta': NotRequired["OptionalFieldMeta"],
2267
+ 'links': NotRequired["OptionalFieldLinks"],
2268
+ },
2269
+ )
2270
+
2271
+ GetAttachmentByIdResponse = TypedDict(
2272
+ 'GetAttachmentByIdResponse',
2273
+ {
2274
+ 'id': NotRequired["str"],
2275
+ 'status': NotRequired["ContentStatus"],
2276
+ 'title': NotRequired["str"],
2277
+ 'created_at': NotRequired["str"],
2278
+ 'page_id': NotRequired["str"],
2279
+ 'blog_post_id': NotRequired["str"],
2280
+ 'custom_content_id': NotRequired["str"],
2281
+ 'media_type': NotRequired["str"],
2282
+ 'media_type_description': NotRequired["str"],
2283
+ 'comment': NotRequired["str"],
2284
+ 'file_id': NotRequired["str"],
2285
+ 'file_size': NotRequired["int"],
2286
+ 'webui_link': NotRequired["str"],
2287
+ 'download_link': NotRequired["str"],
2288
+ 'version': NotRequired["Version"],
2289
+ 'labels': NotRequired["AttachmentSingleLabels"],
2290
+ 'properties': NotRequired["AttachmentSingleProperties"],
2291
+ 'operations': NotRequired["AttachmentSingleOperations"],
2292
+ 'versions': NotRequired["AttachmentSingleVersions"],
2293
+ 'links': NotRequired["GetAttachmentByIdResponseLinks"],
2294
+ },
2295
+ )
2296
+
2297
+ GetAttachmentByIdResponseLinks = TypedDict(
2298
+ 'GetAttachmentByIdResponseLinks',
2299
+ {
2300
+ 'base': NotRequired["str"],
2301
+ },
2302
+ )
2303
+
2304
+ GetAttachmentCommentsResponse = TypedDict(
2305
+ 'GetAttachmentCommentsResponse',
2306
+ {
2307
+ 'results': NotRequired["list[AttachmentCommentModel]"],
2308
+ 'links': NotRequired["MultiEntityLinks"],
2309
+ },
2310
+ )
2311
+ """MultiEntityResult<AttachmentCommentModel>"""
2312
+
2313
+ GetAttachmentContentPropertiesResponse = TypedDict(
2314
+ 'GetAttachmentContentPropertiesResponse',
2315
+ {
2316
+ 'results': NotRequired["list[ContentProperty]"],
2317
+ 'links': NotRequired["MultiEntityLinks"],
2318
+ },
2319
+ )
2320
+ """MultiEntityResult<ContentProperty>"""
2321
+
2322
+ type GetAttachmentLabelsPrefix = Literal['my', 'team', 'global', 'system']
2323
+
2324
+ GetAttachmentLabelsResponse = TypedDict(
2325
+ 'GetAttachmentLabelsResponse',
2326
+ {
2327
+ 'results': NotRequired["list[Label]"],
2328
+ 'links': NotRequired["MultiEntityLinks"],
2329
+ },
2330
+ )
2331
+ """MultiEntityResult<Label>"""
2332
+
2333
+ GetAttachmentVersionsResponse = TypedDict(
2334
+ 'GetAttachmentVersionsResponse',
2335
+ {
2336
+ 'results': NotRequired["list[AttachmentVersion]"],
2337
+ 'links': NotRequired["MultiEntityLinks"],
2338
+ },
2339
+ )
2340
+ """MultiEntityResult<Version>"""
2341
+
2342
+ GetAttachmentsResponse = TypedDict(
2343
+ 'GetAttachmentsResponse',
2344
+ {
2345
+ 'results': NotRequired["list[AttachmentBulk]"],
2346
+ 'links': NotRequired["MultiEntityLinks"],
2347
+ },
2348
+ )
2349
+ """MultiEntityResult<Attachment>"""
2350
+
2351
+ type GetAttachmentsStatusItem = Literal['current', 'archived', 'trashed']
2352
+
2353
+ GetAvailableSpacePermissionsResponse = TypedDict(
2354
+ 'GetAvailableSpacePermissionsResponse',
2355
+ {
2356
+ 'results': NotRequired["list[SpacePermission]"],
2357
+ 'links': NotRequired["MultiEntityLinks"],
2358
+ },
2359
+ )
2360
+ """MultiEntityResult<SpacePermission>"""
2361
+
2362
+ GetAvailableSpaceRolesResponse = TypedDict(
2363
+ 'GetAvailableSpaceRolesResponse',
2364
+ {
2365
+ 'results': NotRequired["list[SpaceRole]"],
2366
+ 'links': NotRequired["MultiEntityLinks"],
2367
+ },
2368
+ )
2369
+ """MultiEntityResult<SpaceRole>"""
2370
+
2371
+ GetBlogPostByIdResponse = TypedDict(
2372
+ 'GetBlogPostByIdResponse',
2373
+ {
2374
+ 'id': NotRequired["str"],
2375
+ 'status': NotRequired["BlogPostContentStatus"],
2376
+ 'title': NotRequired["str"],
2377
+ 'space_id': NotRequired["str"],
2378
+ 'author_id': NotRequired["str"],
2379
+ 'created_at': NotRequired["str"],
2380
+ 'version': NotRequired["Version"],
2381
+ 'body': NotRequired["BodySingle"],
2382
+ 'labels': NotRequired["BlogPostSingleLabels"],
2383
+ 'properties': NotRequired["BlogPostSingleProperties"],
2384
+ 'operations': NotRequired["BlogPostSingleOperations"],
2385
+ 'likes': NotRequired["BlogPostSingleLikes"],
2386
+ 'versions': NotRequired["BlogPostSingleVersions"],
2387
+ 'is_favorited_by_current_user': NotRequired["bool"],
2388
+ 'links': NotRequired["GetBlogPostByIdResponseLinks"],
2389
+ },
2390
+ )
2391
+
2392
+ GetBlogPostByIdResponseLinks = TypedDict(
2393
+ 'GetBlogPostByIdResponseLinks',
2394
+ {
2395
+ 'base': NotRequired["str"],
2396
+ },
2397
+ )
2398
+
2399
+ type GetBlogPostByIdStatusItem = Literal['current', 'trashed', 'deleted', 'historical', 'draft']
2400
+
2401
+ type GetBlogPostClassificationLevelStatus = Literal['current', 'draft', 'archived']
2402
+
2403
+ GetBlogPostFooterCommentsResponse = TypedDict(
2404
+ 'GetBlogPostFooterCommentsResponse',
2405
+ {
2406
+ 'results': NotRequired["list[BlogPostCommentModel]"],
2407
+ 'links': NotRequired["MultiEntityLinks"],
2408
+ },
2409
+ )
2410
+ """MultiEntityResult<BlogPostCommentModel>"""
2411
+
2412
+ type GetBlogPostFooterCommentsStatusItem = Literal['current', 'deleted', 'trashed', 'historical', 'draft']
2413
+
2414
+ type GetBlogPostInlineCommentsResolutionStatusItem = Literal['resolved', 'open', 'dangling', 'reopened']
2415
+
2416
+ GetBlogPostInlineCommentsResponse = TypedDict(
2417
+ 'GetBlogPostInlineCommentsResponse',
2418
+ {
2419
+ 'results': NotRequired["list[BlogPostInlineCommentModel]"],
2420
+ 'links': NotRequired["MultiEntityLinks"],
2421
+ },
2422
+ )
2423
+ """MultiEntityResult<BlogPostInlineCommentModel>"""
2424
+
2425
+ type GetBlogPostInlineCommentsStatusItem = Literal['current', 'deleted', 'trashed', 'historical', 'draft']
2426
+
2427
+ type GetBlogPostLabelsPrefix = Literal['my', 'team', 'global', 'system']
2428
+
2429
+ GetBlogPostLabelsResponse = TypedDict(
2430
+ 'GetBlogPostLabelsResponse',
2431
+ {
2432
+ 'results': NotRequired["list[Label]"],
2433
+ 'links': NotRequired["MultiEntityLinks"],
2434
+ },
2435
+ )
2436
+ """MultiEntityResult<Label>"""
2437
+
2438
+ GetBlogPostLikeCountResponse = TypedDict(
2439
+ 'GetBlogPostLikeCountResponse',
2440
+ {
2441
+ 'count': NotRequired["int"],
2442
+ },
2443
+ )
2444
+ """Integer"""
2445
+
2446
+ GetBlogPostLikeUsersResponse = TypedDict(
2447
+ 'GetBlogPostLikeUsersResponse',
2448
+ {
2449
+ 'results': NotRequired["list[Like]"],
2450
+ 'links': NotRequired["MultiEntityLinks"],
2451
+ },
2452
+ )
2453
+ """MultiEntityResult<String>"""
2454
+
2455
+ type GetBlogPostPermissionsOperation = Literal['read', 'update']
2456
+
2457
+ type GetBlogPostPermissionsPrincipalType = Literal['user', 'group']
2458
+
2459
+ GetBlogPostPermissionsResponse = TypedDict(
2460
+ 'GetBlogPostPermissionsResponse',
2461
+ {
2462
+ 'results': NotRequired["list[ContentPermissionOutput]"],
2463
+ 'links': NotRequired["MultiEntityLinks"],
2464
+ },
2465
+ )
2466
+ """MultiEntityResult<ContentPermissionOutput>"""
2467
+
2468
+ GetBlogPostVersionsResponse = TypedDict(
2469
+ 'GetBlogPostVersionsResponse',
2470
+ {
2471
+ 'results': NotRequired["list[BlogPostVersion]"],
2472
+ 'links': NotRequired["MultiEntityLinks"],
2473
+ },
2474
+ )
2475
+ """MultiEntityResult<Version>"""
2476
+
2477
+ GetBlogPostsInSpaceResponse = TypedDict(
2478
+ 'GetBlogPostsInSpaceResponse',
2479
+ {
2480
+ 'results': NotRequired["list[BlogPostBulk]"],
2481
+ 'links': NotRequired["MultiEntityLinks"],
2482
+ },
2483
+ )
2484
+ """MultiEntityResult<BlogPost>"""
2485
+
2486
+ type GetBlogPostsInSpaceStatusItem = Literal['current', 'deleted', 'trashed']
2487
+
2488
+ GetBlogPostsResponse = TypedDict(
2489
+ 'GetBlogPostsResponse',
2490
+ {
2491
+ 'results': NotRequired["list[BlogPostBulk]"],
2492
+ 'links': NotRequired["MultiEntityLinks"],
2493
+ },
2494
+ )
2495
+ """MultiEntityResult<BlogPost>"""
2496
+
2497
+ type GetBlogPostsStatusItem = Literal['current', 'deleted', 'trashed']
2498
+
2499
+ GetBlogpostAttachmentsResponse = TypedDict(
2500
+ 'GetBlogpostAttachmentsResponse',
2501
+ {
2502
+ 'results': NotRequired["list[AttachmentBulk]"],
2503
+ 'links': NotRequired["MultiEntityLinks"],
2504
+ },
2505
+ )
2506
+ """MultiEntityResult<Attachment>"""
2507
+
2508
+ type GetBlogpostAttachmentsStatusItem = Literal['current', 'archived', 'trashed']
2509
+
2510
+ GetBlogpostContentPropertiesResponse = TypedDict(
2511
+ 'GetBlogpostContentPropertiesResponse',
2512
+ {
2513
+ 'results': NotRequired["list[ContentProperty]"],
2514
+ 'links': NotRequired["MultiEntityLinks"],
2515
+ },
2516
+ )
2517
+ """MultiEntityResult<ContentProperty>"""
2518
+
2519
+ GetChildCustomContentResponse = TypedDict(
2520
+ 'GetChildCustomContentResponse',
2521
+ {
2522
+ 'results': NotRequired["list[ChildCustomContent]"],
2523
+ 'links': NotRequired["MultiEntityLinks"],
2524
+ },
2525
+ )
2526
+ """MultiEntityResult<ChildCustomContent>"""
2527
+
2528
+ GetChildPagesResponse = TypedDict(
2529
+ 'GetChildPagesResponse',
2530
+ {
2531
+ 'results': NotRequired["list[ChildPage]"],
2532
+ 'links': NotRequired["MultiEntityLinks"],
2533
+ },
2534
+ )
2535
+ """MultiEntityResult<ChildPage>"""
2536
+
2537
+ GetCommentContentPropertiesResponse = TypedDict(
2538
+ 'GetCommentContentPropertiesResponse',
2539
+ {
2540
+ 'results': NotRequired["list[ContentProperty]"],
2541
+ 'links': NotRequired["MultiEntityLinks"],
2542
+ },
2543
+ )
2544
+ """MultiEntityResult<ContentProperty>"""
2545
+
2546
+ GetCustomContentAttachmentsResponse = TypedDict(
2547
+ 'GetCustomContentAttachmentsResponse',
2548
+ {
2549
+ 'results': NotRequired["list[AttachmentBulk]"],
2550
+ 'links': NotRequired["MultiEntityLinks"],
2551
+ },
2552
+ )
2553
+ """MultiEntityResult<Attachment>"""
2554
+
2555
+ type GetCustomContentAttachmentsStatusItem = Literal['current', 'archived', 'trashed']
2556
+
2557
+ GetCustomContentByIdResponse = TypedDict(
2558
+ 'GetCustomContentByIdResponse',
2559
+ {
2560
+ 'id': NotRequired["str"],
2561
+ 'type': NotRequired["str"],
2562
+ 'status': NotRequired["ContentStatus"],
2563
+ 'title': NotRequired["str"],
2564
+ 'space_id': NotRequired["str"],
2565
+ 'page_id': NotRequired["str"],
2566
+ 'blog_post_id': NotRequired["str"],
2567
+ 'custom_content_id': NotRequired["str"],
2568
+ 'author_id': NotRequired["str"],
2569
+ 'created_at': NotRequired["str"],
2570
+ 'version': NotRequired["Version"],
2571
+ 'labels': NotRequired["CustomContentSingleLabels"],
2572
+ 'properties': NotRequired["CustomContentSingleProperties"],
2573
+ 'operations': NotRequired["CustomContentSingleOperations"],
2574
+ 'versions': NotRequired["CustomContentSingleVersions"],
2575
+ 'body': NotRequired["CustomContentBodySingle"],
2576
+ 'links': NotRequired["GetCustomContentByIdResponseLinks"],
2577
+ },
2578
+ )
2579
+
2580
+ GetCustomContentByIdResponseLinks = TypedDict(
2581
+ 'GetCustomContentByIdResponseLinks',
2582
+ {
2583
+ 'base': NotRequired["str"],
2584
+ },
2585
+ )
2586
+
2587
+ GetCustomContentByTypeInBlogPostResponse = TypedDict(
2588
+ 'GetCustomContentByTypeInBlogPostResponse',
2589
+ {
2590
+ 'results': NotRequired["list[CustomContentBulk]"],
2591
+ 'links': NotRequired["MultiEntityLinks"],
2592
+ },
2593
+ )
2594
+ """MultiEntityResult<CustomContent>"""
2595
+
2596
+ GetCustomContentByTypeInPageResponse = TypedDict(
2597
+ 'GetCustomContentByTypeInPageResponse',
2598
+ {
2599
+ 'results': NotRequired["list[CustomContentBulk]"],
2600
+ 'links': NotRequired["MultiEntityLinks"],
2601
+ },
2602
+ )
2603
+ """MultiEntityResult<CustomContent>"""
2604
+
2605
+ GetCustomContentByTypeInSpaceResponse = TypedDict(
2606
+ 'GetCustomContentByTypeInSpaceResponse',
2607
+ {
2608
+ 'results': NotRequired["list[CustomContentBulk]"],
2609
+ 'links': NotRequired["MultiEntityLinks"],
2610
+ },
2611
+ )
2612
+ """MultiEntityResult<CustomContent>"""
2613
+
2614
+ GetCustomContentByTypeResponse = TypedDict(
2615
+ 'GetCustomContentByTypeResponse',
2616
+ {
2617
+ 'results': NotRequired["list[CustomContentBulk]"],
2618
+ 'links': NotRequired["MultiEntityLinks"],
2619
+ },
2620
+ )
2621
+ """MultiEntityResult<CustomContent>"""
2622
+
2623
+ GetCustomContentCommentsResponse = TypedDict(
2624
+ 'GetCustomContentCommentsResponse',
2625
+ {
2626
+ 'results': NotRequired["list[CustomContentCommentModel]"],
2627
+ 'links': NotRequired["MultiEntityLinks"],
2628
+ },
2629
+ )
2630
+ """MultiEntityResult<CustomContentCommentModel>"""
2631
+
2632
+ GetCustomContentContentPropertiesResponse = TypedDict(
2633
+ 'GetCustomContentContentPropertiesResponse',
2634
+ {
2635
+ 'results': NotRequired["list[ContentProperty]"],
2636
+ 'links': NotRequired["MultiEntityLinks"],
2637
+ },
2638
+ )
2639
+ """MultiEntityResult<ContentProperty>"""
2640
+
2641
+ type GetCustomContentLabelsPrefix = Literal['my', 'team', 'global', 'system']
2642
+
2643
+ GetCustomContentLabelsResponse = TypedDict(
2644
+ 'GetCustomContentLabelsResponse',
2645
+ {
2646
+ 'results': NotRequired["list[Label]"],
2647
+ 'links': NotRequired["MultiEntityLinks"],
2648
+ },
2649
+ )
2650
+ """MultiEntityResult<Label>"""
2651
+
2652
+ GetCustomContentVersionsResponse = TypedDict(
2653
+ 'GetCustomContentVersionsResponse',
2654
+ {
2655
+ 'results': NotRequired["list[CustomContentVersion]"],
2656
+ 'links': NotRequired["MultiEntityLinks"],
2657
+ },
2658
+ )
2659
+ """MultiEntityResult<Version>"""
2660
+
2661
+ GetDataPolicySpacesResponse = TypedDict(
2662
+ 'GetDataPolicySpacesResponse',
2663
+ {
2664
+ 'results': NotRequired["list[DataPolicySpace]"],
2665
+ 'links': NotRequired["MultiEntityLinks"],
2666
+ },
2667
+ )
2668
+ """MultiEntityResult<DataPolicySpace>"""
2669
+
2670
+ GetDatabaseAncestorsResponse = TypedDict(
2671
+ 'GetDatabaseAncestorsResponse',
2672
+ {
2673
+ 'results': NotRequired["list[Ancestor]"],
2674
+ },
2675
+ )
2676
+ """MultiEntityResult<Ancestor>"""
2677
+
2678
+ GetDatabaseByIdResponse = TypedDict(
2679
+ 'GetDatabaseByIdResponse',
2680
+ {
2681
+ 'id': NotRequired["str"],
2682
+ 'type': NotRequired["str"],
2683
+ 'status': NotRequired["ContentStatus"],
2684
+ 'title': NotRequired["str"],
2685
+ 'parent_id': NotRequired["str"],
2686
+ 'parent_type': NotRequired["ParentContentType"],
2687
+ 'position': NotRequired["int | None"],
2688
+ 'author_id': NotRequired["str"],
2689
+ 'owner_id': NotRequired["str"],
2690
+ 'created_at': NotRequired["str"],
2691
+ 'space_id': NotRequired["str"],
2692
+ 'version': NotRequired["Version"],
2693
+ 'links': NotRequired["GetDatabaseByIdResponseLinks"],
2694
+ },
2695
+ )
2696
+
2697
+ GetDatabaseByIdResponseLinks = TypedDict(
2698
+ 'GetDatabaseByIdResponseLinks',
2699
+ {
2700
+ 'base': NotRequired["str"],
2701
+ },
2702
+ )
2703
+
2704
+ GetDatabaseContentPropertiesResponse = TypedDict(
2705
+ 'GetDatabaseContentPropertiesResponse',
2706
+ {
2707
+ 'results': NotRequired["list[ContentProperty]"],
2708
+ 'links': NotRequired["MultiEntityLinks"],
2709
+ },
2710
+ )
2711
+ """MultiEntityResult<ContentProperty>"""
2712
+
2713
+ GetDatabaseDescendantsResponse = TypedDict(
2714
+ 'GetDatabaseDescendantsResponse',
2715
+ {
2716
+ 'results': NotRequired["list[DescendantsResponse]"],
2717
+ 'links': NotRequired["MultiEntityLinks"],
2718
+ },
2719
+ )
2720
+ """MultiEntityResult<DescendantsResponse>"""
2721
+
2722
+ GetDatabaseDirectChildrenResponse = TypedDict(
2723
+ 'GetDatabaseDirectChildrenResponse',
2724
+ {
2725
+ 'results': NotRequired["list[ChildrenResponse]"],
2726
+ 'links': NotRequired["MultiEntityLinks"],
2727
+ },
2728
+ )
2729
+ """MultiEntityResult<ChildrenResponse>"""
2730
+
2731
+ type GetDatabasePermissionsOperation = Literal['read', 'update']
2732
+
2733
+ type GetDatabasePermissionsPrincipalType = Literal['user', 'group']
2734
+
2735
+ GetDatabasePermissionsResponse = TypedDict(
2736
+ 'GetDatabasePermissionsResponse',
2737
+ {
2738
+ 'results': NotRequired["list[ContentPermissionOutput]"],
2739
+ 'links': NotRequired["MultiEntityLinks"],
2740
+ },
2741
+ )
2742
+ """MultiEntityResult<ContentPermissionOutput>"""
2743
+
2744
+ GetFolderAncestorsResponse = TypedDict(
2745
+ 'GetFolderAncestorsResponse',
2746
+ {
2747
+ 'results': NotRequired["list[Ancestor]"],
2748
+ },
2749
+ )
2750
+ """MultiEntityResult<Ancestor>"""
2751
+
2752
+ GetFolderByIdResponse = TypedDict(
2753
+ 'GetFolderByIdResponse',
2754
+ {
2755
+ 'id': NotRequired["str"],
2756
+ 'type': NotRequired["str"],
2757
+ 'status': NotRequired["ContentStatus"],
2758
+ 'title': NotRequired["str"],
2759
+ 'parent_id': NotRequired["str"],
2760
+ 'parent_type': NotRequired["ParentContentType"],
2761
+ 'position': NotRequired["int | None"],
2762
+ 'author_id': NotRequired["str"],
2763
+ 'owner_id': NotRequired["str"],
2764
+ 'created_at': NotRequired["str"],
2765
+ 'space_id': NotRequired["str"],
2766
+ 'version': NotRequired["Version"],
2767
+ 'links': NotRequired["GetFolderByIdResponseLinks"],
2768
+ },
2769
+ )
2770
+
2771
+ GetFolderByIdResponseLinks = TypedDict(
2772
+ 'GetFolderByIdResponseLinks',
2773
+ {
2774
+ 'base': NotRequired["str"],
2775
+ },
2776
+ )
2777
+
2778
+ GetFolderContentPropertiesResponse = TypedDict(
2779
+ 'GetFolderContentPropertiesResponse',
2780
+ {
2781
+ 'results': NotRequired["list[ContentProperty]"],
2782
+ 'links': NotRequired["MultiEntityLinks"],
2783
+ },
2784
+ )
2785
+ """MultiEntityResult<ContentProperty>"""
2786
+
2787
+ GetFolderDescendantsResponse = TypedDict(
2788
+ 'GetFolderDescendantsResponse',
2789
+ {
2790
+ 'results': NotRequired["list[DescendantsResponse]"],
2791
+ 'links': NotRequired["MultiEntityLinks"],
2792
+ },
2793
+ )
2794
+ """MultiEntityResult<DescendantsResponse>"""
2795
+
2796
+ GetFolderDirectChildrenResponse = TypedDict(
2797
+ 'GetFolderDirectChildrenResponse',
2798
+ {
2799
+ 'results': NotRequired["list[ChildrenResponse]"],
2800
+ 'links': NotRequired["MultiEntityLinks"],
2801
+ },
2802
+ )
2803
+ """MultiEntityResult<ChildrenResponse>"""
2804
+
2805
+ type GetFolderPermissionsOperation = Literal['read', 'update']
2806
+
2807
+ type GetFolderPermissionsPrincipalType = Literal['user', 'group']
2808
+
2809
+ GetFolderPermissionsResponse = TypedDict(
2810
+ 'GetFolderPermissionsResponse',
2811
+ {
2812
+ 'results': NotRequired["list[ContentPermissionOutput]"],
2813
+ 'links': NotRequired["MultiEntityLinks"],
2814
+ },
2815
+ )
2816
+ """MultiEntityResult<ContentPermissionOutput>"""
2817
+
2818
+ GetFooterCommentByIdResponse = TypedDict(
2819
+ 'GetFooterCommentByIdResponse',
2820
+ {
2821
+ 'id': NotRequired["str"],
2822
+ 'status': NotRequired["ContentStatus"],
2823
+ 'title': NotRequired["str"],
2824
+ 'blog_post_id': NotRequired["str"],
2825
+ 'page_id': NotRequired["str"],
2826
+ 'attachment_id': NotRequired["str"],
2827
+ 'custom_content_id': NotRequired["str"],
2828
+ 'parent_comment_id': NotRequired["str"],
2829
+ 'version': NotRequired["Version"],
2830
+ 'properties': NotRequired["FooterCommentModelProperties"],
2831
+ 'operations': NotRequired["FooterCommentModelOperations"],
2832
+ 'likes': NotRequired["FooterCommentModelLikes"],
2833
+ 'versions': NotRequired["FooterCommentModelVersions"],
2834
+ 'body': NotRequired["BodySingle"],
2835
+ 'links': NotRequired["GetFooterCommentByIdResponseLinks"],
2836
+ },
2837
+ )
2838
+
2839
+ GetFooterCommentByIdResponseLinks = TypedDict(
2840
+ 'GetFooterCommentByIdResponseLinks',
2841
+ {
2842
+ 'base': NotRequired["str"],
2843
+ },
2844
+ )
2845
+
2846
+ GetFooterCommentChildrenResponse = TypedDict(
2847
+ 'GetFooterCommentChildrenResponse',
2848
+ {
2849
+ 'results': NotRequired["list[ChildrenCommentModel]"],
2850
+ 'links': NotRequired["MultiEntityLinks"],
2851
+ },
2852
+ )
2853
+ """MultiEntityResult<ChildrenCommentModel>"""
2854
+
2855
+ GetFooterCommentVersionsResponse = TypedDict(
2856
+ 'GetFooterCommentVersionsResponse',
2857
+ {
2858
+ 'results': NotRequired["list[CommentVersion]"],
2859
+ 'links': NotRequired["MultiEntityLinks"],
2860
+ },
2861
+ )
2862
+ """MultiEntityResult<Version>"""
2863
+
2864
+ GetFooterCommentsResponse = TypedDict(
2865
+ 'GetFooterCommentsResponse',
2866
+ {
2867
+ 'results': NotRequired["list[FooterCommentModel]"],
2868
+ 'links': NotRequired["MultiEntityLinks"],
2869
+ },
2870
+ )
2871
+ """MultiEntityResult<FooterCommentModel>"""
2872
+
2873
+ GetFooterLikeCountResponse = TypedDict(
2874
+ 'GetFooterLikeCountResponse',
2875
+ {
2876
+ 'count': NotRequired["int"],
2877
+ },
2878
+ )
2879
+ """Integer"""
2880
+
2881
+ GetFooterLikeUsersResponse = TypedDict(
2882
+ 'GetFooterLikeUsersResponse',
2883
+ {
2884
+ 'results': NotRequired["list[Like]"],
2885
+ 'links': NotRequired["MultiEntityLinks"],
2886
+ },
2887
+ )
2888
+ """MultiEntityResult<String>"""
2889
+
2890
+ GetForgeAppPropertiesResponse = TypedDict(
2891
+ 'GetForgeAppPropertiesResponse',
2892
+ {
2893
+ 'results': NotRequired["list[GetForgeAppPropertiesResponseResultsItem]"],
2894
+ 'links': NotRequired["MultiEntityLinks"],
2895
+ },
2896
+ )
2897
+ """MultiEntityResult<AppProperty>"""
2898
+
2899
+ GetForgeAppPropertiesResponseResultsItem = TypedDict(
2900
+ 'GetForgeAppPropertiesResponseResultsItem',
2901
+ {
2902
+ 'key': NotRequired["str"],
2903
+ 'value': NotRequired["dict[str, Any]"],
2904
+ },
2905
+ )
2906
+
2907
+ GetForgeAppPropertyResponse = TypedDict(
2908
+ 'GetForgeAppPropertyResponse',
2909
+ {
2910
+ 'key': NotRequired["str"],
2911
+ 'value': NotRequired["dict[str, Any]"],
2912
+ },
2913
+ )
2914
+
2915
+ GetInlineCommentByIdResponse = TypedDict(
2916
+ 'GetInlineCommentByIdResponse',
2917
+ {
2918
+ 'id': NotRequired["str"],
2919
+ 'status': NotRequired["ContentStatus"],
2920
+ 'title': NotRequired["str"],
2921
+ 'blog_post_id': NotRequired["str"],
2922
+ 'page_id': NotRequired["str"],
2923
+ 'parent_comment_id': NotRequired["str"],
2924
+ 'version': NotRequired["Version"],
2925
+ 'body': NotRequired["BodySingle"],
2926
+ 'resolution_last_modifier_id': NotRequired["str"],
2927
+ 'resolution_last_modified_at': NotRequired["str"],
2928
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
2929
+ 'properties': NotRequired["InlineCommentModelProperties"],
2930
+ 'operations': NotRequired["InlineCommentModelOperations"],
2931
+ 'likes': NotRequired["InlineCommentModelLikes"],
2932
+ 'versions': NotRequired["InlineCommentModelVersions"],
2933
+ 'links': NotRequired["GetInlineCommentByIdResponseLinks"],
2934
+ },
2935
+ )
2936
+
2937
+ GetInlineCommentByIdResponseLinks = TypedDict(
2938
+ 'GetInlineCommentByIdResponseLinks',
2939
+ {
2940
+ 'base': NotRequired["str"],
2941
+ },
2942
+ )
2943
+
2944
+ GetInlineCommentChildrenResponse = TypedDict(
2945
+ 'GetInlineCommentChildrenResponse',
2946
+ {
2947
+ 'results': NotRequired["list[InlineCommentChildrenModel]"],
2948
+ 'links': NotRequired["MultiEntityLinks"],
2949
+ },
2950
+ )
2951
+ """MultiEntityResult<InlineCommentChildrenModel>"""
2952
+
2953
+ GetInlineCommentVersionsResponse = TypedDict(
2954
+ 'GetInlineCommentVersionsResponse',
2955
+ {
2956
+ 'results': NotRequired["list[CommentVersion]"],
2957
+ 'links': NotRequired["MultiEntityLinks"],
2958
+ },
2959
+ )
2960
+ """MultiEntityResult<Version>"""
2961
+
2962
+ GetInlineCommentsResponse = TypedDict(
2963
+ 'GetInlineCommentsResponse',
2964
+ {
2965
+ 'results': NotRequired["list[InlineCommentModel]"],
2966
+ 'links': NotRequired["MultiEntityLinks"],
2967
+ },
2968
+ )
2969
+ """MultiEntityResult<InlineCommentModel>"""
2970
+
2971
+ GetInlineLikeCountResponse = TypedDict(
2972
+ 'GetInlineLikeCountResponse',
2973
+ {
2974
+ 'count': NotRequired["int"],
2975
+ },
2976
+ )
2977
+ """Integer"""
2978
+
2979
+ GetInlineLikeUsersResponse = TypedDict(
2980
+ 'GetInlineLikeUsersResponse',
2981
+ {
2982
+ 'results': NotRequired["list[Like]"],
2983
+ 'links': NotRequired["MultiEntityLinks"],
2984
+ },
2985
+ )
2986
+ """MultiEntityResult<String>"""
2987
+
2988
+ GetLabelAttachmentsResponse = TypedDict(
2989
+ 'GetLabelAttachmentsResponse',
2990
+ {
2991
+ 'results': NotRequired["list[AttachmentBulk]"],
2992
+ 'links': NotRequired["MultiEntityLinks"],
2993
+ },
2994
+ )
2995
+ """MultiEntityResult<Attachment>"""
2996
+
2997
+ GetLabelBlogPostsResponse = TypedDict(
2998
+ 'GetLabelBlogPostsResponse',
2999
+ {
3000
+ 'results': NotRequired["list[BlogPostBulk]"],
3001
+ 'links': NotRequired["MultiEntityLinks"],
3002
+ },
3003
+ )
3004
+ """MultiEntityResult<BlogPost>"""
3005
+
3006
+ GetLabelPagesResponse = TypedDict(
3007
+ 'GetLabelPagesResponse',
3008
+ {
3009
+ 'results': NotRequired["list[PageBulk]"],
3010
+ 'links': NotRequired["MultiEntityLinks"],
3011
+ },
3012
+ )
3013
+ """MultiEntityResult<Page>"""
3014
+
3015
+ GetLabelsResponse = TypedDict(
3016
+ 'GetLabelsResponse',
3017
+ {
3018
+ 'results': NotRequired["list[Label]"],
3019
+ 'links': NotRequired["MultiEntityLinks"],
3020
+ },
3021
+ )
3022
+ """MultiEntityResult<Label>"""
3023
+
3024
+ GetPageAncestorsResponse = TypedDict(
3025
+ 'GetPageAncestorsResponse',
3026
+ {
3027
+ 'results': NotRequired["list[Ancestor]"],
3028
+ 'links': NotRequired["MultiEntityLinks"],
3029
+ },
3030
+ )
3031
+ """MultiEntityResult<Ancestor>"""
3032
+
3033
+ GetPageAttachmentsResponse = TypedDict(
3034
+ 'GetPageAttachmentsResponse',
3035
+ {
3036
+ 'results': NotRequired["list[AttachmentBulk]"],
3037
+ 'links': NotRequired["MultiEntityLinks"],
3038
+ },
3039
+ )
3040
+ """MultiEntityResult<Attachment>"""
3041
+
3042
+ type GetPageAttachmentsStatusItem = Literal['current', 'archived', 'trashed']
3043
+
3044
+ GetPageByIdResponse = TypedDict(
3045
+ 'GetPageByIdResponse',
3046
+ {
3047
+ 'id': NotRequired["str"],
3048
+ 'status': NotRequired["ContentStatus"],
3049
+ 'title': NotRequired["str"],
3050
+ 'space_id': NotRequired["str"],
3051
+ 'parent_id': NotRequired["str"],
3052
+ 'parent_type': NotRequired["ParentContentType"],
3053
+ 'position': NotRequired["int | None"],
3054
+ 'author_id': NotRequired["str"],
3055
+ 'owner_id': NotRequired["str | None"],
3056
+ 'last_owner_id': NotRequired["str | None"],
3057
+ 'created_at': NotRequired["str"],
3058
+ 'version': NotRequired["Version"],
3059
+ 'body': NotRequired["BodySingle"],
3060
+ 'labels': NotRequired["PageSingleLabels"],
3061
+ 'properties': NotRequired["PageSingleProperties"],
3062
+ 'operations': NotRequired["PageSingleOperations"],
3063
+ 'likes': NotRequired["PageSingleLikes"],
3064
+ 'versions': NotRequired["PageSingleVersions"],
3065
+ 'is_favorited_by_current_user': NotRequired["bool"],
3066
+ 'links': NotRequired["GetPageByIdResponseLinks"],
3067
+ },
3068
+ )
3069
+
3070
+ GetPageByIdResponseLinks = TypedDict(
3071
+ 'GetPageByIdResponseLinks',
3072
+ {
3073
+ 'base': NotRequired["str"],
3074
+ },
3075
+ )
3076
+
3077
+ type GetPageByIdStatusItem = Literal['current', 'archived', 'trashed', 'deleted', 'historical', 'draft']
3078
+
3079
+ type GetPageClassificationLevelStatus = Literal['current', 'draft', 'archived']
3080
+
3081
+ GetPageContentPropertiesResponse = TypedDict(
3082
+ 'GetPageContentPropertiesResponse',
3083
+ {
3084
+ 'results': NotRequired["list[ContentProperty]"],
3085
+ 'links': NotRequired["MultiEntityLinks"],
3086
+ },
3087
+ )
3088
+ """MultiEntityResult<ContentProperty>"""
3089
+
3090
+ GetPageDescendantsResponse = TypedDict(
3091
+ 'GetPageDescendantsResponse',
3092
+ {
3093
+ 'results': NotRequired["list[DescendantsResponse]"],
3094
+ 'links': NotRequired["MultiEntityLinks"],
3095
+ },
3096
+ )
3097
+ """MultiEntityResult<DescendantsResponse>"""
3098
+
3099
+ GetPageDirectChildrenResponse = TypedDict(
3100
+ 'GetPageDirectChildrenResponse',
3101
+ {
3102
+ 'results': NotRequired["list[ChildrenResponse]"],
3103
+ 'links': NotRequired["MultiEntityLinks"],
3104
+ },
3105
+ )
3106
+ """MultiEntityResult<ChildrenResponse>"""
3107
+
3108
+ GetPageFooterCommentsResponse = TypedDict(
3109
+ 'GetPageFooterCommentsResponse',
3110
+ {
3111
+ 'results': NotRequired["list[PageCommentModel]"],
3112
+ 'links': NotRequired["MultiEntityLinks"],
3113
+ },
3114
+ )
3115
+ """MultiEntityResult<PageCommentModel>"""
3116
+
3117
+ type GetPageFooterCommentsStatusItem = Literal['current', 'archived', 'trashed', 'deleted', 'historical', 'draft']
3118
+
3119
+ type GetPageInlineCommentsResolutionStatusItem = Literal['resolved', 'open', 'dangling', 'reopened']
3120
+
3121
+ GetPageInlineCommentsResponse = TypedDict(
3122
+ 'GetPageInlineCommentsResponse',
3123
+ {
3124
+ 'results': NotRequired["list[PageInlineCommentModel]"],
3125
+ 'links': NotRequired["MultiEntityLinks"],
3126
+ },
3127
+ )
3128
+ """MultiEntityResult<PageInlineCommentModel>"""
3129
+
3130
+ type GetPageInlineCommentsStatusItem = Literal['current', 'archived', 'trashed', 'deleted', 'historical', 'draft']
3131
+
3132
+ type GetPageLabelsPrefix = Literal['my', 'team', 'global', 'system']
3133
+
3134
+ GetPageLabelsResponse = TypedDict(
3135
+ 'GetPageLabelsResponse',
3136
+ {
3137
+ 'results': NotRequired["list[Label]"],
3138
+ 'links': NotRequired["MultiEntityLinks"],
3139
+ },
3140
+ )
3141
+ """MultiEntityResult<Label>"""
3142
+
3143
+ GetPageLikeCountResponse = TypedDict(
3144
+ 'GetPageLikeCountResponse',
3145
+ {
3146
+ 'count': NotRequired["int"],
3147
+ },
3148
+ )
3149
+ """Integer"""
3150
+
3151
+ GetPageLikeUsersResponse = TypedDict(
3152
+ 'GetPageLikeUsersResponse',
3153
+ {
3154
+ 'results': NotRequired["list[Like]"],
3155
+ 'links': NotRequired["MultiEntityLinks"],
3156
+ },
3157
+ )
3158
+ """MultiEntityResult<String>"""
3159
+
3160
+ type GetPagePermissionsOperation = Literal['read', 'update']
3161
+
3162
+ type GetPagePermissionsPrincipalType = Literal['user', 'group']
3163
+
3164
+ GetPagePermissionsResponse = TypedDict(
3165
+ 'GetPagePermissionsResponse',
3166
+ {
3167
+ 'results': NotRequired["list[ContentPermissionOutput]"],
3168
+ 'links': NotRequired["MultiEntityLinks"],
3169
+ },
3170
+ )
3171
+ """MultiEntityResult<ContentPermissionOutput>"""
3172
+
3173
+ GetPageVersionsResponse = TypedDict(
3174
+ 'GetPageVersionsResponse',
3175
+ {
3176
+ 'results': NotRequired["list[PageVersion]"],
3177
+ 'links': NotRequired["MultiEntityLinks"],
3178
+ },
3179
+ )
3180
+ """MultiEntityResult<Version>"""
3181
+
3182
+ type GetPagesInSpaceDepth = Literal['all', 'root']
3183
+
3184
+ GetPagesInSpaceResponse = TypedDict(
3185
+ 'GetPagesInSpaceResponse',
3186
+ {
3187
+ 'results': NotRequired["list[PageBulk]"],
3188
+ 'links': NotRequired["MultiEntityLinks"],
3189
+ },
3190
+ )
3191
+ """MultiEntityResult<Page>"""
3192
+
3193
+ type GetPagesInSpaceStatusItem = Literal['current', 'archived', 'deleted', 'trashed']
3194
+
3195
+ GetPagesResponse = TypedDict(
3196
+ 'GetPagesResponse',
3197
+ {
3198
+ 'results': NotRequired["list[PageBulk]"],
3199
+ 'links': NotRequired["MultiEntityLinks"],
3200
+ },
3201
+ )
3202
+ """MultiEntityResult<Page>"""
3203
+
3204
+ type GetPagesStatusItem = Literal['current', 'archived', 'deleted', 'trashed']
3205
+
3206
+ type GetPagesSubtype = Literal['live', 'page']
3207
+
3208
+ GetSmartLinkAncestorsResponse = TypedDict(
3209
+ 'GetSmartLinkAncestorsResponse',
3210
+ {
3211
+ 'results': NotRequired["list[Ancestor]"],
3212
+ },
3213
+ )
3214
+ """MultiEntityResult<Ancestor>"""
3215
+
3216
+ GetSmartLinkByIdResponse = TypedDict(
3217
+ 'GetSmartLinkByIdResponse',
3218
+ {
3219
+ 'id': NotRequired["str"],
3220
+ 'type': NotRequired["str"],
3221
+ 'status': NotRequired["ContentStatus"],
3222
+ 'title': NotRequired["str"],
3223
+ 'parent_id': NotRequired["str"],
3224
+ 'parent_type': NotRequired["ParentContentType"],
3225
+ 'position': NotRequired["int | None"],
3226
+ 'author_id': NotRequired["str"],
3227
+ 'owner_id': NotRequired["str"],
3228
+ 'created_at': NotRequired["str"],
3229
+ 'embed_url': NotRequired["str"],
3230
+ 'space_id': NotRequired["str"],
3231
+ 'version': NotRequired["Version"],
3232
+ 'links': NotRequired["GetSmartLinkByIdResponseLinks"],
3233
+ },
3234
+ )
3235
+
3236
+ GetSmartLinkByIdResponseLinks = TypedDict(
3237
+ 'GetSmartLinkByIdResponseLinks',
3238
+ {
3239
+ 'base': NotRequired["str"],
3240
+ },
3241
+ )
3242
+
3243
+ GetSmartLinkContentPropertiesResponse = TypedDict(
3244
+ 'GetSmartLinkContentPropertiesResponse',
3245
+ {
3246
+ 'results': NotRequired["list[ContentProperty]"],
3247
+ 'links': NotRequired["MultiEntityLinks"],
3248
+ },
3249
+ )
3250
+ """MultiEntityResult<ContentProperty>"""
3251
+
3252
+ GetSmartLinkDescendantsResponse = TypedDict(
3253
+ 'GetSmartLinkDescendantsResponse',
3254
+ {
3255
+ 'results': NotRequired["list[DescendantsResponse]"],
3256
+ 'links': NotRequired["MultiEntityLinks"],
3257
+ },
3258
+ )
3259
+ """MultiEntityResult<DescendantsResponse>"""
3260
+
3261
+ GetSmartLinkDirectChildrenResponse = TypedDict(
3262
+ 'GetSmartLinkDirectChildrenResponse',
3263
+ {
3264
+ 'results': NotRequired["list[ChildrenResponse]"],
3265
+ 'links': NotRequired["MultiEntityLinks"],
3266
+ },
3267
+ )
3268
+ """MultiEntityResult<ChildrenResponse>"""
3269
+
3270
+ GetSpaceByIdResponse = TypedDict(
3271
+ 'GetSpaceByIdResponse',
3272
+ {
3273
+ 'id': NotRequired["str"],
3274
+ 'key': NotRequired["str"],
3275
+ 'name': NotRequired["str"],
3276
+ 'type': NotRequired["SpaceType"],
3277
+ 'status': NotRequired["SpaceStatus"],
3278
+ 'author_id': NotRequired["str"],
3279
+ 'space_owner_id': NotRequired["str"],
3280
+ 'created_at': NotRequired["str"],
3281
+ 'homepage_id': NotRequired["str"],
3282
+ 'description': NotRequired["SpaceDescription"],
3283
+ 'icon': NotRequired["SpaceIcon"],
3284
+ 'labels': NotRequired["SpaceSingleLabels"],
3285
+ 'properties': NotRequired["SpaceSingleProperties"],
3286
+ 'operations': NotRequired["SpaceSingleOperations"],
3287
+ 'permissions': NotRequired["SpaceSinglePermissions"],
3288
+ 'links': NotRequired["GetSpaceByIdResponseLinks"],
3289
+ },
3290
+ )
3291
+
3292
+ GetSpaceByIdResponseLinks = TypedDict(
3293
+ 'GetSpaceByIdResponseLinks',
3294
+ {
3295
+ 'base': NotRequired["str"],
3296
+ },
3297
+ )
3298
+
3299
+ type GetSpaceContentLabelsPrefix = Literal['my', 'team']
3300
+
3301
+ GetSpaceContentLabelsResponse = TypedDict(
3302
+ 'GetSpaceContentLabelsResponse',
3303
+ {
3304
+ 'results': NotRequired["list[Label]"],
3305
+ 'links': NotRequired["MultiEntityLinks"],
3306
+ },
3307
+ )
3308
+ """MultiEntityResult<Label>"""
3309
+
3310
+ type GetSpaceLabelsPrefix = Literal['my', 'team']
3311
+
3312
+ GetSpaceLabelsResponse = TypedDict(
3313
+ 'GetSpaceLabelsResponse',
3314
+ {
3315
+ 'results': NotRequired["list[Label]"],
3316
+ 'links': NotRequired["MultiEntityLinks"],
3317
+ },
3318
+ )
3319
+ """MultiEntityResult<Label>"""
3320
+
3321
+ GetSpacePermissionsAssignmentsResponse = TypedDict(
3322
+ 'GetSpacePermissionsAssignmentsResponse',
3323
+ {
3324
+ 'results': NotRequired["list[SpacePermissionAssignment]"],
3325
+ 'links': NotRequired["MultiEntityLinks"],
3326
+ },
3327
+ )
3328
+ """MultiEntityResult<SpacePermissionAssignment>"""
3329
+
3330
+ GetSpacePropertiesResponse = TypedDict(
3331
+ 'GetSpacePropertiesResponse',
3332
+ {
3333
+ 'results': NotRequired["list[SpaceProperty]"],
3334
+ 'links': NotRequired["MultiEntityLinks"],
3335
+ },
3336
+ )
3337
+ """MultiEntityResult<SpaceProperty>"""
3338
+
3339
+ GetSpaceRoleAssignmentsResponse = TypedDict(
3340
+ 'GetSpaceRoleAssignmentsResponse',
3341
+ {
3342
+ 'results': NotRequired["list[SpaceRoleAssignment]"],
3343
+ 'links': NotRequired["MultiEntityLinks"],
3344
+ },
3345
+ )
3346
+ """MultiEntityResult<SpaceRoleAssignment>"""
3347
+
3348
+ GetSpaceRoleModeResponse = TypedDict(
3349
+ 'GetSpaceRoleModeResponse',
3350
+ {
3351
+ 'mode': NotRequired["GetSpaceRoleModeResponseMode"],
3352
+ },
3353
+ )
3354
+
3355
+ type GetSpaceRoleModeResponseMode = Literal['PRE_ROLES', 'ROLES_TRANSITION', 'ROLES']
3356
+ """The space role mode."""
3357
+
3358
+ GetSpaceRolesByIdResponse = TypedDict(
3359
+ 'GetSpaceRolesByIdResponse',
3360
+ {
3361
+ 'id': NotRequired["str"],
3362
+ 'type': NotRequired["RoleType"],
3363
+ 'name': NotRequired["str"],
3364
+ 'description': NotRequired["str"],
3365
+ 'space_permissions': NotRequired["list[str]"],
3366
+ 'links': NotRequired["GetSpaceRolesByIdResponseLinks"],
3367
+ },
3368
+ )
3369
+
3370
+ GetSpaceRolesByIdResponseLinks = TypedDict(
3371
+ 'GetSpaceRolesByIdResponseLinks',
3372
+ {
3373
+ 'base': NotRequired["str"],
3374
+ },
3375
+ )
3376
+
3377
+ GetSpacesResponse = TypedDict(
3378
+ 'GetSpacesResponse',
3379
+ {
3380
+ 'results': NotRequired["list[SpaceBulk]"],
3381
+ 'links': NotRequired["MultiEntityLinks"],
3382
+ },
3383
+ )
3384
+ """MultiEntityResult<Space>"""
3385
+
3386
+ type GetSpacesStatus = Literal['current', 'archived', 'trashed']
3387
+
3388
+ type GetSpacesType = Literal['global', 'collaboration', 'knowledge_base', 'personal', 'system', 'onboarding', 'xflow_sample_space']
3389
+
3390
+ GetTasksResponse = TypedDict(
3391
+ 'GetTasksResponse',
3392
+ {
3393
+ 'results': NotRequired["list[Task]"],
3394
+ 'links': NotRequired["MultiEntityLinks"],
3395
+ },
3396
+ )
3397
+ """MultiEntityResult<Task>"""
3398
+
3399
+ type GetTasksStatus = Literal['complete', 'incomplete']
3400
+
3401
+ GetWhiteboardAncestorsResponse = TypedDict(
3402
+ 'GetWhiteboardAncestorsResponse',
3403
+ {
3404
+ 'results': NotRequired["list[Ancestor]"],
3405
+ },
3406
+ )
3407
+ """MultiEntityResult<Ancestor>"""
3408
+
3409
+ GetWhiteboardByIdResponse = TypedDict(
3410
+ 'GetWhiteboardByIdResponse',
3411
+ {
3412
+ 'id': NotRequired["str"],
3413
+ 'type': NotRequired["str"],
3414
+ 'status': NotRequired["ContentStatus"],
3415
+ 'title': NotRequired["str"],
3416
+ 'parent_id': NotRequired["str"],
3417
+ 'parent_type': NotRequired["ParentContentType"],
3418
+ 'position': NotRequired["int | None"],
3419
+ 'author_id': NotRequired["str"],
3420
+ 'owner_id': NotRequired["str"],
3421
+ 'created_at': NotRequired["str"],
3422
+ 'space_id': NotRequired["str"],
3423
+ 'version': NotRequired["Version"],
3424
+ 'links': NotRequired["GetWhiteboardByIdResponseLinks"],
3425
+ },
3426
+ )
3427
+
3428
+ GetWhiteboardByIdResponseLinks = TypedDict(
3429
+ 'GetWhiteboardByIdResponseLinks',
3430
+ {
3431
+ 'base': NotRequired["str"],
3432
+ },
3433
+ )
3434
+
3435
+ GetWhiteboardContentPropertiesResponse = TypedDict(
3436
+ 'GetWhiteboardContentPropertiesResponse',
3437
+ {
3438
+ 'results': NotRequired["list[ContentProperty]"],
3439
+ 'links': NotRequired["MultiEntityLinks"],
3440
+ },
3441
+ )
3442
+ """MultiEntityResult<ContentProperty>"""
3443
+
3444
+ GetWhiteboardDescendantsResponse = TypedDict(
3445
+ 'GetWhiteboardDescendantsResponse',
3446
+ {
3447
+ 'results': NotRequired["list[DescendantsResponse]"],
3448
+ 'links': NotRequired["MultiEntityLinks"],
3449
+ },
3450
+ )
3451
+ """MultiEntityResult<DescendantsResponse>"""
3452
+
3453
+ GetWhiteboardDirectChildrenResponse = TypedDict(
3454
+ 'GetWhiteboardDirectChildrenResponse',
3455
+ {
3456
+ 'results': NotRequired["list[ChildrenResponse]"],
3457
+ 'links': NotRequired["MultiEntityLinks"],
3458
+ },
3459
+ )
3460
+ """MultiEntityResult<ChildrenResponse>"""
3461
+
3462
+ type GetWhiteboardPermissionsOperation = Literal['read', 'update']
3463
+
3464
+ type GetWhiteboardPermissionsPrincipalType = Literal['user', 'group']
3465
+
3466
+ GetWhiteboardPermissionsResponse = TypedDict(
3467
+ 'GetWhiteboardPermissionsResponse',
3468
+ {
3469
+ 'results': NotRequired["list[ContentPermissionOutput]"],
3470
+ 'links': NotRequired["MultiEntityLinks"],
3471
+ },
3472
+ )
3473
+ """MultiEntityResult<ContentPermissionOutput>"""
3474
+
3475
+ Icon = TypedDict(
3476
+ 'Icon',
3477
+ {
3478
+ 'path': "str",
3479
+ 'is_default': "bool",
3480
+ },
3481
+ )
3482
+ """This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting."""
3483
+
3484
+ InlineCommentChildrenModel = TypedDict(
3485
+ 'InlineCommentChildrenModel',
3486
+ {
3487
+ 'id': NotRequired["str"],
3488
+ 'status': NotRequired["ContentStatus"],
3489
+ 'title': NotRequired["str"],
3490
+ 'parent_comment_id': NotRequired["str"],
3491
+ 'version': NotRequired["Version"],
3492
+ 'body': NotRequired["BodyBulk"],
3493
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
3494
+ 'properties': NotRequired["InlineCommentProperties"],
3495
+ 'links': NotRequired["CommentLinks"],
3496
+ },
3497
+ )
3498
+
3499
+ InlineCommentModel = TypedDict(
3500
+ 'InlineCommentModel',
3501
+ {
3502
+ 'id': NotRequired["str"],
3503
+ 'status': NotRequired["ContentStatus"],
3504
+ 'title': NotRequired["str"],
3505
+ 'blog_post_id': NotRequired["str"],
3506
+ 'page_id': NotRequired["str"],
3507
+ 'parent_comment_id': NotRequired["str"],
3508
+ 'version': NotRequired["Version"],
3509
+ 'body': NotRequired["BodySingle"],
3510
+ 'resolution_last_modifier_id': NotRequired["str"],
3511
+ 'resolution_last_modified_at': NotRequired["str"],
3512
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
3513
+ 'properties': NotRequired["InlineCommentModelProperties"],
3514
+ 'operations': NotRequired["InlineCommentModelOperations"],
3515
+ 'likes': NotRequired["InlineCommentModelLikes"],
3516
+ 'versions': NotRequired["InlineCommentModelVersions"],
3517
+ 'links': NotRequired["CommentLinks"],
3518
+ },
3519
+ )
3520
+
3521
+ InlineCommentModelLikes = TypedDict(
3522
+ 'InlineCommentModelLikes',
3523
+ {
3524
+ 'results': NotRequired["list[Like]"],
3525
+ 'meta': NotRequired["OptionalFieldMeta"],
3526
+ 'links': NotRequired["OptionalFieldLinks"],
3527
+ },
3528
+ )
3529
+
3530
+ InlineCommentModelOperations = TypedDict(
3531
+ 'InlineCommentModelOperations',
3532
+ {
3533
+ 'results': NotRequired["list[Operation]"],
3534
+ 'meta': NotRequired["OptionalFieldMeta"],
3535
+ 'links': NotRequired["OptionalFieldLinks"],
3536
+ },
3537
+ )
3538
+
3539
+ InlineCommentModelProperties = TypedDict(
3540
+ 'InlineCommentModelProperties',
3541
+ {
3542
+ 'results': NotRequired["list[ContentProperty]"],
3543
+ 'meta': NotRequired["OptionalFieldMeta"],
3544
+ 'links': NotRequired["OptionalFieldLinks"],
3545
+ 'inline_marker_ref': NotRequired["str"],
3546
+ 'inline_original_selection': NotRequired["str"],
3547
+ },
3548
+ )
3549
+
3550
+ InlineCommentModelVersions = TypedDict(
3551
+ 'InlineCommentModelVersions',
3552
+ {
3553
+ 'results': NotRequired["list[Version]"],
3554
+ 'meta': NotRequired["OptionalFieldMeta"],
3555
+ 'links': NotRequired["OptionalFieldLinks"],
3556
+ },
3557
+ )
3558
+
3559
+ InlineCommentProperties = TypedDict(
3560
+ 'InlineCommentProperties',
3561
+ {
3562
+ 'inline_marker_ref': NotRequired["str"],
3563
+ 'inline_original_selection': NotRequired["str"],
3564
+ },
3565
+ )
3566
+
3567
+ type InlineCommentResolutionStatus = Literal['open', 'reopened', 'resolved', 'dangling']
3568
+ """Inline comment resolution status"""
3569
+
3570
+ InviteByEmailBody = TypedDict(
3571
+ 'InviteByEmailBody',
3572
+ {
3573
+ 'emails': "list[str]",
3574
+ },
3575
+ )
3576
+
3577
+ Label = TypedDict(
3578
+ 'Label',
3579
+ {
3580
+ 'id': NotRequired["str"],
3581
+ 'name': NotRequired["str"],
3582
+ 'prefix': NotRequired["str"],
3583
+ },
3584
+ )
3585
+
3586
+ type LabelSortOrder = Literal['created-date', '-created-date', 'id', '-id', 'name', '-name']
3587
+ """The sort fields for labels. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
3588
+
3589
+ Like = TypedDict(
3590
+ 'Like',
3591
+ {
3592
+ 'account_id': NotRequired["str"],
3593
+ },
3594
+ )
3595
+
3596
+ ListSpacePermissionCombinationsResponse = TypedDict(
3597
+ 'ListSpacePermissionCombinationsResponse',
3598
+ {
3599
+ 'results': "list[BulkTransitionCombinationEntry]",
3600
+ 'generated_at': NotRequired["str | None"],
3601
+ 'cursor': NotRequired["str | None"],
3602
+ },
3603
+ )
3604
+
3605
+ MultiEntityLinks = TypedDict(
3606
+ 'MultiEntityLinks',
3607
+ {
3608
+ 'next': NotRequired["str"],
3609
+ 'base': NotRequired["str"],
3610
+ },
3611
+ )
3612
+
3613
+ type OnlyArchivedAndCurrentContentStatus = Literal['current', 'archived']
3614
+ """The status of the content."""
3615
+
3616
+ Operation = TypedDict(
3617
+ 'Operation',
3618
+ {
3619
+ 'operation': NotRequired["str"],
3620
+ 'target_type': NotRequired["str"],
3621
+ },
3622
+ )
3623
+
3624
+ OperationPermissionsInput = TypedDict(
3625
+ 'OperationPermissionsInput',
3626
+ {
3627
+ 'operation': "OperationPermissionsInputOperation",
3628
+ 'principals': "list[ContentPrincipalInput]",
3629
+ },
3630
+ )
3631
+ """A set of principals to assign a given operation permission to."""
3632
+
3633
+ type OperationPermissionsInputOperation = Literal['read', 'update']
3634
+ """The operation to grant."""
3635
+
3636
+ OptionalFieldLinks = TypedDict(
3637
+ 'OptionalFieldLinks',
3638
+ {
3639
+ 'self': NotRequired["str"],
3640
+ },
3641
+ )
3642
+
3643
+ OptionalFieldMeta = TypedDict(
3644
+ 'OptionalFieldMeta',
3645
+ {
3646
+ 'has_more': NotRequired["bool"],
3647
+ 'cursor': NotRequired["str"],
3648
+ },
3649
+ )
3650
+
3651
+ PageBodyWrite = TypedDict(
3652
+ 'PageBodyWrite',
3653
+ {
3654
+ 'representation': NotRequired["PageBodyWriteRepresentation"],
3655
+ 'value': NotRequired["str"],
3656
+ },
3657
+ )
3658
+
3659
+ type PageBodyWriteRepresentation = Literal['storage', 'atlas_doc_format', 'wiki']
3660
+ """Type of content representation used for the value field."""
3661
+
3662
+ PageBulk = TypedDict(
3663
+ 'PageBulk',
3664
+ {
3665
+ 'id': NotRequired["str"],
3666
+ 'status': NotRequired["ContentStatus"],
3667
+ 'title': NotRequired["str"],
3668
+ 'space_id': NotRequired["str"],
3669
+ 'parent_id': NotRequired["str"],
3670
+ 'parent_type': NotRequired["ParentContentType"],
3671
+ 'position': NotRequired["int | None"],
3672
+ 'author_id': NotRequired["str"],
3673
+ 'owner_id': NotRequired["str | None"],
3674
+ 'last_owner_id': NotRequired["str | None"],
3675
+ 'subtype': NotRequired["str | None"],
3676
+ 'created_at': NotRequired["str"],
3677
+ 'version': NotRequired["Version"],
3678
+ 'body': NotRequired["BodyBulk"],
3679
+ 'links': NotRequired["AbstractPageLinks"],
3680
+ },
3681
+ )
3682
+
3683
+ PageCommentModel = TypedDict(
3684
+ 'PageCommentModel',
3685
+ {
3686
+ 'id': NotRequired["str"],
3687
+ 'status': NotRequired["ContentStatus"],
3688
+ 'title': NotRequired["str"],
3689
+ 'page_id': NotRequired["str"],
3690
+ 'version': NotRequired["Version"],
3691
+ 'body': NotRequired["BodyBulk"],
3692
+ 'links': NotRequired["CommentLinks"],
3693
+ },
3694
+ )
3695
+
3696
+ PageInlineCommentModel = TypedDict(
3697
+ 'PageInlineCommentModel',
3698
+ {
3699
+ 'id': NotRequired["str"],
3700
+ 'status': NotRequired["ContentStatus"],
3701
+ 'title': NotRequired["str"],
3702
+ 'page_id': NotRequired["str"],
3703
+ 'version': NotRequired["Version"],
3704
+ 'body': NotRequired["BodyBulk"],
3705
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
3706
+ 'properties': NotRequired["InlineCommentProperties"],
3707
+ 'links': NotRequired["CommentLinks"],
3708
+ },
3709
+ )
3710
+
3711
+ PageNestedBodyWrite = TypedDict(
3712
+ 'PageNestedBodyWrite',
3713
+ {
3714
+ 'storage': NotRequired["PageBodyWrite"],
3715
+ 'atlas_doc_format': NotRequired["PageBodyWrite"],
3716
+ 'wiki': NotRequired["PageBodyWrite"],
3717
+ },
3718
+ )
3719
+ """
3720
+ Body of the page. Only one body format should be specified as the property
3721
+ for this object, e.g. `storage`.
3722
+ """
3723
+
3724
+ PageSingle = TypedDict(
3725
+ 'PageSingle',
3726
+ {
3727
+ 'id': NotRequired["str"],
3728
+ 'status': NotRequired["ContentStatus"],
3729
+ 'title': NotRequired["str"],
3730
+ 'space_id': NotRequired["str"],
3731
+ 'parent_id': NotRequired["str"],
3732
+ 'parent_type': NotRequired["ParentContentType"],
3733
+ 'position': NotRequired["int | None"],
3734
+ 'author_id': NotRequired["str"],
3735
+ 'owner_id': NotRequired["str | None"],
3736
+ 'last_owner_id': NotRequired["str | None"],
3737
+ 'created_at': NotRequired["str"],
3738
+ 'version': NotRequired["Version"],
3739
+ 'body': NotRequired["BodySingle"],
3740
+ 'labels': NotRequired["PageSingleLabels"],
3741
+ 'properties': NotRequired["PageSingleProperties"],
3742
+ 'operations': NotRequired["PageSingleOperations"],
3743
+ 'likes': NotRequired["PageSingleLikes"],
3744
+ 'versions': NotRequired["PageSingleVersions"],
3745
+ 'is_favorited_by_current_user': NotRequired["bool"],
3746
+ 'links': NotRequired["AbstractPageLinks"],
3747
+ },
3748
+ )
3749
+
3750
+ PageSingleLabels = TypedDict(
3751
+ 'PageSingleLabels',
3752
+ {
3753
+ 'results': NotRequired["list[Label]"],
3754
+ 'meta': NotRequired["OptionalFieldMeta"],
3755
+ 'links': NotRequired["OptionalFieldLinks"],
3756
+ },
3757
+ )
3758
+
3759
+ PageSingleLikes = TypedDict(
3760
+ 'PageSingleLikes',
3761
+ {
3762
+ 'results': NotRequired["list[Like]"],
3763
+ 'meta': NotRequired["OptionalFieldMeta"],
3764
+ 'links': NotRequired["OptionalFieldLinks"],
3765
+ },
3766
+ )
3767
+
3768
+ PageSingleOperations = TypedDict(
3769
+ 'PageSingleOperations',
3770
+ {
3771
+ 'results': NotRequired["list[Operation]"],
3772
+ 'meta': NotRequired["OptionalFieldMeta"],
3773
+ 'links': NotRequired["OptionalFieldLinks"],
3774
+ },
3775
+ )
3776
+
3777
+ PageSingleProperties = TypedDict(
3778
+ 'PageSingleProperties',
3779
+ {
3780
+ 'results': NotRequired["list[ContentProperty]"],
3781
+ 'meta': NotRequired["OptionalFieldMeta"],
3782
+ 'links': NotRequired["OptionalFieldLinks"],
3783
+ },
3784
+ )
3785
+
3786
+ PageSingleVersions = TypedDict(
3787
+ 'PageSingleVersions',
3788
+ {
3789
+ 'results': NotRequired["list[Version]"],
3790
+ 'meta': NotRequired["OptionalFieldMeta"],
3791
+ 'links': NotRequired["OptionalFieldLinks"],
3792
+ },
3793
+ )
3794
+
3795
+ type PageSortOrder = Literal['id', '-id', 'created-date', '-created-date', 'modified-date', '-modified-date', 'title', '-title']
3796
+ """The sort fields for pages. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
3797
+
3798
+ PageVersion = TypedDict(
3799
+ 'PageVersion',
3800
+ {
3801
+ 'created_at': NotRequired["str"],
3802
+ 'message': NotRequired["str"],
3803
+ 'number': NotRequired["int"],
3804
+ 'minor_edit': NotRequired["bool"],
3805
+ 'author_id': NotRequired["str"],
3806
+ 'page': NotRequired["VersionedEntity"],
3807
+ },
3808
+ )
3809
+
3810
+ type ParentContentType = Literal['page', 'whiteboard', 'database', 'embed', 'folder']
3811
+ """Content type of the parent, or null if there is no parent."""
3812
+
3813
+ PermittedOperationsResponse = TypedDict(
3814
+ 'PermittedOperationsResponse',
3815
+ {
3816
+ 'operations': NotRequired["list[Operation]"],
3817
+ },
3818
+ )
3819
+ """The list of operations permitted on entity."""
3820
+
3821
+ PostBlogPostClassificationLevelBody = TypedDict(
3822
+ 'PostBlogPostClassificationLevelBody',
3823
+ {
3824
+ 'status': "PostBlogPostClassificationLevelBodyStatus",
3825
+ },
3826
+ )
3827
+
3828
+ type PostBlogPostClassificationLevelBodyStatus = Literal['current', 'draft']
3829
+ """Status of the content."""
3830
+
3831
+ PostDatabaseClassificationLevelBody = TypedDict(
3832
+ 'PostDatabaseClassificationLevelBody',
3833
+ {
3834
+ 'status': "PostDatabaseClassificationLevelBodyStatus",
3835
+ },
3836
+ )
3837
+
3838
+ type PostDatabaseClassificationLevelBodyStatus = Literal['current']
3839
+ """Status of the content."""
3840
+
3841
+ PostPageClassificationLevelBody = TypedDict(
3842
+ 'PostPageClassificationLevelBody',
3843
+ {
3844
+ 'status': "PostPageClassificationLevelBodyStatus",
3845
+ },
3846
+ )
3847
+
3848
+ type PostPageClassificationLevelBodyStatus = Literal['current', 'draft']
3849
+ """Status of the content."""
3850
+
3851
+ PostRedactBlogBody = TypedDict(
3852
+ 'PostRedactBlogBody',
3853
+ {
3854
+ 'created_at': "str",
3855
+ 'clean_history': NotRequired["bool | None"],
3856
+ 'version_number': NotRequired["int | None"],
3857
+ 'body': NotRequired["PostRedactBlogBodyBody"],
3858
+ 'title': NotRequired["PostRedactBlogBodyTitle"],
3859
+ },
3860
+ )
3861
+
3862
+ PostRedactBlogBodyBody = TypedDict(
3863
+ 'PostRedactBlogBodyBody',
3864
+ {
3865
+ 'redactions': NotRequired["list[RedactionPointer]"],
3866
+ },
3867
+ )
3868
+
3869
+ PostRedactBlogBodyTitle = TypedDict(
3870
+ 'PostRedactBlogBodyTitle',
3871
+ {
3872
+ 'redactions': NotRequired["list[RedactionPointer]"],
3873
+ },
3874
+ )
3875
+
3876
+ PostRedactPageBody = TypedDict(
3877
+ 'PostRedactPageBody',
3878
+ {
3879
+ 'created_at': "str",
3880
+ 'clean_history': NotRequired["bool | None"],
3881
+ 'version_number': NotRequired["int | None"],
3882
+ 'body': NotRequired["PostRedactPageBodyBody"],
3883
+ 'title': NotRequired["PostRedactPageBodyTitle"],
3884
+ },
3885
+ )
3886
+
3887
+ PostRedactPageBodyBody = TypedDict(
3888
+ 'PostRedactPageBodyBody',
3889
+ {
3890
+ 'redactions': NotRequired["list[RedactionPointer]"],
3891
+ },
3892
+ )
3893
+
3894
+ PostRedactPageBodyTitle = TypedDict(
3895
+ 'PostRedactPageBodyTitle',
3896
+ {
3897
+ 'redactions': NotRequired["list[RedactionPointer]"],
3898
+ },
3899
+ )
3900
+
3901
+ PostWhiteboardClassificationLevelBody = TypedDict(
3902
+ 'PostWhiteboardClassificationLevelBody',
3903
+ {
3904
+ 'status': "PostWhiteboardClassificationLevelBodyStatus",
3905
+ },
3906
+ )
3907
+
3908
+ type PostWhiteboardClassificationLevelBodyStatus = Literal['current']
3909
+ """Status of the content."""
3910
+
3911
+ type PrimaryBodyRepresentation = Literal['storage', 'atlas_doc_format']
3912
+ """The primary formats a body can be represented as. A subset of BodyRepresentation. These formats are the only allowed formats in certain use cases."""
3913
+
3914
+ type PrimaryBodyRepresentationSingle = Literal['storage', 'atlas_doc_format', 'view', 'export_view', 'anonymous_export_view', 'styled_view', 'editor']
3915
+ """The primary formats a body can be represented as. A subset of BodyRepresentation. These formats are the only allowed formats in certain use cases."""
3916
+
3917
+ Principal = TypedDict(
3918
+ 'Principal',
3919
+ {
3920
+ 'principal_type': NotRequired["PrincipalType"],
3921
+ 'principal_id': NotRequired["str"],
3922
+ },
3923
+ )
3924
+ """The principal of the role assignment."""
3925
+
3926
+ type PrincipalType = Literal['USER', 'GROUP', 'ACCESS_CLASS']
3927
+ """The principal type."""
3928
+
3929
+ PutBlogPostClassificationLevelBody = TypedDict(
3930
+ 'PutBlogPostClassificationLevelBody',
3931
+ {
3932
+ 'id': "str",
3933
+ 'status': "PutBlogPostClassificationLevelBodyStatus",
3934
+ },
3935
+ )
3936
+
3937
+ type PutBlogPostClassificationLevelBodyStatus = Literal['current', 'draft']
3938
+ """Status of the content."""
3939
+
3940
+ PutDatabaseClassificationLevelBody = TypedDict(
3941
+ 'PutDatabaseClassificationLevelBody',
3942
+ {
3943
+ 'id': "str",
3944
+ 'status': "PutDatabaseClassificationLevelBodyStatus",
3945
+ },
3946
+ )
3947
+
3948
+ type PutDatabaseClassificationLevelBodyStatus = Literal['current']
3949
+ """Status of the content."""
3950
+
3951
+ PutPageClassificationLevelBody = TypedDict(
3952
+ 'PutPageClassificationLevelBody',
3953
+ {
3954
+ 'id': "str",
3955
+ 'status': "PutPageClassificationLevelBodyStatus",
3956
+ },
3957
+ )
3958
+
3959
+ type PutPageClassificationLevelBodyStatus = Literal['current', 'draft']
3960
+ """Status of the content."""
3961
+
3962
+ PutSpaceDefaultClassificationLevelBody = TypedDict(
3963
+ 'PutSpaceDefaultClassificationLevelBody',
3964
+ {
3965
+ 'id': "str",
3966
+ },
3967
+ )
3968
+
3969
+ PutWhiteboardClassificationLevelBody = TypedDict(
3970
+ 'PutWhiteboardClassificationLevelBody',
3971
+ {
3972
+ 'id': "str",
3973
+ 'status': "PutWhiteboardClassificationLevelBodyStatus",
3974
+ },
3975
+ )
3976
+
3977
+ type PutWhiteboardClassificationLevelBodyStatus = Literal['current']
3978
+ """Status of the content."""
3979
+
3980
+ Redaction = TypedDict(
3981
+ 'Redaction',
3982
+ {
3983
+ 'redactions': NotRequired["list[RedactionPointer]"],
3984
+ },
3985
+ )
3986
+
3987
+ RedactionPointer = TypedDict(
3988
+ 'RedactionPointer',
3989
+ {
3990
+ 'pointer': "str",
3991
+ 'from': NotRequired["int"],
3992
+ 'to': NotRequired["int"],
3993
+ 'reason': NotRequired["str | None"],
3994
+ },
3995
+ )
3996
+
3997
+ RedactionPointerResponse = TypedDict(
3998
+ 'RedactionPointerResponse',
3999
+ {
4000
+ 'pointer': NotRequired["str"],
4001
+ 'from': NotRequired["int"],
4002
+ 'to': NotRequired["int"],
4003
+ 'reason': NotRequired["str"],
4004
+ 'redaction_id': NotRequired["str"],
4005
+ },
4006
+ )
4007
+
4008
+ RedactionResponse = TypedDict(
4009
+ 'RedactionResponse',
4010
+ {
4011
+ 'body': NotRequired["RedactionSectionResponse"],
4012
+ 'title': NotRequired["RedactionSectionResponse"],
4013
+ },
4014
+ )
4015
+ """
4016
+ Response containing details of all redactions that were applied to the content.
4017
+ Each redaction includes a unique ID for restoration, except that code block redactions cannot be restored.
4018
+ """
4019
+
4020
+ RedactionSectionResponse = TypedDict(
4021
+ 'RedactionSectionResponse',
4022
+ {
4023
+ 'redactions': NotRequired["list[RedactionPointerResponse]"],
4024
+ },
4025
+ )
4026
+
4027
+ RestrictionStateResponse = TypedDict(
4028
+ 'RestrictionStateResponse',
4029
+ {
4030
+ 'state': "ContentRestrictionState",
4031
+ 'created_at': NotRequired["str"],
4032
+ 'created_by': NotRequired["str"],
4033
+ 'created_by_aaid': NotRequired["str"],
4034
+ },
4035
+ )
4036
+ """The direct restriction state of a content item. Inherited restrictions are not included."""
4037
+
4038
+ type RoleType = Literal['SYSTEM', 'CUSTOM']
4039
+ """The role type."""
4040
+
4041
+ SetBlogPostRestrictionStateBody = TypedDict(
4042
+ 'SetBlogPostRestrictionStateBody',
4043
+ {
4044
+ 'state': "ContentRestrictionState",
4045
+ },
4046
+ )
4047
+
4048
+ SetDatabaseRestrictionStateBody = TypedDict(
4049
+ 'SetDatabaseRestrictionStateBody',
4050
+ {
4051
+ 'state': "ContentRestrictionState",
4052
+ },
4053
+ )
4054
+
4055
+ SetFolderRestrictionStateBody = TypedDict(
4056
+ 'SetFolderRestrictionStateBody',
4057
+ {
4058
+ 'state': "ContentRestrictionState",
4059
+ },
4060
+ )
4061
+
4062
+ SetPageRestrictionStateBody = TypedDict(
4063
+ 'SetPageRestrictionStateBody',
4064
+ {
4065
+ 'state': "ContentRestrictionState",
4066
+ },
4067
+ )
4068
+
4069
+ SetSpaceRoleAssignmentsBodyItem = TypedDict(
4070
+ 'SetSpaceRoleAssignmentsBodyItem',
4071
+ {
4072
+ 'principal': "Principal",
4073
+ 'role_id': NotRequired["str"],
4074
+ },
4075
+ )
4076
+
4077
+ SetSpaceRoleAssignmentsResponse = TypedDict(
4078
+ 'SetSpaceRoleAssignmentsResponse',
4079
+ {
4080
+ 'results': NotRequired["list[SpaceRoleAssignment]"],
4081
+ 'links': NotRequired["MultiEntityLinks"],
4082
+ },
4083
+ )
4084
+ """MultiEntityResult<SpaceRoleAssignment>"""
4085
+
4086
+ SetWhiteboardRestrictionStateBody = TypedDict(
4087
+ 'SetWhiteboardRestrictionStateBody',
4088
+ {
4089
+ 'state': "ContentRestrictionState",
4090
+ },
4091
+ )
4092
+
4093
+ SmartLinkLinks = TypedDict(
4094
+ 'SmartLinkLinks',
4095
+ {
4096
+ 'webui': NotRequired["str"],
4097
+ },
4098
+ )
4099
+
4100
+ SmartLinkSingle = TypedDict(
4101
+ 'SmartLinkSingle',
4102
+ {
4103
+ 'id': NotRequired["str"],
4104
+ 'type': NotRequired["str"],
4105
+ 'status': NotRequired["ContentStatus"],
4106
+ 'title': NotRequired["str"],
4107
+ 'parent_id': NotRequired["str"],
4108
+ 'parent_type': NotRequired["ParentContentType"],
4109
+ 'position': NotRequired["int | None"],
4110
+ 'author_id': NotRequired["str"],
4111
+ 'owner_id': NotRequired["str"],
4112
+ 'created_at': NotRequired["str"],
4113
+ 'embed_url': NotRequired["str"],
4114
+ 'space_id': NotRequired["str"],
4115
+ 'version': NotRequired["Version"],
4116
+ 'links': NotRequired["SmartLinkLinks"],
4117
+ },
4118
+ )
4119
+
4120
+ SpaceBulk = TypedDict(
4121
+ 'SpaceBulk',
4122
+ {
4123
+ 'id': NotRequired["str"],
4124
+ 'key': NotRequired["str"],
4125
+ 'name': NotRequired["str"],
4126
+ 'type': NotRequired["SpaceType"],
4127
+ 'status': NotRequired["SpaceStatus"],
4128
+ 'author_id': NotRequired["str"],
4129
+ 'space_owner_id': NotRequired["str"],
4130
+ 'current_active_alias': NotRequired["str"],
4131
+ 'created_at': NotRequired["str"],
4132
+ 'homepage_id': NotRequired["str"],
4133
+ 'description': NotRequired["SpaceDescription"],
4134
+ 'icon': NotRequired["SpaceIcon"],
4135
+ 'links': NotRequired["SpaceLinks"],
4136
+ },
4137
+ )
4138
+
4139
+ SpaceDescription = TypedDict(
4140
+ 'SpaceDescription',
4141
+ {
4142
+ 'plain': NotRequired["BodyType"],
4143
+ 'view': NotRequired["BodyType"],
4144
+ },
4145
+ )
4146
+ """Contains fields for each representation type requested."""
4147
+
4148
+ type SpaceDescriptionBodyRepresentation = Literal['plain', 'view']
4149
+ """The formats a space description can be represented as. A subset of BodyRepresentation."""
4150
+
4151
+ SpaceIcon = TypedDict(
4152
+ 'SpaceIcon',
4153
+ {
4154
+ 'path': NotRequired["str"],
4155
+ 'api_download_link': NotRequired["str"],
4156
+ },
4157
+ )
4158
+ """The icon of the space"""
4159
+
4160
+ SpaceLinks = TypedDict(
4161
+ 'SpaceLinks',
4162
+ {
4163
+ 'webui': NotRequired["str"],
4164
+ },
4165
+ )
4166
+
4167
+ SpacePermission = TypedDict(
4168
+ 'SpacePermission',
4169
+ {
4170
+ 'id': NotRequired["str"],
4171
+ 'display_name': NotRequired["str"],
4172
+ 'description': NotRequired["str"],
4173
+ 'required_permission_ids': NotRequired["list[str]"],
4174
+ },
4175
+ )
4176
+
4177
+ SpacePermissionAssignment = TypedDict(
4178
+ 'SpacePermissionAssignment',
4179
+ {
4180
+ 'id': NotRequired["str"],
4181
+ 'principal': NotRequired["SpacePermissionAssignmentPrincipal"],
4182
+ 'operation': NotRequired["SpacePermissionAssignmentOperation"],
4183
+ },
4184
+ )
4185
+
4186
+ SpacePermissionAssignmentOperation = TypedDict(
4187
+ 'SpacePermissionAssignmentOperation',
4188
+ {
4189
+ 'key': NotRequired["SpacePermissionAssignmentOperationKey"],
4190
+ 'target_type': NotRequired["SpacePermissionAssignmentOperationTargetType"],
4191
+ },
4192
+ )
4193
+ """The operation the space permission corresponds to."""
4194
+
4195
+ type SpacePermissionAssignmentOperationKey = Literal['use', 'create', 'read', 'update', 'delete', 'copy', 'move', 'export', 'purge', 'purge_version', 'administer', 'restore', 'create_space', 'restrict_content', 'archive']
4196
+ """The type of operation."""
4197
+
4198
+ type SpacePermissionAssignmentOperationTargetType = Literal['page', 'blogpost', 'comment', 'attachment', 'whiteboard', 'database', 'embed', 'folder', 'space', 'application', 'userProfile']
4199
+ """The type of entity the operation type targets."""
4200
+
4201
+ SpacePermissionAssignmentPrincipal = TypedDict(
4202
+ 'SpacePermissionAssignmentPrincipal',
4203
+ {
4204
+ 'type': NotRequired["SpacePermissionAssignmentPrincipalType"],
4205
+ 'id': NotRequired["str"],
4206
+ },
4207
+ )
4208
+ """The entity the space permissions corresponds to."""
4209
+
4210
+ type SpacePermissionAssignmentPrincipalType = Literal['user', 'group', 'role']
4211
+
4212
+ SpaceProperty = TypedDict(
4213
+ 'SpaceProperty',
4214
+ {
4215
+ 'id': NotRequired["str"],
4216
+ 'key': NotRequired["str"],
4217
+ 'value': NotRequired["Any"],
4218
+ 'created_at': NotRequired["str"],
4219
+ 'created_by': NotRequired["str"],
4220
+ 'version': NotRequired["SpacePropertyVersion"],
4221
+ },
4222
+ )
4223
+
4224
+ SpacePropertyCreateRequest = TypedDict(
4225
+ 'SpacePropertyCreateRequest',
4226
+ {
4227
+ 'key': NotRequired["str"],
4228
+ 'value': NotRequired["Any"],
4229
+ },
4230
+ )
4231
+
4232
+ SpacePropertyUpdateRequest = TypedDict(
4233
+ 'SpacePropertyUpdateRequest',
4234
+ {
4235
+ 'key': NotRequired["str"],
4236
+ 'value': NotRequired["Any"],
4237
+ 'version': NotRequired["SpacePropertyUpdateRequestVersion"],
4238
+ },
4239
+ )
4240
+
4241
+ SpacePropertyUpdateRequestVersion = TypedDict(
4242
+ 'SpacePropertyUpdateRequestVersion',
4243
+ {
4244
+ 'number': NotRequired["int"],
4245
+ 'message': NotRequired["str"],
4246
+ },
4247
+ )
4248
+ """New version number and associated message"""
4249
+
4250
+ SpacePropertyVersion = TypedDict(
4251
+ 'SpacePropertyVersion',
4252
+ {
4253
+ 'created_at': NotRequired["str"],
4254
+ 'created_by': NotRequired["str"],
4255
+ 'message': NotRequired["str"],
4256
+ 'number': NotRequired["int"],
4257
+ },
4258
+ )
4259
+
4260
+ SpaceRole = TypedDict(
4261
+ 'SpaceRole',
4262
+ {
4263
+ 'id': NotRequired["str"],
4264
+ 'type': NotRequired["RoleType"],
4265
+ 'name': NotRequired["str"],
4266
+ 'description': NotRequired["str"],
4267
+ 'space_permissions': NotRequired["list[str]"],
4268
+ },
4269
+ )
4270
+
4271
+ SpaceRoleAssignment = TypedDict(
4272
+ 'SpaceRoleAssignment',
4273
+ {
4274
+ 'principal': NotRequired["Principal"],
4275
+ 'role_id': NotRequired["str"],
4276
+ },
4277
+ )
4278
+
4279
+ SpaceSingle = TypedDict(
4280
+ 'SpaceSingle',
4281
+ {
4282
+ 'id': NotRequired["str"],
4283
+ 'key': NotRequired["str"],
4284
+ 'name': NotRequired["str"],
4285
+ 'type': NotRequired["SpaceType"],
4286
+ 'status': NotRequired["SpaceStatus"],
4287
+ 'author_id': NotRequired["str"],
4288
+ 'space_owner_id': NotRequired["str"],
4289
+ 'created_at': NotRequired["str"],
4290
+ 'homepage_id': NotRequired["str"],
4291
+ 'description': NotRequired["SpaceDescription"],
4292
+ 'icon': NotRequired["SpaceIcon"],
4293
+ 'labels': NotRequired["SpaceSingleLabels"],
4294
+ 'properties': NotRequired["SpaceSingleProperties"],
4295
+ 'operations': NotRequired["SpaceSingleOperations"],
4296
+ 'permissions': NotRequired["SpaceSinglePermissions"],
4297
+ 'links': NotRequired["SpaceLinks"],
4298
+ },
4299
+ )
4300
+
4301
+ SpaceSingleLabels = TypedDict(
4302
+ 'SpaceSingleLabels',
4303
+ {
4304
+ 'results': NotRequired["list[Label]"],
4305
+ 'meta': NotRequired["OptionalFieldMeta"],
4306
+ 'links': NotRequired["OptionalFieldLinks"],
4307
+ },
4308
+ )
4309
+
4310
+ SpaceSingleOperations = TypedDict(
4311
+ 'SpaceSingleOperations',
4312
+ {
4313
+ 'results': NotRequired["list[Operation]"],
4314
+ 'meta': NotRequired["OptionalFieldMeta"],
4315
+ 'links': NotRequired["OptionalFieldLinks"],
4316
+ },
4317
+ )
4318
+
4319
+ SpaceSinglePermissions = TypedDict(
4320
+ 'SpaceSinglePermissions',
4321
+ {
4322
+ 'results': NotRequired["list[SpacePermissionAssignment]"],
4323
+ 'meta': NotRequired["OptionalFieldMeta"],
4324
+ 'links': NotRequired["OptionalFieldLinks"],
4325
+ },
4326
+ )
4327
+
4328
+ SpaceSingleProperties = TypedDict(
4329
+ 'SpaceSingleProperties',
4330
+ {
4331
+ 'results': NotRequired["list[SpaceProperty]"],
4332
+ 'meta': NotRequired["OptionalFieldMeta"],
4333
+ 'links': NotRequired["OptionalFieldLinks"],
4334
+ },
4335
+ )
4336
+
4337
+ type SpaceSortOrder = Literal['id', '-id', 'key', '-key', 'name', '-name']
4338
+ """The sort fields for spaces. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
4339
+
4340
+ type SpaceStatus = Literal['current', 'archived', 'trashed']
4341
+ """The status of the space."""
4342
+
4343
+ type SpaceType = Literal['global', 'collaboration', 'knowledge_base', 'personal', 'system', 'onboarding', 'xflow_sample_space']
4344
+ """The type of space."""
4345
+
4346
+ Task = TypedDict(
4347
+ 'Task',
4348
+ {
4349
+ 'id': NotRequired["str"],
4350
+ 'local_id': NotRequired["str"],
4351
+ 'space_id': NotRequired["str"],
4352
+ 'page_id': NotRequired["str"],
4353
+ 'blog_post_id': NotRequired["str"],
4354
+ 'status': NotRequired["TaskStatus"],
4355
+ 'body': NotRequired["TaskBodySingle"],
4356
+ 'created_by': NotRequired["str"],
4357
+ 'assigned_to': NotRequired["str"],
4358
+ 'completed_by': NotRequired["str"],
4359
+ 'created_at': NotRequired["str"],
4360
+ 'updated_at': NotRequired["str"],
4361
+ 'due_at': NotRequired["str"],
4362
+ 'completed_at': NotRequired["str"],
4363
+ },
4364
+ )
4365
+
4366
+ TaskBodySingle = TypedDict(
4367
+ 'TaskBodySingle',
4368
+ {
4369
+ 'storage': NotRequired["BodyType"],
4370
+ 'atlas_doc_format': NotRequired["BodyType"],
4371
+ },
4372
+ )
4373
+ """Contains fields for each representation type requested."""
4374
+
4375
+ type TaskStatus = Literal['complete', 'incomplete']
4376
+ """Status of the task."""
4377
+
4378
+ UpdateBlogPostBody = TypedDict(
4379
+ 'UpdateBlogPostBody',
4380
+ {
4381
+ 'id': "str",
4382
+ 'status': "UpdateBlogPostBodyStatus",
4383
+ 'title': "str",
4384
+ 'space_id': NotRequired["str"],
4385
+ 'body': "UpdateBlogPostBodyBody",
4386
+ 'version': "UpdateBlogPostBodyVersion",
4387
+ 'created_at': NotRequired["str"],
4388
+ },
4389
+ )
4390
+
4391
+ type UpdateBlogPostBodyBody = BlogPostBodyWrite | BlogPostNestedBodyWrite
4392
+
4393
+ type UpdateBlogPostBodyStatus = Literal['current', 'draft']
4394
+ """
4395
+ The updated status of the blog post.
4396
+
4397
+ Note, if you change the status of a blog post from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
4398
+ Additionally, this endpoint can be used to restore a 'trashed' or 'deleted' blog post to 'current' status. For restoration, blog post contents will not be updated and only the blog post status will be changed.
4399
+ """
4400
+
4401
+ UpdateBlogPostBodyVersion = TypedDict(
4402
+ 'UpdateBlogPostBodyVersion',
4403
+ {
4404
+ 'number': NotRequired["int"],
4405
+ 'message': NotRequired["str"],
4406
+ },
4407
+ )
4408
+
4409
+ UpdateBlogPostResponse = TypedDict(
4410
+ 'UpdateBlogPostResponse',
4411
+ {
4412
+ 'id': NotRequired["str"],
4413
+ 'status': NotRequired["BlogPostContentStatus"],
4414
+ 'title': NotRequired["str"],
4415
+ 'space_id': NotRequired["str"],
4416
+ 'author_id': NotRequired["str"],
4417
+ 'created_at': NotRequired["str"],
4418
+ 'version': NotRequired["Version"],
4419
+ 'body': NotRequired["BodySingle"],
4420
+ 'labels': NotRequired["BlogPostSingleLabels"],
4421
+ 'properties': NotRequired["BlogPostSingleProperties"],
4422
+ 'operations': NotRequired["BlogPostSingleOperations"],
4423
+ 'likes': NotRequired["BlogPostSingleLikes"],
4424
+ 'versions': NotRequired["BlogPostSingleVersions"],
4425
+ 'is_favorited_by_current_user': NotRequired["bool"],
4426
+ 'links': NotRequired["UpdateBlogPostResponseLinks"],
4427
+ },
4428
+ )
4429
+
4430
+ UpdateBlogPostResponseLinks = TypedDict(
4431
+ 'UpdateBlogPostResponseLinks',
4432
+ {
4433
+ 'base': NotRequired["str"],
4434
+ },
4435
+ )
4436
+
4437
+ UpdateCustomContentBody = TypedDict(
4438
+ 'UpdateCustomContentBody',
4439
+ {
4440
+ 'id': "str",
4441
+ 'type': "str",
4442
+ 'status': "UpdateCustomContentBodyStatus",
4443
+ 'space_id': NotRequired["str"],
4444
+ 'page_id': NotRequired["str"],
4445
+ 'blog_post_id': NotRequired["str"],
4446
+ 'custom_content_id': NotRequired["str"],
4447
+ 'title': "str",
4448
+ 'body': "UpdateCustomContentBodyBody",
4449
+ 'version': "UpdateCustomContentBodyVersion",
4450
+ },
4451
+ )
4452
+
4453
+ type UpdateCustomContentBodyBody = CustomContentBodyWrite | CustomContentNestedBodyWrite
4454
+
4455
+ type UpdateCustomContentBodyStatus = Literal['current']
4456
+ """The status of the custom content."""
4457
+
4458
+ UpdateCustomContentBodyVersion = TypedDict(
4459
+ 'UpdateCustomContentBodyVersion',
4460
+ {
4461
+ 'number': NotRequired["int"],
4462
+ 'message': NotRequired["str"],
4463
+ },
4464
+ )
4465
+
4466
+ UpdateCustomContentResponse = TypedDict(
4467
+ 'UpdateCustomContentResponse',
4468
+ {
4469
+ 'id': NotRequired["str"],
4470
+ 'type': NotRequired["str"],
4471
+ 'status': NotRequired["ContentStatus"],
4472
+ 'title': NotRequired["str"],
4473
+ 'space_id': NotRequired["str"],
4474
+ 'page_id': NotRequired["str"],
4475
+ 'blog_post_id': NotRequired["str"],
4476
+ 'custom_content_id': NotRequired["str"],
4477
+ 'author_id': NotRequired["str"],
4478
+ 'created_at': NotRequired["str"],
4479
+ 'version': NotRequired["Version"],
4480
+ 'labels': NotRequired["CustomContentSingleLabels"],
4481
+ 'properties': NotRequired["CustomContentSingleProperties"],
4482
+ 'operations': NotRequired["CustomContentSingleOperations"],
4483
+ 'versions': NotRequired["CustomContentSingleVersions"],
4484
+ 'body': NotRequired["CustomContentBodySingle"],
4485
+ 'links': NotRequired["UpdateCustomContentResponseLinks"],
4486
+ },
4487
+ )
4488
+
4489
+ UpdateCustomContentResponseLinks = TypedDict(
4490
+ 'UpdateCustomContentResponseLinks',
4491
+ {
4492
+ 'base': NotRequired["str"],
4493
+ },
4494
+ )
4495
+
4496
+ UpdateFooterCommentBody = TypedDict(
4497
+ 'UpdateFooterCommentBody',
4498
+ {
4499
+ 'version': NotRequired["UpdateFooterCommentModelVersion"],
4500
+ 'body': NotRequired["UpdateFooterCommentModelBody"],
4501
+ 'links': NotRequired["UpdateFooterCommentBodyLinks"],
4502
+ },
4503
+ )
4504
+
4505
+ UpdateFooterCommentBodyLinks = TypedDict(
4506
+ 'UpdateFooterCommentBodyLinks',
4507
+ {
4508
+ 'base': NotRequired["str"],
4509
+ },
4510
+ )
4511
+
4512
+ UpdateFooterCommentModel = TypedDict(
4513
+ 'UpdateFooterCommentModel',
4514
+ {
4515
+ 'version': NotRequired["UpdateFooterCommentModelVersion"],
4516
+ 'body': NotRequired["UpdateFooterCommentModelBody"],
4517
+ },
4518
+ )
4519
+
4520
+ type UpdateFooterCommentModelBody = CommentBodyWrite | CommentNestedBodyWrite
4521
+
4522
+ UpdateFooterCommentModelVersion = TypedDict(
4523
+ 'UpdateFooterCommentModelVersion',
4524
+ {
4525
+ 'number': NotRequired["int"],
4526
+ 'message': NotRequired["str"],
4527
+ },
4528
+ )
4529
+
4530
+ UpdateInlineCommentModel = TypedDict(
4531
+ 'UpdateInlineCommentModel',
4532
+ {
4533
+ 'version': NotRequired["UpdateInlineCommentModelVersion"],
4534
+ 'body': NotRequired["UpdateInlineCommentModelBody"],
4535
+ 'resolved': NotRequired["bool"],
4536
+ },
4537
+ )
4538
+
4539
+ type UpdateInlineCommentModelBody = CommentBodyWrite | CommentNestedBodyWrite
4540
+
4541
+ UpdateInlineCommentModelVersion = TypedDict(
4542
+ 'UpdateInlineCommentModelVersion',
4543
+ {
4544
+ 'number': NotRequired["int"],
4545
+ 'message': NotRequired["str"],
4546
+ },
4547
+ )
4548
+
4549
+ UpdateInlineCommentResponse = TypedDict(
4550
+ 'UpdateInlineCommentResponse',
4551
+ {
4552
+ 'id': NotRequired["str"],
4553
+ 'status': NotRequired["ContentStatus"],
4554
+ 'title': NotRequired["str"],
4555
+ 'blog_post_id': NotRequired["str"],
4556
+ 'page_id': NotRequired["str"],
4557
+ 'parent_comment_id': NotRequired["str"],
4558
+ 'version': NotRequired["Version"],
4559
+ 'body': NotRequired["BodySingle"],
4560
+ 'resolution_last_modifier_id': NotRequired["str"],
4561
+ 'resolution_last_modified_at': NotRequired["str"],
4562
+ 'resolution_status': NotRequired["InlineCommentResolutionStatus"],
4563
+ 'properties': NotRequired["InlineCommentModelProperties"],
4564
+ 'operations': NotRequired["InlineCommentModelOperations"],
4565
+ 'likes': NotRequired["InlineCommentModelLikes"],
4566
+ 'versions': NotRequired["InlineCommentModelVersions"],
4567
+ 'links': NotRequired["UpdateInlineCommentResponseLinks"],
4568
+ },
4569
+ )
4570
+
4571
+ UpdateInlineCommentResponseLinks = TypedDict(
4572
+ 'UpdateInlineCommentResponseLinks',
4573
+ {
4574
+ 'base': NotRequired["str"],
4575
+ },
4576
+ )
4577
+
4578
+ UpdatePageBody = TypedDict(
4579
+ 'UpdatePageBody',
4580
+ {
4581
+ 'id': "str",
4582
+ 'status': "UpdatePageBodyStatus",
4583
+ 'title': "str",
4584
+ 'space_id': NotRequired["Any"],
4585
+ 'parent_id': NotRequired["Any"],
4586
+ 'owner_id': NotRequired["Any"],
4587
+ 'body': "UpdatePageBodyBody",
4588
+ 'version': "UpdatePageBodyVersion",
4589
+ },
4590
+ )
4591
+
4592
+ type UpdatePageBodyBody = PageBodyWrite | PageNestedBodyWrite
4593
+
4594
+ type UpdatePageBodyStatus = Literal['current', 'draft']
4595
+ """
4596
+ The updated status of the page.
4597
+
4598
+ Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
4599
+ Additionally, this endpoint can be used to restore a 'trashed' or 'deleted' page to 'current' status. For restoration, page contents will not be updated and only the page status will be changed.
4600
+ """
4601
+
4602
+ UpdatePageBodyVersion = TypedDict(
4603
+ 'UpdatePageBodyVersion',
4604
+ {
4605
+ 'number': NotRequired["int"],
4606
+ 'message': NotRequired["str"],
4607
+ },
4608
+ )
4609
+
4610
+ UpdatePageResponse = TypedDict(
4611
+ 'UpdatePageResponse',
4612
+ {
4613
+ 'id': NotRequired["str"],
4614
+ 'status': NotRequired["ContentStatus"],
4615
+ 'title': NotRequired["str"],
4616
+ 'space_id': NotRequired["str"],
4617
+ 'parent_id': NotRequired["str"],
4618
+ 'parent_type': NotRequired["ParentContentType"],
4619
+ 'position': NotRequired["int | None"],
4620
+ 'author_id': NotRequired["str"],
4621
+ 'owner_id': NotRequired["str | None"],
4622
+ 'last_owner_id': NotRequired["str | None"],
4623
+ 'created_at': NotRequired["str"],
4624
+ 'version': NotRequired["Version"],
4625
+ 'body': NotRequired["BodySingle"],
4626
+ 'labels': NotRequired["PageSingleLabels"],
4627
+ 'properties': NotRequired["PageSingleProperties"],
4628
+ 'operations': NotRequired["PageSingleOperations"],
4629
+ 'likes': NotRequired["PageSingleLikes"],
4630
+ 'versions': NotRequired["PageSingleVersions"],
4631
+ 'is_favorited_by_current_user': NotRequired["bool"],
4632
+ 'links': NotRequired["UpdatePageResponseLinks"],
4633
+ },
4634
+ )
4635
+
4636
+ UpdatePageResponseLinks = TypedDict(
4637
+ 'UpdatePageResponseLinks',
4638
+ {
4639
+ 'base': NotRequired["str"],
4640
+ },
4641
+ )
4642
+
4643
+ UpdatePageTitleBody = TypedDict(
4644
+ 'UpdatePageTitleBody',
4645
+ {
4646
+ 'status': "UpdatePageTitleBodyStatus",
4647
+ 'title': "str",
4648
+ },
4649
+ )
4650
+
4651
+ type UpdatePageTitleBodyStatus = Literal['current', 'draft']
4652
+ """The status of the page, current or draft."""
4653
+
4654
+ UpdatePageTitleResponse = TypedDict(
4655
+ 'UpdatePageTitleResponse',
4656
+ {
4657
+ 'id': NotRequired["str"],
4658
+ 'status': NotRequired["ContentStatus"],
4659
+ 'title': NotRequired["str"],
4660
+ 'space_id': NotRequired["str"],
4661
+ 'parent_id': NotRequired["str"],
4662
+ 'parent_type': NotRequired["ParentContentType"],
4663
+ 'position': NotRequired["int | None"],
4664
+ 'author_id': NotRequired["str"],
4665
+ 'owner_id': NotRequired["str | None"],
4666
+ 'last_owner_id': NotRequired["str | None"],
4667
+ 'created_at': NotRequired["str"],
4668
+ 'version': NotRequired["Version"],
4669
+ 'body': NotRequired["BodySingle"],
4670
+ 'labels': NotRequired["PageSingleLabels"],
4671
+ 'properties': NotRequired["PageSingleProperties"],
4672
+ 'operations': NotRequired["PageSingleOperations"],
4673
+ 'likes': NotRequired["PageSingleLikes"],
4674
+ 'versions': NotRequired["PageSingleVersions"],
4675
+ 'is_favorited_by_current_user': NotRequired["bool"],
4676
+ 'links': NotRequired["UpdatePageTitleResponseLinks"],
4677
+ },
4678
+ )
4679
+
4680
+ UpdatePageTitleResponseLinks = TypedDict(
4681
+ 'UpdatePageTitleResponseLinks',
4682
+ {
4683
+ 'base': NotRequired["str"],
4684
+ },
4685
+ )
4686
+
4687
+ UpdateSpaceRoleBody = TypedDict(
4688
+ 'UpdateSpaceRoleBody',
4689
+ {
4690
+ 'name': "str",
4691
+ 'description': "str",
4692
+ 'space_permissions': "list[str]",
4693
+ 'anonymous_reassignment_role_id': NotRequired["str"],
4694
+ 'guest_reassignment_role_id': NotRequired["str"],
4695
+ },
4696
+ )
4697
+
4698
+ UpdateSpaceRoleResponse = TypedDict(
4699
+ 'UpdateSpaceRoleResponse',
4700
+ {
4701
+ 'id': NotRequired["str"],
4702
+ 'type': NotRequired["RoleType"],
4703
+ 'name': NotRequired["str"],
4704
+ 'description': NotRequired["str"],
4705
+ 'task_id': NotRequired["str"],
4706
+ },
4707
+ )
4708
+
4709
+ UpdateTaskBody = TypedDict(
4710
+ 'UpdateTaskBody',
4711
+ {
4712
+ 'id': NotRequired["str"],
4713
+ 'local_id': NotRequired["str"],
4714
+ 'space_id': NotRequired["str"],
4715
+ 'page_id': NotRequired["str"],
4716
+ 'blog_post_id': NotRequired["str"],
4717
+ 'status': "UpdateTaskBodyStatus",
4718
+ 'created_by': NotRequired["str"],
4719
+ 'assigned_to': NotRequired["str"],
4720
+ 'completed_by': NotRequired["str"],
4721
+ 'created_at': NotRequired["str"],
4722
+ 'updated_at': NotRequired["str"],
4723
+ 'due_at': NotRequired["str"],
4724
+ 'completed_at': NotRequired["str"],
4725
+ },
4726
+ )
4727
+
4728
+ type UpdateTaskBodyStatus = Literal['complete', 'incomplete']
4729
+ """Status of the task."""
4730
+
4731
+ User = TypedDict(
4732
+ 'User',
4733
+ {
4734
+ 'display_name': NotRequired["str"],
4735
+ 'time_zone': NotRequired["str"],
4736
+ 'personal_space_id': NotRequired["str"],
4737
+ 'is_external_collaborator': NotRequired["bool"],
4738
+ 'account_status': NotRequired["AccountStatus"],
4739
+ 'account_id': NotRequired["str"],
4740
+ 'email': NotRequired["str"],
4741
+ 'account_type': NotRequired["AccountType"],
4742
+ 'public_name': NotRequired["str"],
4743
+ 'profile_picture': NotRequired["Icon | None"],
4744
+ },
4745
+ )
4746
+
4747
+ Version = TypedDict(
4748
+ 'Version',
4749
+ {
4750
+ 'created_at': NotRequired["str"],
4751
+ 'message': NotRequired["str"],
4752
+ 'number': NotRequired["int"],
4753
+ 'minor_edit': NotRequired["bool"],
4754
+ 'author_id': NotRequired["str"],
4755
+ },
4756
+ )
4757
+
4758
+ type VersionSortOrder = Literal['modified-date', '-modified-date']
4759
+ """The sort fields for versions. The default sort direction is ascending. To sort in descending order, append a `-` character before the sort field. For example, `fieldName` or `-fieldName`."""
4760
+
4761
+ VersionedEntity = TypedDict(
4762
+ 'VersionedEntity',
4763
+ {
4764
+ 'title': NotRequired["str"],
4765
+ 'id': NotRequired["str"],
4766
+ 'body': NotRequired["BodyBulk"],
4767
+ },
4768
+ )
4769
+
4770
+ WhiteboardLinks = TypedDict(
4771
+ 'WhiteboardLinks',
4772
+ {
4773
+ 'webui': NotRequired["str"],
4774
+ 'editui': NotRequired["str"],
4775
+ },
4776
+ )
4777
+
4778
+ WhiteboardSingle = TypedDict(
4779
+ 'WhiteboardSingle',
4780
+ {
4781
+ 'id': NotRequired["str"],
4782
+ 'type': NotRequired["str"],
4783
+ 'status': NotRequired["ContentStatus"],
4784
+ 'title': NotRequired["str"],
4785
+ 'parent_id': NotRequired["str"],
4786
+ 'parent_type': NotRequired["ParentContentType"],
4787
+ 'position': NotRequired["int | None"],
4788
+ 'author_id': NotRequired["str"],
4789
+ 'owner_id': NotRequired["str"],
4790
+ 'created_at': NotRequired["str"],
4791
+ 'space_id': NotRequired["str"],
4792
+ 'version': NotRequired["Version"],
4793
+ 'links': NotRequired["WhiteboardLinks"],
4794
+ },
4795
+ )