graphlit-client 1.0.20250608001__py3-none-any.whl → 1.0.20250613001__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.
- graphlit_api/__init__.py +74 -0
- graphlit_api/ask_graphlit.py +1 -0
- graphlit_api/client.py +18 -0
- graphlit_api/complete_conversation.py +2 -0
- graphlit_api/continue_conversation.py +2 -0
- graphlit_api/describe_encoded_image.py +1 -0
- graphlit_api/describe_image.py +1 -0
- graphlit_api/enums.py +1 -0
- graphlit_api/format_conversation.py +2 -0
- graphlit_api/get_conversation.py +1 -0
- graphlit_api/input_types.py +2 -0
- graphlit_api/lookup_contents.py +397 -0
- graphlit_api/operations.py +312 -0
- graphlit_api/prompt.py +1 -0
- graphlit_api/prompt_conversation.py +2 -0
- graphlit_api/prompt_specifications.py +1 -0
- graphlit_api/publish_contents.py +1 -0
- graphlit_api/publish_conversation.py +1 -0
- graphlit_api/publish_text.py +1 -0
- graphlit_api/query_contents.py +1 -0
- graphlit_api/query_conversations.py +1 -0
- graphlit_api/revise_content.py +1 -0
- graphlit_api/revise_encoded_image.py +1 -0
- graphlit_api/revise_image.py +1 -0
- graphlit_api/revise_text.py +1 -0
- {graphlit_client-1.0.20250608001.dist-info → graphlit_client-1.0.20250613001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250608001.dist-info → graphlit_client-1.0.20250613001.dist-info}/RECORD +30 -29
- {graphlit_client-1.0.20250608001.dist-info → graphlit_client-1.0.20250613001.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250608001.dist-info → graphlit_client-1.0.20250613001.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250608001.dist-info → graphlit_client-1.0.20250613001.dist-info}/top_level.txt +0 -0
graphlit_api/__init__.py
CHANGED
@@ -1440,6 +1440,43 @@ from .input_types import (
|
|
1440
1440
|
)
|
1441
1441
|
from .is_content_done import IsContentDone, IsContentDoneIsContentDone
|
1442
1442
|
from .is_feed_done import IsFeedDone, IsFeedDoneIsFeedDone
|
1443
|
+
from .lookup_contents import (
|
1444
|
+
LookupContents,
|
1445
|
+
LookupContentsLookupContents,
|
1446
|
+
LookupContentsLookupContentsResults,
|
1447
|
+
LookupContentsLookupContentsResultsAddress,
|
1448
|
+
LookupContentsLookupContentsResultsAudio,
|
1449
|
+
LookupContentsLookupContentsResultsChildren,
|
1450
|
+
LookupContentsLookupContentsResultsCollections,
|
1451
|
+
LookupContentsLookupContentsResultsDocument,
|
1452
|
+
LookupContentsLookupContentsResultsEmail,
|
1453
|
+
LookupContentsLookupContentsResultsEmailBcc,
|
1454
|
+
LookupContentsLookupContentsResultsEmailCc,
|
1455
|
+
LookupContentsLookupContentsResultsEmailFrom,
|
1456
|
+
LookupContentsLookupContentsResultsEmailTo,
|
1457
|
+
LookupContentsLookupContentsResultsFeed,
|
1458
|
+
LookupContentsLookupContentsResultsFrames,
|
1459
|
+
LookupContentsLookupContentsResultsH3,
|
1460
|
+
LookupContentsLookupContentsResultsImage,
|
1461
|
+
LookupContentsLookupContentsResultsIssue,
|
1462
|
+
LookupContentsLookupContentsResultsLanguage,
|
1463
|
+
LookupContentsLookupContentsResultsLinks,
|
1464
|
+
LookupContentsLookupContentsResultsLocation,
|
1465
|
+
LookupContentsLookupContentsResultsObservations,
|
1466
|
+
LookupContentsLookupContentsResultsObservationsObservable,
|
1467
|
+
LookupContentsLookupContentsResultsObservationsOccurrences,
|
1468
|
+
LookupContentsLookupContentsResultsObservationsOccurrencesBoundingBox,
|
1469
|
+
LookupContentsLookupContentsResultsObservationsRelated,
|
1470
|
+
LookupContentsLookupContentsResultsOwner,
|
1471
|
+
LookupContentsLookupContentsResultsPackage,
|
1472
|
+
LookupContentsLookupContentsResultsPages,
|
1473
|
+
LookupContentsLookupContentsResultsPagesChunks,
|
1474
|
+
LookupContentsLookupContentsResultsPagesImages,
|
1475
|
+
LookupContentsLookupContentsResultsParent,
|
1476
|
+
LookupContentsLookupContentsResultsSegments,
|
1477
|
+
LookupContentsLookupContentsResultsVideo,
|
1478
|
+
LookupContentsLookupContentsResultsWorkflow,
|
1479
|
+
)
|
1443
1480
|
from .lookup_credits import LookupCredits, LookupCreditsLookupCredits
|
1444
1481
|
from .lookup_usage import LookupUsage, LookupUsageLookupUsage
|
1445
1482
|
from .map_web import MapWeb, MapWebMapWeb
|
@@ -1642,6 +1679,7 @@ from .operations import (
|
|
1642
1679
|
INGEST_URI_GQL,
|
1643
1680
|
IS_CONTENT_DONE_GQL,
|
1644
1681
|
IS_FEED_DONE_GQL,
|
1682
|
+
LOOKUP_CONTENTS_GQL,
|
1645
1683
|
LOOKUP_CREDITS_GQL,
|
1646
1684
|
LOOKUP_USAGE_GQL,
|
1647
1685
|
MAP_WEB_GQL,
|
@@ -3836,6 +3874,7 @@ __all__ = [
|
|
3836
3874
|
"JinaModelPropertiesInput",
|
3837
3875
|
"JinaModelPropertiesUpdateInput",
|
3838
3876
|
"JinaModels",
|
3877
|
+
"LOOKUP_CONTENTS_GQL",
|
3839
3878
|
"LOOKUP_CREDITS_GQL",
|
3840
3879
|
"LOOKUP_USAGE_GQL",
|
3841
3880
|
"LabelFacetInput",
|
@@ -3849,6 +3888,41 @@ __all__ = [
|
|
3849
3888
|
"LinearProjectsInput",
|
3850
3889
|
"LinkStrategyInput",
|
3851
3890
|
"LinkTypes",
|
3891
|
+
"LookupContents",
|
3892
|
+
"LookupContentsLookupContents",
|
3893
|
+
"LookupContentsLookupContentsResults",
|
3894
|
+
"LookupContentsLookupContentsResultsAddress",
|
3895
|
+
"LookupContentsLookupContentsResultsAudio",
|
3896
|
+
"LookupContentsLookupContentsResultsChildren",
|
3897
|
+
"LookupContentsLookupContentsResultsCollections",
|
3898
|
+
"LookupContentsLookupContentsResultsDocument",
|
3899
|
+
"LookupContentsLookupContentsResultsEmail",
|
3900
|
+
"LookupContentsLookupContentsResultsEmailBcc",
|
3901
|
+
"LookupContentsLookupContentsResultsEmailCc",
|
3902
|
+
"LookupContentsLookupContentsResultsEmailFrom",
|
3903
|
+
"LookupContentsLookupContentsResultsEmailTo",
|
3904
|
+
"LookupContentsLookupContentsResultsFeed",
|
3905
|
+
"LookupContentsLookupContentsResultsFrames",
|
3906
|
+
"LookupContentsLookupContentsResultsH3",
|
3907
|
+
"LookupContentsLookupContentsResultsImage",
|
3908
|
+
"LookupContentsLookupContentsResultsIssue",
|
3909
|
+
"LookupContentsLookupContentsResultsLanguage",
|
3910
|
+
"LookupContentsLookupContentsResultsLinks",
|
3911
|
+
"LookupContentsLookupContentsResultsLocation",
|
3912
|
+
"LookupContentsLookupContentsResultsObservations",
|
3913
|
+
"LookupContentsLookupContentsResultsObservationsObservable",
|
3914
|
+
"LookupContentsLookupContentsResultsObservationsOccurrences",
|
3915
|
+
"LookupContentsLookupContentsResultsObservationsOccurrencesBoundingBox",
|
3916
|
+
"LookupContentsLookupContentsResultsObservationsRelated",
|
3917
|
+
"LookupContentsLookupContentsResultsOwner",
|
3918
|
+
"LookupContentsLookupContentsResultsPackage",
|
3919
|
+
"LookupContentsLookupContentsResultsPages",
|
3920
|
+
"LookupContentsLookupContentsResultsPagesChunks",
|
3921
|
+
"LookupContentsLookupContentsResultsPagesImages",
|
3922
|
+
"LookupContentsLookupContentsResultsParent",
|
3923
|
+
"LookupContentsLookupContentsResultsSegments",
|
3924
|
+
"LookupContentsLookupContentsResultsVideo",
|
3925
|
+
"LookupContentsLookupContentsResultsWorkflow",
|
3852
3926
|
"LookupCredits",
|
3853
3927
|
"LookupCreditsLookupCredits",
|
3854
3928
|
"LookupUsage",
|
graphlit_api/ask_graphlit.py
CHANGED
@@ -89,6 +89,7 @@ class AskGraphlitAskGraphlitMessageCitationsContent(BaseModel):
|
|
89
89
|
posts: Optional[List[str]]
|
90
90
|
chapters: Optional[List[str]]
|
91
91
|
questions: Optional[List[str]]
|
92
|
+
quotes: Optional[List[str]]
|
92
93
|
video: Optional["AskGraphlitAskGraphlitMessageCitationsContentVideo"]
|
93
94
|
audio: Optional["AskGraphlitAskGraphlitMessageCitationsContentAudio"]
|
94
95
|
image: Optional["AskGraphlitAskGraphlitMessageCitationsContentImage"]
|
graphlit_api/client.py
CHANGED
@@ -315,6 +315,7 @@ from .input_types import (
|
|
315
315
|
)
|
316
316
|
from .is_content_done import IsContentDone
|
317
317
|
from .is_feed_done import IsFeedDone
|
318
|
+
from .lookup_contents import LookupContents
|
318
319
|
from .lookup_credits import LookupCredits
|
319
320
|
from .lookup_usage import LookupUsage
|
320
321
|
from .map_web import MapWeb
|
@@ -517,6 +518,7 @@ from .operations import (
|
|
517
518
|
INGEST_URI_GQL,
|
518
519
|
IS_CONTENT_DONE_GQL,
|
519
520
|
IS_FEED_DONE_GQL,
|
521
|
+
LOOKUP_CONTENTS_GQL,
|
520
522
|
LOOKUP_CREDITS_GQL,
|
521
523
|
LOOKUP_USAGE_GQL,
|
522
524
|
MAP_WEB_GQL,
|
@@ -1594,6 +1596,22 @@ class Client(AsyncBaseClient):
|
|
1594
1596
|
data = self.get_data(response)
|
1595
1597
|
return IsContentDone.model_validate(data)
|
1596
1598
|
|
1599
|
+
async def lookup_contents(
|
1600
|
+
self,
|
1601
|
+
ids: List[str],
|
1602
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
1603
|
+
**kwargs: Any
|
1604
|
+
) -> LookupContents:
|
1605
|
+
variables: Dict[str, object] = {"ids": ids, "correlationId": correlation_id}
|
1606
|
+
response = await self.execute(
|
1607
|
+
query=LOOKUP_CONTENTS_GQL,
|
1608
|
+
operation_name="LookupContents",
|
1609
|
+
variables=variables,
|
1610
|
+
**kwargs
|
1611
|
+
)
|
1612
|
+
data = self.get_data(response)
|
1613
|
+
return LookupContents.model_validate(data)
|
1614
|
+
|
1597
1615
|
async def publish_contents(
|
1598
1616
|
self,
|
1599
1617
|
publish_prompt: str,
|
@@ -100,6 +100,7 @@ class CompleteConversationCompleteConversationMessageCitationsContent(BaseModel)
|
|
100
100
|
posts: Optional[List[str]]
|
101
101
|
chapters: Optional[List[str]]
|
102
102
|
questions: Optional[List[str]]
|
103
|
+
quotes: Optional[List[str]]
|
103
104
|
video: Optional[
|
104
105
|
"CompleteConversationCompleteConversationMessageCitationsContentVideo"
|
105
106
|
]
|
@@ -336,6 +337,7 @@ class CompleteConversationCompleteConversationDetailsMessagesCitationsContent(
|
|
336
337
|
posts: Optional[List[str]]
|
337
338
|
chapters: Optional[List[str]]
|
338
339
|
questions: Optional[List[str]]
|
340
|
+
quotes: Optional[List[str]]
|
339
341
|
video: Optional[
|
340
342
|
"CompleteConversationCompleteConversationDetailsMessagesCitationsContentVideo"
|
341
343
|
]
|
@@ -100,6 +100,7 @@ class ContinueConversationContinueConversationMessageCitationsContent(BaseModel)
|
|
100
100
|
posts: Optional[List[str]]
|
101
101
|
chapters: Optional[List[str]]
|
102
102
|
questions: Optional[List[str]]
|
103
|
+
quotes: Optional[List[str]]
|
103
104
|
video: Optional[
|
104
105
|
"ContinueConversationContinueConversationMessageCitationsContentVideo"
|
105
106
|
]
|
@@ -336,6 +337,7 @@ class ContinueConversationContinueConversationDetailsMessagesCitationsContent(
|
|
336
337
|
posts: Optional[List[str]]
|
337
338
|
chapters: Optional[List[str]]
|
338
339
|
questions: Optional[List[str]]
|
340
|
+
quotes: Optional[List[str]]
|
339
341
|
video: Optional[
|
340
342
|
"ContinueConversationContinueConversationDetailsMessagesCitationsContentVideo"
|
341
343
|
]
|
@@ -83,6 +83,7 @@ class DescribeEncodedImageDescribeEncodedImageCitationsContent(BaseModel):
|
|
83
83
|
posts: Optional[List[str]]
|
84
84
|
chapters: Optional[List[str]]
|
85
85
|
questions: Optional[List[str]]
|
86
|
+
quotes: Optional[List[str]]
|
86
87
|
video: Optional["DescribeEncodedImageDescribeEncodedImageCitationsContentVideo"]
|
87
88
|
audio: Optional["DescribeEncodedImageDescribeEncodedImageCitationsContentAudio"]
|
88
89
|
image: Optional["DescribeEncodedImageDescribeEncodedImageCitationsContentImage"]
|
graphlit_api/describe_image.py
CHANGED
@@ -81,6 +81,7 @@ class DescribeImageDescribeImageCitationsContent(BaseModel):
|
|
81
81
|
posts: Optional[List[str]]
|
82
82
|
chapters: Optional[List[str]]
|
83
83
|
questions: Optional[List[str]]
|
84
|
+
quotes: Optional[List[str]]
|
84
85
|
video: Optional["DescribeImageDescribeImageCitationsContentVideo"]
|
85
86
|
audio: Optional["DescribeImageDescribeImageCitationsContentAudio"]
|
86
87
|
image: Optional["DescribeImageDescribeImageCitationsContentImage"]
|
graphlit_api/enums.py
CHANGED
@@ -100,6 +100,7 @@ class FormatConversationFormatConversationMessageCitationsContent(BaseModel):
|
|
100
100
|
posts: Optional[List[str]]
|
101
101
|
chapters: Optional[List[str]]
|
102
102
|
questions: Optional[List[str]]
|
103
|
+
quotes: Optional[List[str]]
|
103
104
|
video: Optional["FormatConversationFormatConversationMessageCitationsContentVideo"]
|
104
105
|
audio: Optional["FormatConversationFormatConversationMessageCitationsContentAudio"]
|
105
106
|
image: Optional["FormatConversationFormatConversationMessageCitationsContentImage"]
|
@@ -318,6 +319,7 @@ class FormatConversationFormatConversationDetailsMessagesCitationsContent(BaseMo
|
|
318
319
|
posts: Optional[List[str]]
|
319
320
|
chapters: Optional[List[str]]
|
320
321
|
questions: Optional[List[str]]
|
322
|
+
quotes: Optional[List[str]]
|
321
323
|
video: Optional[
|
322
324
|
"FormatConversationFormatConversationDetailsMessagesCitationsContentVideo"
|
323
325
|
]
|
graphlit_api/get_conversation.py
CHANGED
@@ -103,6 +103,7 @@ class GetConversationConversationMessagesCitationsContent(BaseModel):
|
|
103
103
|
posts: Optional[List[str]]
|
104
104
|
chapters: Optional[List[str]]
|
105
105
|
questions: Optional[List[str]]
|
106
|
+
quotes: Optional[List[str]]
|
106
107
|
video: Optional["GetConversationConversationMessagesCitationsContentVideo"]
|
107
108
|
audio: Optional["GetConversationConversationMessagesCitationsContentAudio"]
|
108
109
|
image: Optional["GetConversationConversationMessagesCitationsContentImage"]
|
graphlit_api/input_types.py
CHANGED
@@ -456,6 +456,7 @@ class ContentUpdateInput(BaseModel):
|
|
456
456
|
posts: Optional[List[str]] = None
|
457
457
|
chapters: Optional[List[str]] = None
|
458
458
|
questions: Optional[List[str]] = None
|
459
|
+
quotes: Optional[List[str]] = None
|
459
460
|
video: Optional["VideoMetadataInput"] = None
|
460
461
|
audio: Optional["AudioMetadataInput"] = None
|
461
462
|
image: Optional["ImageMetadataInput"] = None
|
@@ -2824,6 +2825,7 @@ class EmailIntegrationPropertiesInput(BaseModel):
|
|
2824
2825
|
class ConversationUpdateInput(BaseModel):
|
2825
2826
|
id: str
|
2826
2827
|
name: Optional[str] = None
|
2828
|
+
messages: Optional[List["ConversationMessageInput"]] = None
|
2827
2829
|
tools: Optional[List["ToolDefinitionInput"]] = None
|
2828
2830
|
specification: Optional["EntityReferenceInput"] = None
|
2829
2831
|
fallbacks: Optional[List[Optional["EntityReferenceInput"]]] = None
|
@@ -0,0 +1,397 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import Any, List, Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
from .enums import (
|
10
|
+
ContentTypes,
|
11
|
+
EntityState,
|
12
|
+
FileTypes,
|
13
|
+
ImageProjectionTypes,
|
14
|
+
LinkTypes,
|
15
|
+
MailImportance,
|
16
|
+
MailPriority,
|
17
|
+
MailSensitivity,
|
18
|
+
ObservableTypes,
|
19
|
+
OccurrenceTypes,
|
20
|
+
OrientationTypes,
|
21
|
+
TextRoles,
|
22
|
+
)
|
23
|
+
|
24
|
+
|
25
|
+
class LookupContents(BaseModel):
|
26
|
+
lookup_contents: Optional["LookupContentsLookupContents"] = Field(
|
27
|
+
alias="lookupContents"
|
28
|
+
)
|
29
|
+
|
30
|
+
|
31
|
+
class LookupContentsLookupContents(BaseModel):
|
32
|
+
results: Optional[List[Optional["LookupContentsLookupContentsResults"]]]
|
33
|
+
|
34
|
+
|
35
|
+
class LookupContentsLookupContentsResults(BaseModel):
|
36
|
+
id: str
|
37
|
+
name: str
|
38
|
+
creation_date: Any = Field(alias="creationDate")
|
39
|
+
owner: "LookupContentsLookupContentsResultsOwner"
|
40
|
+
state: EntityState
|
41
|
+
original_date: Optional[Any] = Field(alias="originalDate")
|
42
|
+
finished_date: Optional[Any] = Field(alias="finishedDate")
|
43
|
+
file_creation_date: Optional[Any] = Field(alias="fileCreationDate")
|
44
|
+
file_modified_date: Optional[Any] = Field(alias="fileModifiedDate")
|
45
|
+
workflow_duration: Optional[Any] = Field(alias="workflowDuration")
|
46
|
+
uri: Optional[Any]
|
47
|
+
description: Optional[str]
|
48
|
+
identifier: Optional[str]
|
49
|
+
markdown: Optional[str]
|
50
|
+
address: Optional["LookupContentsLookupContentsResultsAddress"]
|
51
|
+
location: Optional["LookupContentsLookupContentsResultsLocation"]
|
52
|
+
h_3: Optional["LookupContentsLookupContentsResultsH3"] = Field(alias="h3")
|
53
|
+
boundary: Optional[str]
|
54
|
+
epsg_code: Optional[int] = Field(alias="epsgCode")
|
55
|
+
path: Optional[str]
|
56
|
+
features: Optional[str]
|
57
|
+
c_4_id: Optional[str] = Field(alias="c4id")
|
58
|
+
type: Optional[ContentTypes]
|
59
|
+
file_type: Optional[FileTypes] = Field(alias="fileType")
|
60
|
+
mime_type: Optional[str] = Field(alias="mimeType")
|
61
|
+
format: Optional[str]
|
62
|
+
format_name: Optional[str] = Field(alias="formatName")
|
63
|
+
file_name: Optional[str] = Field(alias="fileName")
|
64
|
+
file_size: Optional[Any] = Field(alias="fileSize")
|
65
|
+
master_uri: Optional[Any] = Field(alias="masterUri")
|
66
|
+
image_uri: Optional[Any] = Field(alias="imageUri")
|
67
|
+
text_uri: Optional[Any] = Field(alias="textUri")
|
68
|
+
audio_uri: Optional[Any] = Field(alias="audioUri")
|
69
|
+
transcript_uri: Optional[Any] = Field(alias="transcriptUri")
|
70
|
+
summary: Optional[str]
|
71
|
+
custom_summary: Optional[str] = Field(alias="customSummary")
|
72
|
+
keywords: Optional[List[str]]
|
73
|
+
bullets: Optional[List[str]]
|
74
|
+
headlines: Optional[List[str]]
|
75
|
+
posts: Optional[List[str]]
|
76
|
+
chapters: Optional[List[str]]
|
77
|
+
questions: Optional[List[str]]
|
78
|
+
video: Optional["LookupContentsLookupContentsResultsVideo"]
|
79
|
+
audio: Optional["LookupContentsLookupContentsResultsAudio"]
|
80
|
+
image: Optional["LookupContentsLookupContentsResultsImage"]
|
81
|
+
document: Optional["LookupContentsLookupContentsResultsDocument"]
|
82
|
+
email: Optional["LookupContentsLookupContentsResultsEmail"]
|
83
|
+
issue: Optional["LookupContentsLookupContentsResultsIssue"]
|
84
|
+
package: Optional["LookupContentsLookupContentsResultsPackage"]
|
85
|
+
language: Optional["LookupContentsLookupContentsResultsLanguage"]
|
86
|
+
parent: Optional["LookupContentsLookupContentsResultsParent"]
|
87
|
+
children: Optional[List[Optional["LookupContentsLookupContentsResultsChildren"]]]
|
88
|
+
feed: Optional["LookupContentsLookupContentsResultsFeed"]
|
89
|
+
collections: Optional[
|
90
|
+
List[Optional["LookupContentsLookupContentsResultsCollections"]]
|
91
|
+
]
|
92
|
+
links: Optional[List["LookupContentsLookupContentsResultsLinks"]]
|
93
|
+
observations: Optional[
|
94
|
+
List[Optional["LookupContentsLookupContentsResultsObservations"]]
|
95
|
+
]
|
96
|
+
workflow: Optional["LookupContentsLookupContentsResultsWorkflow"]
|
97
|
+
pages: Optional[List["LookupContentsLookupContentsResultsPages"]]
|
98
|
+
segments: Optional[List["LookupContentsLookupContentsResultsSegments"]]
|
99
|
+
frames: Optional[List["LookupContentsLookupContentsResultsFrames"]]
|
100
|
+
error: Optional[str]
|
101
|
+
|
102
|
+
|
103
|
+
class LookupContentsLookupContentsResultsOwner(BaseModel):
|
104
|
+
id: str
|
105
|
+
|
106
|
+
|
107
|
+
class LookupContentsLookupContentsResultsAddress(BaseModel):
|
108
|
+
street_address: Optional[str] = Field(alias="streetAddress")
|
109
|
+
city: Optional[str]
|
110
|
+
region: Optional[str]
|
111
|
+
country: Optional[str]
|
112
|
+
postal_code: Optional[str] = Field(alias="postalCode")
|
113
|
+
|
114
|
+
|
115
|
+
class LookupContentsLookupContentsResultsLocation(BaseModel):
|
116
|
+
latitude: Optional[float]
|
117
|
+
longitude: Optional[float]
|
118
|
+
|
119
|
+
|
120
|
+
class LookupContentsLookupContentsResultsH3(BaseModel):
|
121
|
+
h_3_r_0: Optional[str] = Field(alias="h3r0")
|
122
|
+
h_3_r_1: Optional[str] = Field(alias="h3r1")
|
123
|
+
h_3_r_2: Optional[str] = Field(alias="h3r2")
|
124
|
+
h_3_r_3: Optional[str] = Field(alias="h3r3")
|
125
|
+
h_3_r_4: Optional[str] = Field(alias="h3r4")
|
126
|
+
h_3_r_5: Optional[str] = Field(alias="h3r5")
|
127
|
+
h_3_r_6: Optional[str] = Field(alias="h3r6")
|
128
|
+
h_3_r_7: Optional[str] = Field(alias="h3r7")
|
129
|
+
h_3_r_8: Optional[str] = Field(alias="h3r8")
|
130
|
+
h_3_r_9: Optional[str] = Field(alias="h3r9")
|
131
|
+
h_3_r_10: Optional[str] = Field(alias="h3r10")
|
132
|
+
h_3_r_11: Optional[str] = Field(alias="h3r11")
|
133
|
+
h_3_r_12: Optional[str] = Field(alias="h3r12")
|
134
|
+
h_3_r_13: Optional[str] = Field(alias="h3r13")
|
135
|
+
h_3_r_14: Optional[str] = Field(alias="h3r14")
|
136
|
+
h_3_r_15: Optional[str] = Field(alias="h3r15")
|
137
|
+
|
138
|
+
|
139
|
+
class LookupContentsLookupContentsResultsVideo(BaseModel):
|
140
|
+
width: Optional[int]
|
141
|
+
height: Optional[int]
|
142
|
+
duration: Optional[Any]
|
143
|
+
make: Optional[str]
|
144
|
+
model: Optional[str]
|
145
|
+
software: Optional[str]
|
146
|
+
title: Optional[str]
|
147
|
+
description: Optional[str]
|
148
|
+
keywords: Optional[List[Optional[str]]]
|
149
|
+
author: Optional[str]
|
150
|
+
|
151
|
+
|
152
|
+
class LookupContentsLookupContentsResultsAudio(BaseModel):
|
153
|
+
keywords: Optional[List[Optional[str]]]
|
154
|
+
author: Optional[str]
|
155
|
+
series: Optional[str]
|
156
|
+
episode: Optional[str]
|
157
|
+
episode_type: Optional[str] = Field(alias="episodeType")
|
158
|
+
season: Optional[str]
|
159
|
+
publisher: Optional[str]
|
160
|
+
copyright: Optional[str]
|
161
|
+
genre: Optional[str]
|
162
|
+
title: Optional[str]
|
163
|
+
description: Optional[str]
|
164
|
+
bitrate: Optional[int]
|
165
|
+
channels: Optional[int]
|
166
|
+
sample_rate: Optional[int] = Field(alias="sampleRate")
|
167
|
+
bits_per_sample: Optional[int] = Field(alias="bitsPerSample")
|
168
|
+
duration: Optional[Any]
|
169
|
+
|
170
|
+
|
171
|
+
class LookupContentsLookupContentsResultsImage(BaseModel):
|
172
|
+
width: Optional[int]
|
173
|
+
height: Optional[int]
|
174
|
+
resolution_x: Optional[int] = Field(alias="resolutionX")
|
175
|
+
resolution_y: Optional[int] = Field(alias="resolutionY")
|
176
|
+
bits_per_component: Optional[int] = Field(alias="bitsPerComponent")
|
177
|
+
components: Optional[int]
|
178
|
+
projection_type: Optional[ImageProjectionTypes] = Field(alias="projectionType")
|
179
|
+
orientation: Optional[OrientationTypes]
|
180
|
+
description: Optional[str]
|
181
|
+
make: Optional[str]
|
182
|
+
model: Optional[str]
|
183
|
+
software: Optional[str]
|
184
|
+
lens: Optional[str]
|
185
|
+
focal_length: Optional[float] = Field(alias="focalLength")
|
186
|
+
exposure_time: Optional[str] = Field(alias="exposureTime")
|
187
|
+
f_number: Optional[str] = Field(alias="fNumber")
|
188
|
+
iso: Optional[str]
|
189
|
+
heading: Optional[float]
|
190
|
+
pitch: Optional[float]
|
191
|
+
|
192
|
+
|
193
|
+
class LookupContentsLookupContentsResultsDocument(BaseModel):
|
194
|
+
title: Optional[str]
|
195
|
+
subject: Optional[str]
|
196
|
+
summary: Optional[str]
|
197
|
+
author: Optional[str]
|
198
|
+
publisher: Optional[str]
|
199
|
+
description: Optional[str]
|
200
|
+
keywords: Optional[List[Optional[str]]]
|
201
|
+
page_count: Optional[int] = Field(alias="pageCount")
|
202
|
+
worksheet_count: Optional[int] = Field(alias="worksheetCount")
|
203
|
+
slide_count: Optional[int] = Field(alias="slideCount")
|
204
|
+
word_count: Optional[int] = Field(alias="wordCount")
|
205
|
+
line_count: Optional[int] = Field(alias="lineCount")
|
206
|
+
paragraph_count: Optional[int] = Field(alias="paragraphCount")
|
207
|
+
is_encrypted: Optional[bool] = Field(alias="isEncrypted")
|
208
|
+
has_digital_signature: Optional[bool] = Field(alias="hasDigitalSignature")
|
209
|
+
|
210
|
+
|
211
|
+
class LookupContentsLookupContentsResultsEmail(BaseModel):
|
212
|
+
identifier: Optional[str]
|
213
|
+
thread_identifier: Optional[str] = Field(alias="threadIdentifier")
|
214
|
+
subject: Optional[str]
|
215
|
+
labels: Optional[List[Optional[str]]]
|
216
|
+
sensitivity: Optional[MailSensitivity]
|
217
|
+
priority: Optional[MailPriority]
|
218
|
+
importance: Optional[MailImportance]
|
219
|
+
from_: Optional[List[Optional["LookupContentsLookupContentsResultsEmailFrom"]]] = (
|
220
|
+
Field(alias="from")
|
221
|
+
)
|
222
|
+
to: Optional[List[Optional["LookupContentsLookupContentsResultsEmailTo"]]]
|
223
|
+
cc: Optional[List[Optional["LookupContentsLookupContentsResultsEmailCc"]]]
|
224
|
+
bcc: Optional[List[Optional["LookupContentsLookupContentsResultsEmailBcc"]]]
|
225
|
+
|
226
|
+
|
227
|
+
class LookupContentsLookupContentsResultsEmailFrom(BaseModel):
|
228
|
+
name: Optional[str]
|
229
|
+
email: Optional[str]
|
230
|
+
given_name: Optional[str] = Field(alias="givenName")
|
231
|
+
family_name: Optional[str] = Field(alias="familyName")
|
232
|
+
|
233
|
+
|
234
|
+
class LookupContentsLookupContentsResultsEmailTo(BaseModel):
|
235
|
+
name: Optional[str]
|
236
|
+
email: Optional[str]
|
237
|
+
given_name: Optional[str] = Field(alias="givenName")
|
238
|
+
family_name: Optional[str] = Field(alias="familyName")
|
239
|
+
|
240
|
+
|
241
|
+
class LookupContentsLookupContentsResultsEmailCc(BaseModel):
|
242
|
+
name: Optional[str]
|
243
|
+
email: Optional[str]
|
244
|
+
given_name: Optional[str] = Field(alias="givenName")
|
245
|
+
family_name: Optional[str] = Field(alias="familyName")
|
246
|
+
|
247
|
+
|
248
|
+
class LookupContentsLookupContentsResultsEmailBcc(BaseModel):
|
249
|
+
name: Optional[str]
|
250
|
+
email: Optional[str]
|
251
|
+
given_name: Optional[str] = Field(alias="givenName")
|
252
|
+
family_name: Optional[str] = Field(alias="familyName")
|
253
|
+
|
254
|
+
|
255
|
+
class LookupContentsLookupContentsResultsIssue(BaseModel):
|
256
|
+
identifier: Optional[str]
|
257
|
+
title: Optional[str]
|
258
|
+
project: Optional[str]
|
259
|
+
team: Optional[str]
|
260
|
+
status: Optional[str]
|
261
|
+
priority: Optional[str]
|
262
|
+
type: Optional[str]
|
263
|
+
labels: Optional[List[Optional[str]]]
|
264
|
+
|
265
|
+
|
266
|
+
class LookupContentsLookupContentsResultsPackage(BaseModel):
|
267
|
+
file_count: Optional[int] = Field(alias="fileCount")
|
268
|
+
folder_count: Optional[int] = Field(alias="folderCount")
|
269
|
+
is_encrypted: Optional[bool] = Field(alias="isEncrypted")
|
270
|
+
|
271
|
+
|
272
|
+
class LookupContentsLookupContentsResultsLanguage(BaseModel):
|
273
|
+
languages: Optional[List[Optional[str]]]
|
274
|
+
|
275
|
+
|
276
|
+
class LookupContentsLookupContentsResultsParent(BaseModel):
|
277
|
+
id: str
|
278
|
+
name: str
|
279
|
+
|
280
|
+
|
281
|
+
class LookupContentsLookupContentsResultsChildren(BaseModel):
|
282
|
+
id: str
|
283
|
+
name: str
|
284
|
+
|
285
|
+
|
286
|
+
class LookupContentsLookupContentsResultsFeed(BaseModel):
|
287
|
+
id: str
|
288
|
+
name: str
|
289
|
+
|
290
|
+
|
291
|
+
class LookupContentsLookupContentsResultsCollections(BaseModel):
|
292
|
+
id: str
|
293
|
+
name: str
|
294
|
+
|
295
|
+
|
296
|
+
class LookupContentsLookupContentsResultsLinks(BaseModel):
|
297
|
+
uri: Optional[Any]
|
298
|
+
link_type: Optional[LinkTypes] = Field(alias="linkType")
|
299
|
+
|
300
|
+
|
301
|
+
class LookupContentsLookupContentsResultsObservations(BaseModel):
|
302
|
+
id: str
|
303
|
+
type: ObservableTypes
|
304
|
+
observable: "LookupContentsLookupContentsResultsObservationsObservable"
|
305
|
+
related: Optional["LookupContentsLookupContentsResultsObservationsRelated"]
|
306
|
+
related_type: Optional[ObservableTypes] = Field(alias="relatedType")
|
307
|
+
relation: Optional[str]
|
308
|
+
occurrences: Optional[
|
309
|
+
List[Optional["LookupContentsLookupContentsResultsObservationsOccurrences"]]
|
310
|
+
]
|
311
|
+
state: EntityState
|
312
|
+
|
313
|
+
|
314
|
+
class LookupContentsLookupContentsResultsObservationsObservable(BaseModel):
|
315
|
+
id: str
|
316
|
+
name: Optional[str]
|
317
|
+
|
318
|
+
|
319
|
+
class LookupContentsLookupContentsResultsObservationsRelated(BaseModel):
|
320
|
+
id: str
|
321
|
+
name: Optional[str]
|
322
|
+
|
323
|
+
|
324
|
+
class LookupContentsLookupContentsResultsObservationsOccurrences(BaseModel):
|
325
|
+
type: Optional[OccurrenceTypes]
|
326
|
+
confidence: Optional[float]
|
327
|
+
start_time: Optional[Any] = Field(alias="startTime")
|
328
|
+
end_time: Optional[Any] = Field(alias="endTime")
|
329
|
+
page_index: Optional[int] = Field(alias="pageIndex")
|
330
|
+
bounding_box: Optional[
|
331
|
+
"LookupContentsLookupContentsResultsObservationsOccurrencesBoundingBox"
|
332
|
+
] = Field(alias="boundingBox")
|
333
|
+
|
334
|
+
|
335
|
+
class LookupContentsLookupContentsResultsObservationsOccurrencesBoundingBox(BaseModel):
|
336
|
+
left: Optional[float]
|
337
|
+
top: Optional[float]
|
338
|
+
width: Optional[float]
|
339
|
+
height: Optional[float]
|
340
|
+
|
341
|
+
|
342
|
+
class LookupContentsLookupContentsResultsWorkflow(BaseModel):
|
343
|
+
id: str
|
344
|
+
name: str
|
345
|
+
|
346
|
+
|
347
|
+
class LookupContentsLookupContentsResultsPages(BaseModel):
|
348
|
+
index: Optional[int]
|
349
|
+
text: Optional[str]
|
350
|
+
relevance: Optional[float]
|
351
|
+
images: Optional[List[Optional["LookupContentsLookupContentsResultsPagesImages"]]]
|
352
|
+
chunks: Optional[List[Optional["LookupContentsLookupContentsResultsPagesChunks"]]]
|
353
|
+
|
354
|
+
|
355
|
+
class LookupContentsLookupContentsResultsPagesImages(BaseModel):
|
356
|
+
id: Optional[str]
|
357
|
+
mime_type: Optional[str] = Field(alias="mimeType")
|
358
|
+
data: Optional[str]
|
359
|
+
left: Optional[int]
|
360
|
+
right: Optional[int]
|
361
|
+
top: Optional[int]
|
362
|
+
bottom: Optional[int]
|
363
|
+
|
364
|
+
|
365
|
+
class LookupContentsLookupContentsResultsPagesChunks(BaseModel):
|
366
|
+
index: Optional[int]
|
367
|
+
page_index: Optional[int] = Field(alias="pageIndex")
|
368
|
+
row_index: Optional[int] = Field(alias="rowIndex")
|
369
|
+
column_index: Optional[int] = Field(alias="columnIndex")
|
370
|
+
confidence: Optional[float]
|
371
|
+
text: Optional[str]
|
372
|
+
role: Optional[TextRoles]
|
373
|
+
language: Optional[str]
|
374
|
+
relevance: Optional[float]
|
375
|
+
|
376
|
+
|
377
|
+
class LookupContentsLookupContentsResultsSegments(BaseModel):
|
378
|
+
start_time: Optional[Any] = Field(alias="startTime")
|
379
|
+
end_time: Optional[Any] = Field(alias="endTime")
|
380
|
+
text: Optional[str]
|
381
|
+
relevance: Optional[float]
|
382
|
+
|
383
|
+
|
384
|
+
class LookupContentsLookupContentsResultsFrames(BaseModel):
|
385
|
+
index: Optional[int]
|
386
|
+
description: Optional[str]
|
387
|
+
text: Optional[str]
|
388
|
+
relevance: Optional[float]
|
389
|
+
|
390
|
+
|
391
|
+
LookupContents.model_rebuild()
|
392
|
+
LookupContentsLookupContents.model_rebuild()
|
393
|
+
LookupContentsLookupContentsResults.model_rebuild()
|
394
|
+
LookupContentsLookupContentsResultsEmail.model_rebuild()
|
395
|
+
LookupContentsLookupContentsResultsObservations.model_rebuild()
|
396
|
+
LookupContentsLookupContentsResultsObservationsOccurrences.model_rebuild()
|
397
|
+
LookupContentsLookupContentsResultsPages.model_rebuild()
|