smallestai 4.0.0__tar.gz → 4.0.1__tar.gz
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.
Potentially problematic release.
This version of smallestai might be problematic. Click here for more details.
- {smallestai-4.0.0/smallestai.egg-info → smallestai-4.0.1}/PKG-INFO +2 -2
- {smallestai-4.0.0 → smallestai-4.0.1}/README.md +1 -1
- {smallestai-4.0.0 → smallestai-4.0.1}/pyproject.toml +1 -1
- smallestai-4.0.1/smallestai/__init__.py +85 -0
- smallestai-4.0.1/smallestai/atoms/__init__.py +308 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/__init__.py +0 -1
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/agent_templates_api.py +26 -26
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/agents_api.py +1316 -190
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/calls_api.py +29 -29
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/campaigns_api.py +165 -165
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/knowledge_base_api.py +290 -290
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/logs_api.py +13 -13
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/organization_api.py +13 -13
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api/user_api.py +13 -13
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/atoms_client.py +77 -49
- smallestai-4.0.1/smallestai/atoms/models/__init__.py +132 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_delete200_response.py +89 -0
- smallestai-4.0.0/smallestai/atoms/models/get_agent_templates200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_get200_response.py +7 -7
- smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_get404_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_post201_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_post400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_agent_id_webhook_subscriptions_post_request.py +97 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/agent_dto.py +8 -6
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/agent_dto_language.py +17 -3
- smallestai-4.0.1/smallestai/atoms/models/agent_dto_language_switching.py +95 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/agent_dto_synthesizer.py +1 -1
- smallestai-4.0.0/smallestai/atoms/models/create_agent_from_template200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_from_template_post200_response.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/get_agents200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/get_agents200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/agent_get200_response_data.py +9 -13
- smallestai-4.0.0/smallestai/atoms/models/delete_agent200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_delete200_response.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/get_agent_by_id200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_get200_response.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/update_agent200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch200_response.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request.py +17 -15
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request_language.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_language.py +14 -10
- smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_language_switching.py +96 -0
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request_synthesizer.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_synthesizer.py +6 -6
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request_synthesizer_voice_config.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_synthesizer_voice_config.py +27 -27
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request_synthesizer_voice_config_one_of.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_synthesizer_voice_config_one_of.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/update_agent_request_synthesizer_voice_config_one_of1.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_patch_request_synthesizer_voice_config_one_of1.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/get_campaign_by_id200_response.py → smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response.py +7 -7
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data.py +105 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_edges_inner.py +127 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_edges_inner_data.py +91 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_edges_inner_marker_end.py +91 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_nodes_inner.py +114 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_nodes_inner_data.py +115 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_nodes_inner_data_variables.py +97 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_nodes_inner_data_variables_data_inner.py +91 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get200_response_data_nodes_inner_position.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_id_workflow_get404_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/agent_template_get200_response.py +97 -0
- smallestai-4.0.0/smallestai/atoms/models/get_agent_templates200_response_data_inner.py → smallestai-4.0.1/smallestai/atoms/models/agent_template_get200_response_data_inner.py +6 -6
- smallestai-4.0.0/smallestai/atoms/models/get_campaigns200_response.py → smallestai-4.0.1/smallestai/atoms/models/audience_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/create_campaign201_response_data.py → smallestai-4.0.1/smallestai/atoms/models/audience_get200_response_data_inner.py +16 -18
- smallestai-4.0.1/smallestai/atoms/models/audience_id_delete200_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_delete400_response.py +89 -0
- smallestai-4.0.0/smallestai/atoms/models/get_current_user200_response.py → smallestai-4.0.1/smallestai/atoms/models/audience_id_get200_response.py +7 -7
- smallestai-4.0.1/smallestai/atoms/models/audience_id_get400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_get403_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_get404_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_delete200_response.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_delete200_response_data.py +87 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_delete_request.py +87 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_get200_response.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_get200_response_data.py +101 -0
- smallestai-4.0.0/smallestai/atoms/models/get_campaigns200_response_data_inner_audience.py → smallestai-4.0.1/smallestai/atoms/models/audience_id_members_get200_response_data_members_inner.py +8 -8
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_get400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_get500_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post200_response.py +97 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post200_response_data_inner.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post200_response_data_inner_data.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post403_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_post_request.py +87 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_search_get200_response.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_search_get200_response_data.py +101 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_search_get200_response_data_search_info.py +103 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_search_get400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_id_members_search_get500_response.py +89 -0
- smallestai-4.0.0/smallestai/atoms/models/create_campaign201_response.py → smallestai-4.0.1/smallestai/atoms/models/audience_post200_response.py +7 -7
- smallestai-4.0.1/smallestai/atoms/models/audience_post200_response_data.py +104 -0
- smallestai-4.0.1/smallestai/atoms/models/audience_post400_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/campaign_get200_response.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/campaign_get200_response_data.py +87 -0
- smallestai-4.0.0/smallestai/atoms/models/get_campaigns_request.py → smallestai-4.0.1/smallestai/atoms/models/campaign_get_request.py +4 -4
- smallestai-4.0.1/smallestai/atoms/models/campaign_id_get200_response.py +93 -0
- smallestai-4.0.0/smallestai/atoms/models/get_campaign_by_id200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/campaign_id_get200_response_data.py +4 -4
- smallestai-4.0.1/smallestai/atoms/models/campaign_post201_response.py +89 -0
- smallestai-4.0.0/smallestai/atoms/models/create_campaign_request.py → smallestai-4.0.1/smallestai/atoms/models/campaign_post_request.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/start_outbound_call200_response.py → smallestai-4.0.1/smallestai/atoms/models/conversation_id_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/get_conversation_logs200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/conversation_id_get200_response_data.py +4 -4
- smallestai-4.0.1/smallestai/atoms/models/conversation_outbound_post200_response.py +93 -0
- smallestai-4.0.0/smallestai/atoms/models/start_outbound_call200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/conversation_outbound_post200_response_data.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/start_outbound_call_request.py → smallestai-4.0.1/smallestai/atoms/models/conversation_outbound_post_request.py +4 -4
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/create_agent_request.py +10 -6
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/create_agent_request_language.py +11 -7
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/create_agent_request_language_synthesizer_voice_config.py +24 -24
- smallestai-4.0.0/smallestai/atoms/models/knowledge_base_dto.py → smallestai-4.0.1/smallestai/atoms/models/knowledge_base.py +15 -8
- smallestai-4.0.0/smallestai/atoms/models/knowledge_base_item_dto.py → smallestai-4.0.1/smallestai/atoms/models/knowledge_base_item.py +19 -17
- smallestai-4.0.0/smallestai/atoms/models/get_knowledge_bases200_response.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/get_knowledge_base_by_id200_response.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_id_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/get_knowledge_base_items200_response.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_id_items_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/upload_text_to_knowledge_base_request.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_id_items_upload_text_post_request.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/create_knowledge_base201_response.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_post201_response.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/create_knowledge_base_request.py → smallestai-4.0.1/smallestai/atoms/models/knowledgebase_post_request.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/get_organization200_response.py → smallestai-4.0.1/smallestai/atoms/models/organization_get200_response.py +7 -7
- smallestai-4.0.0/smallestai/atoms/models/get_organization200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/organization_get200_response_data.py +10 -10
- smallestai-4.0.0/smallestai/atoms/models/get_organization200_response_data_members_inner.py → smallestai-4.0.1/smallestai/atoms/models/organization_get200_response_data_members_inner.py +4 -4
- smallestai-4.0.0/smallestai/atoms/models/get_organization200_response_data_subscription.py → smallestai-4.0.1/smallestai/atoms/models/organization_get200_response_data_subscription.py +4 -4
- smallestai-4.0.1/smallestai/atoms/models/product_phone_numbers_get200_response.py +97 -0
- smallestai-4.0.1/smallestai/atoms/models/product_phone_numbers_get200_response_data_inner.py +100 -0
- smallestai-4.0.1/smallestai/atoms/models/product_phone_numbers_get200_response_data_inner_attributes.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/user_get200_response.py +93 -0
- smallestai-4.0.0/smallestai/atoms/models/get_current_user200_response_data.py → smallestai-4.0.1/smallestai/atoms/models/user_get200_response_data.py +4 -4
- smallestai-4.0.1/smallestai/atoms/models/webhook.py +124 -0
- smallestai-4.0.0/smallestai/atoms/models/get_campaigns200_response_data_inner_agent.py → smallestai-4.0.1/smallestai/atoms/models/webhook_agent.py +8 -6
- smallestai-4.0.1/smallestai/atoms/models/webhook_event.py +98 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_get200_response.py +93 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_get200_response_data.py +140 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_id_delete404_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_post201_response.py +89 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_post_request.py +99 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_post_request_events_inner.py +99 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_subscription.py +108 -0
- smallestai-4.0.1/smallestai/atoms/models/webhook_subscription_populated.py +112 -0
- {smallestai-4.0.0 → smallestai-4.0.1/smallestai.egg-info}/PKG-INFO +2 -2
- smallestai-4.0.1/smallestai.egg-info/SOURCES.txt +150 -0
- smallestai-4.0.0/smallestai/__init__.py +0 -95
- smallestai-4.0.0/smallestai/atoms/__init__.py +0 -182
- smallestai-4.0.0/smallestai/atoms/models/__init__.py +0 -72
- smallestai-4.0.0/smallestai/atoms/models/get_campaigns200_response_data_inner.py +0 -118
- smallestai-4.0.0/smallestai/atoms/models/get_conversation_logs200_response.py +0 -93
- smallestai-4.0.0/smallestai.egg-info/SOURCES.txt +0 -90
- {smallestai-4.0.0 → smallestai-4.0.1}/LICENSE +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/setup.cfg +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api_client.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/api_response.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/configuration.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/exceptions.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/agent_dto_synthesizer_voice_config.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/api_response.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/bad_request_error_response.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/create_agent_from_template_request.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/create_agent_request_language_synthesizer.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/internal_server_error_response.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/models/unauthorized_error_reponse.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/py.typed +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/atoms/rest.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/__init__.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/async_waves_client.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/exceptions.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/models.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/stream_tts.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/utils.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai/waves/waves_client.py +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai.egg-info/dependency_links.txt +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai.egg-info/requires.txt +0 -0
- {smallestai-4.0.0 → smallestai-4.0.1}/smallestai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smallestai
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.1
|
|
4
4
|
Summary: Official Python client for the Smallest AI API
|
|
5
5
|
Author-email: Smallest <support@smallest.ai>
|
|
6
6
|
License: MIT
|
|
@@ -142,7 +142,7 @@ def main():
|
|
|
142
142
|
"similarity": 0,
|
|
143
143
|
"enhancement": 1
|
|
144
144
|
},
|
|
145
|
-
"slmModel": "electron
|
|
145
|
+
"slmModel": "electron",
|
|
146
146
|
}
|
|
147
147
|
).data
|
|
148
148
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SmallestAI Python SDK
|
|
3
|
+
|
|
4
|
+
This package provides access to both the Atoms API (agent management)
|
|
5
|
+
and Waves API components.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from smallestai.atoms import (
|
|
9
|
+
AgentTemplatesApi,
|
|
10
|
+
AgentsApi,
|
|
11
|
+
CallsApi,
|
|
12
|
+
CampaignsApi,
|
|
13
|
+
KnowledgeBaseApi,
|
|
14
|
+
LogsApi,
|
|
15
|
+
OrganizationApi,
|
|
16
|
+
UserApi,
|
|
17
|
+
ApiResponse,
|
|
18
|
+
ApiClient,
|
|
19
|
+
Configuration,
|
|
20
|
+
OpenApiException,
|
|
21
|
+
ApiTypeError,
|
|
22
|
+
ApiValueError,
|
|
23
|
+
ApiKeyError,
|
|
24
|
+
ApiAttributeError,
|
|
25
|
+
ApiException,
|
|
26
|
+
AgentDTO,
|
|
27
|
+
AgentDTOLanguage,
|
|
28
|
+
AgentDTOSynthesizer,
|
|
29
|
+
AgentDTOSynthesizerVoiceConfig,
|
|
30
|
+
BadRequestErrorResponse,
|
|
31
|
+
AgentFromTemplatePost200Response,
|
|
32
|
+
CreateAgentFromTemplateRequest,
|
|
33
|
+
CreateAgentRequest,
|
|
34
|
+
CreateAgentRequestLanguage,
|
|
35
|
+
CreateAgentRequestLanguageSynthesizer,
|
|
36
|
+
CreateAgentRequestLanguageSynthesizerVoiceConfig,
|
|
37
|
+
CampaignPost201Response,
|
|
38
|
+
CampaignPostRequest,
|
|
39
|
+
CampaignGetRequest,
|
|
40
|
+
AgentIdDelete200Response,
|
|
41
|
+
AgentIdGet200Response,
|
|
42
|
+
AgentTemplateGet200Response,
|
|
43
|
+
AgentTemplateGet200ResponseDataInner,
|
|
44
|
+
AgentGet200Response,
|
|
45
|
+
CampaignIdGet200Response,
|
|
46
|
+
CampaignGet200Response,
|
|
47
|
+
ConversationIdGet200Response,
|
|
48
|
+
ConversationIdGet200ResponseData,
|
|
49
|
+
UserGet200Response,
|
|
50
|
+
UserGet200ResponseData,
|
|
51
|
+
KnowledgebaseIdGet200Response,
|
|
52
|
+
KnowledgebasePost201Response,
|
|
53
|
+
KnowledgebasePostRequest,
|
|
54
|
+
KnowledgebaseIdItemsUploadTextPostRequest,
|
|
55
|
+
OrganizationGet200Response,
|
|
56
|
+
OrganizationGet200ResponseData,
|
|
57
|
+
OrganizationGet200ResponseDataMembersInner,
|
|
58
|
+
OrganizationGet200ResponseDataSubscription,
|
|
59
|
+
InternalServerErrorResponse,
|
|
60
|
+
ConversationOutboundPost200Response,
|
|
61
|
+
ConversationOutboundPost200ResponseData,
|
|
62
|
+
ConversationOutboundPostRequest,
|
|
63
|
+
UnauthorizedErrorReponse,
|
|
64
|
+
AgentIdPatch200Response,
|
|
65
|
+
AgentIdPatchRequest,
|
|
66
|
+
AgentIdPatchRequestLanguage,
|
|
67
|
+
AgentIdPatchRequestSynthesizer,
|
|
68
|
+
AgentIdPatchRequestSynthesizerVoiceConfig,
|
|
69
|
+
AgentIdPatchRequestSynthesizerVoiceConfigOneOf,
|
|
70
|
+
AgentIdPatchRequestSynthesizerVoiceConfigOneOf1,
|
|
71
|
+
AtomsClient
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
from smallestai.waves import (
|
|
75
|
+
WavesClient,
|
|
76
|
+
AsyncWavesClient,
|
|
77
|
+
WavesStreamingTTS
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
from smallestai.atoms import __all__ as atoms_all
|
|
81
|
+
from smallestai.waves import __all__ as waves_all
|
|
82
|
+
|
|
83
|
+
__all__ = atoms_all + waves_all
|
|
84
|
+
|
|
85
|
+
__version__ = "4.0.1"
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Agent Management API
|
|
7
|
+
|
|
8
|
+
API for managing agents, their templates, and call logs
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# import apis into sdk package
|
|
18
|
+
from smallestai.atoms.api.agent_templates_api import AgentTemplatesApi
|
|
19
|
+
from smallestai.atoms.api.agents_api import AgentsApi
|
|
20
|
+
from smallestai.atoms.api.calls_api import CallsApi
|
|
21
|
+
from smallestai.atoms.api.campaigns_api import CampaignsApi
|
|
22
|
+
from smallestai.atoms.api.knowledge_base_api import KnowledgeBaseApi
|
|
23
|
+
from smallestai.atoms.api.logs_api import LogsApi
|
|
24
|
+
from smallestai.atoms.api.organization_api import OrganizationApi
|
|
25
|
+
from smallestai.atoms.api.user_api import UserApi
|
|
26
|
+
|
|
27
|
+
# import ApiClient
|
|
28
|
+
from smallestai.atoms.api_response import ApiResponse
|
|
29
|
+
from smallestai.atoms.api_client import ApiClient
|
|
30
|
+
from smallestai.atoms.configuration import Configuration
|
|
31
|
+
from smallestai.atoms.exceptions import OpenApiException
|
|
32
|
+
from smallestai.atoms.exceptions import ApiTypeError
|
|
33
|
+
from smallestai.atoms.exceptions import ApiValueError
|
|
34
|
+
from smallestai.atoms.exceptions import ApiKeyError
|
|
35
|
+
from smallestai.atoms.exceptions import ApiAttributeError
|
|
36
|
+
from smallestai.atoms.exceptions import ApiException
|
|
37
|
+
from smallestai.atoms.atoms_client import AtomsClient
|
|
38
|
+
|
|
39
|
+
# import models into sdk package
|
|
40
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_delete200_response import AgentAgentIdWebhookSubscriptionsDelete200Response
|
|
41
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_get200_response import AgentAgentIdWebhookSubscriptionsGet200Response
|
|
42
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_get404_response import AgentAgentIdWebhookSubscriptionsGet404Response
|
|
43
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_post201_response import AgentAgentIdWebhookSubscriptionsPost201Response
|
|
44
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_post400_response import AgentAgentIdWebhookSubscriptionsPost400Response
|
|
45
|
+
from smallestai.atoms.models.agent_agent_id_webhook_subscriptions_post_request import AgentAgentIdWebhookSubscriptionsPostRequest
|
|
46
|
+
from smallestai.atoms.models.agent_dto import AgentDTO
|
|
47
|
+
from smallestai.atoms.models.agent_dto_language import AgentDTOLanguage
|
|
48
|
+
from smallestai.atoms.models.agent_dto_synthesizer import AgentDTOSynthesizer
|
|
49
|
+
from smallestai.atoms.models.agent_dto_synthesizer_voice_config import AgentDTOSynthesizerVoiceConfig
|
|
50
|
+
from smallestai.atoms.models.agent_from_template_post200_response import AgentFromTemplatePost200Response
|
|
51
|
+
from smallestai.atoms.models.agent_get200_response import AgentGet200Response
|
|
52
|
+
from smallestai.atoms.models.agent_id_delete200_response import AgentIdDelete200Response
|
|
53
|
+
from smallestai.atoms.models.agent_id_get200_response import AgentIdGet200Response
|
|
54
|
+
from smallestai.atoms.models.agent_id_patch200_response import AgentIdPatch200Response
|
|
55
|
+
from smallestai.atoms.models.agent_id_patch_request import AgentIdPatchRequest
|
|
56
|
+
from smallestai.atoms.models.agent_id_patch_request_language import AgentIdPatchRequestLanguage
|
|
57
|
+
from smallestai.atoms.models.agent_id_patch_request_synthesizer import AgentIdPatchRequestSynthesizer
|
|
58
|
+
from smallestai.atoms.models.agent_id_patch_request_synthesizer_voice_config import AgentIdPatchRequestSynthesizerVoiceConfig
|
|
59
|
+
from smallestai.atoms.models.agent_id_patch_request_synthesizer_voice_config_one_of import AgentIdPatchRequestSynthesizerVoiceConfigOneOf
|
|
60
|
+
from smallestai.atoms.models.agent_id_patch_request_synthesizer_voice_config_one_of1 import AgentIdPatchRequestSynthesizerVoiceConfigOneOf1
|
|
61
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response import AgentIdWorkflowGet200Response
|
|
62
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data import AgentIdWorkflowGet200ResponseData
|
|
63
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_edges_inner import AgentIdWorkflowGet200ResponseDataEdgesInner
|
|
64
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_edges_inner_data import AgentIdWorkflowGet200ResponseDataEdgesInnerData
|
|
65
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_edges_inner_marker_end import AgentIdWorkflowGet200ResponseDataEdgesInnerMarkerEnd
|
|
66
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_nodes_inner import AgentIdWorkflowGet200ResponseDataNodesInner
|
|
67
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_nodes_inner_data import AgentIdWorkflowGet200ResponseDataNodesInnerData
|
|
68
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_nodes_inner_data_variables import AgentIdWorkflowGet200ResponseDataNodesInnerDataVariables
|
|
69
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_nodes_inner_data_variables_data_inner import AgentIdWorkflowGet200ResponseDataNodesInnerDataVariablesDataInner
|
|
70
|
+
from smallestai.atoms.models.agent_id_workflow_get200_response_data_nodes_inner_position import AgentIdWorkflowGet200ResponseDataNodesInnerPosition
|
|
71
|
+
from smallestai.atoms.models.agent_id_workflow_get404_response import AgentIdWorkflowGet404Response
|
|
72
|
+
from smallestai.atoms.models.agent_template_get200_response import AgentTemplateGet200Response
|
|
73
|
+
from smallestai.atoms.models.agent_template_get200_response_data_inner import AgentTemplateGet200ResponseDataInner
|
|
74
|
+
from smallestai.atoms.models.api_response import ApiResponse
|
|
75
|
+
from smallestai.atoms.models.audience_get200_response import AudienceGet200Response
|
|
76
|
+
from smallestai.atoms.models.audience_get200_response_data_inner import AudienceGet200ResponseDataInner
|
|
77
|
+
from smallestai.atoms.models.audience_id_delete200_response import AudienceIdDelete200Response
|
|
78
|
+
from smallestai.atoms.models.audience_id_delete400_response import AudienceIdDelete400Response
|
|
79
|
+
from smallestai.atoms.models.audience_id_get200_response import AudienceIdGet200Response
|
|
80
|
+
from smallestai.atoms.models.audience_id_get400_response import AudienceIdGet400Response
|
|
81
|
+
from smallestai.atoms.models.audience_id_get403_response import AudienceIdGet403Response
|
|
82
|
+
from smallestai.atoms.models.audience_id_get404_response import AudienceIdGet404Response
|
|
83
|
+
from smallestai.atoms.models.audience_id_members_delete200_response import AudienceIdMembersDelete200Response
|
|
84
|
+
from smallestai.atoms.models.audience_id_members_delete200_response_data import AudienceIdMembersDelete200ResponseData
|
|
85
|
+
from smallestai.atoms.models.audience_id_members_delete_request import AudienceIdMembersDeleteRequest
|
|
86
|
+
from smallestai.atoms.models.audience_id_members_get200_response import AudienceIdMembersGet200Response
|
|
87
|
+
from smallestai.atoms.models.audience_id_members_get200_response_data import AudienceIdMembersGet200ResponseData
|
|
88
|
+
from smallestai.atoms.models.audience_id_members_get200_response_data_members_inner import AudienceIdMembersGet200ResponseDataMembersInner
|
|
89
|
+
from smallestai.atoms.models.audience_id_members_get400_response import AudienceIdMembersGet400Response
|
|
90
|
+
from smallestai.atoms.models.audience_id_members_get500_response import AudienceIdMembersGet500Response
|
|
91
|
+
from smallestai.atoms.models.audience_id_members_post200_response import AudienceIdMembersPost200Response
|
|
92
|
+
from smallestai.atoms.models.audience_id_members_post200_response_data_inner import AudienceIdMembersPost200ResponseDataInner
|
|
93
|
+
from smallestai.atoms.models.audience_id_members_post200_response_data_inner_data import AudienceIdMembersPost200ResponseDataInnerData
|
|
94
|
+
from smallestai.atoms.models.audience_id_members_post400_response import AudienceIdMembersPost400Response
|
|
95
|
+
from smallestai.atoms.models.audience_id_members_post403_response import AudienceIdMembersPost403Response
|
|
96
|
+
from smallestai.atoms.models.audience_id_members_post_request import AudienceIdMembersPostRequest
|
|
97
|
+
from smallestai.atoms.models.audience_id_members_search_get200_response import AudienceIdMembersSearchGet200Response
|
|
98
|
+
from smallestai.atoms.models.audience_id_members_search_get200_response_data import AudienceIdMembersSearchGet200ResponseData
|
|
99
|
+
from smallestai.atoms.models.audience_id_members_search_get200_response_data_search_info import AudienceIdMembersSearchGet200ResponseDataSearchInfo
|
|
100
|
+
from smallestai.atoms.models.audience_id_members_search_get400_response import AudienceIdMembersSearchGet400Response
|
|
101
|
+
from smallestai.atoms.models.audience_id_members_search_get500_response import AudienceIdMembersSearchGet500Response
|
|
102
|
+
from smallestai.atoms.models.audience_post200_response import AudiencePost200Response
|
|
103
|
+
from smallestai.atoms.models.audience_post200_response_data import AudiencePost200ResponseData
|
|
104
|
+
from smallestai.atoms.models.audience_post400_response import AudiencePost400Response
|
|
105
|
+
from smallestai.atoms.models.bad_request_error_response import BadRequestErrorResponse
|
|
106
|
+
from smallestai.atoms.models.campaign_get200_response import CampaignGet200Response
|
|
107
|
+
from smallestai.atoms.models.campaign_get200_response_data import CampaignGet200ResponseData
|
|
108
|
+
from smallestai.atoms.models.campaign_get_request import CampaignGetRequest
|
|
109
|
+
from smallestai.atoms.models.campaign_id_get200_response import CampaignIdGet200Response
|
|
110
|
+
from smallestai.atoms.models.campaign_post201_response import CampaignPost201Response
|
|
111
|
+
from smallestai.atoms.models.campaign_post_request import CampaignPostRequest
|
|
112
|
+
from smallestai.atoms.models.conversation_id_get200_response import ConversationIdGet200Response
|
|
113
|
+
from smallestai.atoms.models.conversation_id_get200_response_data import ConversationIdGet200ResponseData
|
|
114
|
+
from smallestai.atoms.models.conversation_outbound_post200_response import ConversationOutboundPost200Response
|
|
115
|
+
from smallestai.atoms.models.conversation_outbound_post200_response_data import ConversationOutboundPost200ResponseData
|
|
116
|
+
from smallestai.atoms.models.conversation_outbound_post_request import ConversationOutboundPostRequest
|
|
117
|
+
from smallestai.atoms.models.create_agent_from_template_request import CreateAgentFromTemplateRequest
|
|
118
|
+
from smallestai.atoms.models.create_agent_request import CreateAgentRequest
|
|
119
|
+
from smallestai.atoms.models.create_agent_request_language import CreateAgentRequestLanguage
|
|
120
|
+
from smallestai.atoms.models.create_agent_request_language_synthesizer import CreateAgentRequestLanguageSynthesizer
|
|
121
|
+
from smallestai.atoms.models.create_agent_request_language_synthesizer_voice_config import CreateAgentRequestLanguageSynthesizerVoiceConfig
|
|
122
|
+
from smallestai.atoms.models.internal_server_error_response import InternalServerErrorResponse
|
|
123
|
+
from smallestai.atoms.models.knowledge_base import KnowledgeBase
|
|
124
|
+
from smallestai.atoms.models.knowledge_base_item import KnowledgeBaseItem
|
|
125
|
+
from smallestai.atoms.models.knowledgebase_get200_response import KnowledgebaseGet200Response
|
|
126
|
+
from smallestai.atoms.models.knowledgebase_id_get200_response import KnowledgebaseIdGet200Response
|
|
127
|
+
from smallestai.atoms.models.knowledgebase_id_items_get200_response import KnowledgebaseIdItemsGet200Response
|
|
128
|
+
from smallestai.atoms.models.knowledgebase_id_items_upload_text_post_request import KnowledgebaseIdItemsUploadTextPostRequest
|
|
129
|
+
from smallestai.atoms.models.knowledgebase_post201_response import KnowledgebasePost201Response
|
|
130
|
+
from smallestai.atoms.models.knowledgebase_post_request import KnowledgebasePostRequest
|
|
131
|
+
from smallestai.atoms.models.organization_get200_response import OrganizationGet200Response
|
|
132
|
+
from smallestai.atoms.models.organization_get200_response_data import OrganizationGet200ResponseData
|
|
133
|
+
from smallestai.atoms.models.organization_get200_response_data_members_inner import OrganizationGet200ResponseDataMembersInner
|
|
134
|
+
from smallestai.atoms.models.organization_get200_response_data_subscription import OrganizationGet200ResponseDataSubscription
|
|
135
|
+
from smallestai.atoms.models.product_phone_numbers_get200_response import ProductPhoneNumbersGet200Response
|
|
136
|
+
from smallestai.atoms.models.product_phone_numbers_get200_response_data_inner import ProductPhoneNumbersGet200ResponseDataInner
|
|
137
|
+
from smallestai.atoms.models.product_phone_numbers_get200_response_data_inner_attributes import ProductPhoneNumbersGet200ResponseDataInnerAttributes
|
|
138
|
+
from smallestai.atoms.models.unauthorized_error_reponse import UnauthorizedErrorReponse
|
|
139
|
+
from smallestai.atoms.models.user_get200_response import UserGet200Response
|
|
140
|
+
from smallestai.atoms.models.user_get200_response_data import UserGet200ResponseData
|
|
141
|
+
from smallestai.atoms.models.webhook import Webhook
|
|
142
|
+
from smallestai.atoms.models.webhook_agent import WebhookAgent
|
|
143
|
+
from smallestai.atoms.models.webhook_event import WebhookEvent
|
|
144
|
+
from smallestai.atoms.models.webhook_get200_response import WebhookGet200Response
|
|
145
|
+
from smallestai.atoms.models.webhook_get200_response_data import WebhookGet200ResponseData
|
|
146
|
+
from smallestai.atoms.models.webhook_id_delete404_response import WebhookIdDelete404Response
|
|
147
|
+
from smallestai.atoms.models.webhook_post201_response import WebhookPost201Response
|
|
148
|
+
from smallestai.atoms.models.webhook_post_request import WebhookPostRequest
|
|
149
|
+
from smallestai.atoms.models.webhook_post_request_events_inner import WebhookPostRequestEventsInner
|
|
150
|
+
from smallestai.atoms.models.webhook_subscription import WebhookSubscription
|
|
151
|
+
from smallestai.atoms.models.webhook_subscription_populated import WebhookSubscriptionPopulated
|
|
152
|
+
|
|
153
|
+
__all__ = [
|
|
154
|
+
# API Classes
|
|
155
|
+
"AgentTemplatesApi",
|
|
156
|
+
"AgentsApi",
|
|
157
|
+
"CallsApi",
|
|
158
|
+
"CampaignsApi",
|
|
159
|
+
"KnowledgeBaseApi",
|
|
160
|
+
"LogsApi",
|
|
161
|
+
"OrganizationApi",
|
|
162
|
+
"UserApi",
|
|
163
|
+
|
|
164
|
+
# Core Classes
|
|
165
|
+
"ApiResponse",
|
|
166
|
+
"ApiClient",
|
|
167
|
+
"Configuration",
|
|
168
|
+
"AtomsClient",
|
|
169
|
+
|
|
170
|
+
# Exceptions
|
|
171
|
+
"OpenApiException",
|
|
172
|
+
"ApiTypeError",
|
|
173
|
+
"ApiValueError",
|
|
174
|
+
"ApiKeyError",
|
|
175
|
+
"ApiAttributeError",
|
|
176
|
+
"ApiException",
|
|
177
|
+
|
|
178
|
+
# Agent Models
|
|
179
|
+
"AgentDTO",
|
|
180
|
+
"AgentDTOLanguage",
|
|
181
|
+
"AgentDTOSynthesizer",
|
|
182
|
+
"AgentDTOSynthesizerVoiceConfig",
|
|
183
|
+
"AgentFromTemplatePost200Response",
|
|
184
|
+
"AgentGet200Response",
|
|
185
|
+
"AgentIdDelete200Response",
|
|
186
|
+
"AgentIdGet200Response",
|
|
187
|
+
"AgentIdPatch200Response",
|
|
188
|
+
"AgentIdPatchRequest",
|
|
189
|
+
"AgentIdPatchRequestLanguage",
|
|
190
|
+
"AgentIdPatchRequestSynthesizer",
|
|
191
|
+
"AgentIdPatchRequestSynthesizerVoiceConfig",
|
|
192
|
+
"AgentIdPatchRequestSynthesizerVoiceConfigOneOf",
|
|
193
|
+
"AgentIdPatchRequestSynthesizerVoiceConfigOneOf1",
|
|
194
|
+
"AgentIdWorkflowGet200Response",
|
|
195
|
+
"AgentIdWorkflowGet200ResponseData",
|
|
196
|
+
"AgentIdWorkflowGet200ResponseDataEdgesInner",
|
|
197
|
+
"AgentIdWorkflowGet200ResponseDataEdgesInnerData",
|
|
198
|
+
"AgentIdWorkflowGet200ResponseDataEdgesInnerMarkerEnd",
|
|
199
|
+
"AgentIdWorkflowGet200ResponseDataNodesInner",
|
|
200
|
+
"AgentIdWorkflowGet200ResponseDataNodesInnerData",
|
|
201
|
+
"AgentIdWorkflowGet200ResponseDataNodesInnerDataVariables",
|
|
202
|
+
"AgentIdWorkflowGet200ResponseDataNodesInnerDataVariablesDataInner",
|
|
203
|
+
"AgentIdWorkflowGet200ResponseDataNodesInnerPosition",
|
|
204
|
+
"AgentIdWorkflowGet404Response",
|
|
205
|
+
"AgentTemplateGet200Response",
|
|
206
|
+
"AgentTemplateGet200ResponseDataInner",
|
|
207
|
+
"CreateAgentFromTemplateRequest",
|
|
208
|
+
"CreateAgentRequest",
|
|
209
|
+
"CreateAgentRequestLanguage",
|
|
210
|
+
"CreateAgentRequestLanguageSynthesizer",
|
|
211
|
+
"CreateAgentRequestLanguageSynthesizerVoiceConfig",
|
|
212
|
+
|
|
213
|
+
# Webhook Models
|
|
214
|
+
"AgentAgentIdWebhookSubscriptionsDelete200Response",
|
|
215
|
+
"AgentAgentIdWebhookSubscriptionsGet200Response",
|
|
216
|
+
"AgentAgentIdWebhookSubscriptionsGet404Response",
|
|
217
|
+
"AgentAgentIdWebhookSubscriptionsPost201Response",
|
|
218
|
+
"AgentAgentIdWebhookSubscriptionsPost400Response",
|
|
219
|
+
"AgentAgentIdWebhookSubscriptionsPostRequest",
|
|
220
|
+
"Webhook",
|
|
221
|
+
"WebhookAgent",
|
|
222
|
+
"WebhookEvent",
|
|
223
|
+
"WebhookGet200Response",
|
|
224
|
+
"WebhookGet200ResponseData",
|
|
225
|
+
"WebhookIdDelete404Response",
|
|
226
|
+
"WebhookPost201Response",
|
|
227
|
+
"WebhookPostRequest",
|
|
228
|
+
"WebhookPostRequestEventsInner",
|
|
229
|
+
"WebhookSubscription",
|
|
230
|
+
"WebhookSubscriptionPopulated",
|
|
231
|
+
|
|
232
|
+
# Audience Models
|
|
233
|
+
"AudienceGet200Response",
|
|
234
|
+
"AudienceGet200ResponseDataInner",
|
|
235
|
+
"AudienceIdDelete200Response",
|
|
236
|
+
"AudienceIdDelete400Response",
|
|
237
|
+
"AudienceIdGet200Response",
|
|
238
|
+
"AudienceIdGet400Response",
|
|
239
|
+
"AudienceIdGet403Response",
|
|
240
|
+
"AudienceIdGet404Response",
|
|
241
|
+
"AudienceIdMembersDelete200Response",
|
|
242
|
+
"AudienceIdMembersDelete200ResponseData",
|
|
243
|
+
"AudienceIdMembersDeleteRequest",
|
|
244
|
+
"AudienceIdMembersGet200Response",
|
|
245
|
+
"AudienceIdMembersGet200ResponseData",
|
|
246
|
+
"AudienceIdMembersGet200ResponseDataMembersInner",
|
|
247
|
+
"AudienceIdMembersGet400Response",
|
|
248
|
+
"AudienceIdMembersGet500Response",
|
|
249
|
+
"AudienceIdMembersPost200Response",
|
|
250
|
+
"AudienceIdMembersPost200ResponseDataInner",
|
|
251
|
+
"AudienceIdMembersPost200ResponseDataInnerData",
|
|
252
|
+
"AudienceIdMembersPost400Response",
|
|
253
|
+
"AudienceIdMembersPost403Response",
|
|
254
|
+
"AudienceIdMembersPostRequest",
|
|
255
|
+
"AudienceIdMembersSearchGet200Response",
|
|
256
|
+
"AudienceIdMembersSearchGet200ResponseData",
|
|
257
|
+
"AudienceIdMembersSearchGet200ResponseDataSearchInfo",
|
|
258
|
+
"AudienceIdMembersSearchGet400Response",
|
|
259
|
+
"AudienceIdMembersSearchGet500Response",
|
|
260
|
+
"AudiencePost200Response",
|
|
261
|
+
"AudiencePost200ResponseData",
|
|
262
|
+
"AudiencePost400Response",
|
|
263
|
+
|
|
264
|
+
# Campaign Models
|
|
265
|
+
"CampaignGet200Response",
|
|
266
|
+
"CampaignGet200ResponseData",
|
|
267
|
+
"CampaignGetRequest",
|
|
268
|
+
"CampaignIdGet200Response",
|
|
269
|
+
"CampaignPost201Response",
|
|
270
|
+
"CampaignPostRequest",
|
|
271
|
+
|
|
272
|
+
# Conversation Models
|
|
273
|
+
"ConversationIdGet200Response",
|
|
274
|
+
"ConversationIdGet200ResponseData",
|
|
275
|
+
"ConversationOutboundPost200Response",
|
|
276
|
+
"ConversationOutboundPost200ResponseData",
|
|
277
|
+
"ConversationOutboundPostRequest",
|
|
278
|
+
|
|
279
|
+
# Knowledge Base Models
|
|
280
|
+
"KnowledgeBase",
|
|
281
|
+
"KnowledgeBaseItem",
|
|
282
|
+
"KnowledgebaseGet200Response",
|
|
283
|
+
"KnowledgebaseIdGet200Response",
|
|
284
|
+
"KnowledgebaseIdItemsGet200Response",
|
|
285
|
+
"KnowledgebaseIdItemsUploadTextPostRequest",
|
|
286
|
+
"KnowledgebasePost201Response",
|
|
287
|
+
"KnowledgebasePostRequest",
|
|
288
|
+
|
|
289
|
+
# Organization Models
|
|
290
|
+
"OrganizationGet200Response",
|
|
291
|
+
"OrganizationGet200ResponseData",
|
|
292
|
+
"OrganizationGet200ResponseDataMembersInner",
|
|
293
|
+
"OrganizationGet200ResponseDataSubscription",
|
|
294
|
+
|
|
295
|
+
# Phone Numbers Models
|
|
296
|
+
"ProductPhoneNumbersGet200Response",
|
|
297
|
+
"ProductPhoneNumbersGet200ResponseDataInner",
|
|
298
|
+
"ProductPhoneNumbersGet200ResponseDataInnerAttributes",
|
|
299
|
+
|
|
300
|
+
# User Models
|
|
301
|
+
"UserGet200Response",
|
|
302
|
+
"UserGet200ResponseData",
|
|
303
|
+
|
|
304
|
+
# Error Response Models
|
|
305
|
+
"BadRequestErrorResponse",
|
|
306
|
+
"InternalServerErrorResponse",
|
|
307
|
+
"UnauthorizedErrorReponse",
|
|
308
|
+
]
|
|
@@ -16,9 +16,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from smallestai.atoms.models.
|
|
19
|
+
from smallestai.atoms.models.agent_from_template_post200_response import AgentFromTemplatePost200Response
|
|
20
|
+
from smallestai.atoms.models.agent_template_get200_response import AgentTemplateGet200Response
|
|
20
21
|
from smallestai.atoms.models.create_agent_from_template_request import CreateAgentFromTemplateRequest
|
|
21
|
-
from smallestai.atoms.models.get_agent_templates200_response import GetAgentTemplates200Response
|
|
22
22
|
|
|
23
23
|
from smallestai.atoms.api_client import ApiClient, RequestSerialized
|
|
24
24
|
from smallestai.atoms.api_response import ApiResponse
|
|
@@ -39,7 +39,7 @@ class AgentTemplatesApi:
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
@validate_call
|
|
42
|
-
def
|
|
42
|
+
def agent_from_template_post(
|
|
43
43
|
self,
|
|
44
44
|
create_agent_from_template_request: CreateAgentFromTemplateRequest,
|
|
45
45
|
_request_timeout: Union[
|
|
@@ -54,7 +54,7 @@ class AgentTemplatesApi:
|
|
|
54
54
|
_content_type: Optional[StrictStr] = None,
|
|
55
55
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
56
56
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
57
|
-
) ->
|
|
57
|
+
) -> AgentFromTemplatePost200Response:
|
|
58
58
|
"""Create agent from template
|
|
59
59
|
|
|
60
60
|
We have created templates for some common use cases. You can use these templates to create an agent. For getting list of templates, you can use the /agent/template endpoint. It will give you the list of templates with their description and id. You can pass the id of the template in the request body to create an agent from the template.
|
|
@@ -83,7 +83,7 @@ class AgentTemplatesApi:
|
|
|
83
83
|
:return: Returns the result object.
|
|
84
84
|
""" # noqa: E501
|
|
85
85
|
|
|
86
|
-
_param = self.
|
|
86
|
+
_param = self._agent_from_template_post_serialize(
|
|
87
87
|
create_agent_from_template_request=create_agent_from_template_request,
|
|
88
88
|
_request_auth=_request_auth,
|
|
89
89
|
_content_type=_content_type,
|
|
@@ -92,7 +92,7 @@ class AgentTemplatesApi:
|
|
|
92
92
|
)
|
|
93
93
|
|
|
94
94
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
95
|
-
'200': "
|
|
95
|
+
'200': "AgentFromTemplatePost200Response",
|
|
96
96
|
'400': "BadRequestErrorResponse",
|
|
97
97
|
'401': "UnauthorizedErrorReponse",
|
|
98
98
|
'500': "InternalServerErrorResponse",
|
|
@@ -109,7 +109,7 @@ class AgentTemplatesApi:
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
@validate_call
|
|
112
|
-
def
|
|
112
|
+
def agent_from_template_post_with_http_info(
|
|
113
113
|
self,
|
|
114
114
|
create_agent_from_template_request: CreateAgentFromTemplateRequest,
|
|
115
115
|
_request_timeout: Union[
|
|
@@ -124,7 +124,7 @@ class AgentTemplatesApi:
|
|
|
124
124
|
_content_type: Optional[StrictStr] = None,
|
|
125
125
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
126
126
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
127
|
-
) -> ApiResponse[
|
|
127
|
+
) -> ApiResponse[AgentFromTemplatePost200Response]:
|
|
128
128
|
"""Create agent from template
|
|
129
129
|
|
|
130
130
|
We have created templates for some common use cases. You can use these templates to create an agent. For getting list of templates, you can use the /agent/template endpoint. It will give you the list of templates with their description and id. You can pass the id of the template in the request body to create an agent from the template.
|
|
@@ -153,7 +153,7 @@ class AgentTemplatesApi:
|
|
|
153
153
|
:return: Returns the result object.
|
|
154
154
|
""" # noqa: E501
|
|
155
155
|
|
|
156
|
-
_param = self.
|
|
156
|
+
_param = self._agent_from_template_post_serialize(
|
|
157
157
|
create_agent_from_template_request=create_agent_from_template_request,
|
|
158
158
|
_request_auth=_request_auth,
|
|
159
159
|
_content_type=_content_type,
|
|
@@ -162,7 +162,7 @@ class AgentTemplatesApi:
|
|
|
162
162
|
)
|
|
163
163
|
|
|
164
164
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
165
|
-
'200': "
|
|
165
|
+
'200': "AgentFromTemplatePost200Response",
|
|
166
166
|
'400': "BadRequestErrorResponse",
|
|
167
167
|
'401': "UnauthorizedErrorReponse",
|
|
168
168
|
'500': "InternalServerErrorResponse",
|
|
@@ -179,7 +179,7 @@ class AgentTemplatesApi:
|
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
@validate_call
|
|
182
|
-
def
|
|
182
|
+
def agent_from_template_post_without_preload_content(
|
|
183
183
|
self,
|
|
184
184
|
create_agent_from_template_request: CreateAgentFromTemplateRequest,
|
|
185
185
|
_request_timeout: Union[
|
|
@@ -223,7 +223,7 @@ class AgentTemplatesApi:
|
|
|
223
223
|
:return: Returns the result object.
|
|
224
224
|
""" # noqa: E501
|
|
225
225
|
|
|
226
|
-
_param = self.
|
|
226
|
+
_param = self._agent_from_template_post_serialize(
|
|
227
227
|
create_agent_from_template_request=create_agent_from_template_request,
|
|
228
228
|
_request_auth=_request_auth,
|
|
229
229
|
_content_type=_content_type,
|
|
@@ -232,7 +232,7 @@ class AgentTemplatesApi:
|
|
|
232
232
|
)
|
|
233
233
|
|
|
234
234
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
235
|
-
'200': "
|
|
235
|
+
'200': "AgentFromTemplatePost200Response",
|
|
236
236
|
'400': "BadRequestErrorResponse",
|
|
237
237
|
'401': "UnauthorizedErrorReponse",
|
|
238
238
|
'500': "InternalServerErrorResponse",
|
|
@@ -244,7 +244,7 @@ class AgentTemplatesApi:
|
|
|
244
244
|
return response_data.response
|
|
245
245
|
|
|
246
246
|
|
|
247
|
-
def
|
|
247
|
+
def _agent_from_template_post_serialize(
|
|
248
248
|
self,
|
|
249
249
|
create_agent_from_template_request,
|
|
250
250
|
_request_auth,
|
|
@@ -322,7 +322,7 @@ class AgentTemplatesApi:
|
|
|
322
322
|
|
|
323
323
|
|
|
324
324
|
@validate_call
|
|
325
|
-
def
|
|
325
|
+
def agent_template_get(
|
|
326
326
|
self,
|
|
327
327
|
_request_timeout: Union[
|
|
328
328
|
None,
|
|
@@ -336,7 +336,7 @@ class AgentTemplatesApi:
|
|
|
336
336
|
_content_type: Optional[StrictStr] = None,
|
|
337
337
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
338
338
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
339
|
-
) ->
|
|
339
|
+
) -> AgentTemplateGet200Response:
|
|
340
340
|
"""Get agent templates
|
|
341
341
|
|
|
342
342
|
|
|
@@ -362,7 +362,7 @@ class AgentTemplatesApi:
|
|
|
362
362
|
:return: Returns the result object.
|
|
363
363
|
""" # noqa: E501
|
|
364
364
|
|
|
365
|
-
_param = self.
|
|
365
|
+
_param = self._agent_template_get_serialize(
|
|
366
366
|
_request_auth=_request_auth,
|
|
367
367
|
_content_type=_content_type,
|
|
368
368
|
_headers=_headers,
|
|
@@ -370,7 +370,7 @@ class AgentTemplatesApi:
|
|
|
370
370
|
)
|
|
371
371
|
|
|
372
372
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
373
|
-
'200': "
|
|
373
|
+
'200': "AgentTemplateGet200Response",
|
|
374
374
|
'401': "UnauthorizedErrorReponse",
|
|
375
375
|
'400': "BadRequestErrorResponse",
|
|
376
376
|
'500': "InternalServerErrorResponse",
|
|
@@ -387,7 +387,7 @@ class AgentTemplatesApi:
|
|
|
387
387
|
|
|
388
388
|
|
|
389
389
|
@validate_call
|
|
390
|
-
def
|
|
390
|
+
def agent_template_get_with_http_info(
|
|
391
391
|
self,
|
|
392
392
|
_request_timeout: Union[
|
|
393
393
|
None,
|
|
@@ -401,7 +401,7 @@ class AgentTemplatesApi:
|
|
|
401
401
|
_content_type: Optional[StrictStr] = None,
|
|
402
402
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
403
403
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
404
|
-
) -> ApiResponse[
|
|
404
|
+
) -> ApiResponse[AgentTemplateGet200Response]:
|
|
405
405
|
"""Get agent templates
|
|
406
406
|
|
|
407
407
|
|
|
@@ -427,7 +427,7 @@ class AgentTemplatesApi:
|
|
|
427
427
|
:return: Returns the result object.
|
|
428
428
|
""" # noqa: E501
|
|
429
429
|
|
|
430
|
-
_param = self.
|
|
430
|
+
_param = self._agent_template_get_serialize(
|
|
431
431
|
_request_auth=_request_auth,
|
|
432
432
|
_content_type=_content_type,
|
|
433
433
|
_headers=_headers,
|
|
@@ -435,7 +435,7 @@ class AgentTemplatesApi:
|
|
|
435
435
|
)
|
|
436
436
|
|
|
437
437
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
438
|
-
'200': "
|
|
438
|
+
'200': "AgentTemplateGet200Response",
|
|
439
439
|
'401': "UnauthorizedErrorReponse",
|
|
440
440
|
'400': "BadRequestErrorResponse",
|
|
441
441
|
'500': "InternalServerErrorResponse",
|
|
@@ -452,7 +452,7 @@ class AgentTemplatesApi:
|
|
|
452
452
|
|
|
453
453
|
|
|
454
454
|
@validate_call
|
|
455
|
-
def
|
|
455
|
+
def agent_template_get_without_preload_content(
|
|
456
456
|
self,
|
|
457
457
|
_request_timeout: Union[
|
|
458
458
|
None,
|
|
@@ -492,7 +492,7 @@ class AgentTemplatesApi:
|
|
|
492
492
|
:return: Returns the result object.
|
|
493
493
|
""" # noqa: E501
|
|
494
494
|
|
|
495
|
-
_param = self.
|
|
495
|
+
_param = self._agent_template_get_serialize(
|
|
496
496
|
_request_auth=_request_auth,
|
|
497
497
|
_content_type=_content_type,
|
|
498
498
|
_headers=_headers,
|
|
@@ -500,7 +500,7 @@ class AgentTemplatesApi:
|
|
|
500
500
|
)
|
|
501
501
|
|
|
502
502
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
503
|
-
'200': "
|
|
503
|
+
'200': "AgentTemplateGet200Response",
|
|
504
504
|
'401': "UnauthorizedErrorReponse",
|
|
505
505
|
'400': "BadRequestErrorResponse",
|
|
506
506
|
'500': "InternalServerErrorResponse",
|
|
@@ -512,7 +512,7 @@ class AgentTemplatesApi:
|
|
|
512
512
|
return response_data.response
|
|
513
513
|
|
|
514
514
|
|
|
515
|
-
def
|
|
515
|
+
def _agent_template_get_serialize(
|
|
516
516
|
self,
|
|
517
517
|
_request_auth,
|
|
518
518
|
_content_type,
|