diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.g.cs index a38c892..01618d3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.g.cs @@ -32,12 +32,12 @@ public partial interface IRetellAiClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::RetellAI.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.OptionsSupport.g.cs b/src/libs/RetellAI/Generated/RetellAI.OptionsSupport.g.cs index 3d5375b..030c0b0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.OptionsSupport.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.OptionsSupport.g.cs @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions public global::System.TimeSpan? Delay { get; set; } } + /// /// Runtime hook interface for generated SDK lifecycle events. /// @@ -236,6 +237,7 @@ public sealed class AutoSDKHookContext public global::System.Threading.CancellationToken CancellationToken { get; set; } } + internal static class AutoSDKRequestOptionsSupport { internal static global::RetellAI.AutoSDKHookContext CreateHookContext( diff --git a/src/libs/RetellAI/Generated/autosdk.generated-examples.json b/src/libs/RetellAI/Generated/autosdk.generated-examples.json new file mode 100644 index 0000000..c2931db --- /dev/null +++ b/src/libs/RetellAI/Generated/autosdk.generated-examples.json @@ -0,0 +1,59 @@ +{ + "Examples": [ + { + "Order": 1, + "Title": "Update an existing agent\u0027s latest draft version", + "Slug": "updateagent", + "Description": "Update an existing agent\u0027s latest draft version", + "Language": "http", + "Code": "### Update an existing agent\u0027s latest draft version\n# @name updateAgent\nPATCH {{host}}/update-agent/{{agent_id}}?version={{version}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022agent_name\u0022: \u0022Jarvis\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated an agent.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updateAgent", + "Setup": null + }, + { + "Order": 2, + "Title": "Update metadata and sensitive data storage settings for an existing call.", + "Slug": "updatecallmetadata", + "Description": "Update metadata and sensitive data storage settings for an existing call.", + "Language": "http", + "Code": "### Update metadata and sensitive data storage settings for an existing call.\n# @name updateCallMetadata\nPATCH {{host}}/v2/update-call/{{call_id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022metadata\u0022: {\n \u0022customer_id\u0022: \u0022cust_123\u0022,\n \u0022notes\u0022: \u0022Follow-up required\u0022\n },\n \u0022data_storage_setting\u0022: \u0022everything_except_pii\u0022\n}\n\n## Responses\n# 200\n# Description: Call metadata updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updateCallMetadata", + "Setup": null + }, + { + "Order": 3, + "Title": "Update metadata and sensitive data storage settings for an existing chat.", + "Slug": "updatechatmetadata", + "Description": "Update metadata and sensitive data storage settings for an existing chat.", + "Language": "http", + "Code": "### Update metadata and sensitive data storage settings for an existing chat.\n# @name updateChatMetadata\nPATCH {{host}}/update-chat/{{chat_id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022metadata\u0022: {\n \u0022customer_id\u0022: \u0022cust_123\u0022,\n \u0022notes\u0022: \u0022Follow-up required\u0022\n },\n \u0022data_storage_setting\u0022: \u0022everything\u0022,\n \u0022override_dynamic_variables\u0022: {\n \u0022additional_discount\u0022: \u002215%\u0022\n }\n}\n\n## Responses\n# 200\n# Description: Chat metadata updated successfully\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updateChatMetadata", + "Setup": null + }, + { + "Order": 4, + "Title": "Update agent bound to a purchased phone number", + "Slug": "updatephonenumber", + "Description": "Update agent bound to a purchased phone number", + "Language": "http", + "Code": "### Update agent bound to a purchased phone number\n# @name updatePhoneNumber\nPATCH {{host}}/update-phone-number/{{phone_number}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022inbound_agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022outbound_agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022nickname\u0022: \u0022Frontdesk Number\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated an phone number object.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updatePhoneNumber", + "Setup": null + }, + { + "Order": 5, + "Title": "Update an existing Retell LLM Response Engine", + "Slug": "updateretellllm", + "Description": "Update an existing Retell LLM Response Engine", + "Language": "http", + "Code": "### Update an existing Retell LLM Response Engine\n# @name updateRetellLLM\nPATCH {{host}}/update-retell-llm/{{llm_id}}?version={{version}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022begin_message\u0022: \u0022Hey I am a virtual assistant calling from Retell Hospital.\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated an Retell LLM Response Engine.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updateRetellLLM", + "Setup": null + } + ] +} \ No newline at end of file