diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 9adbf710..4cece5a7 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: a3e2761c-0979-427e-b940-b6de6c04cc0d management: - docChecksum: 56ad544836a5e5aac78e3f6d7f891c1e + docChecksum: 3c2e3764e3279f9435a44af1a3b5e094 docVersion: 0.0.2 - speakeasyVersion: 1.584.0 - generationVersion: 2.660.0 - releaseVersion: 0.35.45 - configChecksum: 47db965bd8b171c5345426c0b8fb16af + speakeasyVersion: 1.586.0 + generationVersion: 2.661.4 + releaseVersion: 0.35.46 + configChecksum: 3219bceb4ae08c6d98de07b05231f72a repoURL: https://github.com/asksyllable/syllable-sdk-python.git installationURL: https://github.com/asksyllable/syllable-sdk-python.git published: true @@ -274,14 +274,12 @@ generatedFiles: - docs/models/roleupdaterequest.md - docs/models/security.md - docs/models/servicecreaterequest.md - - docs/models/servicecreaterequestauthvalues.md - docs/models/servicedeleterequest.md - docs/models/servicelistrequest.md - docs/models/serviceproperties.md - docs/models/serviceresponse.md - docs/models/servicesgetbyidrequest.md - docs/models/serviceupdaterequest.md - - docs/models/serviceupdaterequestauthvalues.md - docs/models/session.md - docs/models/sessionaction.md - docs/models/sessiondata.md @@ -1152,7 +1150,7 @@ examples: application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints"} responses: "200": - application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_folder_get_by_id: @@ -1162,7 +1160,7 @@ examples: folder_id: 982079 responses: "200": - application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com", "folder_stats": {"count": 10, "total_duration": "10:00:00", "total_size": "213MB"}} + application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com", "folder_stats": {"count": 10, "total_duration": "10:00:00", "total_size": "213MB"}} "422": application/json: {} insights_folder_delete: @@ -1184,7 +1182,7 @@ examples: application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints"} responses: "200": - application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "customer-complaints", "label": "support", "description": "Call recordings related to customer complaints", "id": 182764, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_folder_upload_file: @@ -1196,7 +1194,7 @@ examples: call_id: "" responses: "200": - application/json: {"id": 182764, "folder_id": 182764, "filename": "customer-complaints.wav", "object_key": "UPLOAD_CALL_ID/recording/2025/04/22/15/00/ce7d212e-80b0-4f0b-9e01-74322f146611.mp3", "call_id": "12345", "agent_number": "1234567890", "customer_number": "0987654321", "duration": 305.5, "start_time": "2025-07-20T00:00:00Z", "end_time": "2025-07-21T00:00:00Z", "error_message": "File not found", "metadata": {"duration": "00:10:00", "size": "10MB"}, "created_at": "2025-07-20T00:00:00Z"} + application/json: {"id": 182764, "folder_id": 182764, "filename": "customer-complaints.wav", "object_key": "UPLOAD_CALL_ID/recording/2025/04/22/15/00/ce7d212e-80b0-4f0b-9e01-74322f146611.mp3", "call_id": "12345", "agent_number": "1234567890", "customer_number": "0987654321", "duration": 305.5, "start_time": "2025-07-21T00:00:00Z", "end_time": "2025-07-22T00:00:00Z", "error_message": "File not found", "metadata": {"duration": "00:10:00", "size": "10MB"}, "created_at": "2025-07-21T00:00:00Z"} "422": application/json: {} insights_upload_list_files: @@ -1246,10 +1244,10 @@ examples: insights_workflow_create: speakeasy-default-insights-workflow-create: requestBody: - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z"} responses: "200": - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_workflow_get_by_id: @@ -1259,7 +1257,7 @@ examples: workflow_id: 788857 responses: "200": - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_workflow_update: @@ -1268,10 +1266,10 @@ examples: path: workflow_id: 766381 requestBody: - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z"} responses: "200": - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z", "id": 1, "insight_tools": [], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z", "id": 1, "insight_tools": [], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_workflow_delete: @@ -1291,7 +1289,7 @@ examples: workflow_id: 248768 responses: "200": - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_workflow_activate: @@ -1303,7 +1301,7 @@ examples: application/json: {"is_acknowledged": true, "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}} responses: "200": - application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-20T00:00:00Z", "end_datetime": "2025-07-21T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-workflow", "source": "agent", "description": "Default workflow - generates a summary of the call", "insight_tool_ids": [1], "conditions": {"min_duration": 120, "max_duration": 600, "sample_rate": 2, "agent_list": [866324, 826325], "prompt_list": ["123324"], "folder_list": [16754, 67535], "sheet_info": {"sheet_id": "1AGOCYz05AZYYOMzow2EYlgdDXSXaWIhyA3-zCxBm4go", "sheet_name": "Q1 Sales Data"}}, "start_datetime": "2025-07-21T00:00:00Z", "end_datetime": "2025-07-22T00:00:00Z", "id": 1, "insight_tools": [{"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}, {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-05-15T00:00:00Z", "updated_at": "2025-05-16T00:00:00Z", "last_updated_by": "user@email.com"}], "status": "ACTIVE", "estimate": {"backfill_count": 100, "backfill_duration": 1000, "estimated_daily_count": 10, "estimated_daily_duration": 3674.11, "estimated_daily_cost": 45.25, "estimated_backfill_cost": 4561}, "queue_count": 10, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_workflow_queue_work: @@ -1336,7 +1334,7 @@ examples: application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1} responses: "200": - application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insight_tool_get_by_id: @@ -1346,7 +1344,7 @@ examples: tool_id: "" responses: "200": - application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_tool_delete: @@ -1368,7 +1366,7 @@ examples: application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1} responses: "200": - application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-20T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"name": "summary-tool", "description": "This tool uses GPT4.1 to generate a summary of the call", "version": 1, "tool_arguments": {"prompt": "Provide a concise, accurate summary of the conversation's key points, focusing on the user's goal and how the agent responded"}, "insight_tool_definition_id": 1, "id": 1, "insight_tool_definition": {"id": 1, "name": "llm_tool", "type": "", "description": "An LLM tool evaluates a transcript with a given prompt", "tool_parameters": {"prompt": "string"}, "tool_result_set": {"summary": "string"}}, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} insights_tool_test: @@ -1528,7 +1526,7 @@ examples: service_create: speakeasy-default-service-create: requestBody: - application/json: {"name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_values": {}} + application/json: {"name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_values": {"username": "my-username", "password": "my-password"}} responses: "200": application/json: {"id": 1, "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_value_keys": ["username", "password"], "last_updated_comments": "Updated description to correct typo", "last_updated": "2024-01-01T12:00:00Z", "last_updated_by": "user@email.com", "tools": ["hangup", "summary"]} @@ -1537,7 +1535,7 @@ examples: service_update: speakeasy-default-service-update: requestBody: - application/json: {"name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_values": {}, "id": 1, "last_updated_comments": "Updated description to correct typo"} + application/json: {"name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_values": {"username": "my-username", "password": "my-password"}, "id": 1, "last_updated_comments": "Updated description to correct typo"} responses: "200": application/json: {"id": 1, "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": "basic", "auth_value_keys": ["username", "password"], "last_updated_comments": "Updated description to correct typo", "last_updated": "2024-01-01T12:00:00Z", "last_updated_by": "user@email.com", "tools": ["hangup", "summary"]} @@ -1824,10 +1822,10 @@ examples: outbound_batch_create: speakeasy-default-outbound-batch-create: requestBody: - application/json: {"batch_id": "20250721.9", "campaign_id": 1, "expires_on": "2025-07-22T00:00:00Z", "paused": true} + application/json: {"batch_id": "20250722.9", "campaign_id": 1, "expires_on": "2025-07-23T00:00:00Z", "paused": true} responses: "200": - application/json: {"batch_id": "20250721.9", "campaign_id": 1, "expires_on": "2025-07-22T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-21T00:00:00Z", "deleted_at": "2025-07-21T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format"} + application/json: {"batch_id": "20250722.9", "campaign_id": 1, "expires_on": "2025-07-23T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-22T00:00:00Z", "deleted_at": "2025-07-22T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format"} "422": application/json: {} outbound_batch_get_by_id: @@ -1837,7 +1835,7 @@ examples: batch_id: "" responses: "200": - application/json: {"batch_id": "20250721.9", "campaign_id": 1, "expires_on": "2025-07-22T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-21T00:00:00Z", "deleted_at": "2025-07-21T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format", "status_counts": {"CANCELED": 7, "CONNECTED": 100, "DUPLICATE": 5, "FAILED": 10, "INITIATED": 20, "PENDING": 10}} + application/json: {"batch_id": "20250722.9", "campaign_id": 1, "expires_on": "2025-07-23T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-22T00:00:00Z", "deleted_at": "2025-07-22T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format", "status_counts": {"CANCELED": 7, "CONNECTED": 100, "DUPLICATE": 5, "FAILED": 10, "INITIATED": 20, "PENDING": 10}} "422": application/json: {} outbound_batch_update: @@ -1849,7 +1847,7 @@ examples: application/json: {"paused": true, "expires_on": "2027-01-01T06:00:00Z"} responses: "200": - application/json: {"batch_id": "20250721.9", "campaign_id": 1, "expires_on": "2025-07-22T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-21T00:00:00Z", "deleted_at": "2025-07-21T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format"} + application/json: {"batch_id": "20250722.9", "campaign_id": 1, "expires_on": "2025-07-23T00:00:00Z", "paused": true, "upload_filename": "LATE_PAYMENTS_20250401.csv", "created_at": "2025-07-22T00:00:00Z", "deleted_at": "2025-07-22T00:00:00Z", "deleted_reason": "User request", "last_updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com", "error_message": "Invalid file format"} "422": application/json: {} outbound_batch_delete: @@ -1930,7 +1928,7 @@ examples: application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"]} responses: "200": - application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-22T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} outbound_campaign_get_by_id: @@ -1940,7 +1938,7 @@ examples: campaign_id: 11227 responses: "200": - application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-22T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} outbound_campaign_update: @@ -1952,7 +1950,7 @@ examples: application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"]} responses: "200": - application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-21T00:00:00Z", "updated_at": "2025-07-21T00:00:00Z", "last_updated_by": "user@email.com"} + application/json: {"campaign_name": "Outbound Campaign 1", "description": "This is a test campaign", "labels": ["test", "demo"], "campaign_variables": {"key": "value", "key2": "value2"}, "daily_start_time": "09:00:00", "daily_end_time": "17:00:00", "source": "+19032900844", "caller_id": "19995551234", "hourly_rate": 25, "retry_count": 1, "retry_interval": "30m", "active_days": ["mon", "tue", "wed", "thu", "fri"], "id": 1, "agent_id": null, "created_at": "2025-07-22T00:00:00Z", "updated_at": "2025-07-22T00:00:00Z", "last_updated_by": "user@email.com"} "422": application/json: {} outbound_campaign_delete: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 227b2f4a..8248eac0 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -24,7 +24,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 0.35.45 + version: 0.35.46 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b7fcf294..b5c5c7c2 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.584.0 +speakeasyVersion: 1.586.0 sources: SyllableSDK: sourceNamespace: syllable-sdk-oas - sourceRevisionDigest: sha256:abf7fdbd23c336d181b3e6ede757c0b57020bd0252e851d4821bd26cb9e56cf7 - sourceBlobDigest: sha256:cfe015285dc0b547c00381a55352032720dddd9ebda68aba3c66b0777548e0de + sourceRevisionDigest: sha256:f93b6309bc39383b424519410bd5a1fe499899a9b2ed8d4a43be85e304990d75 + sourceBlobDigest: sha256:9c261f985648e109601f50df2d3a8498b5bac763b15fc09bafa5291ea596ecf0 tags: - latest - - speakeasy-sdk-regen-1753130763 + - speakeasy-sdk-regen-1753190725 - 0.0.2 targets: syllable-sdk: source: SyllableSDK sourceNamespace: syllable-sdk-oas - sourceRevisionDigest: sha256:abf7fdbd23c336d181b3e6ede757c0b57020bd0252e851d4821bd26cb9e56cf7 - sourceBlobDigest: sha256:cfe015285dc0b547c00381a55352032720dddd9ebda68aba3c66b0777548e0de + sourceRevisionDigest: sha256:f93b6309bc39383b424519410bd5a1fe499899a9b2ed8d4a43be85e304990d75 + sourceBlobDigest: sha256:9c261f985648e109601f50df2d3a8498b5bac763b15fc09bafa5291ea596ecf0 codeSamplesNamespace: code-samples-python-sdk-syllable-sdk-oas-code-samples - codeSamplesRevisionDigest: sha256:b5bb5fa1acebebec85983a72923415b59d089c99f909467a0fcba20860596d91 + codeSamplesRevisionDigest: sha256:46bf0dd21fd31d7b312aaab137dca7c7f7e2b512ac356d7500748215fc586424 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 51f3f6ff..f7b32e13 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1596,4 +1596,14 @@ Based on: ### Generated - [python v0.35.45] . ### Releases -- [PyPI v0.35.45] https://pypi.org/project/syllable-sdk/0.35.45 - . \ No newline at end of file +- [PyPI v0.35.45] https://pypi.org/project/syllable-sdk/0.35.45 - . + +## 2025-07-22 13:25:07 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.586.0 (2.661.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.35.46] . +### Releases +- [PyPI v0.35.46] https://pypi.org/project/syllable-sdk/0.35.46 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 02966073..2130862f 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -1374,8 +1374,8 @@ actions: "sheet_name": "Q1 Sales Data", }, }, - "start_datetime": parse_datetime("2025-07-20T00:00:00Z"), - "end_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "start_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "end_datetime": parse_datetime("2025-07-22T00:00:00Z"), }) # Handle response @@ -1488,8 +1488,8 @@ actions: "sheet_name": "Q1 Sales Data", }, }, - "start_datetime": parse_datetime("2025-07-20T00:00:00Z"), - "end_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "start_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "end_datetime": parse_datetime("2025-07-22T00:00:00Z"), }) # Handle response @@ -1819,9 +1819,9 @@ actions: ) as ss_client: res = ss_client.outbound.batches.create(request={ - "batch_id": "20250721.9", + "batch_id": "20250722.9", "campaign_id": 1, - "expires_on": parse_datetime("2025-07-22T00:00:00Z"), + "expires_on": parse_datetime("2025-07-23T00:00:00Z"), "paused": True, }) @@ -2438,7 +2438,10 @@ actions: "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": models.ToolAuthType.BASIC, - "auth_values": {}, + "auth_values": { + "username": "my-username", + "password": "my-password", + }, }) # Handle response @@ -2461,7 +2464,10 @@ actions: "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": models.ToolAuthType.BASIC, - "auth_values": {}, + "auth_values": { + "username": "my-username", + "password": "my-password", + }, "id": 1, "last_updated_comments": "Updated description to correct typo", }) diff --git a/docs/models/batchdetails.md b/docs/models/batchdetails.md index d02e500b..2b396e38 100644 --- a/docs/models/batchdetails.md +++ b/docs/models/batchdetails.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250721.9 | +| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250722.9 | | `campaign_id` | *int* | :heavy_check_mark: | Unique ID for campaign | 1 | -| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-22T00:00:00Z | +| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-23T00:00:00Z | | `paused` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the batch is on HOLD. When on HOLD, no outreach will be made. | true | | `status` | [Optional[models.BatchStatus]](../models/batchstatus.md) | :heavy_minus_sign: | Status of a communication batch. | | | `upload_filename` | *OptionalNullable[str]* | :heavy_minus_sign: | Name of file used to create batch | LATE_PAYMENTS_20250401.csv | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch creation | 2025-07-21T00:00:00Z | -| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch deletion | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch creation | 2025-07-22T00:00:00Z | +| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch deletion | 2025-07-22T00:00:00Z | | `deleted_reason` | *OptionalNullable[str]* | :heavy_minus_sign: | Reason for batch deletion | User request | -| `last_updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of last change to batch | 2025-07-21T00:00:00Z | +| `last_updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of last change to batch | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated campaign | user@email.com | | `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | Error message if batch upload failed | Invalid file format | | `status_counts` | Dict[str, *int*] | :heavy_minus_sign: | Counts of requests by status | {
"CANCELED": 7,
"CONNECTED": 100,
"DUPLICATE": 5,
"FAILED": 10,
"INITIATED": 20,
"PENDING": 10
} | \ No newline at end of file diff --git a/docs/models/communicationbatch.md b/docs/models/communicationbatch.md index c5f89f77..c6e45b72 100644 --- a/docs/models/communicationbatch.md +++ b/docs/models/communicationbatch.md @@ -5,15 +5,15 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250721.9 | +| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250722.9 | | `campaign_id` | *int* | :heavy_check_mark: | Unique ID for campaign | 1 | -| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-22T00:00:00Z | +| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-23T00:00:00Z | | `paused` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the batch is on HOLD. When on HOLD, no outreach will be made. | true | | `status` | [Optional[models.BatchStatus]](../models/batchstatus.md) | :heavy_minus_sign: | Status of a communication batch. | | | `upload_filename` | *OptionalNullable[str]* | :heavy_minus_sign: | Name of file used to create batch | LATE_PAYMENTS_20250401.csv | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch creation | 2025-07-21T00:00:00Z | -| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch deletion | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch creation | 2025-07-22T00:00:00Z | +| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch deletion | 2025-07-22T00:00:00Z | | `deleted_reason` | *OptionalNullable[str]* | :heavy_minus_sign: | Reason for batch deletion | User request | -| `last_updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of last change to batch | 2025-07-21T00:00:00Z | +| `last_updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of last change to batch | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated campaign | user@email.com | | `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | Error message if batch upload failed | Invalid file format | \ No newline at end of file diff --git a/docs/models/communicationbatchinput.md b/docs/models/communicationbatchinput.md index 03cb34d3..aeef7249 100644 --- a/docs/models/communicationbatchinput.md +++ b/docs/models/communicationbatchinput.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250721.9 | +| `batch_id` | *str* | :heavy_check_mark: | Unique ID for conversation batch | 20250722.9 | | `campaign_id` | *int* | :heavy_check_mark: | Unique ID for campaign | 1 | -| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-22T00:00:00Z | +| `expires_on` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of batch expiration | 2025-07-23T00:00:00Z | | `paused` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the batch is on HOLD. When on HOLD, no outreach will be made. | true | \ No newline at end of file diff --git a/docs/models/communicationrequestresult.md b/docs/models/communicationrequestresult.md index a606962d..1b34649b 100644 --- a/docs/models/communicationrequestresult.md +++ b/docs/models/communicationrequestresult.md @@ -9,8 +9,8 @@ | `target` | *str* | :heavy_check_mark: | Target phone number | 512-555-1234 | | `request_variables` | Dict[str, *str*] | :heavy_check_mark: | Variables for request | | | `channel_manager_sid` | *OptionalNullable[str]* | :heavy_minus_sign: | Channel manager SID | LMc4b16a9df2ce33d84b3d30581fe6598c | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of request creation | 2025-07-20T00:00:00Z | -| `sent_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which request was sent | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of request creation | 2025-07-21T00:00:00Z | +| `sent_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which request was sent | 2025-07-22T00:00:00Z | | `attempt_count` | *Optional[int]* | :heavy_minus_sign: | Number of attempts for request | 0 | | `session_id` | *OptionalNullable[int]* | :heavy_minus_sign: | Unique ID for call session | 1 | | `conversation_id` | *OptionalNullable[int]* | :heavy_minus_sign: | Unique ID for conversation | 1 | diff --git a/docs/models/folderdetails.md b/docs/models/folderdetails.md index 97027440..fb8eb26b 100644 --- a/docs/models/folderdetails.md +++ b/docs/models/folderdetails.md @@ -11,7 +11,7 @@ Response model for an insight upload folder details. | `label` | *OptionalNullable[str]* | :heavy_minus_sign: | optional label assigned to insight folder | support | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | Text description of insight upload folder | Call recordings related to customer complaints | | `id` | *int* | :heavy_check_mark: | System-assign folder ID | 182764 | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was created | 2025-07-20T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was last updated | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was created | 2025-07-21T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was last updated | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated upload folder | user@email.com | | `folder_stats` | Dict[str, [models.FolderStats](../models/folderstats.md)] | :heavy_check_mark: | Meta-data of insight upload files associated with the folder | {
"count": 10,
"total_duration": "10:00:00",
"total_size": "213MB"
} | \ No newline at end of file diff --git a/docs/models/insightsfolder.md b/docs/models/insightsfolder.md index 1361aa9d..174e9141 100644 --- a/docs/models/insightsfolder.md +++ b/docs/models/insightsfolder.md @@ -11,6 +11,6 @@ Response model for an insight upload folder. | `label` | *OptionalNullable[str]* | :heavy_minus_sign: | optional label assigned to insight folder | support | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | Text description of insight upload folder | Call recordings related to customer complaints | | `id` | *int* | :heavy_check_mark: | System-assign folder ID | 182764 | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was created | 2025-07-20T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was last updated | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was created | 2025-07-21T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload folder was last updated | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated upload folder | user@email.com | \ No newline at end of file diff --git a/docs/models/insightsoutput.md b/docs/models/insightsoutput.md index 4d7a9d1c..2e94b052 100644 --- a/docs/models/insightsoutput.md +++ b/docs/models/insightsoutput.md @@ -16,5 +16,5 @@ Response model for an insight tool. | `string_value` | *OptionalNullable[str]* | :heavy_minus_sign: | String value of insight tool result | This is a summary of the call | | `numeric_value` | *OptionalNullable[float]* | :heavy_minus_sign: | Numeric value of insight tool result | 1 | | `json_value` | Dict[str, [models.JSONValue](../models/jsonvalue.md)] | :heavy_check_mark: | JSON value of insight tool result | {
"content": " was there anything else that I can assist you with other than this",
"role": "assistant",
"start_time": 289
} | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool result was created | 2025-07-20T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool result was last updated | 2025-07-21T00:00:00Z | \ No newline at end of file +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool result was created | 2025-07-21T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool result was last updated | 2025-07-22T00:00:00Z | \ No newline at end of file diff --git a/docs/models/insightsuploadfile.md b/docs/models/insightsuploadfile.md index e4a8e7dc..dac8be09 100644 --- a/docs/models/insightsuploadfile.md +++ b/docs/models/insightsuploadfile.md @@ -15,8 +15,8 @@ Response model for an insight upload file. | `agent_number` | *OptionalNullable[str]* | :heavy_minus_sign: | Agent number associated with the uploaded file | 1234567890 | | `customer_number` | *OptionalNullable[str]* | :heavy_minus_sign: | Customer number associated with the uploaded file | 0987654321 | | `duration` | *OptionalNullable[float]* | :heavy_minus_sign: | Length in seconds of the uploaded recording | 305.5 | -| `start_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Start time of the uploaded file | 2025-07-20T00:00:00Z | -| `end_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | End time of the uploaded file | 2025-07-21T00:00:00Z | +| `start_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Start time of the uploaded file | 2025-07-21T00:00:00Z | +| `end_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | End time of the uploaded file | 2025-07-22T00:00:00Z | | `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | Error message associated with the uploaded file | File not found | | `metadata` | Dict[str, [models.Metadata](../models/metadata.md)] | :heavy_minus_sign: | Meta-data associated with the uploaded file | {
"duration": "00:10:00",
"size": "10MB"
} | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload file was created | 2025-07-20T00:00:00Z | \ No newline at end of file +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight upload file was created | 2025-07-21T00:00:00Z | \ No newline at end of file diff --git a/docs/models/insighttooloutput.md b/docs/models/insighttooloutput.md index 7e776fb0..a2b64265 100644 --- a/docs/models/insighttooloutput.md +++ b/docs/models/insighttooloutput.md @@ -14,6 +14,6 @@ Response model for an insight tool configuration. | `insight_tool_definition_id` | *int* | :heavy_check_mark: | Unique ID for insight tool definition used by this tool configuration | 1 | | `id` | *int* | :heavy_check_mark: | Unique ID for insight tool | 1 | | `insight_tool_definition` | [OptionalNullable[models.InsightToolDefinition]](../models/insighttooldefinition.md) | :heavy_minus_sign: | Insight Tool Definition | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of at which insight tool configuration was created | 2025-07-20T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool configuration was last updated | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of at which insight tool configuration was created | 2025-07-21T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which insight tool configuration was last updated | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated insight tool configuration | user@email.com | \ No newline at end of file diff --git a/docs/models/insightworkflowinput.md b/docs/models/insightworkflowinput.md index 81902f0e..812a3074 100644 --- a/docs/models/insightworkflowinput.md +++ b/docs/models/insightworkflowinput.md @@ -12,5 +12,5 @@ Request model to create/update an insight workflow. | `description` | *str* | :heavy_check_mark: | Text description of workflow | Default workflow - generates a summary of the call | | `insight_tool_ids` | List[*int*] | :heavy_check_mark: | Ordered list of IDs of tool configurations to be executed in the workflow | [
1
] | | `conditions` | [models.InsightWorkflowCondition](../models/insightworkflowcondition.md) | :heavy_check_mark: | Model for the conditions that trigger an insight workflow. | | -| `start_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only | 2025-07-20T00:00:00Z | -| `end_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation | 2025-07-21T00:00:00Z | \ No newline at end of file +| `start_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only | 2025-07-21T00:00:00Z | +| `end_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation | 2025-07-22T00:00:00Z | \ No newline at end of file diff --git a/docs/models/insightworkflowoutput.md b/docs/models/insightworkflowoutput.md index 8919bea2..0329a45b 100644 --- a/docs/models/insightworkflowoutput.md +++ b/docs/models/insightworkflowoutput.md @@ -12,13 +12,13 @@ Response model for an insight workflow. | `description` | *str* | :heavy_check_mark: | Text description of workflow | Default workflow - generates a summary of the call | | `insight_tool_ids` | List[*int*] | :heavy_check_mark: | Ordered list of IDs of tool configurations to be executed in the workflow | [
1
] | | `conditions` | [models.InsightWorkflowCondition](../models/insightworkflowcondition.md) | :heavy_check_mark: | Model for the conditions that trigger an insight workflow. | | -| `start_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only | 2025-07-20T00:00:00Z | -| `end_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation | 2025-07-21T00:00:00Z | +| `start_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only | 2025-07-21T00:00:00Z | +| `end_datetime` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation | 2025-07-22T00:00:00Z | | `id` | *int* | :heavy_check_mark: | Internal ID of the insight workflow | 1 | | `insight_tools` | List[[models.InsightToolOutput](../models/insighttooloutput.md)] | :heavy_check_mark: | List of insight tool configurations used in the workflow | | | `status` | *str* | :heavy_check_mark: | Status of the insight workflow | ACTIVE | | `estimate` | [models.InsightWorkflowEstimate](../models/insightworkflowestimate.md) | :heavy_check_mark: | Response model for an insight workflow. | | | `queue_count` | *OptionalNullable[int]* | :heavy_minus_sign: | Number of calls in the workflow queue (pending or processing) | 10 | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which the insight workflow was created | 2025-07-20T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of most recent update to the insight workflow | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp at which the insight workflow was created | 2025-07-21T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of most recent update to the insight workflow | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated Insight Workflow | user@email.com | \ No newline at end of file diff --git a/docs/models/outboundcampaign.md b/docs/models/outboundcampaign.md index f34c7373..a29679f0 100644 --- a/docs/models/outboundcampaign.md +++ b/docs/models/outboundcampaign.md @@ -20,6 +20,6 @@ | `active_days` | List[[models.DaysOfWeek](../models/daysofweek.md)] | :heavy_check_mark: | Days of the week when campaign is active | ["mon", "tue", "wed", "thu", "fri"] | | `id` | *int* | :heavy_check_mark: | Unique ID for campaign | 1 | | `agent_id` | *OptionalNullable[int]* | :heavy_minus_sign: | ID of agent assigned to campaign | agent_id | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of campaign creation | 2025-07-21T00:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of campaign update | 2025-07-21T00:00:00Z | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of campaign creation | 2025-07-22T00:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Timestamp of campaign update | 2025-07-22T00:00:00Z | | `last_updated_by` | *str* | :heavy_check_mark: | Email of user who last updated campaign | user@email.com | \ No newline at end of file diff --git a/docs/models/servicecreaterequest.md b/docs/models/servicecreaterequest.md index 692b353f..79adfbd1 100644 --- a/docs/models/servicecreaterequest.md +++ b/docs/models/servicecreaterequest.md @@ -10,4 +10,4 @@ Request model to create a service. | `name` | *str* | :heavy_check_mark: | The name of the service | Weather tools | | `description` | *str* | :heavy_check_mark: | The description of the service | Service containing tools for fetching weather information | | `auth_type` | [OptionalNullable[models.ToolAuthType]](../models/toolauthtype.md) | :heavy_minus_sign: | The type of authentication to use for the service's tools | basic | -| `auth_values` | [OptionalNullable[models.ServiceCreateRequestAuthValues]](../models/servicecreaterequestauthvalues.md) | :heavy_minus_sign: | The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.) | {"username": "my-username", "password": "my-password"} | \ No newline at end of file +| `auth_values` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.) | {"username": "my-username", "password": "my-password"} | \ No newline at end of file diff --git a/docs/models/servicecreaterequestauthvalues.md b/docs/models/servicecreaterequestauthvalues.md deleted file mode 100644 index 128bf133..00000000 --- a/docs/models/servicecreaterequestauthvalues.md +++ /dev/null @@ -1,7 +0,0 @@ -# ServiceCreateRequestAuthValues - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/serviceupdaterequest.md b/docs/models/serviceupdaterequest.md index 50327069..2ab50a06 100644 --- a/docs/models/serviceupdaterequest.md +++ b/docs/models/serviceupdaterequest.md @@ -10,6 +10,6 @@ Request model to update an existing service. | `name` | *str* | :heavy_check_mark: | The name of the service | Weather tools | | `description` | *str* | :heavy_check_mark: | The description of the service | Service containing tools for fetching weather information | | `auth_type` | [OptionalNullable[models.ToolAuthType]](../models/toolauthtype.md) | :heavy_minus_sign: | The type of authentication to use for the service's tools | basic | -| `auth_values` | [OptionalNullable[models.ServiceUpdateRequestAuthValues]](../models/serviceupdaterequestauthvalues.md) | :heavy_minus_sign: | The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.) | {"username": "my-username", "password": "my-password"} | +| `auth_values` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.) | {"username": "my-username", "password": "my-password"} | | `id` | *int* | :heavy_check_mark: | The internal ID of the service | 1 | | `last_updated_comments` | *OptionalNullable[str]* | :heavy_minus_sign: | Free text providing comment about what was updated | Updated description to correct typo | \ No newline at end of file diff --git a/docs/models/serviceupdaterequestauthvalues.md b/docs/models/serviceupdaterequestauthvalues.md deleted file mode 100644 index f028246a..00000000 --- a/docs/models/serviceupdaterequestauthvalues.md +++ /dev/null @@ -1,7 +0,0 @@ -# ServiceUpdateRequestAuthValues - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdks/batches/README.md b/docs/sdks/batches/README.md index da9e4d3a..0476e445 100644 --- a/docs/sdks/batches/README.md +++ b/docs/sdks/batches/README.md @@ -86,9 +86,9 @@ with SyllableSDK( ) as ss_client: res = ss_client.outbound.batches.create(request={ - "batch_id": "20250721.9", + "batch_id": "20250722.9", "campaign_id": 1, - "expires_on": parse_datetime("2025-07-22T00:00:00Z"), + "expires_on": parse_datetime("2025-07-23T00:00:00Z"), "paused": True, }) diff --git a/docs/sdks/services/README.md b/docs/sdks/services/README.md index e75df099..3b85e30e 100644 --- a/docs/sdks/services/README.md +++ b/docs/sdks/services/README.md @@ -84,7 +84,10 @@ with SyllableSDK( "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": models.ToolAuthType.BASIC, - "auth_values": {}, + "auth_values": { + "username": "my-username", + "password": "my-password", + }, }) # Handle response @@ -129,7 +132,10 @@ with SyllableSDK( "name": "Weather tools", "description": "Service containing tools for fetching weather information", "auth_type": models.ToolAuthType.BASIC, - "auth_values": {}, + "auth_values": { + "username": "my-username", + "password": "my-password", + }, "id": 1, "last_updated_comments": "Updated description to correct typo", }) diff --git a/docs/sdks/workflows/README.md b/docs/sdks/workflows/README.md index c2459cf9..3fcfd3c0 100644 --- a/docs/sdks/workflows/README.md +++ b/docs/sdks/workflows/README.md @@ -111,8 +111,8 @@ with SyllableSDK( "sheet_name": "Q1 Sales Data", }, }, - "start_datetime": parse_datetime("2025-07-20T00:00:00Z"), - "end_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "start_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "end_datetime": parse_datetime("2025-07-22T00:00:00Z"), }) # Handle response @@ -221,8 +221,8 @@ with SyllableSDK( "sheet_name": "Q1 Sales Data", }, }, - "start_datetime": parse_datetime("2025-07-20T00:00:00Z"), - "end_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "start_datetime": parse_datetime("2025-07-21T00:00:00Z"), + "end_datetime": parse_datetime("2025-07-22T00:00:00Z"), }) # Handle response diff --git a/openapi.yaml b/openapi.yaml index d15afd1a..73bb2f97 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7576,7 +7576,7 @@ components: title: "Batch Id" description: "Unique ID for conversation batch" examples: - - "20250721.9" + - "20250722.9" "campaign_id": type: "integer" title: "Campaign Id" @@ -7591,7 +7591,7 @@ components: title: "Expires On" description: "Timestamp of batch expiration" examples: - - "2025-07-22T00:00:00Z" + - "2025-07-23T00:00:00Z" "paused": anyOf: - type: "boolean" @@ -7616,7 +7616,7 @@ components: title: "Created At" description: "Timestamp of batch creation" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "deleted_at": anyOf: - type: "string" @@ -7625,7 +7625,7 @@ components: title: "Deleted At" description: "Timestamp of batch deletion" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "deleted_reason": anyOf: - type: "string" @@ -7642,7 +7642,7 @@ components: title: "Last Updated At" description: "Timestamp of last change to batch" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -8075,7 +8075,7 @@ components: title: "Batch Id" description: "Unique ID for conversation batch" examples: - - "20250721.9" + - "20250722.9" "campaign_id": type: "integer" title: "Campaign Id" @@ -8090,7 +8090,7 @@ components: title: "Expires On" description: "Timestamp of batch expiration" examples: - - "2025-07-22T00:00:00Z" + - "2025-07-23T00:00:00Z" "paused": anyOf: - type: "boolean" @@ -8115,7 +8115,7 @@ components: title: "Created At" description: "Timestamp of batch creation" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "deleted_at": anyOf: - type: "string" @@ -8124,7 +8124,7 @@ components: title: "Deleted At" description: "Timestamp of batch deletion" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "deleted_reason": anyOf: - type: "string" @@ -8141,7 +8141,7 @@ components: title: "Last Updated At" description: "Timestamp of last change to batch" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -8170,7 +8170,7 @@ components: title: "Batch Id" description: "Unique ID for conversation batch" examples: - - "20250721.9" + - "20250722.9" "campaign_id": type: "integer" title: "Campaign Id" @@ -8185,7 +8185,7 @@ components: title: "Expires On" description: "Timestamp of batch expiration" examples: - - "2025-07-22T00:00:00Z" + - "2025-07-23T00:00:00Z" "paused": anyOf: - type: "boolean" @@ -8284,7 +8284,7 @@ components: title: "Created At" description: "Timestamp of request creation" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "sent_at": anyOf: - type: "string" @@ -8293,7 +8293,7 @@ components: title: "Sent At" description: "Timestamp at which request was sent" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "attempt_count": type: "integer" title: "Attempt Count" @@ -9456,14 +9456,14 @@ components: title: "Created At" description: "Timestamp at which insight upload folder was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp at which insight upload folder was last updated" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -9944,14 +9944,14 @@ components: title: "Created At" description: "Timestamp of at which insight tool configuration was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp at which insight tool configuration was last updated" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -10186,7 +10186,7 @@ components: title: "Start Datetime" description: "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "end_datetime": anyOf: - type: "string" @@ -10195,7 +10195,7 @@ components: title: "End Datetime" description: "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" type: "object" required: - "name" @@ -10246,7 +10246,7 @@ components: title: "Start Datetime" description: "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "end_datetime": anyOf: - type: "string" @@ -10255,7 +10255,7 @@ components: title: "End Datetime" description: "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "id": type: "integer" title: "Id" @@ -10289,14 +10289,14 @@ components: title: "Created At" description: "Timestamp at which the insight workflow was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp of most recent update to the insight workflow" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -10365,14 +10365,14 @@ components: title: "Created At" description: "Timestamp at which insight upload folder was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp at which insight upload folder was last updated" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -10521,14 +10521,14 @@ components: title: "Created At" description: "Timestamp at which insight tool result was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp at which insight tool result was last updated" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" type: "object" required: - "id" @@ -10615,7 +10615,7 @@ components: title: "Start Time" description: "Start time of the uploaded file" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" "end_time": anyOf: - type: "string" @@ -10624,7 +10624,7 @@ components: title: "End Time" description: "End time of the uploaded file" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "error_message": anyOf: - type: "string" @@ -10652,7 +10652,7 @@ components: title: "Created At" description: "Timestamp at which insight upload file was created" examples: - - "2025-07-20T00:00:00Z" + - "2025-07-21T00:00:00Z" type: "object" required: - "id" @@ -12319,14 +12319,14 @@ components: title: "Created At" description: "Timestamp of campaign creation" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "updated_at": type: "string" format: "date-time" title: "Updated At" description: "Timestamp of campaign update" examples: - - "2025-07-21T00:00:00Z" + - "2025-07-22T00:00:00Z" "last_updated_by": type: "string" title: "Last Updated By" @@ -13047,7 +13047,11 @@ components: - "basic" "auth_values": anyOf: - - type: "object" + - additionalProperties: + anyOf: + - type: "string" + - type: "null" + type: "object" - type: "null" title: "Auth Values" description: "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)" @@ -13168,7 +13172,11 @@ components: - "basic" "auth_values": anyOf: - - type: "object" + - additionalProperties: + anyOf: + - type: "string" + - type: "null" + type: "object" - type: "null" title: "Auth Values" description: "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)" diff --git a/pyproject.toml b/pyproject.toml index b541fdeb..66534bd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "syllable-sdk" -version = "0.35.45" +version = "0.35.46" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Syllable" },] readme = "README-PYPI.md" diff --git a/src/syllable_sdk/_version.py b/src/syllable_sdk/_version.py index f29d9841..aa1adaa0 100644 --- a/src/syllable_sdk/_version.py +++ b/src/syllable_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "syllable-sdk" -__version__: str = "0.35.45" +__version__: str = "0.35.46" __openapi_doc_version__: str = "0.0.2" -__gen_version__: str = "2.660.0" -__user_agent__: str = "speakeasy-sdk/python 0.35.45 2.660.0 0.0.2 syllable-sdk" +__gen_version__: str = "2.661.4" +__user_agent__: str = "speakeasy-sdk/python 0.35.46 2.661.4 0.0.2 syllable-sdk" try: if __package__ is not None: diff --git a/src/syllable_sdk/models/__init__.py b/src/syllable_sdk/models/__init__.py index 1b09c9ed..239fa081 100644 --- a/src/syllable_sdk/models/__init__.py +++ b/src/syllable_sdk/models/__init__.py @@ -614,8 +614,6 @@ from .service_listop import ServiceListRequest, ServiceListRequestTypedDict from .servicecreaterequest import ( ServiceCreateRequest, - ServiceCreateRequestAuthValues, - ServiceCreateRequestAuthValuesTypedDict, ServiceCreateRequestTypedDict, ) from .serviceproperties import ServiceProperties @@ -626,8 +624,6 @@ ) from .serviceupdaterequest import ( ServiceUpdateRequest, - ServiceUpdateRequestAuthValues, - ServiceUpdateRequestAuthValuesTypedDict, ServiceUpdateRequestTypedDict, ) from .session import Session, SessionTypedDict @@ -1225,8 +1221,6 @@ "Security", "SecurityTypedDict", "ServiceCreateRequest", - "ServiceCreateRequestAuthValues", - "ServiceCreateRequestAuthValuesTypedDict", "ServiceCreateRequestTypedDict", "ServiceDeleteRequest", "ServiceDeleteRequestTypedDict", @@ -1236,8 +1230,6 @@ "ServiceResponse", "ServiceResponseTypedDict", "ServiceUpdateRequest", - "ServiceUpdateRequestAuthValues", - "ServiceUpdateRequestAuthValuesTypedDict", "ServiceUpdateRequestTypedDict", "ServicesGetByIDRequest", "ServicesGetByIDRequestTypedDict", @@ -1796,8 +1788,6 @@ "ServiceListRequest": ".service_listop", "ServiceListRequestTypedDict": ".service_listop", "ServiceCreateRequest": ".servicecreaterequest", - "ServiceCreateRequestAuthValues": ".servicecreaterequest", - "ServiceCreateRequestAuthValuesTypedDict": ".servicecreaterequest", "ServiceCreateRequestTypedDict": ".servicecreaterequest", "ServiceProperties": ".serviceproperties", "ServiceResponse": ".serviceresponse", @@ -1805,8 +1795,6 @@ "ServicesGetByIDRequest": ".services_get_by_idop", "ServicesGetByIDRequestTypedDict": ".services_get_by_idop", "ServiceUpdateRequest": ".serviceupdaterequest", - "ServiceUpdateRequestAuthValues": ".serviceupdaterequest", - "ServiceUpdateRequestAuthValuesTypedDict": ".serviceupdaterequest", "ServiceUpdateRequestTypedDict": ".serviceupdaterequest", "Session": ".session", "SessionTypedDict": ".session", diff --git a/src/syllable_sdk/models/servicecreaterequest.py b/src/syllable_sdk/models/servicecreaterequest.py index f53b0dd1..3fce4eeb 100644 --- a/src/syllable_sdk/models/servicecreaterequest.py +++ b/src/syllable_sdk/models/servicecreaterequest.py @@ -10,17 +10,10 @@ UNSET, UNSET_SENTINEL, ) +from typing import Dict from typing_extensions import NotRequired, TypedDict -class ServiceCreateRequestAuthValuesTypedDict(TypedDict): - pass - - -class ServiceCreateRequestAuthValues(BaseModel): - pass - - class ServiceCreateRequestTypedDict(TypedDict): r"""Request model to create a service.""" @@ -30,7 +23,7 @@ class ServiceCreateRequestTypedDict(TypedDict): r"""The description of the service""" auth_type: NotRequired[Nullable[ToolAuthType]] r"""The type of authentication to use for the service's tools""" - auth_values: NotRequired[Nullable[ServiceCreateRequestAuthValuesTypedDict]] + auth_values: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)""" @@ -46,7 +39,7 @@ class ServiceCreateRequest(BaseModel): auth_type: OptionalNullable[ToolAuthType] = UNSET r"""The type of authentication to use for the service's tools""" - auth_values: OptionalNullable[ServiceCreateRequestAuthValues] = UNSET + auth_values: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)""" @model_serializer(mode="wrap") diff --git a/src/syllable_sdk/models/serviceupdaterequest.py b/src/syllable_sdk/models/serviceupdaterequest.py index 71135913..b49faa30 100644 --- a/src/syllable_sdk/models/serviceupdaterequest.py +++ b/src/syllable_sdk/models/serviceupdaterequest.py @@ -10,17 +10,10 @@ UNSET, UNSET_SENTINEL, ) +from typing import Dict from typing_extensions import NotRequired, TypedDict -class ServiceUpdateRequestAuthValuesTypedDict(TypedDict): - pass - - -class ServiceUpdateRequestAuthValues(BaseModel): - pass - - class ServiceUpdateRequestTypedDict(TypedDict): r"""Request model to update an existing service.""" @@ -32,7 +25,7 @@ class ServiceUpdateRequestTypedDict(TypedDict): r"""The internal ID of the service""" auth_type: NotRequired[Nullable[ToolAuthType]] r"""The type of authentication to use for the service's tools""" - auth_values: NotRequired[Nullable[ServiceUpdateRequestAuthValuesTypedDict]] + auth_values: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)""" last_updated_comments: NotRequired[Nullable[str]] r"""Free text providing comment about what was updated""" @@ -53,7 +46,7 @@ class ServiceUpdateRequest(BaseModel): auth_type: OptionalNullable[ToolAuthType] = UNSET r"""The type of authentication to use for the service's tools""" - auth_values: OptionalNullable[ServiceUpdateRequestAuthValues] = UNSET + auth_values: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)""" last_updated_comments: OptionalNullable[str] = UNSET