graphlit-client 1.0.20250306001__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 +105 -0
- graphlit_api/client.py +24 -0
- graphlit_api/create_workflow.py +72 -0
- graphlit_api/enums.py +17 -0
- graphlit_api/get_alert.py +7 -0
- graphlit_api/get_user.py +7 -0
- graphlit_api/get_workflow.py +62 -0
- graphlit_api/input_types.py +54 -0
- graphlit_api/lookup_credits.py +1 -0
- graphlit_api/operations.py +155 -0
- graphlit_api/query_alerts.py +7 -0
- graphlit_api/query_credits.py +1 -0
- graphlit_api/query_users.py +7 -0
- graphlit_api/query_workflows.py +72 -0
- graphlit_api/send_notification.py +21 -0
- graphlit_api/update_workflow.py +72 -0
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/RECORD +21 -20
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/WHEEL +1 -1
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/LICENSE +0 -0
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/top_level.txt +0 -0
graphlit_api/__init__.py
CHANGED
@@ -213,7 +213,16 @@ from .create_workflow import (
|
|
213
213
|
CreateWorkflowCreateWorkflow,
|
214
214
|
CreateWorkflowCreateWorkflowActions,
|
215
215
|
CreateWorkflowCreateWorkflowActionsConnector,
|
216
|
+
CreateWorkflowCreateWorkflowActionsConnectorEmail,
|
216
217
|
CreateWorkflowCreateWorkflowActionsConnectorSlack,
|
218
|
+
CreateWorkflowCreateWorkflowClassification,
|
219
|
+
CreateWorkflowCreateWorkflowClassificationJobs,
|
220
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnector,
|
221
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorModel,
|
222
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorModelRules,
|
223
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorModelSpecification,
|
224
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorRegex,
|
225
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorRegexRules,
|
217
226
|
CreateWorkflowCreateWorkflowEnrichment,
|
218
227
|
CreateWorkflowCreateWorkflowEnrichmentJobs,
|
219
228
|
CreateWorkflowCreateWorkflowEnrichmentJobsConnector,
|
@@ -511,6 +520,7 @@ from .enums import (
|
|
511
520
|
CohereModels,
|
512
521
|
CollectionTypes,
|
513
522
|
ConnectorTypes,
|
523
|
+
ContentClassificationServiceTypes,
|
514
524
|
ContentFacetTypes,
|
515
525
|
ContentIndexingServiceTypes,
|
516
526
|
ContentPublishingFormats,
|
@@ -582,6 +592,7 @@ from .enums import (
|
|
582
592
|
PolicyTimeTypes,
|
583
593
|
ProductFacetTypes,
|
584
594
|
PromptStrategyTypes,
|
595
|
+
RegexSourceTypes,
|
585
596
|
RenditionTypes,
|
586
597
|
ReplicateModels,
|
587
598
|
RepoFacetTypes,
|
@@ -685,6 +696,7 @@ from .get_alert import (
|
|
685
696
|
GetAlertAlertFilterUsers,
|
686
697
|
GetAlertAlertFilterWorkflows,
|
687
698
|
GetAlertAlertIntegration,
|
699
|
+
GetAlertAlertIntegrationEmail,
|
688
700
|
GetAlertAlertIntegrationSlack,
|
689
701
|
GetAlertAlertOwner,
|
690
702
|
GetAlertAlertPublishing,
|
@@ -927,6 +939,7 @@ from .get_user import (
|
|
927
939
|
GetUserUserConnectorsAuthenticationGoogle,
|
928
940
|
GetUserUserConnectorsAuthenticationMicrosoft,
|
929
941
|
GetUserUserConnectorsIntegration,
|
942
|
+
GetUserUserConnectorsIntegrationEmail,
|
930
943
|
GetUserUserConnectorsIntegrationSlack,
|
931
944
|
GetUserUserOwner,
|
932
945
|
)
|
@@ -935,7 +948,16 @@ from .get_workflow import (
|
|
935
948
|
GetWorkflowWorkflow,
|
936
949
|
GetWorkflowWorkflowActions,
|
937
950
|
GetWorkflowWorkflowActionsConnector,
|
951
|
+
GetWorkflowWorkflowActionsConnectorEmail,
|
938
952
|
GetWorkflowWorkflowActionsConnectorSlack,
|
953
|
+
GetWorkflowWorkflowClassification,
|
954
|
+
GetWorkflowWorkflowClassificationJobs,
|
955
|
+
GetWorkflowWorkflowClassificationJobsConnector,
|
956
|
+
GetWorkflowWorkflowClassificationJobsConnectorModel,
|
957
|
+
GetWorkflowWorkflowClassificationJobsConnectorModelRules,
|
958
|
+
GetWorkflowWorkflowClassificationJobsConnectorModelSpecification,
|
959
|
+
GetWorkflowWorkflowClassificationJobsConnectorRegex,
|
960
|
+
GetWorkflowWorkflowClassificationJobsConnectorRegexRules,
|
939
961
|
GetWorkflowWorkflowEnrichment,
|
940
962
|
GetWorkflowWorkflowEnrichmentJobs,
|
941
963
|
GetWorkflowWorkflowEnrichmentJobsConnector,
|
@@ -1062,6 +1084,8 @@ from .input_types import (
|
|
1062
1084
|
CategoryUpdateInput,
|
1063
1085
|
CerebrasModelPropertiesInput,
|
1064
1086
|
CerebrasModelPropertiesUpdateInput,
|
1087
|
+
ClassificationWorkflowJobInput,
|
1088
|
+
ClassificationWorkflowStageInput,
|
1065
1089
|
CohereModelPropertiesInput,
|
1066
1090
|
CohereModelPropertiesUpdateInput,
|
1067
1091
|
CollectionFilter,
|
@@ -1070,6 +1094,7 @@ from .input_types import (
|
|
1070
1094
|
ConnectorFilter,
|
1071
1095
|
ConnectorInput,
|
1072
1096
|
ConnectorUpdateInput,
|
1097
|
+
ContentClassificationConnectorInput,
|
1073
1098
|
ContentCriteriaInput,
|
1074
1099
|
ContentCriteriaLevelInput,
|
1075
1100
|
ContentFacetInput,
|
@@ -1104,6 +1129,7 @@ from .input_types import (
|
|
1104
1129
|
ElevenLabsPublishingPropertiesInput,
|
1105
1130
|
EmailFeedPropertiesInput,
|
1106
1131
|
EmailFeedPropertiesUpdateInput,
|
1132
|
+
EmailIntegrationPropertiesInput,
|
1107
1133
|
EmailMetadataInput,
|
1108
1134
|
EmailPreparationPropertiesInput,
|
1109
1135
|
EmbeddingsStrategyInput,
|
@@ -1228,6 +1254,7 @@ from .input_types import (
|
|
1228
1254
|
MistralDocumentPreparationPropertiesInput,
|
1229
1255
|
MistralModelPropertiesInput,
|
1230
1256
|
MistralModelPropertiesUpdateInput,
|
1257
|
+
ModelContentClassificationPropertiesInput,
|
1231
1258
|
ModelDocumentPreparationPropertiesInput,
|
1232
1259
|
ModelFilter,
|
1233
1260
|
ModelImageExtractionPropertiesInput,
|
@@ -1272,10 +1299,13 @@ from .input_types import (
|
|
1272
1299
|
ProjectInput,
|
1273
1300
|
ProjectQuotaInput,
|
1274
1301
|
ProjectUpdateInput,
|
1302
|
+
PromptClassificationRuleInput,
|
1275
1303
|
PromptStrategyInput,
|
1276
1304
|
PromptStrategyUpdateInput,
|
1277
1305
|
RedditFeedPropertiesInput,
|
1278
1306
|
RedditFeedPropertiesUpdateInput,
|
1307
|
+
RegexClassificationRuleInput,
|
1308
|
+
RegexContentClassificationPropertiesInput,
|
1279
1309
|
ReplicateModelPropertiesInput,
|
1280
1310
|
ReplicateModelPropertiesUpdateInput,
|
1281
1311
|
RepoFacetInput,
|
@@ -1592,6 +1622,7 @@ from .operations import (
|
|
1592
1622
|
REVISE_TEXT_GQL,
|
1593
1623
|
SCREENSHOT_PAGE_GQL,
|
1594
1624
|
SEARCH_WEB_GQL,
|
1625
|
+
SEND_NOTIFICATION_GQL,
|
1595
1626
|
SUGGEST_CONVERSATION_GQL,
|
1596
1627
|
SUMMARIZE_CONTENTS_GQL,
|
1597
1628
|
SUMMARIZE_TEXT_GQL,
|
@@ -1737,6 +1768,7 @@ from .query_alerts import (
|
|
1737
1768
|
QueryAlertsAlertsResultsFilterUsers,
|
1738
1769
|
QueryAlertsAlertsResultsFilterWorkflows,
|
1739
1770
|
QueryAlertsAlertsResultsIntegration,
|
1771
|
+
QueryAlertsAlertsResultsIntegrationEmail,
|
1740
1772
|
QueryAlertsAlertsResultsIntegrationSlack,
|
1741
1773
|
QueryAlertsAlertsResultsOwner,
|
1742
1774
|
QueryAlertsAlertsResultsPublishing,
|
@@ -2109,6 +2141,7 @@ from .query_users import (
|
|
2109
2141
|
QueryUsersUsersResultsConnectorsAuthenticationGoogle,
|
2110
2142
|
QueryUsersUsersResultsConnectorsAuthenticationMicrosoft,
|
2111
2143
|
QueryUsersUsersResultsConnectorsIntegration,
|
2144
|
+
QueryUsersUsersResultsConnectorsIntegrationEmail,
|
2112
2145
|
QueryUsersUsersResultsConnectorsIntegrationSlack,
|
2113
2146
|
QueryUsersUsersResultsOwner,
|
2114
2147
|
)
|
@@ -2118,7 +2151,16 @@ from .query_workflows import (
|
|
2118
2151
|
QueryWorkflowsWorkflowsResults,
|
2119
2152
|
QueryWorkflowsWorkflowsResultsActions,
|
2120
2153
|
QueryWorkflowsWorkflowsResultsActionsConnector,
|
2154
|
+
QueryWorkflowsWorkflowsResultsActionsConnectorEmail,
|
2121
2155
|
QueryWorkflowsWorkflowsResultsActionsConnectorSlack,
|
2156
|
+
QueryWorkflowsWorkflowsResultsClassification,
|
2157
|
+
QueryWorkflowsWorkflowsResultsClassificationJobs,
|
2158
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnector,
|
2159
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModel,
|
2160
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelRules,
|
2161
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelSpecification,
|
2162
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegex,
|
2163
|
+
QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegexRules,
|
2122
2164
|
QueryWorkflowsWorkflowsResultsEnrichment,
|
2123
2165
|
QueryWorkflowsWorkflowsResultsEnrichmentJobs,
|
2124
2166
|
QueryWorkflowsWorkflowsResultsEnrichmentJobsConnector,
|
@@ -2233,6 +2275,7 @@ from .screenshot_page import (
|
|
2233
2275
|
ScreenshotPageScreenshotPageObservationsRelated,
|
2234
2276
|
)
|
2235
2277
|
from .search_web import SearchWeb, SearchWebSearchWeb, SearchWebSearchWebResults
|
2278
|
+
from .send_notification import SendNotification, SendNotificationSendNotification
|
2236
2279
|
from .suggest_conversation import (
|
2237
2280
|
SuggestConversation,
|
2238
2281
|
SuggestConversationSuggestConversation,
|
@@ -2330,7 +2373,16 @@ from .update_workflow import (
|
|
2330
2373
|
UpdateWorkflowUpdateWorkflow,
|
2331
2374
|
UpdateWorkflowUpdateWorkflowActions,
|
2332
2375
|
UpdateWorkflowUpdateWorkflowActionsConnector,
|
2376
|
+
UpdateWorkflowUpdateWorkflowActionsConnectorEmail,
|
2333
2377
|
UpdateWorkflowUpdateWorkflowActionsConnectorSlack,
|
2378
|
+
UpdateWorkflowUpdateWorkflowClassification,
|
2379
|
+
UpdateWorkflowUpdateWorkflowClassificationJobs,
|
2380
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnector,
|
2381
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModel,
|
2382
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModelRules,
|
2383
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModelSpecification,
|
2384
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnectorRegex,
|
2385
|
+
UpdateWorkflowUpdateWorkflowClassificationJobsConnectorRegexRules,
|
2334
2386
|
UpdateWorkflowUpdateWorkflowEnrichment,
|
2335
2387
|
UpdateWorkflowUpdateWorkflowEnrichmentJobs,
|
2336
2388
|
UpdateWorkflowUpdateWorkflowEnrichmentJobsConnector,
|
@@ -2496,6 +2548,8 @@ __all__ = [
|
|
2496
2548
|
"CerebrasModelPropertiesInput",
|
2497
2549
|
"CerebrasModelPropertiesUpdateInput",
|
2498
2550
|
"CerebrasModels",
|
2551
|
+
"ClassificationWorkflowJobInput",
|
2552
|
+
"ClassificationWorkflowStageInput",
|
2499
2553
|
"ClearConversation",
|
2500
2554
|
"ClearConversationClearConversation",
|
2501
2555
|
"Client",
|
@@ -2539,6 +2593,8 @@ __all__ = [
|
|
2539
2593
|
"ConnectorInput",
|
2540
2594
|
"ConnectorTypes",
|
2541
2595
|
"ConnectorUpdateInput",
|
2596
|
+
"ContentClassificationConnectorInput",
|
2597
|
+
"ContentClassificationServiceTypes",
|
2542
2598
|
"ContentCriteriaInput",
|
2543
2599
|
"ContentCriteriaLevelInput",
|
2544
2600
|
"ContentFacetInput",
|
@@ -2708,7 +2764,16 @@ __all__ = [
|
|
2708
2764
|
"CreateWorkflowCreateWorkflow",
|
2709
2765
|
"CreateWorkflowCreateWorkflowActions",
|
2710
2766
|
"CreateWorkflowCreateWorkflowActionsConnector",
|
2767
|
+
"CreateWorkflowCreateWorkflowActionsConnectorEmail",
|
2711
2768
|
"CreateWorkflowCreateWorkflowActionsConnectorSlack",
|
2769
|
+
"CreateWorkflowCreateWorkflowClassification",
|
2770
|
+
"CreateWorkflowCreateWorkflowClassificationJobs",
|
2771
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnector",
|
2772
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorModel",
|
2773
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorModelRules",
|
2774
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorModelSpecification",
|
2775
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorRegex",
|
2776
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorRegexRules",
|
2712
2777
|
"CreateWorkflowCreateWorkflowEnrichment",
|
2713
2778
|
"CreateWorkflowCreateWorkflowEnrichmentJobs",
|
2714
2779
|
"CreateWorkflowCreateWorkflowEnrichmentJobsConnector",
|
@@ -3050,6 +3115,7 @@ __all__ = [
|
|
3050
3115
|
"ElevenLabsPublishingPropertiesInput",
|
3051
3116
|
"EmailFeedPropertiesInput",
|
3052
3117
|
"EmailFeedPropertiesUpdateInput",
|
3118
|
+
"EmailIntegrationPropertiesInput",
|
3053
3119
|
"EmailListingTypes",
|
3054
3120
|
"EmailMetadataInput",
|
3055
3121
|
"EmailPreparationPropertiesInput",
|
@@ -3185,6 +3251,7 @@ __all__ = [
|
|
3185
3251
|
"GetAlertAlertFilterUsers",
|
3186
3252
|
"GetAlertAlertFilterWorkflows",
|
3187
3253
|
"GetAlertAlertIntegration",
|
3254
|
+
"GetAlertAlertIntegrationEmail",
|
3188
3255
|
"GetAlertAlertIntegrationSlack",
|
3189
3256
|
"GetAlertAlertOwner",
|
3190
3257
|
"GetAlertAlertPublishSpecification",
|
@@ -3411,13 +3478,23 @@ __all__ = [
|
|
3411
3478
|
"GetUserUserConnectorsAuthenticationGoogle",
|
3412
3479
|
"GetUserUserConnectorsAuthenticationMicrosoft",
|
3413
3480
|
"GetUserUserConnectorsIntegration",
|
3481
|
+
"GetUserUserConnectorsIntegrationEmail",
|
3414
3482
|
"GetUserUserConnectorsIntegrationSlack",
|
3415
3483
|
"GetUserUserOwner",
|
3416
3484
|
"GetWorkflow",
|
3417
3485
|
"GetWorkflowWorkflow",
|
3418
3486
|
"GetWorkflowWorkflowActions",
|
3419
3487
|
"GetWorkflowWorkflowActionsConnector",
|
3488
|
+
"GetWorkflowWorkflowActionsConnectorEmail",
|
3420
3489
|
"GetWorkflowWorkflowActionsConnectorSlack",
|
3490
|
+
"GetWorkflowWorkflowClassification",
|
3491
|
+
"GetWorkflowWorkflowClassificationJobs",
|
3492
|
+
"GetWorkflowWorkflowClassificationJobsConnector",
|
3493
|
+
"GetWorkflowWorkflowClassificationJobsConnectorModel",
|
3494
|
+
"GetWorkflowWorkflowClassificationJobsConnectorModelRules",
|
3495
|
+
"GetWorkflowWorkflowClassificationJobsConnectorModelSpecification",
|
3496
|
+
"GetWorkflowWorkflowClassificationJobsConnectorRegex",
|
3497
|
+
"GetWorkflowWorkflowClassificationJobsConnectorRegexRules",
|
3421
3498
|
"GetWorkflowWorkflowEnrichment",
|
3422
3499
|
"GetWorkflowWorkflowEnrichmentJobs",
|
3423
3500
|
"GetWorkflowWorkflowEnrichmentJobsConnector",
|
@@ -3649,6 +3726,7 @@ __all__ = [
|
|
3649
3726
|
"MistralModelPropertiesInput",
|
3650
3727
|
"MistralModelPropertiesUpdateInput",
|
3651
3728
|
"MistralModels",
|
3729
|
+
"ModelContentClassificationPropertiesInput",
|
3652
3730
|
"ModelDocumentPreparationPropertiesInput",
|
3653
3731
|
"ModelFilter",
|
3654
3732
|
"ModelImageExtractionPropertiesInput",
|
@@ -3717,6 +3795,7 @@ __all__ = [
|
|
3717
3795
|
"ProjectQuotaInput",
|
3718
3796
|
"ProjectUpdateInput",
|
3719
3797
|
"Prompt",
|
3798
|
+
"PromptClassificationRuleInput",
|
3720
3799
|
"PromptConversation",
|
3721
3800
|
"PromptConversationPromptConversation",
|
3722
3801
|
"PromptConversationPromptConversationConversation",
|
@@ -3857,6 +3936,7 @@ __all__ = [
|
|
3857
3936
|
"QueryAlertsAlertsResultsFilterUsers",
|
3858
3937
|
"QueryAlertsAlertsResultsFilterWorkflows",
|
3859
3938
|
"QueryAlertsAlertsResultsIntegration",
|
3939
|
+
"QueryAlertsAlertsResultsIntegrationEmail",
|
3860
3940
|
"QueryAlertsAlertsResultsIntegrationSlack",
|
3861
3941
|
"QueryAlertsAlertsResultsOwner",
|
3862
3942
|
"QueryAlertsAlertsResultsPublishSpecification",
|
@@ -4170,6 +4250,7 @@ __all__ = [
|
|
4170
4250
|
"QueryUsersUsersResultsConnectorsAuthenticationGoogle",
|
4171
4251
|
"QueryUsersUsersResultsConnectorsAuthenticationMicrosoft",
|
4172
4252
|
"QueryUsersUsersResultsConnectorsIntegration",
|
4253
|
+
"QueryUsersUsersResultsConnectorsIntegrationEmail",
|
4173
4254
|
"QueryUsersUsersResultsConnectorsIntegrationSlack",
|
4174
4255
|
"QueryUsersUsersResultsOwner",
|
4175
4256
|
"QueryWorkflows",
|
@@ -4177,7 +4258,16 @@ __all__ = [
|
|
4177
4258
|
"QueryWorkflowsWorkflowsResults",
|
4178
4259
|
"QueryWorkflowsWorkflowsResultsActions",
|
4179
4260
|
"QueryWorkflowsWorkflowsResultsActionsConnector",
|
4261
|
+
"QueryWorkflowsWorkflowsResultsActionsConnectorEmail",
|
4180
4262
|
"QueryWorkflowsWorkflowsResultsActionsConnectorSlack",
|
4263
|
+
"QueryWorkflowsWorkflowsResultsClassification",
|
4264
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobs",
|
4265
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnector",
|
4266
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModel",
|
4267
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelRules",
|
4268
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorModelSpecification",
|
4269
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegex",
|
4270
|
+
"QueryWorkflowsWorkflowsResultsClassificationJobsConnectorRegexRules",
|
4181
4271
|
"QueryWorkflowsWorkflowsResultsEnrichment",
|
4182
4272
|
"QueryWorkflowsWorkflowsResultsEnrichmentJobs",
|
4183
4273
|
"QueryWorkflowsWorkflowsResultsEnrichmentJobsConnector",
|
@@ -4227,6 +4317,9 @@ __all__ = [
|
|
4227
4317
|
"RSSFeedPropertiesUpdateInput",
|
4228
4318
|
"RedditFeedPropertiesInput",
|
4229
4319
|
"RedditFeedPropertiesUpdateInput",
|
4320
|
+
"RegexClassificationRuleInput",
|
4321
|
+
"RegexContentClassificationPropertiesInput",
|
4322
|
+
"RegexSourceTypes",
|
4230
4323
|
"RemoveContentsFromCollection",
|
4231
4324
|
"RemoveContentsFromCollectionRemoveContentsFromCollection",
|
4232
4325
|
"RemoveContentsFromCollectionRemoveContentsFromCollectionContents",
|
@@ -4299,6 +4392,7 @@ __all__ = [
|
|
4299
4392
|
"RevisionStrategyUpdateInput",
|
4300
4393
|
"SCREENSHOT_PAGE_GQL",
|
4301
4394
|
"SEARCH_WEB_GQL",
|
4395
|
+
"SEND_NOTIFICATION_GQL",
|
4302
4396
|
"SUGGEST_CONVERSATION_GQL",
|
4303
4397
|
"SUMMARIZE_CONTENTS_GQL",
|
4304
4398
|
"SUMMARIZE_TEXT_GQL",
|
@@ -4319,6 +4413,8 @@ __all__ = [
|
|
4319
4413
|
"SearchWeb",
|
4320
4414
|
"SearchWebSearchWeb",
|
4321
4415
|
"SearchWebSearchWebResults",
|
4416
|
+
"SendNotification",
|
4417
|
+
"SendNotificationSendNotification",
|
4322
4418
|
"ShapeMetadataInput",
|
4323
4419
|
"SharePointAuthenticationTypes",
|
4324
4420
|
"SharePointFeedPropertiesInput",
|
@@ -4466,7 +4562,16 @@ __all__ = [
|
|
4466
4562
|
"UpdateWorkflowUpdateWorkflow",
|
4467
4563
|
"UpdateWorkflowUpdateWorkflowActions",
|
4468
4564
|
"UpdateWorkflowUpdateWorkflowActionsConnector",
|
4565
|
+
"UpdateWorkflowUpdateWorkflowActionsConnectorEmail",
|
4469
4566
|
"UpdateWorkflowUpdateWorkflowActionsConnectorSlack",
|
4567
|
+
"UpdateWorkflowUpdateWorkflowClassification",
|
4568
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobs",
|
4569
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnector",
|
4570
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModel",
|
4571
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModelRules",
|
4572
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnectorModelSpecification",
|
4573
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnectorRegex",
|
4574
|
+
"UpdateWorkflowUpdateWorkflowClassificationJobsConnectorRegexRules",
|
4470
4575
|
"UpdateWorkflowUpdateWorkflowEnrichment",
|
4471
4576
|
"UpdateWorkflowUpdateWorkflowEnrichmentJobs",
|
4472
4577
|
"UpdateWorkflowUpdateWorkflowEnrichmentJobsConnector",
|
graphlit_api/client.py
CHANGED
@@ -224,6 +224,7 @@ from .input_types import (
|
|
224
224
|
FeedFilter,
|
225
225
|
FeedInput,
|
226
226
|
FeedUpdateInput,
|
227
|
+
IntegrationConnectorInput,
|
227
228
|
LabelFilter,
|
228
229
|
LabelInput,
|
229
230
|
LabelUpdateInput,
|
@@ -561,6 +562,7 @@ from .operations import (
|
|
561
562
|
REVISE_TEXT_GQL,
|
562
563
|
SCREENSHOT_PAGE_GQL,
|
563
564
|
SEARCH_WEB_GQL,
|
565
|
+
SEND_NOTIFICATION_GQL,
|
564
566
|
SUGGEST_CONVERSATION_GQL,
|
565
567
|
SUMMARIZE_CONTENTS_GQL,
|
566
568
|
SUMMARIZE_TEXT_GQL,
|
@@ -649,6 +651,7 @@ from .revise_image import ReviseImage
|
|
649
651
|
from .revise_text import ReviseText
|
650
652
|
from .screenshot_page import ScreenshotPage
|
651
653
|
from .search_web import SearchWeb
|
654
|
+
from .send_notification import SendNotification
|
652
655
|
from .suggest_conversation import SuggestConversation
|
653
656
|
from .summarize_contents import SummarizeContents
|
654
657
|
from .summarize_text import SummarizeText
|
@@ -4125,6 +4128,27 @@ class Client(AsyncBaseClient):
|
|
4125
4128
|
data = self.get_data(response)
|
4126
4129
|
return UpdateMedicalTherapy.model_validate(data)
|
4127
4130
|
|
4131
|
+
async def send_notification(
|
4132
|
+
self,
|
4133
|
+
connector: IntegrationConnectorInput,
|
4134
|
+
text: str,
|
4135
|
+
text_type: Union[Optional[TextTypes], UnsetType] = UNSET,
|
4136
|
+
**kwargs: Any
|
4137
|
+
) -> SendNotification:
|
4138
|
+
variables: Dict[str, object] = {
|
4139
|
+
"connector": connector,
|
4140
|
+
"text": text,
|
4141
|
+
"textType": text_type,
|
4142
|
+
}
|
4143
|
+
response = await self.execute(
|
4144
|
+
query=SEND_NOTIFICATION_GQL,
|
4145
|
+
operation_name="SendNotification",
|
4146
|
+
variables=variables,
|
4147
|
+
**kwargs
|
4148
|
+
)
|
4149
|
+
data = self.get_data(response)
|
4150
|
+
return SendNotification.model_validate(data)
|
4151
|
+
|
4128
4152
|
async def create_observation(
|
4129
4153
|
self, observation: ObservationInput, **kwargs: Any
|
4130
4154
|
) -> CreateObservation:
|
graphlit_api/create_workflow.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
|
)
|
@@ -40,6 +42,7 @@ class CreateWorkflowCreateWorkflow(BaseModel):
|
|
40
42
|
indexing: Optional["CreateWorkflowCreateWorkflowIndexing"]
|
41
43
|
preparation: Optional["CreateWorkflowCreateWorkflowPreparation"]
|
42
44
|
extraction: Optional["CreateWorkflowCreateWorkflowExtraction"]
|
45
|
+
classification: Optional["CreateWorkflowCreateWorkflowClassification"]
|
43
46
|
enrichment: Optional["CreateWorkflowCreateWorkflowEnrichment"]
|
44
47
|
storage: Optional["CreateWorkflowCreateWorkflowStorage"]
|
45
48
|
actions: Optional[List[Optional["CreateWorkflowCreateWorkflowActions"]]]
|
@@ -245,6 +248,63 @@ class CreateWorkflowCreateWorkflowExtractionJobsConnectorModelTextSpecification(
|
|
245
248
|
id: str
|
246
249
|
|
247
250
|
|
251
|
+
class CreateWorkflowCreateWorkflowClassification(BaseModel):
|
252
|
+
jobs: Optional[List[Optional["CreateWorkflowCreateWorkflowClassificationJobs"]]]
|
253
|
+
|
254
|
+
|
255
|
+
class CreateWorkflowCreateWorkflowClassificationJobs(BaseModel):
|
256
|
+
connector: Optional["CreateWorkflowCreateWorkflowClassificationJobsConnector"]
|
257
|
+
|
258
|
+
|
259
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnector(BaseModel):
|
260
|
+
type: ContentClassificationServiceTypes
|
261
|
+
content_type: Optional[ContentTypes] = Field(alias="contentType")
|
262
|
+
file_type: Optional[FileTypes] = Field(alias="fileType")
|
263
|
+
model: Optional["CreateWorkflowCreateWorkflowClassificationJobsConnectorModel"]
|
264
|
+
regex: Optional["CreateWorkflowCreateWorkflowClassificationJobsConnectorRegex"]
|
265
|
+
|
266
|
+
|
267
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnectorModel(BaseModel):
|
268
|
+
specification: Optional[
|
269
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorModelSpecification"
|
270
|
+
]
|
271
|
+
rules: Optional[
|
272
|
+
List[
|
273
|
+
Optional[
|
274
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorModelRules"
|
275
|
+
]
|
276
|
+
]
|
277
|
+
]
|
278
|
+
|
279
|
+
|
280
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnectorModelSpecification(
|
281
|
+
BaseModel
|
282
|
+
):
|
283
|
+
id: str
|
284
|
+
|
285
|
+
|
286
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnectorModelRules(BaseModel):
|
287
|
+
then: Optional[str]
|
288
|
+
if_: Optional[str] = Field(alias="if")
|
289
|
+
|
290
|
+
|
291
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnectorRegex(BaseModel):
|
292
|
+
rules: Optional[
|
293
|
+
List[
|
294
|
+
Optional[
|
295
|
+
"CreateWorkflowCreateWorkflowClassificationJobsConnectorRegexRules"
|
296
|
+
]
|
297
|
+
]
|
298
|
+
]
|
299
|
+
|
300
|
+
|
301
|
+
class CreateWorkflowCreateWorkflowClassificationJobsConnectorRegexRules(BaseModel):
|
302
|
+
then: Optional[str]
|
303
|
+
type: Optional[RegexSourceTypes]
|
304
|
+
path: Optional[str]
|
305
|
+
matches: Optional[str]
|
306
|
+
|
307
|
+
|
248
308
|
class CreateWorkflowCreateWorkflowEnrichment(BaseModel):
|
249
309
|
link: Optional["CreateWorkflowCreateWorkflowEnrichmentLink"]
|
250
310
|
jobs: Optional[List[Optional["CreateWorkflowCreateWorkflowEnrichmentJobs"]]]
|
@@ -302,6 +362,7 @@ class CreateWorkflowCreateWorkflowActionsConnector(BaseModel):
|
|
302
362
|
type: IntegrationServiceTypes
|
303
363
|
uri: Optional[str]
|
304
364
|
slack: Optional["CreateWorkflowCreateWorkflowActionsConnectorSlack"]
|
365
|
+
email: Optional["CreateWorkflowCreateWorkflowActionsConnectorEmail"]
|
305
366
|
|
306
367
|
|
307
368
|
class CreateWorkflowCreateWorkflowActionsConnectorSlack(BaseModel):
|
@@ -309,6 +370,12 @@ class CreateWorkflowCreateWorkflowActionsConnectorSlack(BaseModel):
|
|
309
370
|
channel: str
|
310
371
|
|
311
372
|
|
373
|
+
class CreateWorkflowCreateWorkflowActionsConnectorEmail(BaseModel):
|
374
|
+
from_: str = Field(alias="from")
|
375
|
+
subject: str
|
376
|
+
to: List[str]
|
377
|
+
|
378
|
+
|
312
379
|
CreateWorkflow.model_rebuild()
|
313
380
|
CreateWorkflowCreateWorkflow.model_rebuild()
|
314
381
|
CreateWorkflowCreateWorkflowIngestion.model_rebuild()
|
@@ -325,6 +392,11 @@ CreateWorkflowCreateWorkflowExtractionJobs.model_rebuild()
|
|
325
392
|
CreateWorkflowCreateWorkflowExtractionJobsConnector.model_rebuild()
|
326
393
|
CreateWorkflowCreateWorkflowExtractionJobsConnectorModelImage.model_rebuild()
|
327
394
|
CreateWorkflowCreateWorkflowExtractionJobsConnectorModelText.model_rebuild()
|
395
|
+
CreateWorkflowCreateWorkflowClassification.model_rebuild()
|
396
|
+
CreateWorkflowCreateWorkflowClassificationJobs.model_rebuild()
|
397
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnector.model_rebuild()
|
398
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorModel.model_rebuild()
|
399
|
+
CreateWorkflowCreateWorkflowClassificationJobsConnectorRegex.model_rebuild()
|
328
400
|
CreateWorkflowCreateWorkflowEnrichment.model_rebuild()
|
329
401
|
CreateWorkflowCreateWorkflowEnrichmentJobs.model_rebuild()
|
330
402
|
CreateWorkflowCreateWorkflowEnrichmentJobsConnector.model_rebuild()
|
graphlit_api/enums.py
CHANGED
@@ -84,6 +84,7 @@ class EntityState(str, Enum):
|
|
84
84
|
SANITIZED = "SANITIZED"
|
85
85
|
EXTRACTED = "EXTRACTED"
|
86
86
|
ENRICHED = "ENRICHED"
|
87
|
+
CLASSIFIED = "CLASSIFIED"
|
87
88
|
CHANGED = "CHANGED"
|
88
89
|
ARCHIVED = "ARCHIVED"
|
89
90
|
APPROVED = "APPROVED"
|
@@ -261,6 +262,7 @@ class SearchQueryTypes(str, Enum):
|
|
261
262
|
class IntegrationServiceTypes(str, Enum):
|
262
263
|
SLACK = "SLACK"
|
263
264
|
WEB_HOOK = "WEB_HOOK"
|
265
|
+
EMAIL = "EMAIL"
|
264
266
|
|
265
267
|
|
266
268
|
class LinkTypes(str, Enum):
|
@@ -341,6 +343,7 @@ class SpecificationTypes(str, Enum):
|
|
341
343
|
TEXT_EMBEDDING = "TEXT_EMBEDDING"
|
342
344
|
IMAGE_EMBEDDING = "IMAGE_EMBEDDING"
|
343
345
|
EXTRACTION = "EXTRACTION"
|
346
|
+
CLASSIFICATION = "CLASSIFICATION"
|
344
347
|
PREPARATION = "PREPARATION"
|
345
348
|
|
346
349
|
|
@@ -498,6 +501,8 @@ class ElevenLabsModels(str, Enum):
|
|
498
501
|
MULTILINGUAL_V1 = "MULTILINGUAL_V1"
|
499
502
|
MULTILINGUAL_V2 = "MULTILINGUAL_V2"
|
500
503
|
ENGLISH_V1 = "ENGLISH_V1"
|
504
|
+
FLASH_V2 = "FLASH_V2"
|
505
|
+
FLASH_V2_5 = "FLASH_V2_5"
|
501
506
|
TURBO_V2 = "TURBO_V2"
|
502
507
|
TURBO_V2_5 = "TURBO_V2_5"
|
503
508
|
|
@@ -773,6 +778,11 @@ class FilePreparationServiceTypes(str, Enum):
|
|
773
778
|
MISTRAL_DOCUMENT = "MISTRAL_DOCUMENT"
|
774
779
|
|
775
780
|
|
781
|
+
class RegexSourceTypes(str, Enum):
|
782
|
+
MARKDOWN = "MARKDOWN"
|
783
|
+
METADATA = "METADATA"
|
784
|
+
|
785
|
+
|
776
786
|
class FacetValueTypes(str, Enum):
|
777
787
|
VALUE = "VALUE"
|
778
788
|
RANGE = "RANGE"
|
@@ -800,6 +810,8 @@ class CohereModels(str, Enum):
|
|
800
810
|
COMMAND_R_PLUS_202404 = "COMMAND_R_PLUS_202404"
|
801
811
|
COMMAND_R_PLUS_202408 = "COMMAND_R_PLUS_202408"
|
802
812
|
COMMAND_R7_B_202412 = "COMMAND_R7_B_202412"
|
813
|
+
COMMAND_A = "COMMAND_A"
|
814
|
+
COMMAND_A_202503 = "COMMAND_A_202503"
|
803
815
|
CUSTOM = "CUSTOM"
|
804
816
|
|
805
817
|
|
@@ -1030,6 +1042,11 @@ class OrderByTypes(str, Enum):
|
|
1030
1042
|
RELEVANCE = "RELEVANCE"
|
1031
1043
|
|
1032
1044
|
|
1045
|
+
class ContentClassificationServiceTypes(str, Enum):
|
1046
|
+
REGEX = "REGEX"
|
1047
|
+
MODEL = "MODEL"
|
1048
|
+
|
1049
|
+
|
1033
1050
|
class AuthenticationServiceTypes(str, Enum):
|
1034
1051
|
AUTH0 = "AUTH0"
|
1035
1052
|
MICROSOFT_GRAPH = "MICROSOFT_GRAPH"
|
graphlit_api/get_alert.py
CHANGED
@@ -180,6 +180,7 @@ class GetAlertAlertIntegration(BaseModel):
|
|
180
180
|
type: IntegrationServiceTypes
|
181
181
|
uri: Optional[str]
|
182
182
|
slack: Optional["GetAlertAlertIntegrationSlack"]
|
183
|
+
email: Optional["GetAlertAlertIntegrationEmail"]
|
183
184
|
|
184
185
|
|
185
186
|
class GetAlertAlertIntegrationSlack(BaseModel):
|
@@ -187,6 +188,12 @@ class GetAlertAlertIntegrationSlack(BaseModel):
|
|
187
188
|
channel: str
|
188
189
|
|
189
190
|
|
191
|
+
class GetAlertAlertIntegrationEmail(BaseModel):
|
192
|
+
from_: str = Field(alias="from")
|
193
|
+
subject: str
|
194
|
+
to: List[str]
|
195
|
+
|
196
|
+
|
190
197
|
class GetAlertAlertPublishing(BaseModel):
|
191
198
|
type: ContentPublishingServiceTypes
|
192
199
|
eleven_labs: Optional["GetAlertAlertPublishingElevenLabs"] = Field(
|
graphlit_api/get_user.py
CHANGED
@@ -65,6 +65,7 @@ class GetUserUserConnectorsIntegration(BaseModel):
|
|
65
65
|
type: IntegrationServiceTypes
|
66
66
|
uri: Optional[str]
|
67
67
|
slack: Optional["GetUserUserConnectorsIntegrationSlack"]
|
68
|
+
email: Optional["GetUserUserConnectorsIntegrationEmail"]
|
68
69
|
|
69
70
|
|
70
71
|
class GetUserUserConnectorsIntegrationSlack(BaseModel):
|
@@ -72,6 +73,12 @@ class GetUserUserConnectorsIntegrationSlack(BaseModel):
|
|
72
73
|
channel: str
|
73
74
|
|
74
75
|
|
76
|
+
class GetUserUserConnectorsIntegrationEmail(BaseModel):
|
77
|
+
from_: str = Field(alias="from")
|
78
|
+
subject: str
|
79
|
+
to: List[str]
|
80
|
+
|
81
|
+
|
75
82
|
GetUser.model_rebuild()
|
76
83
|
GetUserUser.model_rebuild()
|
77
84
|
GetUserUserConnectors.model_rebuild()
|