Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IRetellAiClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RetellAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/RetellAI/Generated/RetellAI.OptionsSupport.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions
public global::System.TimeSpan? Delay { get; set; }
}


/// <summary>
/// Runtime hook interface for generated SDK lifecycle events.
/// </summary>
Expand Down Expand Up @@ -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(
Expand Down
59 changes: 59 additions & 0 deletions src/libs/RetellAI/Generated/autosdk.generated-examples.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Loading