diff --git a/src/libs/Zep/Generated/Zep.GraphClient.DetectPatternsExperimental.g.cs b/src/libs/Zep/Generated/Zep.GraphClient.DetectPatternsExperimental.g.cs deleted file mode 100644 index a0a85be..0000000 --- a/src/libs/Zep/Generated/Zep.GraphClient.DetectPatternsExperimental.g.cs +++ /dev/null @@ -1,674 +0,0 @@ - -#nullable enable - -namespace Zep -{ - public partial class GraphClient - { - - - private static readonly global::Zep.EndPointSecurityRequirement s_DetectPatternsExperimentalSecurityRequirement0 = - new global::Zep.EndPointSecurityRequirement - { - Authorizations = new global::Zep.EndPointAuthorizationRequirement[] - { new global::Zep.EndPointAuthorizationRequirement - { - Type = "Http", - SchemeId = "BearerAuth", - Location = "Header", - Name = "Bearer", - FriendlyName = "Bearer", - }, - }, - }; - private static readonly global::Zep.EndPointSecurityRequirement[] s_DetectPatternsExperimentalSecurityRequirements = - new global::Zep.EndPointSecurityRequirement[] - { s_DetectPatternsExperimentalSecurityRequirement0, - }; - partial void PrepareDetectPatternsExperimentalArguments( - global::System.Net.Http.HttpClient httpClient, - global::Zep.ApidataDetectPatternsRequest request); - partial void PrepareDetectPatternsExperimentalRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::Zep.ApidataDetectPatternsRequest request); - partial void ProcessDetectPatternsExperimentalResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessDetectPatternsExperimentalResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task DetectPatternsExperimentalAsync( - - global::Zep.ApidataDetectPatternsRequest request, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __response = await DetectPatternsExperimentalAsResponseAsync( - - request: request, - requestOptions: requestOptions, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - return __response.Body; - } - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task> DetectPatternsExperimentalAsResponseAsync( - - global::Zep.ApidataDetectPatternsRequest request, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - - PrepareArguments( - client: HttpClient); - PrepareDetectPatternsExperimentalArguments( - httpClient: HttpClient, - request: request); - - - var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( - availableAuthorizations: Authorizations, - securityRequirements: s_DetectPatternsExperimentalSecurityRequirements, - operationName: "DetectPatternsExperimentalAsync"); - - using var __timeoutCancellationTokenSource = global::Zep.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( - clientOptions: Options, - requestOptions: requestOptions, - cancellationToken: cancellationToken); - var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; - var __effectiveReadResponseAsString = global::Zep.AutoSDKRequestOptionsSupport.GetReadResponseAsString( - clientOptions: Options, - requestOptions: requestOptions, - fallbackValue: ReadResponseAsString); - var __maxAttempts = global::Zep.AutoSDKRequestOptionsSupport.GetMaxAttempts( - clientOptions: Options, - requestOptions: requestOptions, - supportsRetry: true); - - global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() - { - - var __pathBuilder = new global::Zep.PathBuilder( - path: "/graph/patterns", - baseUri: HttpClient.BaseAddress); - var __path = __pathBuilder.ToString(); - __path = global::Zep.AutoSDKRequestOptionsSupport.AppendQueryParameters( - path: __path, - clientParameters: Options.QueryParameters, - requestParameters: requestOptions?.QueryParameters); - var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in __authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2" || - __authorization.Type == "OpenIdConnect") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; - global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( - request: __httpRequest, - clientHeaders: Options.Headers, - requestHeaders: requestOptions?.Headers); - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareDetectPatternsExperimentalRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - request: request); - - return __httpRequest; - } - - global::System.Net.Http.HttpRequestMessage? __httpRequest = null; - global::System.Net.Http.HttpResponseMessage? __response = null; - var __attemptNumber = 0; - try - { - for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) - { - __attemptNumber = __attempt; - __httpRequest = __CreateHttpRequest(); - await global::Zep.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( - clientOptions: Options, - context: global::Zep.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DetectPatternsExperimental", - methodName: "DetectPatternsExperimentalAsync", - pathTemplate: "\"/graph/patterns\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - try - { - __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - } - catch (global::System.Net.Http.HttpRequestException __exception) - { - var __retryDelay = global::Zep.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: null, - attempt: __attempt); - var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; - await global::Zep.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::Zep.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DetectPatternsExperimental", - methodName: "DetectPatternsExperimentalAsync", - pathTemplate: "\"/graph/patterns\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: null, - exception: __exception, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: __willRetry, - retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, - retryReason: "exception", - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - if (!__willRetry) - { - throw; - } - - __httpRequest.Dispose(); - __httpRequest = null; - await global::Zep.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - if (__response != null && - __attempt < __maxAttempts && - global::Zep.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) - { - var __retryDelay = global::Zep.AutoSDKRequestOptionsSupport.GetRetryDelay( - clientOptions: Options, - requestOptions: requestOptions, - response: __response, - attempt: __attempt); - await global::Zep.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::Zep.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DetectPatternsExperimental", - methodName: "DetectPatternsExperimentalAsync", - pathTemplate: "\"/graph/patterns\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attempt, - maxAttempts: __maxAttempts, - willRetry: true, - retryDelay: __retryDelay, - retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - __response.Dispose(); - __response = null; - __httpRequest.Dispose(); - __httpRequest = null; - await global::Zep.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( - retryDelay: __retryDelay, - cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); - continue; - } - - break; - } - - if (__response == null) - { - throw new global::System.InvalidOperationException("No response received."); - } - - using (__response) - { - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessDetectPatternsExperimentalResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - if (__response.IsSuccessStatusCode) - { - await global::Zep.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( - clientOptions: Options, - context: global::Zep.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DetectPatternsExperimental", - methodName: "DetectPatternsExperimentalAsync", - pathTemplate: "\"/graph/patterns\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - else - { - await global::Zep.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( - clientOptions: Options, - context: global::Zep.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DetectPatternsExperimental", - methodName: "DetectPatternsExperimentalAsync", - pathTemplate: "\"/graph/patterns\"", - httpMethod: "POST", - baseUri: BaseUri, - request: __httpRequest!, - response: __response, - exception: null, - clientOptions: Options, - requestOptions: requestOptions, - attempt: __attemptNumber, - maxAttempts: __maxAttempts, - willRetry: false, - retryDelay: null, - retryReason: global::System.String.Empty, - cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); - } - // Bad Request - if ((int)__response.StatusCode == 400) - { - string? __content_400 = null; - global::System.Exception? __exception_400 = null; - global::Zep.ApidataAPIError? __value_400 = null; - try - { - if (__effectiveReadResponseAsString) - { - __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_400 = global::Zep.ApidataAPIError.FromJson(__content_400, JsonSerializerContext); - } - else - { - __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - - __value_400 = global::Zep.ApidataAPIError.FromJson(__content_400, JsonSerializerContext); - } - } - catch (global::System.Exception __ex) - { - __exception_400 = __ex; - } - - - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, - innerException: __exception_400, - responseBody: __content_400, - responseObject: __value_400, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - // Forbidden - if ((int)__response.StatusCode == 403) - { - string? __content_403 = null; - global::System.Exception? __exception_403 = null; - global::Zep.ApidataAPIError? __value_403 = null; - try - { - if (__effectiveReadResponseAsString) - { - __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Zep.ApidataAPIError.FromJson(__content_403, JsonSerializerContext); - } - else - { - __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - - __value_403 = global::Zep.ApidataAPIError.FromJson(__content_403, JsonSerializerContext); - } - } - catch (global::System.Exception __ex) - { - __exception_403 = __ex; - } - - - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, - innerException: __exception_403, - responseBody: __content_403, - responseObject: __value_403, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - // Not Found - if ((int)__response.StatusCode == 404) - { - string? __content_404 = null; - global::System.Exception? __exception_404 = null; - global::Zep.ApidataAPIError? __value_404 = null; - try - { - if (__effectiveReadResponseAsString) - { - __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_404 = global::Zep.ApidataAPIError.FromJson(__content_404, JsonSerializerContext); - } - else - { - __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - - __value_404 = global::Zep.ApidataAPIError.FromJson(__content_404, JsonSerializerContext); - } - } - catch (global::System.Exception __ex) - { - __exception_404 = __ex; - } - - - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, - innerException: __exception_404, - responseBody: __content_404, - responseObject: __value_404, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - // Internal Server Error - if ((int)__response.StatusCode == 500) - { - string? __content_500 = null; - global::System.Exception? __exception_500 = null; - global::Zep.ApidataAPIError? __value_500 = null; - try - { - if (__effectiveReadResponseAsString) - { - __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Zep.ApidataAPIError.FromJson(__content_500, JsonSerializerContext); - } - else - { - __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - - __value_500 = global::Zep.ApidataAPIError.FromJson(__content_500, JsonSerializerContext); - } - } - catch (global::System.Exception __ex) - { - __exception_500 = __ex; - } - - - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, - innerException: __exception_500, - responseBody: __content_500, - responseObject: __value_500, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - - if (__effectiveReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessDetectPatternsExperimentalResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - var __value = global::Zep.ApidataDetectPatternsResponse.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Zep.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::Zep.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - using var __content = await __response.Content.ReadAsStreamAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - - var __value = await global::Zep.ApidataDetectPatternsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Zep.AutoSDKHttpResponse( - statusCode: __response.StatusCode, - headers: global::Zep.AutoSDKHttpResponse.CreateHeaders(__response), - requestUri: __response.RequestMessage?.RequestUri, - body: __value); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( - #if NET5_0_OR_GREATER - __effectiveCancellationToken - #endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw global::Zep.ApiException.Create( - statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - responseBody: __content, - responseHeaders: global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value)); - } - } - - } - } - finally - { - __httpRequest?.Dispose(); - } - } - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Which pattern types to detect with type-specific configuration.
- /// Omit to detect all types with defaults. Ignored when query is set. - /// - /// - /// Max resolved edges per pattern. Default: 10, Max: 100. Only used with query. - /// - /// - /// Graph ID when detecting patterns on a named graph - /// - /// - /// Max patterns to return. Default: 50, Max: 200 - /// - /// - /// Minimum occurrence count to report a pattern. Default: 2 - /// - /// - /// Search query for discovering seed nodes via hybrid search.
- /// When set, forces triple-frequency detection only and enables edge resolution
- /// with cross-encoder reranking. Mutually exclusive with seeds. - /// - /// - /// Max seed nodes from search. Default: 10, Max: 50. Only used with query. - /// - /// - /// Exponential half-life decay applied to edge created_at timestamps.
- /// Valid values: none, 7_days, 30_days, 90_days. Default: none - /// - /// - /// Filters which edges/nodes participate in pattern detection.
- /// Reuses the same filter format as /graph/search. - /// - /// - /// Seed selection. If omitted, analyzes the entire graph. Mutually exclusive with query. - /// - /// - /// User ID when detecting patterns on a user graph - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task DetectPatternsExperimentalAsync( - global::Zep.ApidataDetectConfig? detect = default, - int? edgeLimit = default, - string? graphId = default, - int? limit = default, - int? minOccurrences = default, - string? query = default, - int? queryLimit = default, - global::Zep.ApidataRecencyWeight? recencyWeight = default, - global::Zep.GraphitiSearchFilters? searchFilters = default, - global::Zep.ApidataPatternSeeds? seeds = default, - string? userId = default, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Zep.ApidataDetectPatternsRequest - { - Detect = detect, - EdgeLimit = edgeLimit, - GraphId = graphId, - Limit = limit, - MinOccurrences = minOccurrences, - Query = query, - QueryLimit = queryLimit, - RecencyWeight = recencyWeight, - SearchFilters = searchFilters, - Seeds = seeds, - UserId = userId, - }; - - return await DetectPatternsExperimentalAsync( - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } - } -} \ No newline at end of file diff --git a/src/libs/Zep/Generated/Zep.IGraphClient.DetectPatternsExperimental.g.cs b/src/libs/Zep/Generated/Zep.IGraphClient.DetectPatternsExperimental.g.cs deleted file mode 100644 index a562f89..0000000 --- a/src/libs/Zep/Generated/Zep.IGraphClient.DetectPatternsExperimental.g.cs +++ /dev/null @@ -1,102 +0,0 @@ -#nullable enable - -namespace Zep -{ - public partial interface IGraphClient - { - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task DetectPatternsExperimentalAsync( - - global::Zep.ApidataDetectPatternsRequest request, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> DetectPatternsExperimentalAsResponseAsync( - - global::Zep.ApidataDetectPatternsRequest request, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Detect Patterns (Experimental)
- /// Detects structural patterns in a knowledge graph including relationship frequencies,
- /// multi-hop paths, co-occurrences, hubs, and clusters.
- /// When a query is provided, uses hybrid search to discover seed nodes,
- /// detects triple-frequency patterns, and returns resolved edges ranked by relevance. - ///
- /// - /// Which pattern types to detect with type-specific configuration.
- /// Omit to detect all types with defaults. Ignored when query is set. - /// - /// - /// Max resolved edges per pattern. Default: 10, Max: 100. Only used with query. - /// - /// - /// Graph ID when detecting patterns on a named graph - /// - /// - /// Max patterns to return. Default: 50, Max: 200 - /// - /// - /// Minimum occurrence count to report a pattern. Default: 2 - /// - /// - /// Search query for discovering seed nodes via hybrid search.
- /// When set, forces triple-frequency detection only and enables edge resolution
- /// with cross-encoder reranking. Mutually exclusive with seeds. - /// - /// - /// Max seed nodes from search. Default: 10, Max: 50. Only used with query. - /// - /// - /// Exponential half-life decay applied to edge created_at timestamps.
- /// Valid values: none, 7_days, 30_days, 90_days. Default: none - /// - /// - /// Filters which edges/nodes participate in pattern detection.
- /// Reuses the same filter format as /graph/search. - /// - /// - /// Seed selection. If omitted, analyzes the entire graph. Mutually exclusive with query. - /// - /// - /// User ID when detecting patterns on a user graph - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task DetectPatternsExperimentalAsync( - global::Zep.ApidataDetectConfig? detect = default, - int? edgeLimit = default, - string? graphId = default, - int? limit = default, - int? minOccurrences = default, - string? query = default, - int? queryLimit = default, - global::Zep.ApidataRecencyWeight? recencyWeight = default, - global::Zep.GraphitiSearchFilters? searchFilters = default, - global::Zep.ApidataPatternSeeds? seeds = default, - string? userId = default, - global::Zep.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/Zep/Generated/Zep.IThreadClient.GetMessagesOfAThread.g.cs b/src/libs/Zep/Generated/Zep.IThreadClient.GetMessagesOfAThread.g.cs index 59de76e..e5e40c9 100644 --- a/src/libs/Zep/Generated/Zep.IThreadClient.GetMessagesOfAThread.g.cs +++ b/src/libs/Zep/Generated/Zep.IThreadClient.GetMessagesOfAThread.g.cs @@ -18,7 +18,7 @@ public partial interface IThreadClient global::System.Threading.Tasks.Task GetMessagesOfAThreadAsync( string threadId, int? limit = default, - long? cursor = default, + int? cursor = default, int? lastn = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -36,7 +36,7 @@ public partial interface IThreadClient global::System.Threading.Tasks.Task> GetMessagesOfAThreadAsResponseAsync( string threadId, int? limit = default, - long? cursor = default, + int? cursor = default, int? lastn = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs index a925b36..df3dff0 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs @@ -9,6 +9,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -16,6 +17,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task AddMembersAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -25,6 +27,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -32,6 +35,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task> AddMembersAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -41,6 +45,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -48,6 +53,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task AddMembersAsync( string groupUUID, string projectId, + string authorization, global::System.Collections.Generic.IList userUuids, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs index 7604a5e..7ff5524 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs @@ -8,12 +8,14 @@ public partial interface IUserGroupClient /// Create a managed UserGroup /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateAsync( string projectId, + string authorization, global::Zep.ApidataCreateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -22,12 +24,14 @@ public partial interface IUserGroupClient /// Create a managed UserGroup /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( string projectId, + string authorization, global::Zep.ApidataCreateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -36,6 +40,7 @@ public partial interface IUserGroupClient /// Create a managed UserGroup /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -43,6 +48,7 @@ public partial interface IUserGroupClient /// global::System.Threading.Tasks.Task CreateAsync( string projectId, + string authorization, string name, string? description = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs index 8a4027a..175dd20 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs @@ -9,12 +9,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task DeleteAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -22,12 +24,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> DeleteAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs index f1b2c09..53ddd25 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs @@ -9,12 +9,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GetAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -22,12 +24,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> GetAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs index 29a65dc..69ba520 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs @@ -11,6 +11,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -18,6 +19,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -28,6 +30,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -35,6 +38,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs index 3139e24..1308106 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs @@ -9,12 +9,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListForUserAsync( string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -22,12 +24,14 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListForUserAsResponseAsync( string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs index 1ec7f76..f06f19b 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs @@ -12,6 +12,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -20,6 +21,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -31,6 +33,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -39,6 +42,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs index 4bf082f..bf18602 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs @@ -12,6 +12,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -20,6 +21,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -31,6 +33,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -39,6 +42,7 @@ public partial interface IUserGroupClient string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs index 3cf042c..2e240af 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs @@ -10,6 +10,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -17,6 +18,7 @@ public partial interface IUserGroupClient string groupUUID, string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -25,6 +27,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -32,6 +35,7 @@ public partial interface IUserGroupClient string groupUUID, string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs index b3bc0a5..65a5843 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs @@ -9,6 +9,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -16,6 +17,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task RemoveMembersAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -25,6 +27,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -32,6 +35,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task> RemoveMembersAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -41,6 +45,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -48,6 +53,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task RemoveMembersAsync( string groupUUID, string projectId, + string authorization, global::System.Collections.Generic.IList userUuids, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs index e882a37..07be33a 100644 --- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs +++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs @@ -9,6 +9,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -16,6 +17,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task UpdateAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataUpdateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -25,6 +27,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -32,6 +35,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataUpdateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -41,6 +45,7 @@ public partial interface IUserGroupClient /// /// /// + /// /// /// /// @@ -50,6 +55,7 @@ public partial interface IUserGroupClient global::System.Threading.Tasks.Task UpdateAsync( string groupUUID, string projectId, + string authorization, int expectedVersion, string? description = default, string? name = default, diff --git a/src/libs/Zep/Generated/Zep.JsonSerializerContext.g.cs b/src/libs/Zep/Generated/Zep.JsonSerializerContext.g.cs index afde26f..815e192 100644 --- a/src/libs/Zep/Generated/Zep.JsonSerializerContext.g.cs +++ b/src/libs/Zep/Generated/Zep.JsonSerializerContext.g.cs @@ -238,7 +238,6 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ApidataBatchItemListResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.SetOntologyRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/Zep/Generated/Zep.JsonSerializerContextTypes.g.cs b/src/libs/Zep/Generated/Zep.JsonSerializerContextTypes.g.cs index f70e632..a5de64d 100644 --- a/src/libs/Zep/Generated/Zep.JsonSerializerContextTypes.g.cs +++ b/src/libs/Zep/Generated/Zep.JsonSerializerContextTypes.g.cs @@ -724,19 +724,15 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public long? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type175 { get; set; } + public global::System.Collections.Generic.IList? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type177 { get; set; } + public global::System.Collections.Generic.IList? Type176 { get; set; } /// /// diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataGraph.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataGraph.g.cs index 1ebed10..104f945 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataGraph.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataGraph.g.cs @@ -8,6 +8,14 @@ namespace Zep /// public sealed partial class ApidataGraph { + /// + /// CanonicalGraphUUID is graphs.uuid, the v4 graph address (spec-3 §13.5).
+ /// Omitted when the graphs row does not yet exist. Distinct from UUID,
+ /// which is the group-row identifier. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("canonical_graph_uuid")] + public string? CanonicalGraphUuid { get; set; } + /// /// /// @@ -71,6 +79,11 @@ public sealed partial class ApidataGraph /// /// Initializes a new instance of the class. /// + /// + /// CanonicalGraphUUID is graphs.uuid, the v4 graph address (spec-3 §13.5).
+ /// Omitted when the graphs row does not yet exist. Distinct from UUID,
+ /// which is the group-row identifier. + /// /// /// /// @@ -84,6 +97,7 @@ public sealed partial class ApidataGraph [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ApidataGraph( + string? canonicalGraphUuid, string? createdAt, string? description, string? graphId, @@ -94,6 +108,7 @@ public ApidataGraph( string? updatedAt, string? uuid) { + this.CanonicalGraphUuid = canonicalGraphUuid; this.CreatedAt = createdAt; this.Description = description; this.GraphId = graphId; diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataThread.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataThread.g.cs index 5589dae..f60896c 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataThread.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataThread.g.cs @@ -14,6 +14,12 @@ public sealed partial class ApidataThread [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public string? CreatedAt { get; set; } + /// + /// GraphUUID is the graphs.uuid of the owning user's graph (spec-3 section 13.5). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("graph_uuid")] + public string? GraphUuid { get; set; } + /// /// /// @@ -54,6 +60,9 @@ public sealed partial class ApidataThread /// Initializes a new instance of the class. /// /// + /// + /// GraphUUID is the graphs.uuid of the owning user's graph (spec-3 section 13.5). + /// /// /// /// @@ -64,6 +73,7 @@ public sealed partial class ApidataThread #endif public ApidataThread( string? createdAt, + string? graphUuid, string? projectUuid, string? threadId, string? userId, @@ -71,6 +81,7 @@ public ApidataThread( string? uuid) { this.CreatedAt = createdAt; + this.GraphUuid = graphUuid; this.ProjectUuid = projectUuid; this.ThreadId = threadId; this.UserId = userId; diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataUser.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataUser.g.cs index a6c76d8..2aeb465 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataUser.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataUser.g.cs @@ -38,6 +38,13 @@ public sealed partial class ApidataUser [global::System.Text.Json.Serialization.JsonPropertyName("first_name")] public string? FirstName { get; set; } + /// + /// GraphUUID is the graphs.uuid of the user's graph (spec-3 section 13.5).
+ /// Omitted when the graph row does not exist. Read-only; never accepted as input. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("graph_uuid")] + public string? GraphUuid { get; set; } + /// /// /// @@ -106,6 +113,10 @@ public sealed partial class ApidataUser /// /// /// + /// + /// GraphUUID is the graphs.uuid of the user's graph (spec-3 section 13.5).
+ /// Omitted when the graph row does not exist. Read-only; never accepted as input. + /// /// /// /// @@ -130,6 +141,7 @@ public ApidataUser( bool? disableDefaultOntology, string? email, string? firstName, + string? graphUuid, int? id, string? lastName, object? metadata, @@ -145,6 +157,7 @@ public ApidataUser( this.DisableDefaultOntology = disableDefaultOntology; this.Email = email; this.FirstName = firstName; + this.GraphUuid = graphUuid; this.Id = id; this.LastName = lastName; this.Metadata = metadata; diff --git a/src/libs/Zep/Generated/Zep.ThreadClient.GetMessagesOfAThread.g.cs b/src/libs/Zep/Generated/Zep.ThreadClient.GetMessagesOfAThread.g.cs index 80c145b..93af454 100644 --- a/src/libs/Zep/Generated/Zep.ThreadClient.GetMessagesOfAThread.g.cs +++ b/src/libs/Zep/Generated/Zep.ThreadClient.GetMessagesOfAThread.g.cs @@ -29,14 +29,14 @@ partial void PrepareGetMessagesOfAThreadArguments( global::System.Net.Http.HttpClient httpClient, ref string threadId, ref int? limit, - ref long? cursor, + ref int? cursor, ref int? lastn); partial void PrepareGetMessagesOfAThreadRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string threadId, int? limit, - long? cursor, + int? cursor, int? lastn); partial void ProcessGetMessagesOfAThreadResponse( global::System.Net.Http.HttpClient httpClient, @@ -61,7 +61,7 @@ partial void ProcessGetMessagesOfAThreadResponseContent( public async global::System.Threading.Tasks.Task GetMessagesOfAThreadAsync( string threadId, int? limit = default, - long? cursor = default, + int? cursor = default, int? lastn = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -91,7 +91,7 @@ partial void ProcessGetMessagesOfAThreadResponseContent( public async global::System.Threading.Tasks.Task> GetMessagesOfAThreadAsResponseAsync( string threadId, int? limit = default, - long? cursor = default, + int? cursor = default, int? lastn = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs index 379fb5e..1699c05 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs @@ -29,12 +29,14 @@ partial void PrepareAddMembersArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, ref string projectId, + ref string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request); partial void PrepareAddMembersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request); partial void ProcessAddMembersResponse( global::System.Net.Http.HttpClient httpClient, @@ -50,6 +52,7 @@ partial void ProcessAddMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -57,6 +60,7 @@ partial void ProcessAddMembersResponseContent( public async global::System.Threading.Tasks.Task AddMembersAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -65,6 +69,7 @@ partial void ProcessAddMembersResponseContent( var __response = await AddMembersAsResponseAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: request, requestOptions: requestOptions, @@ -78,6 +83,7 @@ partial void ProcessAddMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -85,6 +91,7 @@ partial void ProcessAddMembersResponseContent( public async global::System.Threading.Tasks.Task> AddMembersAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -98,6 +105,7 @@ partial void ProcessAddMembersResponseContent( httpClient: HttpClient, groupUUID: ref groupUUID, projectId: ref projectId, + authorization: ref authorization, request: request); @@ -158,6 +166,9 @@ partial void ProcessAddMembersResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -177,6 +188,7 @@ partial void ProcessAddMembersResponseContent( httpRequestMessage: __httpRequest, groupUUID: groupUUID!, projectId: projectId!, + authorization: authorization!, request: request); return __httpRequest; @@ -605,6 +617,7 @@ partial void ProcessAddMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -612,6 +625,7 @@ partial void ProcessAddMembersResponseContent( public async global::System.Threading.Tasks.Task AddMembersAsync( string groupUUID, string projectId, + string authorization, global::System.Collections.Generic.IList userUuids, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -624,6 +638,7 @@ partial void ProcessAddMembersResponseContent( return await AddMembersAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs index f74d66a..79d75dd 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs @@ -28,11 +28,13 @@ public partial class UserGroupClient partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, ref string projectId, + ref string authorization, global::Zep.ApidataCreateUserGroupRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string projectId, + string authorization, global::Zep.ApidataCreateUserGroupRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, @@ -47,12 +49,14 @@ partial void ProcessCreateResponseContent( /// Create a managed UserGroup /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateAsync( string projectId, + string authorization, global::Zep.ApidataCreateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -60,6 +64,7 @@ partial void ProcessCreateResponseContent( { var __response = await CreateAsResponseAsync( projectId: projectId, + authorization: authorization, request: request, requestOptions: requestOptions, @@ -72,12 +77,14 @@ partial void ProcessCreateResponseContent( /// Create a managed UserGroup /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( string projectId, + string authorization, global::Zep.ApidataCreateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -90,6 +97,7 @@ partial void ProcessCreateResponseContent( PrepareCreateArguments( httpClient: HttpClient, projectId: ref projectId, + authorization: ref authorization, request: request); @@ -150,6 +158,9 @@ partial void ProcessCreateResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -168,6 +179,7 @@ partial void ProcessCreateResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, projectId: projectId!, + authorization: authorization!, request: request); return __httpRequest; @@ -558,6 +570,7 @@ partial void ProcessCreateResponseContent( /// Create a managed UserGroup /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -565,6 +578,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( string projectId, + string authorization, string name, string? description = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -578,6 +592,7 @@ partial void ProcessCreateResponseContent( return await CreateAsync( projectId: projectId, + authorization: authorization, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs index 547758b..a16d2ea 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs @@ -28,12 +28,14 @@ public partial class UserGroupClient partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, - ref string projectId); + ref string projectId, + ref string authorization); partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, - string projectId); + string projectId, + string authorization); partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -48,18 +50,21 @@ partial void ProcessDeleteResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task DeleteAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await DeleteAsResponseAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -71,12 +76,14 @@ partial void ProcessDeleteResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> DeleteAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -85,7 +92,8 @@ partial void ProcessDeleteResponseContent( PrepareDeleteArguments( httpClient: HttpClient, groupUUID: ref groupUUID, - projectId: ref projectId); + projectId: ref projectId, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -145,6 +153,9 @@ partial void ProcessDeleteResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -157,7 +168,8 @@ partial void ProcessDeleteResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, groupUUID: groupUUID!, - projectId: projectId!); + projectId: projectId!, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs index bc4b409..f621a7f 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs @@ -28,12 +28,14 @@ public partial class UserGroupClient partial void PrepareGetArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, - ref string projectId); + ref string projectId, + ref string authorization); partial void PrepareGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, - string projectId); + string projectId, + string authorization); partial void ProcessGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -48,18 +50,21 @@ partial void ProcessGetResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GetAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetAsResponseAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -71,12 +76,14 @@ partial void ProcessGetResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> GetAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -85,7 +92,8 @@ partial void ProcessGetResponseContent( PrepareGetArguments( httpClient: HttpClient, groupUUID: ref groupUUID, - projectId: ref projectId); + projectId: ref projectId, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -145,6 +153,9 @@ partial void ProcessGetResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -157,7 +168,8 @@ partial void ProcessGetResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, groupUUID: groupUUID!, - projectId: projectId!); + projectId: projectId!, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs index 41a9864..c8c30ec 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs @@ -30,14 +30,16 @@ partial void PrepareListArguments( ref string projectId, ref int pageNumber, ref int pageSize, - ref string? search); + ref string? search, + ref string authorization); partial void PrepareListRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string projectId, int pageNumber, int pageSize, - string? search); + string? search, + string authorization); partial void ProcessListResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -54,6 +56,7 @@ partial void ProcessListResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -61,6 +64,7 @@ partial void ProcessListResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -69,6 +73,7 @@ partial void ProcessListResponseContent( projectId: projectId, pageNumber: pageNumber, pageSize: pageSize, + authorization: authorization, search: search, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -83,6 +88,7 @@ partial void ProcessListResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -90,6 +96,7 @@ partial void ProcessListResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -101,7 +108,8 @@ partial void ProcessListResponseContent( projectId: ref projectId, pageNumber: ref pageNumber, pageSize: ref pageSize, - search: ref search); + search: ref search, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -164,6 +172,9 @@ partial void ProcessListResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -178,7 +189,8 @@ partial void ProcessListResponseContent( projectId: projectId!, pageNumber: pageNumber!, pageSize: pageSize!, - search: search); + search: search, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs index 1f50e81..03a9583 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs @@ -28,12 +28,14 @@ public partial class UserGroupClient partial void PrepareListForUserArguments( global::System.Net.Http.HttpClient httpClient, ref string userUUID, - ref string projectId); + ref string projectId, + ref string authorization); partial void PrepareListForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string userUUID, - string projectId); + string projectId, + string authorization); partial void ProcessListForUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -48,18 +50,21 @@ partial void ProcessListForUserResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListForUserAsync( string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await ListForUserAsResponseAsync( userUUID: userUUID, projectId: projectId, + authorization: authorization, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -71,12 +76,14 @@ partial void ProcessListForUserResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListForUserAsResponseAsync( string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -85,7 +92,8 @@ partial void ProcessListForUserResponseContent( PrepareListForUserArguments( httpClient: HttpClient, userUUID: ref userUUID, - projectId: ref projectId); + projectId: ref projectId, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -145,6 +153,9 @@ partial void ProcessListForUserResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -157,7 +168,8 @@ partial void ProcessListForUserResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, userUUID: userUUID!, - projectId: projectId!); + projectId: projectId!, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs index f075b7e..8c0cfb6 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs @@ -31,7 +31,8 @@ partial void PrepareListMemberCandidatesArguments( ref string projectId, ref int pageNumber, ref int pageSize, - ref string? search); + ref string? search, + ref string authorization); partial void PrepareListMemberCandidatesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -39,7 +40,8 @@ partial void PrepareListMemberCandidatesRequest( string projectId, int pageNumber, int pageSize, - string? search); + string? search, + string authorization); partial void ProcessListMemberCandidatesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,6 +59,7 @@ partial void ProcessListMemberCandidatesResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -65,6 +68,7 @@ partial void ProcessListMemberCandidatesResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -74,6 +78,7 @@ partial void ProcessListMemberCandidatesResponseContent( projectId: projectId, pageNumber: pageNumber, pageSize: pageSize, + authorization: authorization, search: search, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -89,6 +94,7 @@ partial void ProcessListMemberCandidatesResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -97,6 +103,7 @@ partial void ProcessListMemberCandidatesResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -109,7 +116,8 @@ partial void ProcessListMemberCandidatesResponseContent( projectId: ref projectId, pageNumber: ref pageNumber, pageSize: ref pageSize, - search: ref search); + search: ref search, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -172,6 +180,9 @@ partial void ProcessListMemberCandidatesResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -187,7 +198,8 @@ partial void ProcessListMemberCandidatesResponseContent( projectId: projectId!, pageNumber: pageNumber!, pageSize: pageSize!, - search: search); + search: search, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs index 4305d38..63ea173 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs @@ -31,7 +31,8 @@ partial void PrepareListMembersArguments( ref string projectId, ref int pageNumber, ref int pageSize, - ref string? search); + ref string? search, + ref string authorization); partial void PrepareListMembersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -39,7 +40,8 @@ partial void PrepareListMembersRequest( string projectId, int pageNumber, int pageSize, - string? search); + string? search, + string authorization); partial void ProcessListMembersResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,6 +59,7 @@ partial void ProcessListMembersResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -65,6 +68,7 @@ partial void ProcessListMembersResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -74,6 +78,7 @@ partial void ProcessListMembersResponseContent( projectId: projectId, pageNumber: pageNumber, pageSize: pageSize, + authorization: authorization, search: search, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -89,6 +94,7 @@ partial void ProcessListMembersResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -97,6 +103,7 @@ partial void ProcessListMembersResponseContent( string projectId, int pageNumber, int pageSize, + string authorization, string? search = default, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -109,7 +116,8 @@ partial void ProcessListMembersResponseContent( projectId: ref projectId, pageNumber: ref pageNumber, pageSize: ref pageSize, - search: ref search); + search: ref search, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -172,6 +180,9 @@ partial void ProcessListMembersResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -187,7 +198,8 @@ partial void ProcessListMembersResponseContent( projectId: projectId!, pageNumber: pageNumber!, pageSize: pageSize!, - search: search); + search: search, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs index d3ef799..3ecc5de 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs @@ -29,13 +29,15 @@ partial void PrepareRemoveMemberArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, ref string userUUID, - ref string projectId); + ref string projectId, + ref string authorization); partial void PrepareRemoveMemberRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, string userUUID, - string projectId); + string projectId, + string authorization); partial void ProcessRemoveMemberResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,6 +53,7 @@ partial void ProcessRemoveMemberResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -58,6 +61,7 @@ partial void ProcessRemoveMemberResponseContent( string groupUUID, string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -65,6 +69,7 @@ partial void ProcessRemoveMemberResponseContent( groupUUID: groupUUID, userUUID: userUUID, projectId: projectId, + authorization: authorization, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -77,6 +82,7 @@ partial void ProcessRemoveMemberResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -84,6 +90,7 @@ partial void ProcessRemoveMemberResponseContent( string groupUUID, string userUUID, string projectId, + string authorization, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,7 +100,8 @@ partial void ProcessRemoveMemberResponseContent( httpClient: HttpClient, groupUUID: ref groupUUID, userUUID: ref userUUID, - projectId: ref projectId); + projectId: ref projectId, + authorization: ref authorization); var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations( @@ -153,6 +161,9 @@ partial void ProcessRemoveMemberResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -166,7 +177,8 @@ partial void ProcessRemoveMemberResponseContent( httpRequestMessage: __httpRequest, groupUUID: groupUUID!, userUUID: userUUID!, - projectId: projectId!); + projectId: projectId!, + authorization: authorization!); return __httpRequest; } diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs index 4e5fd4e..cf806c3 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs @@ -29,12 +29,14 @@ partial void PrepareRemoveMembersArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, ref string projectId, + ref string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request); partial void PrepareRemoveMembersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request); partial void ProcessRemoveMembersResponse( global::System.Net.Http.HttpClient httpClient, @@ -50,6 +52,7 @@ partial void ProcessRemoveMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -57,6 +60,7 @@ partial void ProcessRemoveMembersResponseContent( public async global::System.Threading.Tasks.Task RemoveMembersAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -65,6 +69,7 @@ partial void ProcessRemoveMembersResponseContent( var __response = await RemoveMembersAsResponseAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: request, requestOptions: requestOptions, @@ -78,6 +83,7 @@ partial void ProcessRemoveMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -85,6 +91,7 @@ partial void ProcessRemoveMembersResponseContent( public async global::System.Threading.Tasks.Task> RemoveMembersAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataMutateUserGroupMembersRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -98,6 +105,7 @@ partial void ProcessRemoveMembersResponseContent( httpClient: HttpClient, groupUUID: ref groupUUID, projectId: ref projectId, + authorization: ref authorization, request: request); @@ -158,6 +166,9 @@ partial void ProcessRemoveMembersResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -177,6 +188,7 @@ partial void ProcessRemoveMembersResponseContent( httpRequestMessage: __httpRequest, groupUUID: groupUUID!, projectId: projectId!, + authorization: authorization!, request: request); return __httpRequest; @@ -605,6 +617,7 @@ partial void ProcessRemoveMembersResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -612,6 +625,7 @@ partial void ProcessRemoveMembersResponseContent( public async global::System.Threading.Tasks.Task RemoveMembersAsync( string groupUUID, string projectId, + string authorization, global::System.Collections.Generic.IList userUuids, global::Zep.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -624,6 +638,7 @@ partial void ProcessRemoveMembersResponseContent( return await RemoveMembersAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs index 0b0b7cd..1099da5 100644 --- a/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs +++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs @@ -29,12 +29,14 @@ partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref string groupUUID, ref string projectId, + ref string authorization, global::Zep.ApidataUpdateUserGroupRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string groupUUID, string projectId, + string authorization, global::Zep.ApidataUpdateUserGroupRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, @@ -50,6 +52,7 @@ partial void ProcessUpdateResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -57,6 +60,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataUpdateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -65,6 +69,7 @@ partial void ProcessUpdateResponseContent( var __response = await UpdateAsResponseAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: request, requestOptions: requestOptions, @@ -78,6 +83,7 @@ partial void ProcessUpdateResponseContent( /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -85,6 +91,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( string groupUUID, string projectId, + string authorization, global::Zep.ApidataUpdateUserGroupRequest request, global::Zep.AutoSDKRequestOptions? requestOptions = default, @@ -98,6 +105,7 @@ partial void ProcessUpdateResponseContent( httpClient: HttpClient, groupUUID: ref groupUUID, projectId: ref projectId, + authorization: ref authorization, request: request); @@ -158,6 +166,9 @@ partial void ProcessUpdateResponseContent( __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } + + __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString()); + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -177,6 +188,7 @@ partial void ProcessUpdateResponseContent( httpRequestMessage: __httpRequest, groupUUID: groupUUID!, projectId: projectId!, + authorization: authorization!, request: request); return __httpRequest; @@ -605,6 +617,7 @@ partial void ProcessUpdateResponseContent( /// /// /// + /// /// /// /// @@ -614,6 +627,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( string groupUUID, string projectId, + string authorization, int expectedVersion, string? description = default, string? name = default, @@ -630,6 +644,7 @@ partial void ProcessUpdateResponseContent( return await UpdateAsync( groupUUID: groupUUID, projectId: projectId, + authorization: authorization, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Zep/openapi.json b/src/libs/Zep/openapi.json index 229c6c6..d7a123d 100644 --- a/src/libs/Zep/openapi.json +++ b/src/libs/Zep/openapi.json @@ -283,8 +283,7 @@ "description": "Cursor for pagination", "required": false, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -1316,6 +1315,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1366,6 +1374,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1447,6 +1464,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1508,6 +1534,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1567,6 +1602,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1656,6 +1700,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1725,6 +1778,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1784,6 +1846,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1875,6 +1946,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -1993,6 +2073,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -2073,6 +2162,15 @@ "schema": { "type": "string" } + }, + { + "name": "Authorization", + "in": "header", + "description": "Type \"Api-Key\" followed by a space and JWT token.", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -3072,7 +3170,7 @@ "post": { "operationId": "detect-patterns-experimental", "summary": "Detect Patterns (Experimental)", - "description": "Detects structural patterns in a knowledge graph including relationship frequencies,\nmulti-hop paths, co-occurrences, hubs, and clusters.\nWhen a query is provided, uses hybrid search to discover seed nodes,\ndetects triple-frequency patterns, and returns resolved edges ranked by relevance.", + "description": "Deprecated. Pattern detection is not part of Public API v4.\nDetects structural patterns in a knowledge graph including relationship frequencies,\nmulti-hop paths, co-occurrences, hubs, and clusters.\nWhen a query is provided, uses hybrid search to discover seed nodes,\ndetects triple-frequency patterns, and returns resolved edges ranked by relevance.", "tags": [ "graph" ], @@ -3128,6 +3226,7 @@ } } }, + "deprecated": true, "requestBody": { "description": "Pattern detection request", "content": { @@ -6487,6 +6586,10 @@ "created_at": { "type": "string" }, + "graph_uuid": { + "type": "string", + "description": "GraphUUID is the graphs.uuid of the owning user's graph (spec-3 section 13.5)." + }, "project_uuid": { "type": "string" }, @@ -6903,6 +7006,10 @@ "first_name": { "type": "string" }, + "graph_uuid": { + "type": "string", + "description": "GraphUUID is the graphs.uuid of the user's graph (spec-3 section 13.5).\nOmitted when the graph row does not exist. Read-only; never accepted as input." + }, "id": { "type": "integer" }, @@ -8014,6 +8121,10 @@ "ApidataGraph": { "type": "object", "properties": { + "canonical_graph_uuid": { + "type": "string", + "description": "CanonicalGraphUUID is graphs.uuid, the v4 graph address (spec-3 \u00a713.5).\nOmitted when the graphs row does not yet exist. Distinct from UUID,\nwhich is the group-row identifier." + }, "created_at": { "type": "string" },