modus-sdk 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modus/__init__.py +144 -0
- modus/_auth.py +111 -0
- modus/_chat.py +411 -0
- modus/_client.py +240 -0
- modus/_config.py +89 -0
- modus/_deprecation.py +29 -0
- modus/_exceptions.py +149 -0
- modus/_generated/__init__.py +341 -0
- modus/_generated/models.py +3182 -0
- modus/_generated/operations.py +891 -0
- modus/_http.py +471 -0
- modus/_openapi_invoke.py +137 -0
- modus/_pagination.py +175 -0
- modus/_query.py +38 -0
- modus/_retry.py +123 -0
- modus/_streaming.py +115 -0
- modus/_validation.py +61 -0
- modus/_version.py +24 -0
- modus/management/__init__.py +74 -0
- modus/management/_client.py +168 -0
- modus/management/resources/__init__.py +21 -0
- modus/management/resources/_access_config_write.py +31 -0
- modus/management/resources/context/__init__.py +0 -0
- modus/management/resources/context/_content_merge.py +128 -0
- modus/management/resources/context/context.py +362 -0
- modus/management/resources/context/custom_items.py +318 -0
- modus/management/resources/context/items.py +234 -0
- modus/management/resources/organization.py +52 -0
- modus/management/resources/scopes/__init__.py +0 -0
- modus/management/resources/scopes/_update_body.py +38 -0
- modus/management/resources/scopes/conversations.py +177 -0
- modus/management/resources/scopes/evaluations.py +142 -0
- modus/management/resources/scopes/memories.py +273 -0
- modus/management/resources/scopes/scopes.py +764 -0
- modus/management/resources/scopes/supervision.py +85 -0
- modus/management/resources/usage.py +92 -0
- modus/management/resources/users.py +56 -0
- modus/management/resources/workflows/__init__.py +0 -0
- modus/management/resources/workflows/_update_body.py +29 -0
- modus/management/resources/workflows/interfaces.py +136 -0
- modus/management/resources/workflows/workflows.py +647 -0
- modus/management/types/__init__.py +57 -0
- modus/management/types/_guardrails_access.py +33 -0
- modus/management/types/_serialize.py +52 -0
- modus/management/types/agent_selection.py +66 -0
- modus/management/types/agents.py +5 -0
- modus/management/types/context.py +25 -0
- modus/management/types/conversations.py +5 -0
- modus/management/types/evaluations.py +25 -0
- modus/management/types/json_blob.py +51 -0
- modus/management/types/memories.py +69 -0
- modus/management/types/ownership.py +9 -0
- modus/management/types/skills.py +5 -0
- modus/management/types/toolset.py +236 -0
- modus/management/types/triggers.py +284 -0
- modus/management/types/usage.py +13 -0
- modus/management/types/workflow.py +45 -0
- modus/py.typed +0 -0
- modus/resources/__init__.py +21 -0
- modus/resources/connections/__init__.py +3 -0
- modus/resources/connections/connections.py +189 -0
- modus/resources/context/__init__.py +3 -0
- modus/resources/context/context.py +48 -0
- modus/resources/context/items.py +410 -0
- modus/resources/modus/__init__.py +3 -0
- modus/resources/modus/conversations.py +144 -0
- modus/resources/modus/modus.py +138 -0
- modus/resources/scopes/__init__.py +3 -0
- modus/resources/scopes/conversations.py +213 -0
- modus/resources/scopes/scopes.py +431 -0
- modus/resources/suggestions/__init__.py +3 -0
- modus/resources/suggestions/suggestions.py +207 -0
- modus/resources/workflows/__init__.py +15 -0
- modus/resources/workflows/runs.py +833 -0
- modus/resources/workflows/workflow_actions.py +122 -0
- modus/resources/workflows/workflows.py +358 -0
- modus/types/__init__.py +80 -0
- modus/types/agent_runs.py +70 -0
- modus/types/agents.py +17 -0
- modus/types/chat.py +9 -0
- modus/types/compose.py +21 -0
- modus/types/connections.py +9 -0
- modus/types/context.py +28 -0
- modus/types/context_accessors.py +89 -0
- modus/types/context_compose.py +18 -0
- modus/types/context_values.py +21 -0
- modus/types/conversations.py +30 -0
- modus/types/json_blob.py +24 -0
- modus/types/pagination.py +142 -0
- modus/types/runs.py +71 -0
- modus/types/skills.py +16 -0
- modus/types/suggestions.py +16 -0
- modus/types/tool_calls.py +34 -0
- modus/types/views.py +6 -0
- modus_sdk-0.2.0.dist-info/METADATA +225 -0
- modus_sdk-0.2.0.dist-info/RECORD +98 -0
- modus_sdk-0.2.0.dist-info/WHEEL +4 -0
- modus_sdk-0.2.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
"""Auto-generated API models. Do not edit by hand."""
|
|
2
|
+
from .models import (
|
|
3
|
+
AccessConfigDto,
|
|
4
|
+
AccessPolicyDto,
|
|
5
|
+
ActiveConversationRunDto,
|
|
6
|
+
ActiveConversationRunStatus,
|
|
7
|
+
ActiveRunsBySessionDto,
|
|
8
|
+
ActiveRunsBySessionResponseDto,
|
|
9
|
+
ActiveRunsResponseDto,
|
|
10
|
+
AddAgentInterfaceDto,
|
|
11
|
+
AgentAccessConfigDto,
|
|
12
|
+
AgentDeployResponseDto,
|
|
13
|
+
AgentDto,
|
|
14
|
+
AgentGroupPermissionDto,
|
|
15
|
+
AgentInterfaceDto,
|
|
16
|
+
AgentInterfaceType,
|
|
17
|
+
AgentRunDto,
|
|
18
|
+
AgentSelectionDto,
|
|
19
|
+
AgentSelectionEntryDto,
|
|
20
|
+
AgentSharedUserDto,
|
|
21
|
+
AgentType,
|
|
22
|
+
AgentVariationDto,
|
|
23
|
+
ApiErrorCode,
|
|
24
|
+
ApiErrorStatus,
|
|
25
|
+
ApprovalDecision,
|
|
26
|
+
AttachmentsDto,
|
|
27
|
+
AutomationRunListItemDto,
|
|
28
|
+
AutomationRunSource,
|
|
29
|
+
BatchCreateCustomContextItemsDto,
|
|
30
|
+
BatchCreateCustomContextItemsResponseDto,
|
|
31
|
+
CancelRunDto,
|
|
32
|
+
ComposeSkillContextRequestDto,
|
|
33
|
+
ComposeSkillContextResponseDto,
|
|
34
|
+
ConnectionDto,
|
|
35
|
+
ContentProjectionDto,
|
|
36
|
+
ContextItemDto,
|
|
37
|
+
ContextItemKind,
|
|
38
|
+
ConversationDto,
|
|
39
|
+
ConversationListItemDto,
|
|
40
|
+
ConversationMessageDto,
|
|
41
|
+
ConversationMessageType,
|
|
42
|
+
ConversationMessageWindowDto,
|
|
43
|
+
CreateAgentDto,
|
|
44
|
+
CreateCustomContextItemDto,
|
|
45
|
+
CreateLinkDto,
|
|
46
|
+
CreateNoteDto,
|
|
47
|
+
CreateSavedQueryDto,
|
|
48
|
+
CreateSkillDto,
|
|
49
|
+
CreatedContextItemResponseDto,
|
|
50
|
+
CreatedCustomContextItemResponseDto,
|
|
51
|
+
CustomAttributeDto,
|
|
52
|
+
CustomContextItemKind,
|
|
53
|
+
Decision,
|
|
54
|
+
DeleteContextItemResponseDto,
|
|
55
|
+
DeployAgentDto,
|
|
56
|
+
DeployResponseDto,
|
|
57
|
+
DeploySkillDto,
|
|
58
|
+
DocumentAttachmentDto,
|
|
59
|
+
EditQueuedRunDto,
|
|
60
|
+
ErrorEnvelopeDto,
|
|
61
|
+
ErrorEnvelopeDto1,
|
|
62
|
+
ErrorResponseDto,
|
|
63
|
+
ErrorResponseDto1,
|
|
64
|
+
EvaluationCadenceDto,
|
|
65
|
+
EvaluationCadenceFrequency,
|
|
66
|
+
EvaluationChannelsDto,
|
|
67
|
+
EvaluationConfigDto,
|
|
68
|
+
EvaluationNotificationsDto,
|
|
69
|
+
EvaluationRecipientDto,
|
|
70
|
+
EvaluationResultDto,
|
|
71
|
+
EvaluationRunDto,
|
|
72
|
+
EvaluationRunStatus,
|
|
73
|
+
EvaluationRunTrigger,
|
|
74
|
+
EvaluationRunWithResultsDto,
|
|
75
|
+
EvaluationSlackChannelDto,
|
|
76
|
+
Frequency,
|
|
77
|
+
GetAutomationRunResponseDto,
|
|
78
|
+
GroupBy,
|
|
79
|
+
GroupPermissionDto,
|
|
80
|
+
ImageAttachmentDto,
|
|
81
|
+
InterruptRunDto,
|
|
82
|
+
ListAgentInterfacesResponseDto,
|
|
83
|
+
ListAgentsResponseDto,
|
|
84
|
+
ListAutomationRunsResponseDto,
|
|
85
|
+
ListConnectionsResponseDto,
|
|
86
|
+
ListContextItemValuesResponseDto,
|
|
87
|
+
ListContextItemsResponseDto,
|
|
88
|
+
ListConversationsResponseDto,
|
|
89
|
+
ListCustomContextItemsResponseDto,
|
|
90
|
+
ListEvaluationRunsResponseDto,
|
|
91
|
+
ListMemberGroupsResponseDto,
|
|
92
|
+
ListMemoriesResponseDto,
|
|
93
|
+
ListOrgMembersResponseDto,
|
|
94
|
+
ListSkillsResponseDto,
|
|
95
|
+
ListSuggestionQuestionsResponseDto,
|
|
96
|
+
ListUsageResponseDto,
|
|
97
|
+
LookupContextItemDto,
|
|
98
|
+
LookupContextItemResponseDto,
|
|
99
|
+
LookupContextItemRowDto,
|
|
100
|
+
ManageDenial,
|
|
101
|
+
MemberGroupDto,
|
|
102
|
+
MemoryDto,
|
|
103
|
+
Model,
|
|
104
|
+
ModelSettingsDto,
|
|
105
|
+
ModusChatRequestDto,
|
|
106
|
+
ModusChatResponseDto,
|
|
107
|
+
ModusContextRequestDto,
|
|
108
|
+
ModusContextResponseDto,
|
|
109
|
+
ModusRunDto,
|
|
110
|
+
OrgMemberDto,
|
|
111
|
+
PatchSkillMcpConfigDto,
|
|
112
|
+
PatchSkillMcpConfigResponseDto,
|
|
113
|
+
PendingOwnershipTransferDto,
|
|
114
|
+
ReasoningEffort,
|
|
115
|
+
RecordSuggestionEventDto,
|
|
116
|
+
ResourceLifecycleStatus,
|
|
117
|
+
ResumeRunDto,
|
|
118
|
+
Rollup,
|
|
119
|
+
RunConfigDto,
|
|
120
|
+
RunModelSettingsDto,
|
|
121
|
+
RunReasoningEffort,
|
|
122
|
+
RunSource,
|
|
123
|
+
Scope,
|
|
124
|
+
SearchMemoriesRequestDto,
|
|
125
|
+
SetSupervisionRequestDto,
|
|
126
|
+
SharedUserDto,
|
|
127
|
+
SharedUserPermission,
|
|
128
|
+
SkillChatRequestDto,
|
|
129
|
+
SkillChatResponseDto,
|
|
130
|
+
SkillDto,
|
|
131
|
+
SkillMcpInterfaceConfigDto,
|
|
132
|
+
SkillRunDto,
|
|
133
|
+
SkillVariationDto,
|
|
134
|
+
StatusReason,
|
|
135
|
+
StreamProtocolVersion,
|
|
136
|
+
SuggestionEventSource,
|
|
137
|
+
SuggestionEventType,
|
|
138
|
+
SuggestionQuestionDto,
|
|
139
|
+
SupervisionDto,
|
|
140
|
+
SupplementalContextDto,
|
|
141
|
+
SupplementalContextSource,
|
|
142
|
+
ToggleAgentDto,
|
|
143
|
+
ToolsetDto,
|
|
144
|
+
ToolsetToolDto,
|
|
145
|
+
TransferOwnershipDto,
|
|
146
|
+
TriggerDto,
|
|
147
|
+
TriggerEvaluationRunResponseDto,
|
|
148
|
+
TriggerScheduleDto,
|
|
149
|
+
TriggerType,
|
|
150
|
+
UpdateAgentDto,
|
|
151
|
+
UpdateAgentInterfaceDto,
|
|
152
|
+
UpdateContextItemDto,
|
|
153
|
+
UpdateCustomContextItemDto,
|
|
154
|
+
UpdateEvaluationConfigDto,
|
|
155
|
+
UpdateMemoryRequestDto,
|
|
156
|
+
UpdateSkillDto,
|
|
157
|
+
UsageBucketDto,
|
|
158
|
+
UsageTotalsDto,
|
|
159
|
+
UserContextDto,
|
|
160
|
+
UserFeedback,
|
|
161
|
+
Version,
|
|
162
|
+
Visibility,
|
|
163
|
+
Weekday,
|
|
164
|
+
WorkflowActionDto,
|
|
165
|
+
WorkflowActionSource,
|
|
166
|
+
WorkflowEdgeDto,
|
|
167
|
+
WorkflowNodeDto,
|
|
168
|
+
WorkflowNodePositionDto,
|
|
169
|
+
WorkflowNodeType,
|
|
170
|
+
WorkflowStructureDto,
|
|
171
|
+
)
|
|
172
|
+
__all__ = [
|
|
173
|
+
"AccessConfigDto",
|
|
174
|
+
"AccessPolicyDto",
|
|
175
|
+
"ActiveConversationRunDto",
|
|
176
|
+
"ActiveConversationRunStatus",
|
|
177
|
+
"ActiveRunsBySessionDto",
|
|
178
|
+
"ActiveRunsBySessionResponseDto",
|
|
179
|
+
"ActiveRunsResponseDto",
|
|
180
|
+
"AddAgentInterfaceDto",
|
|
181
|
+
"AgentAccessConfigDto",
|
|
182
|
+
"AgentDeployResponseDto",
|
|
183
|
+
"AgentDto",
|
|
184
|
+
"AgentGroupPermissionDto",
|
|
185
|
+
"AgentInterfaceDto",
|
|
186
|
+
"AgentInterfaceType",
|
|
187
|
+
"AgentRunDto",
|
|
188
|
+
"AgentSelectionDto",
|
|
189
|
+
"AgentSelectionEntryDto",
|
|
190
|
+
"AgentSharedUserDto",
|
|
191
|
+
"AgentType",
|
|
192
|
+
"AgentVariationDto",
|
|
193
|
+
"ApiErrorCode",
|
|
194
|
+
"ApiErrorStatus",
|
|
195
|
+
"ApprovalDecision",
|
|
196
|
+
"AttachmentsDto",
|
|
197
|
+
"AutomationRunListItemDto",
|
|
198
|
+
"AutomationRunSource",
|
|
199
|
+
"BatchCreateCustomContextItemsDto",
|
|
200
|
+
"BatchCreateCustomContextItemsResponseDto",
|
|
201
|
+
"CancelRunDto",
|
|
202
|
+
"ComposeSkillContextRequestDto",
|
|
203
|
+
"ComposeSkillContextResponseDto",
|
|
204
|
+
"ConnectionDto",
|
|
205
|
+
"ContentProjectionDto",
|
|
206
|
+
"ContextItemDto",
|
|
207
|
+
"ContextItemKind",
|
|
208
|
+
"ConversationDto",
|
|
209
|
+
"ConversationListItemDto",
|
|
210
|
+
"ConversationMessageDto",
|
|
211
|
+
"ConversationMessageType",
|
|
212
|
+
"ConversationMessageWindowDto",
|
|
213
|
+
"CreateAgentDto",
|
|
214
|
+
"CreateCustomContextItemDto",
|
|
215
|
+
"CreateLinkDto",
|
|
216
|
+
"CreateNoteDto",
|
|
217
|
+
"CreateSavedQueryDto",
|
|
218
|
+
"CreateSkillDto",
|
|
219
|
+
"CreatedContextItemResponseDto",
|
|
220
|
+
"CreatedCustomContextItemResponseDto",
|
|
221
|
+
"CustomAttributeDto",
|
|
222
|
+
"CustomContextItemKind",
|
|
223
|
+
"Decision",
|
|
224
|
+
"DeleteContextItemResponseDto",
|
|
225
|
+
"DeployAgentDto",
|
|
226
|
+
"DeployResponseDto",
|
|
227
|
+
"DeploySkillDto",
|
|
228
|
+
"DocumentAttachmentDto",
|
|
229
|
+
"EditQueuedRunDto",
|
|
230
|
+
"ErrorEnvelopeDto",
|
|
231
|
+
"ErrorEnvelopeDto1",
|
|
232
|
+
"ErrorResponseDto",
|
|
233
|
+
"ErrorResponseDto1",
|
|
234
|
+
"EvaluationCadenceDto",
|
|
235
|
+
"EvaluationCadenceFrequency",
|
|
236
|
+
"EvaluationChannelsDto",
|
|
237
|
+
"EvaluationConfigDto",
|
|
238
|
+
"EvaluationNotificationsDto",
|
|
239
|
+
"EvaluationRecipientDto",
|
|
240
|
+
"EvaluationResultDto",
|
|
241
|
+
"EvaluationRunDto",
|
|
242
|
+
"EvaluationRunStatus",
|
|
243
|
+
"EvaluationRunTrigger",
|
|
244
|
+
"EvaluationRunWithResultsDto",
|
|
245
|
+
"EvaluationSlackChannelDto",
|
|
246
|
+
"Frequency",
|
|
247
|
+
"GetAutomationRunResponseDto",
|
|
248
|
+
"GroupBy",
|
|
249
|
+
"GroupPermissionDto",
|
|
250
|
+
"ImageAttachmentDto",
|
|
251
|
+
"InterruptRunDto",
|
|
252
|
+
"ListAgentInterfacesResponseDto",
|
|
253
|
+
"ListAgentsResponseDto",
|
|
254
|
+
"ListAutomationRunsResponseDto",
|
|
255
|
+
"ListConnectionsResponseDto",
|
|
256
|
+
"ListContextItemValuesResponseDto",
|
|
257
|
+
"ListContextItemsResponseDto",
|
|
258
|
+
"ListConversationsResponseDto",
|
|
259
|
+
"ListCustomContextItemsResponseDto",
|
|
260
|
+
"ListEvaluationRunsResponseDto",
|
|
261
|
+
"ListMemberGroupsResponseDto",
|
|
262
|
+
"ListMemoriesResponseDto",
|
|
263
|
+
"ListOrgMembersResponseDto",
|
|
264
|
+
"ListSkillsResponseDto",
|
|
265
|
+
"ListSuggestionQuestionsResponseDto",
|
|
266
|
+
"ListUsageResponseDto",
|
|
267
|
+
"LookupContextItemDto",
|
|
268
|
+
"LookupContextItemResponseDto",
|
|
269
|
+
"LookupContextItemRowDto",
|
|
270
|
+
"ManageDenial",
|
|
271
|
+
"MemberGroupDto",
|
|
272
|
+
"MemoryDto",
|
|
273
|
+
"Model",
|
|
274
|
+
"ModelSettingsDto",
|
|
275
|
+
"ModusChatRequestDto",
|
|
276
|
+
"ModusChatResponseDto",
|
|
277
|
+
"ModusContextRequestDto",
|
|
278
|
+
"ModusContextResponseDto",
|
|
279
|
+
"ModusRunDto",
|
|
280
|
+
"OrgMemberDto",
|
|
281
|
+
"PatchSkillMcpConfigDto",
|
|
282
|
+
"PatchSkillMcpConfigResponseDto",
|
|
283
|
+
"PendingOwnershipTransferDto",
|
|
284
|
+
"ReasoningEffort",
|
|
285
|
+
"RecordSuggestionEventDto",
|
|
286
|
+
"ResourceLifecycleStatus",
|
|
287
|
+
"ResumeRunDto",
|
|
288
|
+
"Rollup",
|
|
289
|
+
"RunConfigDto",
|
|
290
|
+
"RunModelSettingsDto",
|
|
291
|
+
"RunReasoningEffort",
|
|
292
|
+
"RunSource",
|
|
293
|
+
"Scope",
|
|
294
|
+
"SearchMemoriesRequestDto",
|
|
295
|
+
"SetSupervisionRequestDto",
|
|
296
|
+
"SharedUserDto",
|
|
297
|
+
"SharedUserPermission",
|
|
298
|
+
"SkillChatRequestDto",
|
|
299
|
+
"SkillChatResponseDto",
|
|
300
|
+
"SkillDto",
|
|
301
|
+
"SkillMcpInterfaceConfigDto",
|
|
302
|
+
"SkillRunDto",
|
|
303
|
+
"SkillVariationDto",
|
|
304
|
+
"StatusReason",
|
|
305
|
+
"StreamProtocolVersion",
|
|
306
|
+
"SuggestionEventSource",
|
|
307
|
+
"SuggestionEventType",
|
|
308
|
+
"SuggestionQuestionDto",
|
|
309
|
+
"SupervisionDto",
|
|
310
|
+
"SupplementalContextDto",
|
|
311
|
+
"SupplementalContextSource",
|
|
312
|
+
"ToggleAgentDto",
|
|
313
|
+
"ToolsetDto",
|
|
314
|
+
"ToolsetToolDto",
|
|
315
|
+
"TransferOwnershipDto",
|
|
316
|
+
"TriggerDto",
|
|
317
|
+
"TriggerEvaluationRunResponseDto",
|
|
318
|
+
"TriggerScheduleDto",
|
|
319
|
+
"TriggerType",
|
|
320
|
+
"UpdateAgentDto",
|
|
321
|
+
"UpdateAgentInterfaceDto",
|
|
322
|
+
"UpdateContextItemDto",
|
|
323
|
+
"UpdateCustomContextItemDto",
|
|
324
|
+
"UpdateEvaluationConfigDto",
|
|
325
|
+
"UpdateMemoryRequestDto",
|
|
326
|
+
"UpdateSkillDto",
|
|
327
|
+
"UsageBucketDto",
|
|
328
|
+
"UsageTotalsDto",
|
|
329
|
+
"UserContextDto",
|
|
330
|
+
"UserFeedback",
|
|
331
|
+
"Version",
|
|
332
|
+
"Visibility",
|
|
333
|
+
"Weekday",
|
|
334
|
+
"WorkflowActionDto",
|
|
335
|
+
"WorkflowActionSource",
|
|
336
|
+
"WorkflowEdgeDto",
|
|
337
|
+
"WorkflowNodeDto",
|
|
338
|
+
"WorkflowNodePositionDto",
|
|
339
|
+
"WorkflowNodeType",
|
|
340
|
+
"WorkflowStructureDto",
|
|
341
|
+
]
|