@@ -32,13 +32,23 @@ public record CreateCallDto
3232 public object ? Transport { get ; set ; }
3333
3434 /// <summary>
35- /// This is the assistant that will be used for the call. To use a transient assistant, use `assistant` instead.
35+ /// This is the assistant ID that will be used for the call. To use a transient assistant, use `assistant` instead.
36+ ///
37+ /// To start a call with:
38+ /// - Assistant, use `assistantId` or `assistant`
39+ /// - Squad, use `squadId` or `squad`
40+ /// - Workflow, use `workflowId` or `workflow`
3641 /// </summary>
3742 [ JsonPropertyName ( "assistantId" ) ]
3843 public string ? AssistantId { get ; set ; }
3944
4045 /// <summary>
4146 /// This is the assistant that will be used for the call. To use an existing assistant, use `assistantId` instead.
47+ ///
48+ /// To start a call with:
49+ /// - Assistant, use `assistant`
50+ /// - Squad, use `squad`
51+ /// - Workflow, use `workflow`
4252 /// </summary>
4353 [ JsonPropertyName ( "assistant" ) ]
4454 public CreateAssistantDto ? Assistant { get ; set ; }
@@ -51,16 +61,52 @@ public record CreateCallDto
5161
5262 /// <summary>
5363 /// This is the squad that will be used for the call. To use a transient squad, use `squad` instead.
64+ ///
65+ /// To start a call with:
66+ /// - Assistant, use `assistant` or `assistantId`
67+ /// - Squad, use `squad` or `squadId`
68+ /// - Workflow, use `workflow` or `workflowId`
5469 /// </summary>
5570 [ JsonPropertyName ( "squadId" ) ]
5671 public string ? SquadId { get ; set ; }
5772
5873 /// <summary>
5974 /// This is a squad that will be used for the call. To use an existing squad, use `squadId` instead.
75+ ///
76+ /// To start a call with:
77+ /// - Assistant, use `assistant` or `assistantId`
78+ /// - Squad, use `squad` or `squadId`
79+ /// - Workflow, use `workflow` or `workflowId`
6080 /// </summary>
6181 [ JsonPropertyName ( "squad" ) ]
6282 public CreateSquadDto ? Squad { get ; set ; }
6383
84+ /// <summary>
85+ /// [BETA] This feature is in active development. The API and behavior are subject to change as we refine it based on user feedback.
86+ ///
87+ /// This is the workflow that will be used for the call. To use a transient workflow, use `workflow` instead.
88+ ///
89+ /// To start a call with:
90+ /// - Assistant, use `assistant` or `assistantId`
91+ /// - Squad, use `squad` or `squadId`
92+ /// - Workflow, use `workflow` or `workflowId`
93+ /// </summary>
94+ [ JsonPropertyName ( "workflowId" ) ]
95+ public string ? WorkflowId { get ; set ; }
96+
97+ /// <summary>
98+ /// [BETA] This feature is in active development. The API and behavior are subject to change as we refine it based on user feedback.
99+ ///
100+ /// This is a workflow that will be used for the call. To use an existing workflow, use `workflowId` instead.
101+ ///
102+ /// To start a call with:
103+ /// - Assistant, use `assistant` or `assistantId`
104+ /// - Squad, use `squad` or `squadId`
105+ /// - Workflow, use `workflow` or `workflowId`
106+ /// </summary>
107+ [ JsonPropertyName ( "workflow" ) ]
108+ public CreateWorkflowDto ? Workflow { get ; set ; }
109+
64110 /// <summary>
65111 /// This is the phone number that will be used for the call. To use a transient number, use `phoneNumber` instead.
66112 ///
0 commit comments