diff --git a/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs b/src/libs/Zep/Generated/Zep.Episode.JsonSerializerContext.g.cs similarity index 95% rename from src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs rename to src/libs/Zep/Generated/Zep.Episode.JsonSerializerContext.g.cs index fd01c08..4b29e74 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs +++ b/src/libs/Zep/Generated/Zep.Episode.JsonSerializerContext.g.cs @@ -42,13 +42,13 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class GraphEpisodeSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + internal sealed partial class EpisodeSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } /// /// /// - public sealed partial class GraphEpisodeSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + public sealed partial class EpisodeSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext { private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); @@ -61,9 +61,9 @@ public sealed partial class GraphEpisodeSourceGenerationContext : global::System /// /// /// - public static GraphEpisodeSourceGenerationContext Default { get; } = new(DefaultOptions); + public static EpisodeSourceGenerationContext Default { get; } = new(DefaultOptions); - private GraphEpisodeSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + private EpisodeSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) : base(options) { } @@ -214,7 +214,7 @@ private sealed class LazyChunkResolver : global::System.Text.Json.Serialization. { return index switch { - 0 => new GraphEpisodeSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + 0 => new EpisodeSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), }; } diff --git a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs b/src/libs/Zep/Generated/Zep.EpisodeClient.ListByGraphId.g.cs similarity index 99% rename from src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs rename to src/libs/Zep/Generated/Zep.EpisodeClient.ListByGraphId.g.cs index bac372a..163a1f8 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs +++ b/src/libs/Zep/Generated/Zep.EpisodeClient.ListByGraphId.g.cs @@ -3,7 +3,7 @@ namespace Zep { - public partial class GraphEpisodeClient + public partial class EpisodeClient { diff --git a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs b/src/libs/Zep/Generated/Zep.EpisodeClient.ListByUserId.g.cs similarity index 99% rename from src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs rename to src/libs/Zep/Generated/Zep.EpisodeClient.ListByUserId.g.cs index 2d1d11e..d5eebfd 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs +++ b/src/libs/Zep/Generated/Zep.EpisodeClient.ListByUserId.g.cs @@ -3,7 +3,7 @@ namespace Zep { - public partial class GraphEpisodeClient + public partial class EpisodeClient { diff --git a/src/libs/Zep/Generated/Zep.GraphNodeClient.g.cs b/src/libs/Zep/Generated/Zep.EpisodeClient.g.cs similarity index 92% rename from src/libs/Zep/Generated/Zep.GraphNodeClient.g.cs rename to src/libs/Zep/Generated/Zep.EpisodeClient.g.cs index a79d749..1db2e56 100644 --- a/src/libs/Zep/Generated/Zep.GraphNodeClient.g.cs +++ b/src/libs/Zep/Generated/Zep.EpisodeClient.g.cs @@ -7,7 +7,7 @@ namespace Zep /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// - public sealed partial class GraphNodeClient : global::Zep.IGraphNodeClient, global::System.IDisposable + public sealed partial class EpisodeClient : global::Zep.IEpisodeClient, global::System.IDisposable { /// /// https://api.getzep.com/api/v2 @@ -34,7 +34,7 @@ public sealed partial class GraphNodeClient : global::Zep.IGraphNodeClient, glob /// public global::Zep.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Zep.GraphNodeSourceGenerationContext.Default); + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Zep.EpisodeSourceGenerationContext.Default); /// /// @@ -47,7 +47,7 @@ public sealed partial class GraphNodeClient : global::Zep.IGraphNodeClient, glob /// - /// Creates a new instance of the GraphNodeClient. + /// Creates a new instance of the EpisodeClient. /// If no httpClient is provided, a new one will be created. /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// @@ -55,7 +55,7 @@ public sealed partial class GraphNodeClient : global::Zep.IGraphNodeClient, glob /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. /// The authorizations to use for the requests. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphNodeClient( + public EpisodeClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -69,14 +69,14 @@ public GraphNodeClient( } /// - /// Creates a new instance of the GraphNodeClient with explicit options but no base URL override. + /// Creates a new instance of the EpisodeClient with explicit options but no base URL override. /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. /// /// The HttpClient instance. If not provided, a new one will be created. /// The authorizations to use for the requests. /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphNodeClient( + public EpisodeClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::Zep.AutoSDKClientOptions? options, @@ -90,7 +90,7 @@ public GraphNodeClient( } /// - /// Creates a new instance of the GraphNodeClient. + /// Creates a new instance of the EpisodeClient. /// If no httpClient is provided, a new one will be created. /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// @@ -99,7 +99,7 @@ public GraphNodeClient( /// The authorizations to use for the requests. /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphNodeClient( + public EpisodeClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs b/src/libs/Zep/Generated/Zep.IEpisodeClient.ListByGraphId.g.cs similarity index 98% rename from src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs rename to src/libs/Zep/Generated/Zep.IEpisodeClient.ListByGraphId.g.cs index c9bb1f7..248f531 100644 --- a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs +++ b/src/libs/Zep/Generated/Zep.IEpisodeClient.ListByGraphId.g.cs @@ -2,7 +2,7 @@ namespace Zep { - public partial interface IGraphEpisodeClient + public partial interface IEpisodeClient { /// /// List Graph Episodes
diff --git a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs b/src/libs/Zep/Generated/Zep.IEpisodeClient.ListByUserId.g.cs similarity index 98% rename from src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs rename to src/libs/Zep/Generated/Zep.IEpisodeClient.ListByUserId.g.cs index 6813dcc..4894ee7 100644 --- a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs +++ b/src/libs/Zep/Generated/Zep.IEpisodeClient.ListByUserId.g.cs @@ -2,7 +2,7 @@ namespace Zep { - public partial interface IGraphEpisodeClient + public partial interface IEpisodeClient { /// /// List User Episodes
diff --git a/src/libs/Zep/Generated/Zep.IGraphNodeClient.g.cs b/src/libs/Zep/Generated/Zep.IEpisodeClient.g.cs similarity index 95% rename from src/libs/Zep/Generated/Zep.IGraphNodeClient.g.cs rename to src/libs/Zep/Generated/Zep.IEpisodeClient.g.cs index 583bfdc..b1ecc70 100644 --- a/src/libs/Zep/Generated/Zep.IGraphNodeClient.g.cs +++ b/src/libs/Zep/Generated/Zep.IEpisodeClient.g.cs @@ -7,7 +7,7 @@ namespace Zep /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public partial interface IGraphNodeClient : global::System.IDisposable + public partial interface IEpisodeClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/Zep/Generated/Zep.IGraphNodeClient.GetNeighbors.g.cs b/src/libs/Zep/Generated/Zep.INodeClient.GetNeighbors.g.cs similarity index 99% rename from src/libs/Zep/Generated/Zep.IGraphNodeClient.GetNeighbors.g.cs rename to src/libs/Zep/Generated/Zep.INodeClient.GetNeighbors.g.cs index 09dfd9f..d508eab 100644 --- a/src/libs/Zep/Generated/Zep.IGraphNodeClient.GetNeighbors.g.cs +++ b/src/libs/Zep/Generated/Zep.INodeClient.GetNeighbors.g.cs @@ -2,7 +2,7 @@ namespace Zep { - public partial interface IGraphNodeClient + public partial interface INodeClient { /// /// Get Node Neighbors
diff --git a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.g.cs b/src/libs/Zep/Generated/Zep.INodeClient.g.cs similarity index 95% rename from src/libs/Zep/Generated/Zep.IGraphEpisodeClient.g.cs rename to src/libs/Zep/Generated/Zep.INodeClient.g.cs index 7f93912..30a973b 100644 --- a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.g.cs +++ b/src/libs/Zep/Generated/Zep.INodeClient.g.cs @@ -7,7 +7,7 @@ namespace Zep /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public partial interface IGraphEpisodeClient : global::System.IDisposable + public partial interface INodeClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/Zep/Generated/Zep.IZepClient.g.cs b/src/libs/Zep/Generated/Zep.IZepClient.g.cs index 3dd911d..9172c9a 100644 --- a/src/libs/Zep/Generated/Zep.IZepClient.g.cs +++ b/src/libs/Zep/Generated/Zep.IZepClient.g.cs @@ -77,22 +77,22 @@ public partial interface IZepClient : global::System.IDisposable /// /// /// - public EpisodesClient Episodes { get; } + public EpisodeClient Episode { get; } /// /// /// - public GraphClient Graph { get; } + public EpisodesClient Episodes { get; } /// /// /// - public GraphEpisodeClient GraphEpisode { get; } + public GraphClient Graph { get; } /// /// /// - public GraphNodeClient GraphNode { get; } + public NodeClient Node { get; } /// /// diff --git a/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs b/src/libs/Zep/Generated/Zep.Node.JsonSerializerContext.g.cs similarity index 95% rename from src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs rename to src/libs/Zep/Generated/Zep.Node.JsonSerializerContext.g.cs index 355510c..6caf6d6 100644 --- a/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs +++ b/src/libs/Zep/Generated/Zep.Node.JsonSerializerContext.g.cs @@ -51,13 +51,13 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class GraphNodeSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + internal sealed partial class NodeSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } /// /// /// - public sealed partial class GraphNodeSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + public sealed partial class NodeSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext { private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); @@ -70,9 +70,9 @@ public sealed partial class GraphNodeSourceGenerationContext : global::System.Te /// /// /// - public static GraphNodeSourceGenerationContext Default { get; } = new(DefaultOptions); + public static NodeSourceGenerationContext Default { get; } = new(DefaultOptions); - private GraphNodeSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + private NodeSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) : base(options) { } @@ -195,7 +195,7 @@ private sealed class LazyChunkResolver : global::System.Text.Json.Serialization. { return index switch { - 0 => new GraphNodeSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + 0 => new NodeSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), }; } diff --git a/src/libs/Zep/Generated/Zep.GraphNodeClient.GetNeighbors.g.cs b/src/libs/Zep/Generated/Zep.NodeClient.GetNeighbors.g.cs similarity index 99% rename from src/libs/Zep/Generated/Zep.GraphNodeClient.GetNeighbors.g.cs rename to src/libs/Zep/Generated/Zep.NodeClient.GetNeighbors.g.cs index 2ee5638..00355c9 100644 --- a/src/libs/Zep/Generated/Zep.GraphNodeClient.GetNeighbors.g.cs +++ b/src/libs/Zep/Generated/Zep.NodeClient.GetNeighbors.g.cs @@ -3,7 +3,7 @@ namespace Zep { - public partial class GraphNodeClient + public partial class NodeClient { diff --git a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.g.cs b/src/libs/Zep/Generated/Zep.NodeClient.g.cs similarity index 91% rename from src/libs/Zep/Generated/Zep.GraphEpisodeClient.g.cs rename to src/libs/Zep/Generated/Zep.NodeClient.g.cs index 5a078de..7bd01f9 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.g.cs +++ b/src/libs/Zep/Generated/Zep.NodeClient.g.cs @@ -7,7 +7,7 @@ namespace Zep /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GraphEpisodeClient : global::Zep.IGraphEpisodeClient, global::System.IDisposable + public sealed partial class NodeClient : global::Zep.INodeClient, global::System.IDisposable { /// /// https://api.getzep.com/api/v2 @@ -34,7 +34,7 @@ public sealed partial class GraphEpisodeClient : global::Zep.IGraphEpisodeClient /// public global::Zep.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Zep.GraphEpisodeSourceGenerationContext.Default); + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Zep.NodeSourceGenerationContext.Default); /// /// @@ -47,7 +47,7 @@ public sealed partial class GraphEpisodeClient : global::Zep.IGraphEpisodeClient /// - /// Creates a new instance of the GraphEpisodeClient. + /// Creates a new instance of the NodeClient. /// If no httpClient is provided, a new one will be created. /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// @@ -55,7 +55,7 @@ public sealed partial class GraphEpisodeClient : global::Zep.IGraphEpisodeClient /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. /// The authorizations to use for the requests. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphEpisodeClient( + public NodeClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -69,14 +69,14 @@ public GraphEpisodeClient( } /// - /// Creates a new instance of the GraphEpisodeClient with explicit options but no base URL override. + /// Creates a new instance of the NodeClient with explicit options but no base URL override. /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. /// /// The HttpClient instance. If not provided, a new one will be created. /// The authorizations to use for the requests. /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphEpisodeClient( + public NodeClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::Zep.AutoSDKClientOptions? options, @@ -90,7 +90,7 @@ public GraphEpisodeClient( } /// - /// Creates a new instance of the GraphEpisodeClient. + /// Creates a new instance of the NodeClient. /// If no httpClient is provided, a new one will be created. /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// @@ -99,7 +99,7 @@ public GraphEpisodeClient( /// The authorizations to use for the requests. /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// Dispose the HttpClient when the instance is disposed. True by default. - public GraphEpisodeClient( + public NodeClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/Zep/Generated/Zep.ZepClient.g.cs b/src/libs/Zep/Generated/Zep.ZepClient.g.cs index 5b135bc..bb6ae63 100644 --- a/src/libs/Zep/Generated/Zep.ZepClient.g.cs +++ b/src/libs/Zep/Generated/Zep.ZepClient.g.cs @@ -103,7 +103,7 @@ public sealed partial class ZepClient : global::Zep.IZepClient, global::System.I /// /// /// - public EpisodesClient Episodes => new EpisodesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public EpisodeClient Episode => new EpisodeClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContextProvider = JsonSerializerContextProvider, @@ -112,7 +112,7 @@ public sealed partial class ZepClient : global::Zep.IZepClient, global::System.I /// /// /// - public GraphClient Graph => new GraphClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public EpisodesClient Episodes => new EpisodesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContextProvider = JsonSerializerContextProvider, @@ -121,7 +121,7 @@ public sealed partial class ZepClient : global::Zep.IZepClient, global::System.I /// /// /// - public GraphEpisodeClient GraphEpisode => new GraphEpisodeClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public GraphClient Graph => new GraphClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContextProvider = JsonSerializerContextProvider, @@ -130,7 +130,7 @@ public sealed partial class ZepClient : global::Zep.IZepClient, global::System.I /// /// /// - public GraphNodeClient GraphNode => new GraphNodeClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public NodeClient Node => new NodeClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContextProvider = JsonSerializerContextProvider, diff --git a/src/libs/Zep/openapi.json b/src/libs/Zep/openapi.json index 3b55755..fbbda1e 100644 --- a/src/libs/Zep/openapi.json +++ b/src/libs/Zep/openapi.json @@ -3946,11 +3946,11 @@ } }, "post": { - "operationId": "graph_episode_list_by_graph_id", + "operationId": "episode_list_by_graph_id", "summary": "List Graph Episodes", "description": "Returns a paginated, filterable list of episodes for a graph.", "tags": [ - "graph > episode" + "episode" ], "parameters": [ { @@ -4072,11 +4072,11 @@ } }, "post": { - "operationId": "graph_episode_list_by_user_id", + "operationId": "episode_list_by_user_id", "summary": "List User Episodes", "description": "Returns a paginated, filterable list of episodes for a user's graph.", "tags": [ - "graph > episode" + "episode" ], "parameters": [ { @@ -4682,11 +4682,11 @@ }, "/graph/node/{node_uuid}/neighbors": { "post": { - "operationId": "graph_node_get_neighbors", + "operationId": "node_get_neighbors", "summary": "Get Node Neighbors", "description": "Enumerates the distinct entity nodes directly connected to a node, together with the edges connecting each to it.", "tags": [ - "graph > node" + "node" ], "parameters": [ { @@ -6557,10 +6557,10 @@ "name": "episodes" }, { - "name": "graph > episode" + "name": "episode" }, { - "name": "graph > node" + "name": "node" }, { "name": "observation" @@ -9439,7 +9439,7 @@ }, "summary": { "type": "string", - "maxLength": 500, + "maxLength": 5000, "description": "Updated summary for the node" } },