Skip to content

Commit 6fb08f1

Browse files
authored
Merge pull request #84 from tryAGI/bot/update-openapi_202505060921
feat:@coderabbitai
2 parents 86855c6 + 0611c70 commit 6fb08f1

12 files changed

Lines changed: 153 additions & 4 deletions

src/libs/ElevenLabs/Generated/ElevenLabs.ConversationalAIClient.CreateConvaiAgentsCreate.g.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,20 +221,26 @@ partial void ProcessCreateConvaiAgentsCreateResponseContent(
221221
/// A name to make the agent easier to find<br/>
222222
/// Example: My agent
223223
/// </param>
224+
/// <param name="categories">
225+
/// Categories to help classify and filter the agent<br/>
226+
/// Example: [Customer Support, Technical Help, Eleven]
227+
/// </param>
224228
/// <param name="cancellationToken">The token to cancel the operation with</param>
225229
/// <exception cref="global::System.InvalidOperationException"></exception>
226230
public async global::System.Threading.Tasks.Task<global::ElevenLabs.CreateAgentResponseModel> CreateConvaiAgentsCreateAsync(
227231
global::ElevenLabs.ConversationalConfigAPIModelInput conversationConfig,
228232
string? xiApiKey = default,
229233
global::ElevenLabs.AgentPlatformSettingsRequestModel? platformSettings = default,
230234
string? name = default,
235+
global::System.Collections.Generic.IList<string>? categories = default,
231236
global::System.Threading.CancellationToken cancellationToken = default)
232237
{
233238
var __request = new global::ElevenLabs.BodyCreateAgentV1ConvaiAgentsCreatePost
234239
{
235240
ConversationConfig = conversationConfig,
236241
PlatformSettings = platformSettings,
237242
Name = name,
243+
Categories = categories,
238244
};
239245

240246
return await CreateConvaiAgentsCreateAsync(

src/libs/ElevenLabs/Generated/ElevenLabs.ConversationalAIClient.EditConvaiAgentsByAgentId.g.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ partial void ProcessEditConvaiAgentsByAgentIdResponseContent(
238238
/// A name to make the agent easier to find<br/>
239239
/// Example: My agent
240240
/// </param>
241+
/// <param name="categories">
242+
/// Categories to help classify and filter the agent<br/>
243+
/// Example: [Customer Support, Technical Help, Eleven]
244+
/// </param>
241245
/// <param name="cancellationToken">The token to cancel the operation with</param>
242246
/// <exception cref="global::System.InvalidOperationException"></exception>
243247
public async global::System.Threading.Tasks.Task<global::ElevenLabs.GetAgentResponseModel> EditConvaiAgentsByAgentIdAsync(
@@ -246,13 +250,15 @@ partial void ProcessEditConvaiAgentsByAgentIdResponseContent(
246250
object? conversationConfig = default,
247251
object? platformSettings = default,
248252
string? name = default,
253+
global::System.Collections.Generic.IList<string>? categories = default,
249254
global::System.Threading.CancellationToken cancellationToken = default)
250255
{
251256
var __request = new global::ElevenLabs.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch
252257
{
253258
ConversationConfig = conversationConfig,
254259
PlatformSettings = platformSettings,
255260
Name = name,
261+
Categories = categories,
256262
};
257263

258264
return await EditConvaiAgentsByAgentIdAsync(

src/libs/ElevenLabs/Generated/ElevenLabs.ConversationalAIClient.GetConvaiConversations.g.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ partial void PrepareGetConvaiConversationsArguments(
1111
ref string? agentId,
1212
ref global::ElevenLabs.EvaluationSuccessResult? callSuccessful,
1313
ref global::System.DateTimeOffset? callStartBeforeUnix,
14+
ref global::System.DateTimeOffset? callStartAfterUnix,
1415
ref int? pageSize,
1516
ref string? xiApiKey);
1617
partial void PrepareGetConvaiConversationsRequest(
@@ -20,6 +21,7 @@ partial void PrepareGetConvaiConversationsRequest(
2021
string? agentId,
2122
global::ElevenLabs.EvaluationSuccessResult? callSuccessful,
2223
global::System.DateTimeOffset? callStartBeforeUnix,
24+
global::System.DateTimeOffset? callStartAfterUnix,
2325
int? pageSize,
2426
string? xiApiKey);
2527
partial void ProcessGetConvaiConversationsResponse(
@@ -46,6 +48,9 @@ partial void ProcessGetConvaiConversationsResponseContent(
4648
/// <param name="callStartBeforeUnix">
4749
/// Unix timestamp (in seconds) to filter conversations up to this start date.
4850
/// </param>
51+
/// <param name="callStartAfterUnix">
52+
/// Unix timestamp (in seconds) to filter conversations after to this start date.
53+
/// </param>
4954
/// <param name="pageSize">
5055
/// How many conversations to return at maximum. Can not exceed 100, defaults to 30.<br/>
5156
/// Default Value: 30
@@ -60,6 +65,7 @@ partial void ProcessGetConvaiConversationsResponseContent(
6065
string? agentId = default,
6166
global::ElevenLabs.EvaluationSuccessResult? callSuccessful = default,
6267
global::System.DateTimeOffset? callStartBeforeUnix = default,
68+
global::System.DateTimeOffset? callStartAfterUnix = default,
6369
int? pageSize = default,
6470
string? xiApiKey = default,
6571
global::System.Threading.CancellationToken cancellationToken = default)
@@ -72,6 +78,7 @@ partial void ProcessGetConvaiConversationsResponseContent(
7278
agentId: ref agentId,
7379
callSuccessful: ref callSuccessful,
7480
callStartBeforeUnix: ref callStartBeforeUnix,
81+
callStartAfterUnix: ref callStartAfterUnix,
7582
pageSize: ref pageSize,
7683
xiApiKey: ref xiApiKey);
7784

@@ -83,6 +90,7 @@ partial void ProcessGetConvaiConversationsResponseContent(
8390
.AddOptionalParameter("agent_id", agentId)
8491
.AddOptionalParameter("call_successful", callSuccessful?.ToValueString())
8592
.AddOptionalParameter("call_start_before_unix", callStartBeforeUnix?.ToString())
93+
.AddOptionalParameter("call_start_after_unix", callStartAfterUnix?.ToString())
8694
.AddOptionalParameter("page_size", pageSize?.ToString())
8795
;
8896
var __path = __pathBuilder.ToString();
@@ -126,6 +134,7 @@ partial void ProcessGetConvaiConversationsResponseContent(
126134
agentId: agentId,
127135
callSuccessful: callSuccessful,
128136
callStartBeforeUnix: callStartBeforeUnix,
137+
callStartAfterUnix: callStartAfterUnix,
129138
pageSize: pageSize,
130139
xiApiKey: xiApiKey);
131140

src/libs/ElevenLabs/Generated/ElevenLabs.IConversationalAIClient.CreateConvaiAgentsCreate.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@ public partial interface IConversationalAIClient
3232
/// A name to make the agent easier to find<br/>
3333
/// Example: My agent
3434
/// </param>
35+
/// <param name="categories">
36+
/// Categories to help classify and filter the agent<br/>
37+
/// Example: [Customer Support, Technical Help, Eleven]
38+
/// </param>
3539
/// <param name="cancellationToken">The token to cancel the operation with</param>
3640
/// <exception cref="global::System.InvalidOperationException"></exception>
3741
global::System.Threading.Tasks.Task<global::ElevenLabs.CreateAgentResponseModel> CreateConvaiAgentsCreateAsync(
3842
global::ElevenLabs.ConversationalConfigAPIModelInput conversationConfig,
3943
string? xiApiKey = default,
4044
global::ElevenLabs.AgentPlatformSettingsRequestModel? platformSettings = default,
4145
string? name = default,
46+
global::System.Collections.Generic.IList<string>? categories = default,
4247
global::System.Threading.CancellationToken cancellationToken = default);
4348
}
4449
}

src/libs/ElevenLabs/Generated/ElevenLabs.IConversationalAIClient.EditConvaiAgentsByAgentId.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public partial interface IConversationalAIClient
4545
/// A name to make the agent easier to find<br/>
4646
/// Example: My agent
4747
/// </param>
48+
/// <param name="categories">
49+
/// Categories to help classify and filter the agent<br/>
50+
/// Example: [Customer Support, Technical Help, Eleven]
51+
/// </param>
4852
/// <param name="cancellationToken">The token to cancel the operation with</param>
4953
/// <exception cref="global::System.InvalidOperationException"></exception>
5054
global::System.Threading.Tasks.Task<global::ElevenLabs.GetAgentResponseModel> EditConvaiAgentsByAgentIdAsync(
@@ -53,6 +57,7 @@ public partial interface IConversationalAIClient
5357
object? conversationConfig = default,
5458
object? platformSettings = default,
5559
string? name = default,
60+
global::System.Collections.Generic.IList<string>? categories = default,
5661
global::System.Threading.CancellationToken cancellationToken = default);
5762
}
5863
}

src/libs/ElevenLabs/Generated/ElevenLabs.IConversationalAIClient.GetConvaiConversations.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public partial interface IConversationalAIClient
1919
/// <param name="callStartBeforeUnix">
2020
/// Unix timestamp (in seconds) to filter conversations up to this start date.
2121
/// </param>
22+
/// <param name="callStartAfterUnix">
23+
/// Unix timestamp (in seconds) to filter conversations after to this start date.
24+
/// </param>
2225
/// <param name="pageSize">
2326
/// How many conversations to return at maximum. Can not exceed 100, defaults to 30.<br/>
2427
/// Default Value: 30
@@ -33,6 +36,7 @@ public partial interface IConversationalAIClient
3336
string? agentId = default,
3437
global::ElevenLabs.EvaluationSuccessResult? callSuccessful = default,
3538
global::System.DateTimeOffset? callStartBeforeUnix = default,
39+
global::System.DateTimeOffset? callStartAfterUnix = default,
3640
int? pageSize = default,
3741
string? xiApiKey = default,
3842
global::System.Threading.CancellationToken cancellationToken = default);

src/libs/ElevenLabs/Generated/ElevenLabs.Models.AgentSummaryResponseModel.g.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ public sealed partial class AgentSummaryResponseModel
2222
[global::System.Text.Json.Serialization.JsonRequired]
2323
public required string Name { get; set; }
2424

25+
/// <summary>
26+
/// The categories of the agent
27+
/// </summary>
28+
[global::System.Text.Json.Serialization.JsonPropertyName("categories")]
29+
[global::System.Text.Json.Serialization.JsonRequired]
30+
public required global::System.Collections.Generic.IList<string> Categories { get; set; }
31+
2532
/// <summary>
2633
/// The creation time of the agent in unix seconds
2734
/// </summary>
@@ -51,6 +58,9 @@ public sealed partial class AgentSummaryResponseModel
5158
/// <param name="name">
5259
/// The name of the agent
5360
/// </param>
61+
/// <param name="categories">
62+
/// The categories of the agent
63+
/// </param>
5464
/// <param name="createdAtUnixSecs">
5565
/// The creation time of the agent in unix seconds
5666
/// </param>
@@ -61,11 +71,13 @@ public sealed partial class AgentSummaryResponseModel
6171
public AgentSummaryResponseModel(
6272
string agentId,
6373
string name,
74+
global::System.Collections.Generic.IList<string> categories,
6475
int createdAtUnixSecs,
6576
global::ElevenLabs.ResourceAccessInfo accessInfo)
6677
{
6778
this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId));
6879
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
80+
this.Categories = categories ?? throw new global::System.ArgumentNullException(nameof(categories));
6981
this.CreatedAtUnixSecs = createdAtUnixSecs;
7082
this.AccessInfo = accessInfo ?? throw new global::System.ArgumentNullException(nameof(accessInfo));
7183
}

src/libs/ElevenLabs/Generated/ElevenLabs.Models.BodyCreateAgentV1ConvaiAgentsCreatePost.g.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ public sealed partial class BodyCreateAgentV1ConvaiAgentsCreatePost
2929
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
3030
public string? Name { get; set; }
3131

32+
/// <summary>
33+
/// Categories to help classify and filter the agent<br/>
34+
/// Example: [Customer Support, Technical Help, Eleven]
35+
/// </summary>
36+
/// <example>[Customer Support, Technical Help, Eleven]</example>
37+
[global::System.Text.Json.Serialization.JsonPropertyName("categories")]
38+
public global::System.Collections.Generic.IList<string>? Categories { get; set; }
39+
3240
/// <summary>
3341
/// Additional properties that are not explicitly defined in the schema
3442
/// </summary>
@@ -44,17 +52,23 @@ public sealed partial class BodyCreateAgentV1ConvaiAgentsCreatePost
4452
/// A name to make the agent easier to find<br/>
4553
/// Example: My agent
4654
/// </param>
55+
/// <param name="categories">
56+
/// Categories to help classify and filter the agent<br/>
57+
/// Example: [Customer Support, Technical Help, Eleven]
58+
/// </param>
4759
#if NET7_0_OR_GREATER
4860
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4961
#endif
5062
public BodyCreateAgentV1ConvaiAgentsCreatePost(
5163
global::ElevenLabs.ConversationalConfigAPIModelInput conversationConfig,
5264
global::ElevenLabs.AgentPlatformSettingsRequestModel? platformSettings,
53-
string? name)
65+
string? name,
66+
global::System.Collections.Generic.IList<string>? categories)
5467
{
5568
this.ConversationConfig = conversationConfig ?? throw new global::System.ArgumentNullException(nameof(conversationConfig));
5669
this.PlatformSettings = platformSettings;
5770
this.Name = name;
71+
this.Categories = categories;
5872
}
5973

6074
/// <summary>

src/libs/ElevenLabs/Generated/ElevenLabs.Models.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch.g.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ public sealed partial class BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch
2828
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
2929
public string? Name { get; set; }
3030

31+
/// <summary>
32+
/// Categories to help classify and filter the agent<br/>
33+
/// Example: [Customer Support, Technical Help, Eleven]
34+
/// </summary>
35+
/// <example>[Customer Support, Technical Help, Eleven]</example>
36+
[global::System.Text.Json.Serialization.JsonPropertyName("categories")]
37+
public global::System.Collections.Generic.IList<string>? Categories { get; set; }
38+
3139
/// <summary>
3240
/// Additional properties that are not explicitly defined in the schema
3341
/// </summary>
@@ -47,17 +55,23 @@ public sealed partial class BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch
4755
/// A name to make the agent easier to find<br/>
4856
/// Example: My agent
4957
/// </param>
58+
/// <param name="categories">
59+
/// Categories to help classify and filter the agent<br/>
60+
/// Example: [Customer Support, Technical Help, Eleven]
61+
/// </param>
5062
#if NET7_0_OR_GREATER
5163
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5264
#endif
5365
public BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch(
5466
object? conversationConfig,
5567
object? platformSettings,
56-
string? name)
68+
string? name,
69+
global::System.Collections.Generic.IList<string>? categories)
5770
{
5871
this.ConversationConfig = conversationConfig;
5972
this.PlatformSettings = platformSettings;
6073
this.Name = name;
74+
this.Categories = categories;
6175
}
6276

6377
/// <summary>

src/libs/ElevenLabs/Generated/ElevenLabs.Models.GetAgentResponseModel.g.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ public sealed partial class GetAgentResponseModel
5454
[global::System.Text.Json.Serialization.JsonPropertyName("access_info")]
5555
public global::ElevenLabs.ResourceAccessInfo? AccessInfo { get; set; }
5656

57+
/// <summary>
58+
/// The categories of the agent
59+
/// </summary>
60+
[global::System.Text.Json.Serialization.JsonPropertyName("categories")]
61+
public global::System.Collections.Generic.IList<string>? Categories { get; set; }
62+
5763
/// <summary>
5864
/// Additional properties that are not explicitly defined in the schema
5965
/// </summary>
@@ -76,6 +82,9 @@ public sealed partial class GetAgentResponseModel
7682
/// The phone numbers of the agent
7783
/// </param>
7884
/// <param name="accessInfo"></param>
85+
/// <param name="categories">
86+
/// The categories of the agent
87+
/// </param>
7988
#if NET7_0_OR_GREATER
8089
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
8190
#endif
@@ -86,7 +95,8 @@ public GetAgentResponseModel(
8695
global::ElevenLabs.AgentMetadataResponseModel metadata,
8796
global::ElevenLabs.AgentPlatformSettingsResponseModel? platformSettings,
8897
global::System.Collections.Generic.IList<global::ElevenLabs.GetPhoneNumberResponseModel>? phoneNumbers,
89-
global::ElevenLabs.ResourceAccessInfo? accessInfo)
98+
global::ElevenLabs.ResourceAccessInfo? accessInfo,
99+
global::System.Collections.Generic.IList<string>? categories)
90100
{
91101
this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId));
92102
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
@@ -95,6 +105,7 @@ public GetAgentResponseModel(
95105
this.PlatformSettings = platformSettings;
96106
this.PhoneNumbers = phoneNumbers;
97107
this.AccessInfo = accessInfo;
108+
this.Categories = categories;
98109
}
99110

100111
/// <summary>

0 commit comments

Comments
 (0)