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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class SmsContentJsonConverter : global::System.Text.Json.Serialization.Js
}

var __score0 = 0;
if (__jsonProps.Contains("content")) __score0++;
if (__jsonProps.Contains("text")) __score0++;
if (__jsonProps.Contains("type")) __score0++;
var __score1 = 0;
if (__jsonProps.Contains("prompt")) __score1++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public sealed partial class SmsContentPredefined
/// <summary>
/// The static message to be sent in the SMS. Can contain dynamic variables.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("content")]
public string? Content { get; set; }
[global::System.Text.Json.Serialization.JsonPropertyName("text")]
public string? Text { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand All @@ -31,18 +31,18 @@ public sealed partial class SmsContentPredefined
/// Initializes a new instance of the <see cref="SmsContentPredefined" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="content">
/// <param name="text">
/// The static message to be sent in the SMS. Can contain dynamic variables.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public SmsContentPredefined(
global::RetellAI.SmsContentPredefinedType? type,
string? content)
string? text)
{
this.Type = type;
this.Content = content;
this.Text = text;
}

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion src/libs/RetellAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ openapi: 3.0.3
info:
title: Retell SDK
version: 3.0.0
x-retell-spec-revision: 2026-08-01-ad84c11
contact:
name: Retell Support
url: https://www.retellai.com/
Expand Down Expand Up @@ -6462,7 +6463,7 @@ components:
type: string
enum:
- predefined
content:
text:
type: string
description: The static message to be sent in the SMS. Can contain dynamic variables.
SmsContentTemplate:
Expand Down
Loading