Skip to content

Commit 441ba20

Browse files
committed
Updated to latest API release.
1 parent f9a4a21 commit 441ba20

File tree

8 files changed

+69
-0
lines changed

8 files changed

+69
-0
lines changed

documents/agent/GetAgent.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ query GetAgent($id: ID!, $correlationId: String) {
113113
cron
114114
timeZoneId
115115
}
116+
channels {
117+
type
118+
identifier
119+
instructions
120+
label
121+
}
116122
timeout
117123
scratchpad
118124
}

documents/agent/QueryAgents.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ query QueryAgents($filter: AgentFilter, $correlationId: String) {
115115
cron
116116
timeZoneId
117117
}
118+
channels {
119+
type
120+
identifier
121+
instructions
122+
label
123+
}
118124
timeout
119125
scratchpad
120126
}

graphlit_api/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@
664664
from .enrich_places import EnrichPlaces, EnrichPlacesEnrichPlaces
665665
from .enrich_products import EnrichProducts, EnrichProductsEnrichProducts
666666
from .enums import (
667+
AgentChannelTypes,
667668
AgentTypes,
668669
AlertTypes,
669670
AnthropicEffortLevels,
@@ -956,6 +957,7 @@
956957
from .get_agent import (
957958
GetAgent,
958959
GetAgentAgent,
960+
GetAgentAgentChannels,
959961
GetAgentAgentFilter,
960962
GetAgentAgentFilterAnd,
961963
GetAgentAgentFilterAndCollections,
@@ -1865,6 +1867,7 @@
18651867
from .input_types import (
18661868
AddressFilter,
18671869
AddressInput,
1870+
AgentChannelInput,
18681871
AgentFilter,
18691872
AgentInput,
18701873
AgentSchedulePolicyInput,
@@ -3043,6 +3046,7 @@
30433046
QueryAgents,
30443047
QueryAgentsAgents,
30453048
QueryAgentsAgentsResults,
3049+
QueryAgentsAgentsResultsChannels,
30463050
QueryAgentsAgentsResultsFilter,
30473051
QueryAgentsAgentsResultsFilterAnd,
30483052
QueryAgentsAgentsResultsFilterAndCollections,
@@ -5077,6 +5081,8 @@
50775081
"AddConversationsToCollectionsAddConversationsToCollectionsContents",
50785082
"AddressFilter",
50795083
"AddressInput",
5084+
"AgentChannelInput",
5085+
"AgentChannelTypes",
50805086
"AgentFilter",
50815087
"AgentInput",
50825088
"AgentSchedulePolicyInput",
@@ -6256,6 +6262,7 @@
62566262
"GeometryMetadataInput",
62576263
"GetAgent",
62586264
"GetAgentAgent",
6265+
"GetAgentAgentChannels",
62596266
"GetAgentAgentFilter",
62606267
"GetAgentAgentFilterAnd",
62616268
"GetAgentAgentFilterAndCollections",
@@ -7726,6 +7733,7 @@
77267733
"QueryAgents",
77277734
"QueryAgentsAgents",
77287735
"QueryAgentsAgentsResults",
7736+
"QueryAgentsAgentsResultsChannels",
77297737
"QueryAgentsAgentsResultsFilter",
77307738
"QueryAgentsAgentsResultsFilterAnd",
77317739
"QueryAgentsAgentsResultsFilterAndCollections",

graphlit_api/enums.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,14 @@ class ModelServiceTypes(str, Enum):
15841584
QUIVER = "QUIVER"
15851585

15861586

1587+
class AgentChannelTypes(str, Enum):
1588+
VOICE = "VOICE"
1589+
EMAIL = "EMAIL"
1590+
SLACK = "SLACK"
1591+
TEAMS = "TEAMS"
1592+
DISCORD = "DISCORD"
1593+
1594+
15871595
class AgentTypes(str, Enum):
15881596
AGENT = "AGENT"
15891597

@@ -1822,6 +1830,7 @@ class GoogleModels(str, Enum):
18221830
GEMINI_1_5_PRO_002 = "GEMINI_1_5_PRO_002"
18231831
EMBEDDING_004 = "EMBEDDING_004"
18241832
GEMINI_EMBEDDING_001 = "GEMINI_EMBEDDING_001"
1833+
GEMINI_EMBEDDING_2_PREVIEW = "GEMINI_EMBEDDING_2_PREVIEW"
18251834
CUSTOM = "CUSTOM"
18261835

18271836

graphlit_api/get_agent.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from .base_model import BaseModel
99
from .enums import (
10+
AgentChannelTypes,
1011
AgentTypes,
1112
ContentTypes,
1213
EntityState,
@@ -35,6 +36,7 @@ class GetAgentAgent(BaseModel):
3536
schedule_policy: Optional["GetAgentAgentSchedulePolicy"] = Field(
3637
alias="schedulePolicy"
3738
)
39+
channels: Optional[list["GetAgentAgentChannels"]]
3840
timeout: Optional[Any]
3941
scratchpad: Optional[str]
4042

@@ -207,6 +209,13 @@ class GetAgentAgentSchedulePolicy(BaseModel):
207209
time_zone_id: Optional[str] = Field(alias="timeZoneId")
208210

209211

212+
class GetAgentAgentChannels(BaseModel):
213+
type: AgentChannelTypes
214+
identifier: str
215+
instructions: Optional[str]
216+
label: Optional[str]
217+
218+
210219
GetAgent.model_rebuild()
211220
GetAgentAgent.model_rebuild()
212221
GetAgentAgentFilter.model_rebuild()

graphlit_api/input_types.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from .base_model import BaseModel
99
from .enums import (
10+
AgentChannelTypes,
1011
AgentTypes,
1112
AlertTypes,
1213
AnthropicEffortLevels,
@@ -2776,6 +2777,7 @@ class AgentInput(BaseModel):
27762777
)
27772778
timeout: Optional[Any] = None
27782779
scratchpad: Optional[str] = None
2780+
channels: Optional[list["AgentChannelInput"]] = None
27792781

27802782

27812783
class CrustdataPersonDiscoveryFilterInput(BaseModel):
@@ -6776,6 +6778,13 @@ class HubSpotTasksFeedPropertiesInput(BaseModel):
67766778
connector: Optional["EntityReferenceInput"] = None
67776779

67786780

6781+
class AgentChannelInput(BaseModel):
6782+
type: AgentChannelTypes
6783+
identifier: str
6784+
instructions: Optional[str] = None
6785+
label: Optional[str] = None
6786+
6787+
67796788
class MedicalStudyFacetInput(BaseModel):
67806789
time_interval: Optional[TimeIntervalTypes] = Field(
67816790
alias="timeInterval", default=None
@@ -6924,6 +6933,7 @@ class AgentUpdateInput(BaseModel):
69246933
)
69256934
timeout: Optional[Any] = None
69266935
scratchpad: Optional[str] = None
6936+
channels: Optional[list["AgentChannelInput"]] = None
69276937

69286938

69296939
class IssueFeedPropertiesInput(BaseModel):

graphlit_api/operations.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,12 @@
642642
cron
643643
timeZoneId
644644
}
645+
channels {
646+
type
647+
identifier
648+
instructions
649+
label
650+
}
645651
timeout
646652
scratchpad
647653
}
@@ -766,6 +772,12 @@
766772
cron
767773
timeZoneId
768774
}
775+
channels {
776+
type
777+
identifier
778+
instructions
779+
label
780+
}
769781
timeout
770782
scratchpad
771783
}

graphlit_api/query_agents.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from .base_model import BaseModel
99
from .enums import (
10+
AgentChannelTypes,
1011
AgentTypes,
1112
ContentTypes,
1213
EntityState,
@@ -40,6 +41,7 @@ class QueryAgentsAgentsResults(BaseModel):
4041
schedule_policy: Optional["QueryAgentsAgentsResultsSchedulePolicy"] = Field(
4142
alias="schedulePolicy"
4243
)
44+
channels: Optional[list["QueryAgentsAgentsResultsChannels"]]
4345
timeout: Optional[Any]
4446
scratchpad: Optional[str]
4547

@@ -214,6 +216,13 @@ class QueryAgentsAgentsResultsSchedulePolicy(BaseModel):
214216
time_zone_id: Optional[str] = Field(alias="timeZoneId")
215217

216218

219+
class QueryAgentsAgentsResultsChannels(BaseModel):
220+
type: AgentChannelTypes
221+
identifier: str
222+
instructions: Optional[str]
223+
label: Optional[str]
224+
225+
217226
QueryAgents.model_rebuild()
218227
QueryAgentsAgents.model_rebuild()
219228
QueryAgentsAgentsResults.model_rebuild()

0 commit comments

Comments
 (0)