graphlit-client 1.0.20250301001__py3-none-any.whl → 1.0.20250313001__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 +131 -0
- graphlit_api/client.py +40 -0
- graphlit_api/create_workflow.py +77 -0
- graphlit_api/enums.py +22 -0
- graphlit_api/get_alert.py +7 -0
- graphlit_api/get_content.py +11 -0
- graphlit_api/get_user.py +7 -0
- graphlit_api/get_workflow.py +67 -0
- graphlit_api/input_types.py +63 -0
- graphlit_api/lookup_credits.py +1 -0
- graphlit_api/operations.py +203 -0
- graphlit_api/query_alerts.py +7 -0
- graphlit_api/query_contents.py +11 -0
- graphlit_api/query_contents_facets.py +11 -0
- graphlit_api/query_credits.py +1 -0
- graphlit_api/query_linear_projects.py +21 -0
- graphlit_api/query_users.py +7 -0
- graphlit_api/query_workflows.py +77 -0
- graphlit_api/send_notification.py +21 -0
- graphlit_api/update_workflow.py +77 -0
- {graphlit_client-1.0.20250301001.dist-info → graphlit_client-1.0.20250313001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250301001.dist-info → graphlit_client-1.0.20250313001.dist-info}/RECORD +25 -23
- {graphlit_client-1.0.20250301001.dist-info → graphlit_client-1.0.20250313001.dist-info}/WHEEL +1 -1
- {graphlit_client-1.0.20250301001.dist-info → graphlit_client-1.0.20250313001.dist-info}/LICENSE +0 -0
- {graphlit_client-1.0.20250301001.dist-info → graphlit_client-1.0.20250313001.dist-info}/top_level.txt +0 -0
graphlit_api/operations.py
CHANGED
@@ -215,6 +215,7 @@ __all__ = [
|
|
215
215
|
"QUERY_EVENTS_GQL",
|
216
216
|
"QUERY_FEEDS_GQL",
|
217
217
|
"QUERY_LABELS_GQL",
|
218
|
+
"QUERY_LINEAR_PROJECTS_GQL",
|
218
219
|
"QUERY_MEDICAL_CONDITIONS_GQL",
|
219
220
|
"QUERY_MEDICAL_CONTRAINDICATIONS_GQL",
|
220
221
|
"QUERY_MEDICAL_DEVICES_GQL",
|
@@ -251,6 +252,7 @@ __all__ = [
|
|
251
252
|
"REVISE_TEXT_GQL",
|
252
253
|
"SCREENSHOT_PAGE_GQL",
|
253
254
|
"SEARCH_WEB_GQL",
|
255
|
+
"SEND_NOTIFICATION_GQL",
|
254
256
|
"SUGGEST_CONVERSATION_GQL",
|
255
257
|
"SUMMARIZE_CONTENTS_GQL",
|
256
258
|
"SUMMARIZE_TEXT_GQL",
|
@@ -454,6 +456,11 @@ query GetAlert($id: ID!, $correlationId: String) {
|
|
454
456
|
token
|
455
457
|
channel
|
456
458
|
}
|
459
|
+
email {
|
460
|
+
from
|
461
|
+
subject
|
462
|
+
to
|
463
|
+
}
|
457
464
|
}
|
458
465
|
publishing {
|
459
466
|
type
|
@@ -574,6 +581,11 @@ query QueryAlerts($filter: AlertFilter, $correlationId: String) {
|
|
574
581
|
token
|
575
582
|
channel
|
576
583
|
}
|
584
|
+
email {
|
585
|
+
from
|
586
|
+
subject
|
587
|
+
to
|
588
|
+
}
|
577
589
|
}
|
578
590
|
publishing {
|
579
591
|
type
|
@@ -1399,6 +1411,15 @@ query GetContent($id: ID!, $correlationId: String) {
|
|
1399
1411
|
index
|
1400
1412
|
text
|
1401
1413
|
relevance
|
1414
|
+
images {
|
1415
|
+
id
|
1416
|
+
mimeType
|
1417
|
+
data
|
1418
|
+
left
|
1419
|
+
right
|
1420
|
+
top
|
1421
|
+
bottom
|
1422
|
+
}
|
1402
1423
|
chunks {
|
1403
1424
|
index
|
1404
1425
|
pageIndex
|
@@ -2171,6 +2192,15 @@ query QueryContents($filter: ContentFilter, $correlationId: String) {
|
|
2171
2192
|
index
|
2172
2193
|
text
|
2173
2194
|
relevance
|
2195
|
+
images {
|
2196
|
+
id
|
2197
|
+
mimeType
|
2198
|
+
data
|
2199
|
+
left
|
2200
|
+
right
|
2201
|
+
top
|
2202
|
+
bottom
|
2203
|
+
}
|
2174
2204
|
chunks {
|
2175
2205
|
index
|
2176
2206
|
pageIndex
|
@@ -2423,6 +2453,15 @@ query QueryContentsFacets($filter: ContentFilter, $facets: [ContentFacetInput!],
|
|
2423
2453
|
index
|
2424
2454
|
text
|
2425
2455
|
relevance
|
2456
|
+
images {
|
2457
|
+
id
|
2458
|
+
mimeType
|
2459
|
+
data
|
2460
|
+
left
|
2461
|
+
right
|
2462
|
+
top
|
2463
|
+
bottom
|
2464
|
+
}
|
2426
2465
|
chunks {
|
2427
2466
|
index
|
2428
2467
|
pageIndex
|
@@ -6254,6 +6293,14 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6254
6293
|
}
|
6255
6294
|
"""
|
6256
6295
|
|
6296
|
+
QUERY_LINEAR_PROJECTS_GQL = """
|
6297
|
+
query QueryLinearProjects($properties: LinearProjectsInput!) {
|
6298
|
+
linearProjects(properties: $properties) {
|
6299
|
+
results
|
6300
|
+
}
|
6301
|
+
}
|
6302
|
+
"""
|
6303
|
+
|
6257
6304
|
QUERY_MICROSOFT_TEAMS_CHANNELS_GQL = """
|
6258
6305
|
query QueryMicrosoftTeamsChannels($properties: MicrosoftTeamsChannelsInput!, $teamId: ID!) {
|
6259
6306
|
microsoftTeamsChannels(properties: $properties, teamId: $teamId) {
|
@@ -7434,6 +7481,14 @@ mutation UpdateMedicalTherapy($medicalTherapy: MedicalTherapyUpdateInput!) {
|
|
7434
7481
|
}
|
7435
7482
|
"""
|
7436
7483
|
|
7484
|
+
SEND_NOTIFICATION_GQL = """
|
7485
|
+
mutation SendNotification($connector: IntegrationConnectorInput!, $text: String!, $textType: TextTypes) {
|
7486
|
+
sendNotification(connector: $connector, text: $text, textType: $textType) {
|
7487
|
+
result
|
7488
|
+
}
|
7489
|
+
}
|
7490
|
+
"""
|
7491
|
+
|
7437
7492
|
CREATE_OBSERVATION_GQL = """
|
7438
7493
|
mutation CreateObservation($observation: ObservationInput!) {
|
7439
7494
|
createObservation(observation: $observation) {
|
@@ -7979,6 +8034,7 @@ query LookupCredits($correlationId: String!) {
|
|
7979
8034
|
indexingRatio
|
7980
8035
|
preparationRatio
|
7981
8036
|
extractionRatio
|
8037
|
+
classificationRatio
|
7982
8038
|
enrichmentRatio
|
7983
8039
|
publishingRatio
|
7984
8040
|
searchRatio
|
@@ -8038,6 +8094,7 @@ query QueryCredits($startDate: DateTime!, $duration: TimeSpan!) {
|
|
8038
8094
|
indexingRatio
|
8039
8095
|
preparationRatio
|
8040
8096
|
extractionRatio
|
8097
|
+
classificationRatio
|
8041
8098
|
enrichmentRatio
|
8042
8099
|
publishingRatio
|
8043
8100
|
searchRatio
|
@@ -8987,6 +9044,11 @@ query GetUser {
|
|
8987
9044
|
token
|
8988
9045
|
channel
|
8989
9046
|
}
|
9047
|
+
email {
|
9048
|
+
from
|
9049
|
+
subject
|
9050
|
+
to
|
9051
|
+
}
|
8990
9052
|
}
|
8991
9053
|
}
|
8992
9054
|
}
|
@@ -9031,6 +9093,11 @@ query QueryUsers($filter: UserFilter, $correlationId: String) {
|
|
9031
9093
|
token
|
9032
9094
|
channel
|
9033
9095
|
}
|
9096
|
+
email {
|
9097
|
+
from
|
9098
|
+
subject
|
9099
|
+
to
|
9100
|
+
}
|
9034
9101
|
}
|
9035
9102
|
}
|
9036
9103
|
}
|
@@ -9140,6 +9207,9 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
9140
9207
|
id
|
9141
9208
|
}
|
9142
9209
|
}
|
9210
|
+
mistral {
|
9211
|
+
key
|
9212
|
+
}
|
9143
9213
|
}
|
9144
9214
|
}
|
9145
9215
|
}
|
@@ -9171,6 +9241,32 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
9171
9241
|
}
|
9172
9242
|
}
|
9173
9243
|
}
|
9244
|
+
classification {
|
9245
|
+
jobs {
|
9246
|
+
connector {
|
9247
|
+
type
|
9248
|
+
contentType
|
9249
|
+
fileType
|
9250
|
+
model {
|
9251
|
+
specification {
|
9252
|
+
id
|
9253
|
+
}
|
9254
|
+
rules {
|
9255
|
+
then
|
9256
|
+
if
|
9257
|
+
}
|
9258
|
+
}
|
9259
|
+
regex {
|
9260
|
+
rules {
|
9261
|
+
then
|
9262
|
+
type
|
9263
|
+
path
|
9264
|
+
matches
|
9265
|
+
}
|
9266
|
+
}
|
9267
|
+
}
|
9268
|
+
}
|
9269
|
+
}
|
9174
9270
|
enrichment {
|
9175
9271
|
link {
|
9176
9272
|
enableCrawling
|
@@ -9212,6 +9308,11 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
9212
9308
|
token
|
9213
9309
|
channel
|
9214
9310
|
}
|
9311
|
+
email {
|
9312
|
+
from
|
9313
|
+
subject
|
9314
|
+
to
|
9315
|
+
}
|
9215
9316
|
}
|
9216
9317
|
}
|
9217
9318
|
}
|
@@ -9336,6 +9437,9 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
9336
9437
|
id
|
9337
9438
|
}
|
9338
9439
|
}
|
9440
|
+
mistral {
|
9441
|
+
key
|
9442
|
+
}
|
9339
9443
|
}
|
9340
9444
|
}
|
9341
9445
|
}
|
@@ -9367,6 +9471,32 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
9367
9471
|
}
|
9368
9472
|
}
|
9369
9473
|
}
|
9474
|
+
classification {
|
9475
|
+
jobs {
|
9476
|
+
connector {
|
9477
|
+
type
|
9478
|
+
contentType
|
9479
|
+
fileType
|
9480
|
+
model {
|
9481
|
+
specification {
|
9482
|
+
id
|
9483
|
+
}
|
9484
|
+
rules {
|
9485
|
+
then
|
9486
|
+
if
|
9487
|
+
}
|
9488
|
+
}
|
9489
|
+
regex {
|
9490
|
+
rules {
|
9491
|
+
then
|
9492
|
+
type
|
9493
|
+
path
|
9494
|
+
matches
|
9495
|
+
}
|
9496
|
+
}
|
9497
|
+
}
|
9498
|
+
}
|
9499
|
+
}
|
9370
9500
|
enrichment {
|
9371
9501
|
link {
|
9372
9502
|
enableCrawling
|
@@ -9408,6 +9538,11 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
9408
9538
|
token
|
9409
9539
|
channel
|
9410
9540
|
}
|
9541
|
+
email {
|
9542
|
+
from
|
9543
|
+
subject
|
9544
|
+
to
|
9545
|
+
}
|
9411
9546
|
}
|
9412
9547
|
}
|
9413
9548
|
}
|
@@ -9502,6 +9637,9 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
9502
9637
|
id
|
9503
9638
|
}
|
9504
9639
|
}
|
9640
|
+
mistral {
|
9641
|
+
key
|
9642
|
+
}
|
9505
9643
|
}
|
9506
9644
|
}
|
9507
9645
|
}
|
@@ -9533,6 +9671,32 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
9533
9671
|
}
|
9534
9672
|
}
|
9535
9673
|
}
|
9674
|
+
classification {
|
9675
|
+
jobs {
|
9676
|
+
connector {
|
9677
|
+
type
|
9678
|
+
contentType
|
9679
|
+
fileType
|
9680
|
+
model {
|
9681
|
+
specification {
|
9682
|
+
id
|
9683
|
+
}
|
9684
|
+
rules {
|
9685
|
+
then
|
9686
|
+
if
|
9687
|
+
}
|
9688
|
+
}
|
9689
|
+
regex {
|
9690
|
+
rules {
|
9691
|
+
then
|
9692
|
+
type
|
9693
|
+
path
|
9694
|
+
matches
|
9695
|
+
}
|
9696
|
+
}
|
9697
|
+
}
|
9698
|
+
}
|
9699
|
+
}
|
9536
9700
|
enrichment {
|
9537
9701
|
link {
|
9538
9702
|
enableCrawling
|
@@ -9574,6 +9738,11 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
9574
9738
|
token
|
9575
9739
|
channel
|
9576
9740
|
}
|
9741
|
+
email {
|
9742
|
+
from
|
9743
|
+
subject
|
9744
|
+
to
|
9745
|
+
}
|
9577
9746
|
}
|
9578
9747
|
}
|
9579
9748
|
}
|
@@ -9663,6 +9832,9 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
9663
9832
|
id
|
9664
9833
|
}
|
9665
9834
|
}
|
9835
|
+
mistral {
|
9836
|
+
key
|
9837
|
+
}
|
9666
9838
|
}
|
9667
9839
|
}
|
9668
9840
|
}
|
@@ -9694,6 +9866,32 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
9694
9866
|
}
|
9695
9867
|
}
|
9696
9868
|
}
|
9869
|
+
classification {
|
9870
|
+
jobs {
|
9871
|
+
connector {
|
9872
|
+
type
|
9873
|
+
contentType
|
9874
|
+
fileType
|
9875
|
+
model {
|
9876
|
+
specification {
|
9877
|
+
id
|
9878
|
+
}
|
9879
|
+
rules {
|
9880
|
+
then
|
9881
|
+
if
|
9882
|
+
}
|
9883
|
+
}
|
9884
|
+
regex {
|
9885
|
+
rules {
|
9886
|
+
then
|
9887
|
+
type
|
9888
|
+
path
|
9889
|
+
matches
|
9890
|
+
}
|
9891
|
+
}
|
9892
|
+
}
|
9893
|
+
}
|
9894
|
+
}
|
9697
9895
|
enrichment {
|
9698
9896
|
link {
|
9699
9897
|
enableCrawling
|
@@ -9735,6 +9933,11 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
9735
9933
|
token
|
9736
9934
|
channel
|
9737
9935
|
}
|
9936
|
+
email {
|
9937
|
+
from
|
9938
|
+
subject
|
9939
|
+
to
|
9940
|
+
}
|
9738
9941
|
}
|
9739
9942
|
}
|
9740
9943
|
}
|
graphlit_api/query_alerts.py
CHANGED
@@ -186,6 +186,7 @@ class QueryAlertsAlertsResultsIntegration(BaseModel):
|
|
186
186
|
type: IntegrationServiceTypes
|
187
187
|
uri: Optional[str]
|
188
188
|
slack: Optional["QueryAlertsAlertsResultsIntegrationSlack"]
|
189
|
+
email: Optional["QueryAlertsAlertsResultsIntegrationEmail"]
|
189
190
|
|
190
191
|
|
191
192
|
class QueryAlertsAlertsResultsIntegrationSlack(BaseModel):
|
@@ -193,6 +194,12 @@ class QueryAlertsAlertsResultsIntegrationSlack(BaseModel):
|
|
193
194
|
channel: str
|
194
195
|
|
195
196
|
|
197
|
+
class QueryAlertsAlertsResultsIntegrationEmail(BaseModel):
|
198
|
+
from_: str = Field(alias="from")
|
199
|
+
subject: str
|
200
|
+
to: List[str]
|
201
|
+
|
202
|
+
|
196
203
|
class QueryAlertsAlertsResultsPublishing(BaseModel):
|
197
204
|
type: ContentPublishingServiceTypes
|
198
205
|
eleven_labs: Optional["QueryAlertsAlertsResultsPublishingElevenLabs"] = Field(
|
graphlit_api/query_contents.py
CHANGED
@@ -313,9 +313,20 @@ class QueryContentsContentsResultsPages(BaseModel):
|
|
313
313
|
index: Optional[int]
|
314
314
|
text: Optional[str]
|
315
315
|
relevance: Optional[float]
|
316
|
+
images: Optional[List[Optional["QueryContentsContentsResultsPagesImages"]]]
|
316
317
|
chunks: Optional[List[Optional["QueryContentsContentsResultsPagesChunks"]]]
|
317
318
|
|
318
319
|
|
320
|
+
class QueryContentsContentsResultsPagesImages(BaseModel):
|
321
|
+
id: Optional[str]
|
322
|
+
mime_type: Optional[str] = Field(alias="mimeType")
|
323
|
+
data: Optional[str]
|
324
|
+
left: Optional[int]
|
325
|
+
right: Optional[int]
|
326
|
+
top: Optional[int]
|
327
|
+
bottom: Optional[int]
|
328
|
+
|
329
|
+
|
319
330
|
class QueryContentsContentsResultsPagesChunks(BaseModel):
|
320
331
|
index: Optional[int]
|
321
332
|
page_index: Optional[int] = Field(alias="pageIndex")
|
@@ -320,9 +320,20 @@ class QueryContentsFacetsContentsResultsPages(BaseModel):
|
|
320
320
|
index: Optional[int]
|
321
321
|
text: Optional[str]
|
322
322
|
relevance: Optional[float]
|
323
|
+
images: Optional[List[Optional["QueryContentsFacetsContentsResultsPagesImages"]]]
|
323
324
|
chunks: Optional[List[Optional["QueryContentsFacetsContentsResultsPagesChunks"]]]
|
324
325
|
|
325
326
|
|
327
|
+
class QueryContentsFacetsContentsResultsPagesImages(BaseModel):
|
328
|
+
id: Optional[str]
|
329
|
+
mime_type: Optional[str] = Field(alias="mimeType")
|
330
|
+
data: Optional[str]
|
331
|
+
left: Optional[int]
|
332
|
+
right: Optional[int]
|
333
|
+
top: Optional[int]
|
334
|
+
bottom: Optional[int]
|
335
|
+
|
336
|
+
|
326
337
|
class QueryContentsFacetsContentsResultsPagesChunks(BaseModel):
|
327
338
|
index: Optional[int]
|
328
339
|
page_index: Optional[int] = Field(alias="pageIndex")
|
graphlit_api/query_credits.py
CHANGED
@@ -24,6 +24,7 @@ class QueryCreditsCredits(BaseModel):
|
|
24
24
|
indexing_ratio: Optional[Any] = Field(alias="indexingRatio")
|
25
25
|
preparation_ratio: Optional[Any] = Field(alias="preparationRatio")
|
26
26
|
extraction_ratio: Optional[Any] = Field(alias="extractionRatio")
|
27
|
+
classification_ratio: Optional[Any] = Field(alias="classificationRatio")
|
27
28
|
enrichment_ratio: Optional[Any] = Field(alias="enrichmentRatio")
|
28
29
|
publishing_ratio: Optional[Any] = Field(alias="publishingRatio")
|
29
30
|
search_ratio: Optional[Any] = Field(alias="searchRatio")
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import List, Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
|
10
|
+
|
11
|
+
class QueryLinearProjects(BaseModel):
|
12
|
+
linear_projects: Optional["QueryLinearProjectsLinearProjects"] = Field(
|
13
|
+
alias="linearProjects"
|
14
|
+
)
|
15
|
+
|
16
|
+
|
17
|
+
class QueryLinearProjectsLinearProjects(BaseModel):
|
18
|
+
results: Optional[List[str]]
|
19
|
+
|
20
|
+
|
21
|
+
QueryLinearProjects.model_rebuild()
|
graphlit_api/query_users.py
CHANGED
@@ -69,6 +69,7 @@ class QueryUsersUsersResultsConnectorsIntegration(BaseModel):
|
|
69
69
|
type: IntegrationServiceTypes
|
70
70
|
uri: Optional[str]
|
71
71
|
slack: Optional["QueryUsersUsersResultsConnectorsIntegrationSlack"]
|
72
|
+
email: Optional["QueryUsersUsersResultsConnectorsIntegrationEmail"]
|
72
73
|
|
73
74
|
|
74
75
|
class QueryUsersUsersResultsConnectorsIntegrationSlack(BaseModel):
|
@@ -76,6 +77,12 @@ class QueryUsersUsersResultsConnectorsIntegrationSlack(BaseModel):
|
|
76
77
|
channel: str
|
77
78
|
|
78
79
|
|
80
|
+
class QueryUsersUsersResultsConnectorsIntegrationEmail(BaseModel):
|
81
|
+
from_: str = Field(alias="from")
|
82
|
+
subject: str
|
83
|
+
to: List[str]
|
84
|
+
|
85
|
+
|
79
86
|
QueryUsers.model_rebuild()
|
80
87
|
QueryUsersUsers.model_rebuild()
|
81
88
|
QueryUsersUsersResults.model_rebuild()
|
graphlit_api/query_workflows.py
CHANGED
@@ -10,6 +10,7 @@ from .enums import (
|
|
10
10
|
AssemblyAIModels,
|
11
11
|
AzureDocumentIntelligenceModels,
|
12
12
|
AzureDocumentIntelligenceVersions,
|
13
|
+
ContentClassificationServiceTypes,
|
13
14
|
ContentIndexingServiceTypes,
|
14
15
|
ContentTypes,
|
15
16
|
DeepgramModels,
|
@@ -21,6 +22,7 @@ from .enums import (
|
|
21
22
|
IntegrationServiceTypes,
|
22
23
|
LinkTypes,
|
23
24
|
ObservableTypes,
|
25
|
+
RegexSourceTypes,
|
24
26
|
StoragePolicyTypes,
|
25
27
|
SummarizationTypes,
|
26
28
|
)
|
@@ -45,6 +47,7 @@ class QueryWorkflowsWorkflowsResults(BaseModel):
|
|
45
47
|
indexing: Optional["QueryWorkflowsWorkflowsResultsIndexing"]
|
46
48
|
preparation: Optional["QueryWorkflowsWorkflowsResultsPreparation"]
|
47
49
|
extraction: Optional["QueryWorkflowsWorkflowsResultsExtraction"]
|
50
|
+
classification: Optional["QueryWorkflowsWorkflowsResultsClassification"]
|
48
51
|
enrichment: Optional["QueryWorkflowsWorkflowsResultsEnrichment"]
|
49
52
|
storage: Optional["QueryWorkflowsWorkflowsResultsStorage"]
|
50
53
|
actions: Optional[List[Optional["QueryWorkflowsWorkflowsResultsActions"]]]
|
@@ -141,6 +144,7 @@ class QueryWorkflowsWorkflowsResultsPreparationJobsConnector(BaseModel):
|
|
141
144
|
model_document: Optional[
|
142
145
|
"QueryWorkflowsWorkflowsResultsPreparationJobsConnectorModelDocument"
|
143
146
|
] = Field(alias="modelDocument")
|
147
|
+
mistral: Optional["QueryWorkflowsWorkflowsResultsPreparationJobsConnectorMistral"]
|
144
148
|
|
145
149
|
|
146
150
|
class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorAzureDocument(BaseModel):
|
@@ -188,6 +192,10 @@ class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorModelDocumentSpecifi
|
|
188
192
|
id: str
|
189
193
|
|
190
194
|
|
195
|
+
class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorMistral(BaseModel):
|
196
|
+
key: Optional[str]
|
197
|
+
|
198
|
+
|
191
199
|
class QueryWorkflowsWorkflowsResultsExtraction(BaseModel):
|
192
200
|
jobs: Optional[List[Optional["QueryWorkflowsWorkflowsResultsExtractionJobs"]]]
|
193
201
|
|
@@ -249,6 +257,63 @@ class QueryWorkflowsWorkflowsResultsExtractionJobsConnectorModelTextSpecificatio
|
|
249
257
|
id: str
|
250
258
|
|
251
259
|
|
260
|
+
class QueryWorkflowsWorkflowsResultsClassification(BaseModel):
|
261
|
+
jobs: Optional[List[Optional["QueryWorkflowsWorkflowsResultsClassificationJobs"]]]
|
262
|
+
|
263
|
+
|
264
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobs(BaseModel):
|
265
|
+
connector: Optional["QueryWorkflowsWorkflowsResultsClassificationJobsConnector"]
|
266
|
+
|
267
|
+
|
268
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnector(BaseModel):
|
269
|
+
type: ContentClassificationServiceTypes
|
270
|
+
content_type: Optional[ContentTypes] = Field(alias="contentType")
|
271
|
+
file_type: Optional[FileTypes] = Field(alias="fileType")
|
272
|
+
model: Optional["QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModel"]
|
273
|
+
regex: Optional["QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegex"]
|
274
|
+
|
275
|
+
|
276
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModel(BaseModel):
|
277
|
+
specification: Optional[
|
278
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelSpecification"
|
279
|
+
]
|
280
|
+
rules: Optional[
|
281
|
+
List[
|
282
|
+
Optional[
|
283
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelRules"
|
284
|
+
]
|
285
|
+
]
|
286
|
+
]
|
287
|
+
|
288
|
+
|
289
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelSpecification(
|
290
|
+
BaseModel
|
291
|
+
):
|
292
|
+
id: str
|
293
|
+
|
294
|
+
|
295
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelRules(BaseModel):
|
296
|
+
then: Optional[str]
|
297
|
+
if_: Optional[str] = Field(alias="if")
|
298
|
+
|
299
|
+
|
300
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegex(BaseModel):
|
301
|
+
rules: Optional[
|
302
|
+
List[
|
303
|
+
Optional[
|
304
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegexRules"
|
305
|
+
]
|
306
|
+
]
|
307
|
+
]
|
308
|
+
|
309
|
+
|
310
|
+
class QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegexRules(BaseModel):
|
311
|
+
then: Optional[str]
|
312
|
+
type: Optional[RegexSourceTypes]
|
313
|
+
path: Optional[str]
|
314
|
+
matches: Optional[str]
|
315
|
+
|
316
|
+
|
252
317
|
class QueryWorkflowsWorkflowsResultsEnrichment(BaseModel):
|
253
318
|
link: Optional["QueryWorkflowsWorkflowsResultsEnrichmentLink"]
|
254
319
|
jobs: Optional[List[Optional["QueryWorkflowsWorkflowsResultsEnrichmentJobs"]]]
|
@@ -306,6 +371,7 @@ class QueryWorkflowsWorkflowsResultsActionsConnector(BaseModel):
|
|
306
371
|
type: IntegrationServiceTypes
|
307
372
|
uri: Optional[str]
|
308
373
|
slack: Optional["QueryWorkflowsWorkflowsResultsActionsConnectorSlack"]
|
374
|
+
email: Optional["QueryWorkflowsWorkflowsResultsActionsConnectorEmail"]
|
309
375
|
|
310
376
|
|
311
377
|
class QueryWorkflowsWorkflowsResultsActionsConnectorSlack(BaseModel):
|
@@ -313,6 +379,12 @@ class QueryWorkflowsWorkflowsResultsActionsConnectorSlack(BaseModel):
|
|
313
379
|
channel: str
|
314
380
|
|
315
381
|
|
382
|
+
class QueryWorkflowsWorkflowsResultsActionsConnectorEmail(BaseModel):
|
383
|
+
from_: str = Field(alias="from")
|
384
|
+
subject: str
|
385
|
+
to: List[str]
|
386
|
+
|
387
|
+
|
316
388
|
QueryWorkflows.model_rebuild()
|
317
389
|
QueryWorkflowsWorkflows.model_rebuild()
|
318
390
|
QueryWorkflowsWorkflowsResults.model_rebuild()
|
@@ -330,6 +402,11 @@ QueryWorkflowsWorkflowsResultsExtractionJobs.model_rebuild()
|
|
330
402
|
QueryWorkflowsWorkflowsResultsExtractionJobsConnector.model_rebuild()
|
331
403
|
QueryWorkflowsWorkflowsResultsExtractionJobsConnectorModelImage.model_rebuild()
|
332
404
|
QueryWorkflowsWorkflowsResultsExtractionJobsConnectorModelText.model_rebuild()
|
405
|
+
QueryWorkflowsWorkflowsResultsClassification.model_rebuild()
|
406
|
+
QueryWorkflowsWorkflowsResultsClassificationJobs.model_rebuild()
|
407
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnector.model_rebuild()
|
408
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModel.model_rebuild()
|
409
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegex.model_rebuild()
|
333
410
|
QueryWorkflowsWorkflowsResultsEnrichment.model_rebuild()
|
334
411
|
QueryWorkflowsWorkflowsResultsEnrichmentJobs.model_rebuild()
|
335
412
|
QueryWorkflowsWorkflowsResultsEnrichmentJobsConnector.model_rebuild()
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
|
10
|
+
|
11
|
+
class SendNotification(BaseModel):
|
12
|
+
send_notification: Optional["SendNotificationSendNotification"] = Field(
|
13
|
+
alias="sendNotification"
|
14
|
+
)
|
15
|
+
|
16
|
+
|
17
|
+
class SendNotificationSendNotification(BaseModel):
|
18
|
+
result: Optional[bool]
|
19
|
+
|
20
|
+
|
21
|
+
SendNotification.model_rebuild()
|