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 @@ -80,7 +80,7 @@ private static string FormatResponse(ParseResult parseResult, global::Exa.Monito
public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"create", @"Create a Monitor
Creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.");
To run a recurring Exa search and send new results to your webhook, use the [Monitors API](https://exa.ai/docs/reference/monitors/create-a-monitor). This endpoint creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.");
command.Options.Add(WebsetId);
command.Options.Add(Metadata); command.Options.Add(CadenceOptions.Cron);
command.Options.Add(CadenceOptions.Timezone); command.Options.Add(BehaviorOptions.Type);
Expand Down
36 changes: 18 additions & 18 deletions src/libs/Exa/Generated/Exa.Agent.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ namespace Exa
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunStatus), TypeInfoPropertyName = "AgentRunStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentStopReason))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentUsage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentCostDollars))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunRequestInput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentDataSourceOutput>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentDataSourceOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentBudgetOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType), TypeInfoPropertyName = "AgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode), TypeInfoPropertyName = "AgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentGrounding>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGrounding))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentCitation>))]
Expand All @@ -50,9 +53,6 @@ namespace Exa
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary<string, int>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary<string, double>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType), TypeInfoPropertyName = "AgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode), TypeInfoPropertyName = "AgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentRun>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.DeleteAgentRunResponse))]
Expand All @@ -69,9 +69,9 @@ namespace Exa
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.JsonValue?), TypeInfoPropertyName = "NullableJsonValue2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentEffort?), TypeInfoPropertyName = "NullableAgentEffort2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunStatus?), TypeInfoPropertyName = "NullableAgentRunStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGroundingConfidence?), TypeInfoPropertyName = "NullableAgentGroundingConfidence2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType?), TypeInfoPropertyName = "NullableAgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode?), TypeInfoPropertyName = "NullableAgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGroundingConfidence?), TypeInfoPropertyName = "NullableAgentGroundingConfidence2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunEventEvent?), TypeInfoPropertyName = "NullableAgentRunEventEvent2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.CreateAgentRunAccept?), TypeInfoPropertyName = "NullableCreateAgentRunAccept2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.ListAgentRunEventsAccept?), TypeInfoPropertyName = "NullableListAgentRunEventsAccept2")]
Expand Down Expand Up @@ -168,10 +168,6 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Exa.AgentRunStatus?)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence?)

|| typeToConvert == typeof(global::Exa.AgentErrorType)

|| typeToConvert == typeof(global::Exa.AgentErrorType?)
Expand All @@ -180,6 +176,10 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Exa.AgentErrorCode?)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence?)

|| typeToConvert == typeof(global::Exa.AgentRunEventEvent)

|| typeToConvert == typeof(global::Exa.AgentRunEventEvent?)
Expand Down Expand Up @@ -217,16 +217,6 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Exa.JsonConverters.AgentRunStatusNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence?))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentErrorType))
{
return new global::Exa.JsonConverters.AgentErrorTypeJsonConverter();
Expand All @@ -247,6 +237,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Exa.JsonConverters.AgentErrorCodeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence?))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentRunEventEvent))
{
return new global::Exa.JsonConverters.AgentRunEventEventJsonConverter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IMonitorsClient
{
/// <summary>
/// Create a Monitor<br/>
/// Creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// To run a recurring Exa search and send new results to your webhook, use the [Monitors API](https://exa.ai/docs/reference/monitors/create-a-monitor). This endpoint creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +19,7 @@ public partial interface IMonitorsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a Monitor<br/>
/// Creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// To run a recurring Exa search and send new results to your webhook, use the [Monitors API](https://exa.ai/docs/reference/monitors/create-a-monitor). This endpoint creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,7 +32,7 @@ public partial interface IMonitorsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a Monitor<br/>
/// Creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// To run a recurring Exa search and send new results to your webhook, use the [Monitors API](https://exa.ai/docs/reference/monitors/create-a-monitor). This endpoint creates a Monitor that searches for new Items for a Webset on a `cron` schedule in the given `timezone`.
/// </summary>
/// <param name="websetId">
/// The id of the Webset
Expand Down
36 changes: 18 additions & 18 deletions src/libs/Exa/Generated/Exa.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,16 @@ namespace Exa
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunStatus), TypeInfoPropertyName = "AgentRunStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentStopReason))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentUsage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentCostDollars))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunRequestInput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentDataSourceOutput>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentDataSourceOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentBudgetOutput))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType), TypeInfoPropertyName = "AgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode), TypeInfoPropertyName = "AgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentGrounding>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGrounding))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentCitation>))]
Expand All @@ -241,9 +244,6 @@ namespace Exa
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary<string, int>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary<string, double>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentError))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType), TypeInfoPropertyName = "AgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode), TypeInfoPropertyName = "AgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Exa.AgentRun>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.DeleteAgentRunResponse))]
Expand Down Expand Up @@ -658,9 +658,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.SearchMonitorRunFailReason?), TypeInfoPropertyName = "NullableSearchMonitorRunFailReason2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.SearchMonitorRunOutputGroundingVariant1ItemConfidence?), TypeInfoPropertyName = "NullableSearchMonitorRunOutputGroundingVariant1ItemConfidence2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentRunStatus?), TypeInfoPropertyName = "NullableAgentRunStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGroundingConfidence?), TypeInfoPropertyName = "NullableAgentGroundingConfidence2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorType?), TypeInfoPropertyName = "NullableAgentErrorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentErrorCode?), TypeInfoPropertyName = "NullableAgentErrorCode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AgentGroundingConfidence?), TypeInfoPropertyName = "NullableAgentGroundingConfidence2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.BatchStatus?), TypeInfoPropertyName = "NullableBatchStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.AnswerStreamChunk?), TypeInfoPropertyName = "NullableAnswerStreamChunk2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Exa.SearchStreamChunk?), TypeInfoPropertyName = "NullableSearchStreamChunk2")]
Expand Down Expand Up @@ -1116,10 +1116,6 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Exa.AgentRunStatus?)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence?)

|| typeToConvert == typeof(global::Exa.AgentErrorType)

|| typeToConvert == typeof(global::Exa.AgentErrorType?)
Expand All @@ -1128,6 +1124,10 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Exa.AgentErrorCode?)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence)

|| typeToConvert == typeof(global::Exa.AgentGroundingConfidence?)

|| typeToConvert == typeof(global::Exa.BatchStatus)

|| typeToConvert == typeof(global::Exa.BatchStatus?)
Expand Down Expand Up @@ -1783,16 +1783,6 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Exa.JsonConverters.AgentRunStatusNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence?))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentErrorType))
{
return new global::Exa.JsonConverters.AgentErrorTypeJsonConverter();
Expand All @@ -1813,6 +1803,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Exa.JsonConverters.AgentErrorCodeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceJsonConverter();
}

if (typeToConvert == typeof(global::Exa.AgentGroundingConfidence?))
{
return new global::Exa.JsonConverters.AgentGroundingConfidenceNullableJsonConverter();
}

if (typeToConvert == typeof(global::Exa.BatchStatus))
{
return new global::Exa.JsonConverters.BatchStatusJsonConverter();
Expand Down
Loading
Loading