@memnexus-ai/typescript-sdk 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/README.md +37 -16
  2. package/dist/index.d.ts +2097 -285
  3. package/dist/index.js +3191 -1812
  4. package/dist/index.mjs +3190 -1812
  5. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,68 +1,178 @@
1
1
  import { ZodType, z } from 'zod';
2
2
 
3
+ /**
4
+ * Available API environments with their base URLs.
5
+ * Use these constants to configure the SDK for different environments (production, staging, etc.).
6
+ */
3
7
  declare enum Environment {
8
+ /** DEFAULT environment base URL */
4
9
  DEFAULT = "http://localhost:3000"
5
10
  }
6
11
 
12
+ /**
13
+ * Standard HTTP methods supported by the SDK.
14
+ */
7
15
  type HttpMethod$1 = 'CONNECT' | 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | 'TRACE';
16
+ /**
17
+ * Represents an HTTP request with all its components.
18
+ */
8
19
  interface HttpRequest {
20
+ /** Base URL of the API endpoint */
9
21
  baseUrl: string;
22
+ /** HTTP method for the request */
10
23
  method: HttpMethod$1;
24
+ /** Request path (relative to base URL) */
11
25
  path: string;
26
+ /** Request headers as key-value pairs */
12
27
  headers: Map<string, unknown>;
28
+ /** Request body payload (optional) */
13
29
  body?: BodyInit;
30
+ /** Signal to abort the request (optional) */
14
31
  abortSignal?: AbortSignal;
32
+ /** Query string parameters */
15
33
  queryParams: Map<string, unknown>;
34
+ /** Path parameters for URL templating */
16
35
  pathParams: Map<string, unknown>;
17
36
  }
37
+ /**
38
+ * Metadata about an HTTP response.
39
+ */
18
40
  interface HttpMetadata$1 {
41
+ /** HTTP status code */
19
42
  status: number;
43
+ /** HTTP status text message */
20
44
  statusText: string;
45
+ /** Response headers as key-value pairs */
21
46
  headers: Record<string, string>;
22
47
  }
48
+ /**
49
+ * Represents an HTTP response with typed data.
50
+ * @template T - The type of the response data
51
+ */
23
52
  interface HttpResponse$1<T> {
53
+ /** Parsed response data (optional) */
24
54
  data?: T;
55
+ /** Response metadata (status, headers, etc.) */
25
56
  metadata: HttpMetadata$1;
57
+ /** Raw response object from the HTTP client */
26
58
  raw: ArrayBuffer;
27
59
  }
60
+ /**
61
+ * Represents an HTTP error response.
62
+ */
28
63
  interface HttpError$1 {
64
+ /** Error message or description */
29
65
  error: string;
66
+ /** Response metadata (status, headers, etc.) */
30
67
  metadata: HttpMetadata$1;
31
68
  }
69
+ /**
70
+ * Hook interface for intercepting and modifying HTTP requests and responses.
71
+ * Allows custom logic to be executed at different stages of the request lifecycle.
72
+ */
32
73
  interface Hook {
74
+ /**
75
+ * Called before an HTTP request is sent.
76
+ * Allows modification of the request before execution.
77
+ * @param request - The HTTP request to be sent
78
+ * @param params - Additional custom parameters
79
+ * @returns A promise that resolves to the potentially modified request
80
+ */
33
81
  beforeRequest(request: HttpRequest, params: Map<string, string>): Promise<HttpRequest>;
82
+ /**
83
+ * Called after a successful HTTP response is received.
84
+ * Allows processing or modification of the response.
85
+ * @param request - The original HTTP request
86
+ * @param response - The HTTP response received
87
+ * @param params - Additional custom parameters
88
+ * @returns A promise that resolves to the potentially modified response
89
+ */
34
90
  afterResponse(request: HttpRequest, response: HttpResponse$1<any>, params: Map<string, string>): Promise<HttpResponse$1<any>>;
91
+ /**
92
+ * Called when an HTTP request results in an error.
93
+ * Allows custom error handling and transformation.
94
+ * @param request - The original HTTP request
95
+ * @param response - The error response received
96
+ * @param params - Additional custom parameters
97
+ * @returns A promise that resolves to an error object
98
+ */
35
99
  onError(request: HttpRequest, response: HttpResponse$1<any>, params: Map<string, string>): Promise<HttpError$1>;
36
100
  }
37
101
 
102
+ /**
103
+ * OpenAPI parameter serialization styles.
104
+ * Defines how parameters should be formatted in the request.
105
+ */
38
106
  declare enum SerializationStyle {
107
+ /** Simple comma-separated values (e.g., "3,4,5") */
39
108
  SIMPLE = "simple",
109
+ /** Label prefix with dot notation (e.g., ".3.4.5") */
40
110
  LABEL = "label",
111
+ /** Matrix semicolon-prefixed (e.g., ";id=3;id=4") */
41
112
  MATRIX = "matrix",
113
+ /** Form-style ampersand-separated (e.g., "id=3&id=4") */
42
114
  FORM = "form",
115
+ /** Space-delimited values (e.g., "id=3 4 5") */
43
116
  SPACE_DELIMITED = "space_delimited",
117
+ /** Pipe-delimited values (e.g., "id=3|4|5") */
44
118
  PIPE_DELIMITED = "pipe_delimited",
119
+ /** Deep object notation (e.g., "id[role]=admin") */
45
120
  DEEP_OBJECT = "deep_object",
121
+ /** No specific style applied */
46
122
  NONE = "none"
47
123
  }
48
124
 
125
+ /**
126
+ * Error class that can be thrown explicitly via a throw() method.
127
+ * Extends the built-in Error class with a convenience method for throwing.
128
+ */
49
129
  declare class ThrowableError extends Error {
50
130
  message: string;
51
131
  protected response?: unknown;
132
+ /**
133
+ * Creates a new throwable error.
134
+ * @param message - The error message
135
+ * @param response - Optional response data associated with the error
136
+ */
52
137
  constructor(message: string, response?: unknown);
138
+ /**
139
+ * Throws this error instance.
140
+ * Convenience method for explicitly throwing the error.
141
+ * @throws This error instance
142
+ */
53
143
  throw(): void;
54
144
  }
55
145
 
146
+ /**
147
+ * Defines an expected response format with schema validation.
148
+ * Used to match and validate responses based on content type and status code.
149
+ */
56
150
  interface ResponseDefinition {
151
+ /** Zod schema for validating the response body */
57
152
  schema: ZodType;
153
+ /** The content type of this response (e.g., 'application/json') */
58
154
  contentType: ContentType;
155
+ /** The HTTP status code this definition applies to */
59
156
  status: number;
60
157
  }
158
+ /**
159
+ * Defines an error response format with custom error class.
160
+ * Used to throw typed errors based on content type and status code.
161
+ */
61
162
  interface ErrorDefinition {
163
+ /** Constructor for the error class to instantiate */
62
164
  error: new (...args: any[]) => ThrowableError;
165
+ /** The content type of this error response */
63
166
  contentType: ContentType;
167
+ /** The HTTP status code this error applies to */
64
168
  status: number;
65
169
  }
170
+ /**
171
+ * Parameters required to create a Request instance.
172
+ * Contains all configuration needed for HTTP execution, validation, and error handling.
173
+ *
174
+ * @template Page - The type of paginated data items
175
+ */
66
176
  interface CreateRequestParameters<Page = unknown[]> {
67
177
  baseUrl: string;
68
178
  method: HttpMethod;
@@ -70,6 +180,7 @@ interface CreateRequestParameters<Page = unknown[]> {
70
180
  headers: Map<string, RequestParameter>;
71
181
  queryParams: Map<string, RequestParameter>;
72
182
  pathParams: Map<string, RequestParameter>;
183
+ cookies: Map<string, RequestParameter>;
73
184
  path: string;
74
185
  config: SdkConfig;
75
186
  responses: ResponseDefinition[];
@@ -82,33 +193,72 @@ interface CreateRequestParameters<Page = unknown[]> {
82
193
  filename?: string;
83
194
  filenames?: string[];
84
195
  }
196
+ /**
197
+ * Represents a request parameter with serialization metadata.
198
+ * Wraps a value with OpenAPI serialization instructions for proper encoding.
199
+ */
85
200
  interface RequestParameter {
201
+ /** The parameter name (may be undefined for path substitution) */
86
202
  key: string | undefined;
203
+ /** The actual parameter value */
87
204
  value: unknown;
205
+ /** Whether to explode arrays/objects into multiple parameters */
88
206
  explode: boolean;
207
+ /** Whether to URL-encode the value */
89
208
  encode: boolean;
209
+ /** The OpenAPI serialization style (e.g., SIMPLE, FORM, MATRIX) */
90
210
  style: SerializationStyle;
211
+ /** Whether this parameter is a pagination limit */
91
212
  isLimit: boolean;
213
+ /** Whether this parameter is a pagination offset */
92
214
  isOffset: boolean;
215
+ /** Whether this parameter is a pagination cursor */
93
216
  isCursor: boolean;
94
217
  }
218
+ /**
219
+ * Configuration for limit-offset pagination.
220
+ * Used for traditional page-based pagination with size and offset.
221
+ *
222
+ * @template Page - The type of page data
223
+ */
95
224
  interface RequestPagination<Page> {
225
+ /** The number of items per page */
96
226
  pageSize?: number;
227
+ /** JSON path to extract page data from response */
97
228
  pagePath: string[];
229
+ /** Zod schema for validating page data */
98
230
  pageSchema?: ZodType<Page, any, any>;
99
231
  }
232
+ /**
233
+ * Configuration for cursor-based pagination.
234
+ * Used for stateless pagination with cursor tokens.
235
+ *
236
+ * @template Page - The type of page data
237
+ */
100
238
  interface RequestCursorPagination<Page> {
239
+ /** JSON path to extract page data from response */
101
240
  pagePath: string[];
241
+ /** Zod schema for validating page data */
102
242
  pageSchema?: ZodType<Page, any, any>;
243
+ /** JSON path to extract next cursor from response */
103
244
  cursorPath: string[];
245
+ /** Zod schema for validating cursor value */
104
246
  cursorSchema?: ZodType<string | null | undefined>;
105
247
  }
106
248
 
249
+ /**
250
+ * Represents an HTTP request with all necessary configuration and parameters.
251
+ * Handles path/query/header/cookie serialization, pagination, validation, and retry logic.
252
+ * This is the core request object passed through the handler chain for execution.
253
+ *
254
+ * @template PageSchema - The type of paginated data returned by this request
255
+ */
107
256
  declare class Request<PageSchema = unknown[]> {
108
257
  baseUrl: string;
109
258
  headers: Map<string, RequestParameter>;
110
259
  queryParams: Map<string, RequestParameter>;
111
260
  pathParams: Map<string, RequestParameter>;
261
+ cookies: Map<string, RequestParameter>;
112
262
  body?: any;
113
263
  method: HttpMethod;
114
264
  path: string;
@@ -124,14 +274,73 @@ declare class Request<PageSchema = unknown[]> {
124
274
  filenames?: string[];
125
275
  private readonly pathPattern;
126
276
  constructor(params: CreateRequestParameters<PageSchema>);
277
+ /**
278
+ * Adds a header parameter to the request with OpenAPI serialization rules.
279
+ *
280
+ * @param key - The header name
281
+ * @param param - The parameter configuration including value, style, and encoding options
282
+ */
127
283
  addHeaderParam(key: string, param: RequestParameter): void;
284
+ /**
285
+ * Adds a query parameter to the request with OpenAPI serialization rules.
286
+ *
287
+ * @param key - The query parameter name
288
+ * @param param - The parameter configuration including value, style, and encoding options
289
+ */
128
290
  addQueryParam(key: string, param: RequestParameter): void;
291
+ /**
292
+ * Adds a path parameter to the request with OpenAPI serialization rules.
293
+ *
294
+ * @param key - The path parameter name (matches template variable in path pattern)
295
+ * @param param - The parameter configuration including value, style, and encoding options
296
+ */
129
297
  addPathParam(key: string, param: RequestParameter): void;
298
+ /**
299
+ * Sets the request body if the value is defined.
300
+ *
301
+ * @param body - The request body to send
302
+ */
130
303
  addBody(body: any): void;
304
+ /**
305
+ * Updates this request from a modified hook request.
306
+ * Used after hooks modify the request to sync changes back to the internal Request object.
307
+ *
308
+ * @param hookRequest - The modified request from hook processing
309
+ */
131
310
  updateFromHookRequest(hookRequest: HttpRequest): void;
311
+ /**
312
+ * Constructs the complete URL by combining base URL, path with substituted parameters,
313
+ * and serialized query string.
314
+ *
315
+ * @returns The fully constructed URL ready for HTTP execution
316
+ */
132
317
  constructFullUrl(): string;
318
+ /**
319
+ * Creates a copy of this request with optional parameter overrides.
320
+ * Useful for pagination where you need to modify parameters while keeping the rest intact.
321
+ *
322
+ * @param overrides - Optional parameters to override in the copied request
323
+ * @returns A new Request instance with the specified overrides
324
+ */
133
325
  copy(overrides?: Partial<CreateRequestParameters>): Request<unknown[]>;
326
+ /**
327
+ * Serializes headers to a format suitable for HTTP execution.
328
+ *
329
+ * @returns Serialized headers as HeadersInit, or undefined if no headers
330
+ */
134
331
  getHeaders(): HeadersInit | undefined;
332
+ /**
333
+ * Serializes cookies to a format suitable for HTTP execution.
334
+ *
335
+ * @returns Serialized cookies as a record, or undefined if no cookies
336
+ */
337
+ getCookies(): Record<string, string> | undefined;
338
+ /**
339
+ * Advances pagination parameters to fetch the next page.
340
+ * Handles both cursor-based and limit-offset pagination strategies.
341
+ *
342
+ * @param cursor - The cursor value for cursor-based pagination (optional for limit-offset)
343
+ */
135
344
  nextPage(cursor?: string): void;
136
345
  private constructPath;
137
346
  private getOffsetParam;
@@ -139,7 +348,14 @@ declare class Request<PageSchema = unknown[]> {
139
348
  private getAllParams;
140
349
  }
141
350
 
351
+ /**
352
+ * Standard HTTP methods supported by the SDK.
353
+ */
142
354
  type HttpMethod = 'CONNECT' | 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | 'TRACE';
355
+ /**
356
+ * SDK configuration interface.
357
+ * Contains all settings required to initialize and configure the SDK.
358
+ */
143
359
  interface SdkConfig {
144
360
  baseUrl?: string;
145
361
  environment?: Environment;
@@ -148,32 +364,72 @@ interface SdkConfig {
148
364
  retry?: RetryOptions;
149
365
  validation?: ValidationOptions;
150
366
  }
367
+ /**
368
+ * Metadata about an HTTP response.
369
+ * Contains status information and headers from the server response.
370
+ */
151
371
  interface HttpMetadata {
372
+ /** HTTP status code (e.g., 200, 404, 500) */
152
373
  status: number;
374
+ /** HTTP status text message (e.g., "OK", "Not Found") */
153
375
  statusText: string;
376
+ /** Response headers as key-value pairs */
154
377
  headers: Record<string, string>;
155
378
  }
379
+ /**
380
+ * Standard HTTP response with typed data.
381
+ * @template T - The type of the response data
382
+ */
156
383
  interface HttpResponse<T = unknown> {
384
+ /** Parsed response data (optional) */
157
385
  data?: T;
386
+ /** Response metadata (status, headers, etc.) */
158
387
  metadata: HttpMetadata;
388
+ /** Raw response object from the HTTP client */
159
389
  raw: ArrayBuffer;
160
390
  }
391
+ /**
392
+ * HTTP response for paginated API endpoints.
393
+ * Marker interface extending HttpResponse for type safety with pagination.
394
+ * @template T - The type of a single page of data
395
+ */
161
396
  interface PaginatedHttpResponse<T = unknown> extends HttpResponse<T> {
162
397
  }
398
+ /**
399
+ * HTTP response for cursor-paginated API endpoints.
400
+ * Includes a cursor for fetching the next page of results.
401
+ * @template T - The type of a single page of data
402
+ */
163
403
  interface CursorPaginatedHttpResponse<T = unknown> extends HttpResponse<T> {
404
+ /** Cursor string for fetching the next page, null if no more pages, undefined if not applicable */
164
405
  nextCursor?: string | null;
165
406
  }
407
+ /**
408
+ * Supported content types for HTTP requests and responses.
409
+ * Determines how the SDK serializes requests and parses responses.
410
+ */
166
411
  declare enum ContentType {
412
+ /** JSON format (application/json) */
167
413
  Json = "json",
414
+ /** XML format (application/xml, text/xml) */
168
415
  Xml = "xml",
416
+ /** PDF document (application/pdf) */
169
417
  Pdf = "pdf",
418
+ /** Image file (image/*) */
170
419
  Image = "image",
420
+ /** Generic file */
171
421
  File = "file",
422
+ /** Binary data (application/octet-stream) */
172
423
  Binary = "binary",
424
+ /** URL-encoded form data (application/x-www-form-urlencoded) */
173
425
  FormUrlEncoded = "form",
426
+ /** Plain text (text/plain) */
174
427
  Text = "text",
428
+ /** Multipart form data for file uploads (multipart/form-data) */
175
429
  MultipartFormData = "multipartFormData",
430
+ /** Server-sent events stream (text/event-stream) */
176
431
  EventStream = "eventStream",
432
+ /** No content (HTTP 204) */
177
433
  NoContent = "noContent"
178
434
  }
179
435
  interface RequestConfig {
@@ -189,35 +445,143 @@ interface ValidationOptions {
189
445
  responseValidation?: boolean;
190
446
  }
191
447
 
448
+ /**
449
+ * Error class for HTTP request failures.
450
+ * Captures error details including status, metadata, and the raw response.
451
+ */
192
452
  declare class HttpError extends Error {
453
+ /** Error message or status text */
193
454
  readonly error: string;
455
+ /** HTTP response metadata (status, headers, etc.) */
194
456
  readonly metadata: HttpMetadata;
457
+ /** Raw response object from the HTTP client */
195
458
  readonly raw?: ArrayBuffer;
459
+ /**
460
+ * Creates a new HTTP error.
461
+ * @param metadata - HTTP response metadata
462
+ * @param raw - Raw response object (optional)
463
+ * @param error - Custom error message (optional, defaults to status text)
464
+ */
196
465
  constructor(metadata: HttpMetadata, raw?: ArrayBuffer, error?: string);
197
466
  }
198
467
 
468
+ /**
469
+ * Default implementation of the Hook interface that provides pass-through behavior.
470
+ * This hook can be extended to add custom logic for request/response interception.
471
+ */
199
472
  declare class CustomHook implements Hook {
473
+ /**
474
+ * Called before an HTTP request is sent.
475
+ * Default implementation returns the request unchanged.
476
+ * @param request - The HTTP request to be sent
477
+ * @param params - Additional custom parameters
478
+ * @returns A promise that resolves to the unmodified request
479
+ */
200
480
  beforeRequest(request: HttpRequest, params: Map<string, string>): Promise<HttpRequest>;
481
+ /**
482
+ * Called after a successful HTTP response is received.
483
+ * Default implementation returns the response unchanged.
484
+ * @param request - The original HTTP request
485
+ * @param response - The HTTP response received
486
+ * @param params - Additional custom parameters
487
+ * @returns A promise that resolves to the unmodified response
488
+ */
201
489
  afterResponse(request: HttpRequest, response: HttpResponse$1<any>, params: Map<string, string>): Promise<HttpResponse$1<any>>;
490
+ /**
491
+ * Called when an HTTP request results in an error.
492
+ * Default implementation wraps the error response in an HttpError object.
493
+ * @param request - The original HTTP request
494
+ * @param response - The error response received
495
+ * @param params - Additional custom parameters
496
+ * @returns A promise that resolves to an HttpError object
497
+ */
202
498
  onError(request: HttpRequest, response: HttpResponse$1<any>, params: Map<string, string>): Promise<HttpError>;
203
499
  }
204
500
 
501
+ /**
502
+ * Core HTTP client for making API requests.
503
+ * Manages request/response handling through a chain of handlers for validation, retry, hooks, and more.
504
+ */
205
505
  declare class HttpClient {
206
506
  private config;
507
+ /** Chain of request handlers that process requests in sequence */
207
508
  private readonly requestHandlerChain;
509
+ /**
510
+ * Creates a new HTTP client with configured request handlers.
511
+ * @param config - SDK configuration including base URL and authentication
512
+ * @param hook - Optional custom hook for request/response interception
513
+ */
208
514
  constructor(config: SdkConfig, hook?: CustomHook);
515
+ /**
516
+ * Executes a standard HTTP request.
517
+ * @template T - The expected response data type
518
+ * @param request - The HTTP request to execute
519
+ * @returns A promise that resolves to the HTTP response
520
+ */
209
521
  call<T>(request: Request): Promise<HttpResponse<T>>;
522
+ /**
523
+ * Executes a streaming HTTP request that yields responses incrementally.
524
+ * @template T - The expected response data type for each chunk
525
+ * @param request - The HTTP request to execute
526
+ * @returns An async generator that yields HTTP responses
527
+ */
210
528
  stream<T>(request: Request): AsyncGenerator<HttpResponse<T>>;
529
+ /**
530
+ * Executes a paginated HTTP request and extracts the page data from the response.
531
+ * @template FullResponse - The complete response type from the API
532
+ * @template Page - The type of a single page of data
533
+ * @param request - The paginated HTTP request to execute
534
+ * @returns A promise that resolves to the paginated HTTP response
535
+ * @throws Error if the response contains no data to paginate through
536
+ */
211
537
  callPaginated<FullResponse, Page>(request: Request<Page>): Promise<PaginatedHttpResponse<Page>>;
538
+ /**
539
+ * Executes a cursor-paginated HTTP request and extracts both page data and the next cursor.
540
+ * @template FullResponse - The complete response type from the API
541
+ * @template Page - The type of a single page of data
542
+ * @param request - The cursor-paginated HTTP request to execute
543
+ * @returns A promise that resolves to the cursor-paginated HTTP response with next cursor
544
+ * @throws Error if the response contains no data to paginate through
545
+ */
212
546
  callCursorPaginated<FullResponse, Page>(request: Request<Page>): Promise<CursorPaginatedHttpResponse<Page>>;
547
+ /**
548
+ * Updates the base URL for all subsequent requests.
549
+ * @param url - The new base URL to use
550
+ */
213
551
  setBaseUrl(url: string): void;
552
+ /**
553
+ * Updates the SDK configuration.
554
+ * @param config - The new SDK configuration
555
+ */
214
556
  setConfig(config: SdkConfig): void;
557
+ /**
558
+ * Extracts page data from a full API response using the configured pagination path.
559
+ * @template FullResponse - The complete response type from the API
560
+ * @template Page - The type of a single page of data
561
+ * @param request - The request containing pagination configuration
562
+ * @param data - The full response data to extract the page from
563
+ * @returns The extracted and parsed page data
564
+ * @throws Error if pagination is not configured or page extraction fails
565
+ */
215
566
  private getPage;
567
+ /**
568
+ * Extracts the next cursor from a full API response for cursor-based pagination.
569
+ * @template FullResponse - The complete response type from the API
570
+ * @template Page - The type of a single page of data
571
+ * @param request - The request containing cursor pagination configuration
572
+ * @param data - The full response data to extract the cursor from
573
+ * @returns The next cursor string, null if no more pages, or undefined if not cursor pagination
574
+ */
216
575
  private getNextCursor;
217
576
  }
218
577
 
578
+ /**
579
+ * Base service class that all API service classes extend.
580
+ * Provides common functionality including HTTP client management and configuration.
581
+ */
219
582
  declare class BaseService {
220
583
  config: SdkConfig;
584
+ /** The HTTP client instance used to make API requests */
221
585
  client: HttpClient;
222
586
  constructor(config: SdkConfig);
223
587
  set baseUrl(baseUrl: string);
@@ -227,7 +591,43 @@ declare class BaseService {
227
591
  }
228
592
 
229
593
  /**
230
- * The shape of the model inside the application code - what the users use
594
+ * Zod schema for the DebugUserOkResponse model.
595
+ * Defines the structure and validation rules for this data type.
596
+ * This is the shape used in application code - what developers interact with.
597
+ */
598
+ declare const debugUserOkResponse: z.ZodLazy<z.ZodObject<{
599
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
600
+ userId: z.ZodOptional<z.ZodString>;
601
+ authMethod: z.ZodOptional<z.ZodString>;
602
+ }, "strip", z.ZodTypeAny, {
603
+ userId?: string | undefined;
604
+ authMethod?: string | undefined;
605
+ }, {
606
+ userId?: string | undefined;
607
+ authMethod?: string | undefined;
608
+ }>>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ data?: {
611
+ userId?: string | undefined;
612
+ authMethod?: string | undefined;
613
+ } | undefined;
614
+ }, {
615
+ data?: {
616
+ userId?: string | undefined;
617
+ authMethod?: string | undefined;
618
+ } | undefined;
619
+ }>>;
620
+ /**
621
+ *
622
+ * @typedef {DebugUserOkResponse} debugUserOkResponse
623
+ * @property {DebugUserOkResponseData}
624
+ */
625
+ type DebugUserOkResponse = z.infer<typeof debugUserOkResponse>;
626
+
627
+ /**
628
+ * Zod schema for the ListApiKeysOkResponse model.
629
+ * Defines the structure and validation rules for this data type.
630
+ * This is the shape used in application code - what developers interact with.
231
631
  */
232
632
  declare const listApiKeysOkResponse: z.ZodLazy<z.ZodObject<{
233
633
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -279,7 +679,9 @@ declare const listApiKeysOkResponse: z.ZodLazy<z.ZodObject<{
279
679
  type ListApiKeysOkResponse = z.infer<typeof listApiKeysOkResponse>;
280
680
 
281
681
  /**
282
- * The shape of the model inside the application code - what the users use
682
+ * Zod schema for the CreateApiKeyRequest model.
683
+ * Defines the structure and validation rules for this data type.
684
+ * This is the shape used in application code - what developers interact with.
283
685
  */
284
686
  declare const createApiKeyRequest: z.ZodLazy<z.ZodObject<{
285
687
  label: z.ZodOptional<z.ZodString>;
@@ -300,7 +702,9 @@ declare const createApiKeyRequest: z.ZodLazy<z.ZodObject<{
300
702
  type CreateApiKeyRequest = z.infer<typeof createApiKeyRequest>;
301
703
 
302
704
  /**
303
- * The shape of the model inside the application code - what the users use
705
+ * Zod schema for the CreateApiKeyCreatedResponse model.
706
+ * Defines the structure and validation rules for this data type.
707
+ * This is the shape used in application code - what developers interact with.
304
708
  */
305
709
  declare const createApiKeyCreatedResponse: z.ZodLazy<z.ZodObject<{
306
710
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -380,13 +784,18 @@ declare const createApiKeyCreatedResponse: z.ZodLazy<z.ZodObject<{
380
784
  */
381
785
  type CreateApiKeyCreatedResponse = z.infer<typeof createApiKeyCreatedResponse>;
382
786
 
787
+ /**
788
+ * Service class for ApiKeysService operations.
789
+ * Provides methods to interact with ApiKeysService-related API endpoints.
790
+ * All methods return promises and handle request/response serialization automatically.
791
+ */
383
792
  declare class ApiKeysService extends BaseService {
384
793
  /**
385
794
  * Debug endpoint to retrieve user ID and authentication method from the current API key
386
795
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
387
- * @returns {Promise<HttpResponse<any>>} - OK
796
+ * @returns {Promise<HttpResponse<DebugUserOkResponse>>} - User information retrieved successfully
388
797
  */
389
- debugUser(requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
798
+ debugUser(requestConfig?: RequestConfig): Promise<HttpResponse<DebugUserOkResponse>>;
390
799
  /**
391
800
  * List all API keys for the authenticated user
392
801
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
@@ -409,7 +818,32 @@ declare class ApiKeysService extends BaseService {
409
818
  }
410
819
 
411
820
  /**
412
- * The shape of the model inside the application code - what the users use
821
+ * Zod schema for the DebugUserOkResponseData model.
822
+ * Defines the structure and validation rules for this data type.
823
+ * This is the shape used in application code - what developers interact with.
824
+ */
825
+ declare const debugUserOkResponseData: z.ZodLazy<z.ZodObject<{
826
+ userId: z.ZodOptional<z.ZodString>;
827
+ authMethod: z.ZodOptional<z.ZodString>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ userId?: string | undefined;
830
+ authMethod?: string | undefined;
831
+ }, {
832
+ userId?: string | undefined;
833
+ authMethod?: string | undefined;
834
+ }>>;
835
+ /**
836
+ *
837
+ * @typedef {DebugUserOkResponseData} debugUserOkResponseData
838
+ * @property {string}
839
+ * @property {string}
840
+ */
841
+ type DebugUserOkResponseData = z.infer<typeof debugUserOkResponseData>;
842
+
843
+ /**
844
+ * Zod schema for the ApiKey model.
845
+ * Defines the structure and validation rules for this data type.
846
+ * This is the shape used in application code - what developers interact with.
413
847
  */
414
848
  declare const apiKey: z.ZodLazy<z.ZodObject<{
415
849
  id: z.ZodString;
@@ -446,7 +880,9 @@ declare const apiKey: z.ZodLazy<z.ZodObject<{
446
880
  type ApiKey = z.infer<typeof apiKey>;
447
881
 
448
882
  /**
449
- * The shape of the model inside the application code - what the users use
883
+ * Zod schema for the CreateApiKeyCreatedResponseData model.
884
+ * Defines the structure and validation rules for this data type.
885
+ * This is the shape used in application code - what developers interact with.
450
886
  */
451
887
  declare const createApiKeyCreatedResponseData: z.ZodLazy<z.ZodObject<{
452
888
  apiKey: z.ZodOptional<z.ZodString>;
@@ -502,7 +938,9 @@ declare const createApiKeyCreatedResponseData: z.ZodLazy<z.ZodObject<{
502
938
  type CreateApiKeyCreatedResponseData = z.infer<typeof createApiKeyCreatedResponseData>;
503
939
 
504
940
  /**
505
- * The shape of the model inside the application code - what the users use
941
+ * Zod schema for the ListArtifactsOkResponse model.
942
+ * Defines the structure and validation rules for this data type.
943
+ * This is the shape used in application code - what developers interact with.
506
944
  */
507
945
  declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
508
946
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -511,12 +949,7 @@ declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
511
949
  content: z.ZodString;
512
950
  type: z.ZodString;
513
951
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
514
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>; /**
515
- *
516
- * @typedef {ListArtifactsOkResponse} listArtifactsOkResponse
517
- * @property {Artifact[]}
518
- * @property {number}
519
- */
952
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
520
953
  memoryId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
521
954
  conversationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
522
955
  metadata: z.ZodOptional<z.ZodAny>;
@@ -524,9 +957,9 @@ declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
524
957
  updatedAt: z.ZodString;
525
958
  }, "strip", z.ZodTypeAny, {
526
959
  type: string;
960
+ userId: string;
527
961
  id: string;
528
962
  createdAt: string;
529
- userId: string;
530
963
  content: string;
531
964
  updatedAt: string;
532
965
  name?: string | null | undefined;
@@ -536,9 +969,9 @@ declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
536
969
  metadata?: any;
537
970
  }, {
538
971
  type: string;
972
+ userId: string;
539
973
  id: string;
540
974
  createdAt: string;
541
- userId: string;
542
975
  content: string;
543
976
  updatedAt: string;
544
977
  name?: string | null | undefined;
@@ -551,9 +984,9 @@ declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
551
984
  }, "strip", z.ZodTypeAny, {
552
985
  data?: {
553
986
  type: string;
987
+ userId: string;
554
988
  id: string;
555
989
  createdAt: string;
556
- userId: string;
557
990
  content: string;
558
991
  updatedAt: string;
559
992
  name?: string | null | undefined;
@@ -566,9 +999,9 @@ declare const listArtifactsOkResponse: z.ZodLazy<z.ZodObject<{
566
999
  }, {
567
1000
  data?: {
568
1001
  type: string;
1002
+ userId: string;
569
1003
  id: string;
570
1004
  createdAt: string;
571
- userId: string;
572
1005
  content: string;
573
1006
  updatedAt: string;
574
1007
  name?: string | null | undefined;
@@ -596,7 +1029,9 @@ interface ListArtifactsParams {
596
1029
  }
597
1030
 
598
1031
  /**
599
- * The shape of the model inside the application code - what the users use
1032
+ * Zod schema for the CreateArtifactRequest model.
1033
+ * Defines the structure and validation rules for this data type.
1034
+ * This is the shape used in application code - what developers interact with.
600
1035
  */
601
1036
  declare const createArtifactRequest: z.ZodLazy<z.ZodObject<{
602
1037
  content: z.ZodString;
@@ -637,7 +1072,9 @@ declare const createArtifactRequest: z.ZodLazy<z.ZodObject<{
637
1072
  type CreateArtifactRequest = z.infer<typeof createArtifactRequest>;
638
1073
 
639
1074
  /**
640
- * The shape of the model inside the application code - what the users use
1075
+ * Zod schema for the CreateArtifactCreatedResponse model.
1076
+ * Defines the structure and validation rules for this data type.
1077
+ * This is the shape used in application code - what developers interact with.
641
1078
  */
642
1079
  declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
643
1080
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -651,16 +1088,12 @@ declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
651
1088
  conversationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
652
1089
  metadata: z.ZodOptional<z.ZodAny>;
653
1090
  createdAt: z.ZodString;
654
- /**
655
- * The shape of the model mapping from the api schema into the application shape.
656
- * Is equal to application shape if all property names match the api schema
657
- */
658
1091
  updatedAt: z.ZodString;
659
1092
  }, "strip", z.ZodTypeAny, {
660
1093
  type: string;
1094
+ userId: string;
661
1095
  id: string;
662
1096
  createdAt: string;
663
- userId: string;
664
1097
  content: string;
665
1098
  updatedAt: string;
666
1099
  name?: string | null | undefined;
@@ -670,9 +1103,9 @@ declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
670
1103
  metadata?: any;
671
1104
  }, {
672
1105
  type: string;
1106
+ userId: string;
673
1107
  id: string;
674
1108
  createdAt: string;
675
- userId: string;
676
1109
  content: string;
677
1110
  updatedAt: string;
678
1111
  name?: string | null | undefined;
@@ -684,9 +1117,9 @@ declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
684
1117
  }, "strip", z.ZodTypeAny, {
685
1118
  data?: {
686
1119
  type: string;
1120
+ userId: string;
687
1121
  id: string;
688
1122
  createdAt: string;
689
- userId: string;
690
1123
  content: string;
691
1124
  updatedAt: string;
692
1125
  name?: string | null | undefined;
@@ -698,9 +1131,9 @@ declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
698
1131
  }, {
699
1132
  data?: {
700
1133
  type: string;
1134
+ userId: string;
701
1135
  id: string;
702
1136
  createdAt: string;
703
- userId: string;
704
1137
  content: string;
705
1138
  updatedAt: string;
706
1139
  name?: string | null | undefined;
@@ -718,7 +1151,9 @@ declare const createArtifactCreatedResponse: z.ZodLazy<z.ZodObject<{
718
1151
  type CreateArtifactCreatedResponse = z.infer<typeof createArtifactCreatedResponse>;
719
1152
 
720
1153
  /**
721
- * The shape of the model inside the application code - what the users use
1154
+ * Zod schema for the GetArtifactByIdOkResponse model.
1155
+ * Defines the structure and validation rules for this data type.
1156
+ * This is the shape used in application code - what developers interact with.
722
1157
  */
723
1158
  declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
724
1159
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -735,9 +1170,9 @@ declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
735
1170
  updatedAt: z.ZodString;
736
1171
  }, "strip", z.ZodTypeAny, {
737
1172
  type: string;
1173
+ userId: string;
738
1174
  id: string;
739
1175
  createdAt: string;
740
- userId: string;
741
1176
  content: string;
742
1177
  updatedAt: string;
743
1178
  name?: string | null | undefined;
@@ -747,9 +1182,9 @@ declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
747
1182
  metadata?: any;
748
1183
  }, {
749
1184
  type: string;
1185
+ userId: string;
750
1186
  id: string;
751
1187
  createdAt: string;
752
- userId: string;
753
1188
  content: string;
754
1189
  updatedAt: string;
755
1190
  name?: string | null | undefined;
@@ -761,9 +1196,9 @@ declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
761
1196
  }, "strip", z.ZodTypeAny, {
762
1197
  data?: {
763
1198
  type: string;
1199
+ userId: string;
764
1200
  id: string;
765
1201
  createdAt: string;
766
- userId: string;
767
1202
  content: string;
768
1203
  updatedAt: string;
769
1204
  name?: string | null | undefined;
@@ -775,9 +1210,9 @@ declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
775
1210
  }, {
776
1211
  data?: {
777
1212
  type: string;
1213
+ userId: string;
778
1214
  id: string;
779
1215
  createdAt: string;
780
- userId: string;
781
1216
  content: string;
782
1217
  updatedAt: string;
783
1218
  name?: string | null | undefined;
@@ -795,7 +1230,9 @@ declare const getArtifactByIdOkResponse: z.ZodLazy<z.ZodObject<{
795
1230
  type GetArtifactByIdOkResponse = z.infer<typeof getArtifactByIdOkResponse>;
796
1231
 
797
1232
  /**
798
- * The shape of the model inside the application code - what the users use
1233
+ * Zod schema for the UpdateArtifactRequest model.
1234
+ * Defines the structure and validation rules for this data type.
1235
+ * This is the shape used in application code - what developers interact with.
799
1236
  */
800
1237
  declare const updateArtifactRequest: z.ZodLazy<z.ZodObject<{
801
1238
  content: z.ZodOptional<z.ZodString>;
@@ -828,7 +1265,9 @@ declare const updateArtifactRequest: z.ZodLazy<z.ZodObject<{
828
1265
  type UpdateArtifactRequest = z.infer<typeof updateArtifactRequest>;
829
1266
 
830
1267
  /**
831
- * The shape of the model inside the application code - what the users use
1268
+ * Zod schema for the UpdateArtifactOkResponse model.
1269
+ * Defines the structure and validation rules for this data type.
1270
+ * This is the shape used in application code - what developers interact with.
832
1271
  */
833
1272
  declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
834
1273
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -845,9 +1284,9 @@ declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
845
1284
  updatedAt: z.ZodString;
846
1285
  }, "strip", z.ZodTypeAny, {
847
1286
  type: string;
1287
+ userId: string;
848
1288
  id: string;
849
1289
  createdAt: string;
850
- userId: string;
851
1290
  content: string;
852
1291
  updatedAt: string;
853
1292
  name?: string | null | undefined;
@@ -857,9 +1296,9 @@ declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
857
1296
  metadata?: any;
858
1297
  }, {
859
1298
  type: string;
1299
+ userId: string;
860
1300
  id: string;
861
1301
  createdAt: string;
862
- userId: string;
863
1302
  content: string;
864
1303
  updatedAt: string;
865
1304
  name?: string | null | undefined;
@@ -871,9 +1310,9 @@ declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
871
1310
  }, "strip", z.ZodTypeAny, {
872
1311
  data?: {
873
1312
  type: string;
1313
+ userId: string;
874
1314
  id: string;
875
1315
  createdAt: string;
876
- userId: string;
877
1316
  content: string;
878
1317
  updatedAt: string;
879
1318
  name?: string | null | undefined;
@@ -885,9 +1324,9 @@ declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
885
1324
  }, {
886
1325
  data?: {
887
1326
  type: string;
1327
+ userId: string;
888
1328
  id: string;
889
1329
  createdAt: string;
890
- userId: string;
891
1330
  content: string;
892
1331
  updatedAt: string;
893
1332
  name?: string | null | undefined;
@@ -904,6 +1343,11 @@ declare const updateArtifactOkResponse: z.ZodLazy<z.ZodObject<{
904
1343
  */
905
1344
  type UpdateArtifactOkResponse = z.infer<typeof updateArtifactOkResponse>;
906
1345
 
1346
+ /**
1347
+ * Service class for ArtifactsService operations.
1348
+ * Provides methods to interact with ArtifactsService-related API endpoints.
1349
+ * All methods return promises and handle request/response serialization automatically.
1350
+ */
907
1351
  declare class ArtifactsService extends BaseService {
908
1352
  /**
909
1353
  * List all artifacts for the authenticated user with optional filters
@@ -946,7 +1390,9 @@ declare class ArtifactsService extends BaseService {
946
1390
  }
947
1391
 
948
1392
  /**
949
- * The shape of the model inside the application code - what the users use
1393
+ * Zod schema for the Artifact model.
1394
+ * Defines the structure and validation rules for this data type.
1395
+ * This is the shape used in application code - what developers interact with.
950
1396
  */
951
1397
  declare const artifact: z.ZodLazy<z.ZodObject<{
952
1398
  id: z.ZodString;
@@ -962,9 +1408,9 @@ declare const artifact: z.ZodLazy<z.ZodObject<{
962
1408
  updatedAt: z.ZodString;
963
1409
  }, "strip", z.ZodTypeAny, {
964
1410
  type: string;
1411
+ userId: string;
965
1412
  id: string;
966
1413
  createdAt: string;
967
- userId: string;
968
1414
  content: string;
969
1415
  updatedAt: string;
970
1416
  name?: string | null | undefined;
@@ -974,9 +1420,9 @@ declare const artifact: z.ZodLazy<z.ZodObject<{
974
1420
  metadata?: any;
975
1421
  }, {
976
1422
  type: string;
1423
+ userId: string;
977
1424
  id: string;
978
1425
  createdAt: string;
979
- userId: string;
980
1426
  content: string;
981
1427
  updatedAt: string;
982
1428
  name?: string | null | undefined;
@@ -1003,7 +1449,9 @@ declare const artifact: z.ZodLazy<z.ZodObject<{
1003
1449
  type Artifact = z.infer<typeof artifact>;
1004
1450
 
1005
1451
  /**
1006
- * The shape of the model inside the application code - what the users use
1452
+ * Zod schema for the ListConversationsOkResponse model.
1453
+ * Defines the structure and validation rules for this data type.
1454
+ * This is the shape used in application code - what developers interact with.
1007
1455
  */
1008
1456
  declare const listConversationsOkResponse: z.ZodLazy<z.ZodObject<{
1009
1457
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1079,7 +1527,9 @@ interface ListConversationsParams {
1079
1527
  }
1080
1528
 
1081
1529
  /**
1082
- * The shape of the model inside the application code - what the users use
1530
+ * Zod schema for the CreateConversationRequest model.
1531
+ * Defines the structure and validation rules for this data type.
1532
+ * This is the shape used in application code - what developers interact with.
1083
1533
  */
1084
1534
  declare const createConversationRequest: z.ZodLazy<z.ZodObject<{
1085
1535
  title: z.ZodString;
@@ -1100,7 +1550,9 @@ declare const createConversationRequest: z.ZodLazy<z.ZodObject<{
1100
1550
  type CreateConversationRequest = z.infer<typeof createConversationRequest>;
1101
1551
 
1102
1552
  /**
1103
- * The shape of the model inside the application code - what the users use
1553
+ * Zod schema for the CreateConversationCreatedResponse model.
1554
+ * Defines the structure and validation rules for this data type.
1555
+ * This is the shape used in application code - what developers interact with.
1104
1556
  */
1105
1557
  declare const createConversationCreatedResponse: z.ZodLazy<z.ZodObject<{
1106
1558
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1147,7 +1599,9 @@ declare const createConversationCreatedResponse: z.ZodLazy<z.ZodObject<{
1147
1599
  type CreateConversationCreatedResponse = z.infer<typeof createConversationCreatedResponse>;
1148
1600
 
1149
1601
  /**
1150
- * The shape of the model inside the application code - what the users use
1602
+ * Zod schema for the GetConversationSummaryOkResponse model.
1603
+ * Defines the structure and validation rules for this data type.
1604
+ * This is the shape used in application code - what developers interact with.
1151
1605
  */
1152
1606
  declare const getConversationSummaryOkResponse: z.ZodLazy<z.ZodObject<{
1153
1607
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1194,7 +1648,9 @@ declare const getConversationSummaryOkResponse: z.ZodLazy<z.ZodObject<{
1194
1648
  type GetConversationSummaryOkResponse = z.infer<typeof getConversationSummaryOkResponse>;
1195
1649
 
1196
1650
  /**
1197
- * The shape of the model inside the application code - what the users use
1651
+ * Zod schema for the GetConversationTimelineOkResponse model.
1652
+ * Defines the structure and validation rules for this data type.
1653
+ * This is the shape used in application code - what developers interact with.
1198
1654
  */
1199
1655
  declare const getConversationTimelineOkResponse: z.ZodLazy<z.ZodObject<{
1200
1656
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1275,7 +1731,9 @@ declare const getConversationTimelineOkResponse: z.ZodLazy<z.ZodObject<{
1275
1731
  type GetConversationTimelineOkResponse = z.infer<typeof getConversationTimelineOkResponse>;
1276
1732
 
1277
1733
  /**
1278
- * The shape of the model inside the application code - what the users use
1734
+ * Zod schema for the SearchConversationsRequest model.
1735
+ * Defines the structure and validation rules for this data type.
1736
+ * This is the shape used in application code - what developers interact with.
1279
1737
  */
1280
1738
  declare const searchConversationsRequest: z.ZodLazy<z.ZodObject<{
1281
1739
  query: z.ZodString;
@@ -1296,7 +1754,9 @@ declare const searchConversationsRequest: z.ZodLazy<z.ZodObject<{
1296
1754
  type SearchConversationsRequest = z.infer<typeof searchConversationsRequest>;
1297
1755
 
1298
1756
  /**
1299
- * The shape of the model inside the application code - what the users use
1757
+ * Zod schema for the SearchConversationsOkResponse model.
1758
+ * Defines the structure and validation rules for this data type.
1759
+ * This is the shape used in application code - what developers interact with.
1300
1760
  */
1301
1761
  declare const searchConversationsOkResponse: z.ZodLazy<z.ZodObject<{
1302
1762
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1347,7 +1807,9 @@ declare const searchConversationsOkResponse: z.ZodLazy<z.ZodObject<{
1347
1807
  type SearchConversationsOkResponse = z.infer<typeof searchConversationsOkResponse>;
1348
1808
 
1349
1809
  /**
1350
- * The shape of the model inside the application code - what the users use
1810
+ * Zod schema for the FindConversationsByTopicRequest model.
1811
+ * Defines the structure and validation rules for this data type.
1812
+ * This is the shape used in application code - what developers interact with.
1351
1813
  */
1352
1814
  declare const findConversationsByTopicRequest: z.ZodLazy<z.ZodObject<{
1353
1815
  topicId: z.ZodString;
@@ -1368,7 +1830,9 @@ declare const findConversationsByTopicRequest: z.ZodLazy<z.ZodObject<{
1368
1830
  type FindConversationsByTopicRequest = z.infer<typeof findConversationsByTopicRequest>;
1369
1831
 
1370
1832
  /**
1371
- * The shape of the model inside the application code - what the users use
1833
+ * Zod schema for the FindConversationsByTopicOkResponse model.
1834
+ * Defines the structure and validation rules for this data type.
1835
+ * This is the shape used in application code - what developers interact with.
1372
1836
  */
1373
1837
  declare const findConversationsByTopicOkResponse: z.ZodLazy<z.ZodObject<{
1374
1838
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1432,6 +1896,11 @@ declare const findConversationsByTopicOkResponse: z.ZodLazy<z.ZodObject<{
1432
1896
  */
1433
1897
  type FindConversationsByTopicOkResponse = z.infer<typeof findConversationsByTopicOkResponse>;
1434
1898
 
1899
+ /**
1900
+ * Service class for ConversationsService operations.
1901
+ * Provides methods to interact with ConversationsService-related API endpoints.
1902
+ * All methods return promises and handle request/response serialization automatically.
1903
+ */
1435
1904
  declare class ConversationsService extends BaseService {
1436
1905
  /**
1437
1906
  * List all conversations for the authenticated user with pagination
@@ -1476,7 +1945,9 @@ declare class ConversationsService extends BaseService {
1476
1945
  }
1477
1946
 
1478
1947
  /**
1479
- * The shape of the model inside the application code - what the users use
1948
+ * Zod schema for the Conversation model.
1949
+ * Defines the structure and validation rules for this data type.
1950
+ * This is the shape used in application code - what developers interact with.
1480
1951
  */
1481
1952
  declare const conversation: z.ZodLazy<z.ZodObject<{
1482
1953
  id: z.ZodString;
@@ -1509,7 +1980,9 @@ declare const conversation: z.ZodLazy<z.ZodObject<{
1509
1980
  type Conversation = z.infer<typeof conversation>;
1510
1981
 
1511
1982
  /**
1512
- * The shape of the model inside the application code - what the users use
1983
+ * Zod schema for the ListConversationsOkResponsePagination model.
1984
+ * Defines the structure and validation rules for this data type.
1985
+ * This is the shape used in application code - what developers interact with.
1513
1986
  */
1514
1987
  declare const listConversationsOkResponsePagination: z.ZodLazy<z.ZodObject<{
1515
1988
  limit: z.ZodOptional<z.ZodNumber>;
@@ -1540,7 +2013,9 @@ declare enum MemoryMemoryType1 {
1540
2013
  }
1541
2014
 
1542
2015
  /**
1543
- * The shape of the model inside the application code - what the users use
2016
+ * Zod schema for the FindConversationsByTopicOkResponseMetadata model.
2017
+ * Defines the structure and validation rules for this data type.
2018
+ * This is the shape used in application code - what developers interact with.
1544
2019
  */
1545
2020
  declare const findConversationsByTopicOkResponseMetadata: z.ZodLazy<z.ZodObject<{
1546
2021
  topicId: z.ZodOptional<z.ZodString>;
@@ -1557,7 +2032,9 @@ declare const findConversationsByTopicOkResponseMetadata: z.ZodLazy<z.ZodObject<
1557
2032
  type FindConversationsByTopicOkResponseMetadata = z.infer<typeof findConversationsByTopicOkResponseMetadata>;
1558
2033
 
1559
2034
  /**
1560
- * The shape of the model inside the application code - what the users use
2035
+ * Zod schema for the ListFactsOkResponse model.
2036
+ * Defines the structure and validation rules for this data type.
2037
+ * This is the shape used in application code - what developers interact with.
1561
2038
  */
1562
2039
  declare const listFactsOkResponse: z.ZodLazy<z.ZodObject<{
1563
2040
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1571,18 +2048,18 @@ declare const listFactsOkResponse: z.ZodLazy<z.ZodObject<{
1571
2048
  updatedAt: z.ZodString;
1572
2049
  }, "strip", z.ZodTypeAny, {
1573
2050
  type: string;
2051
+ userId: string;
1574
2052
  id: string;
1575
2053
  createdAt: string;
1576
- userId: string;
1577
2054
  name: string;
1578
2055
  updatedAt: string;
1579
2056
  description?: string | null | undefined;
1580
2057
  confidence?: number | undefined;
1581
2058
  }, {
1582
2059
  type: string;
2060
+ userId: string;
1583
2061
  id: string;
1584
2062
  createdAt: string;
1585
- userId: string;
1586
2063
  name: string;
1587
2064
  updatedAt: string;
1588
2065
  description?: string | null | undefined;
@@ -1592,9 +2069,9 @@ declare const listFactsOkResponse: z.ZodLazy<z.ZodObject<{
1592
2069
  }, "strip", z.ZodTypeAny, {
1593
2070
  data?: {
1594
2071
  type: string;
2072
+ userId: string;
1595
2073
  id: string;
1596
2074
  createdAt: string;
1597
- userId: string;
1598
2075
  name: string;
1599
2076
  updatedAt: string;
1600
2077
  description?: string | null | undefined;
@@ -1604,9 +2081,9 @@ declare const listFactsOkResponse: z.ZodLazy<z.ZodObject<{
1604
2081
  }, {
1605
2082
  data?: {
1606
2083
  type: string;
2084
+ userId: string;
1607
2085
  id: string;
1608
2086
  createdAt: string;
1609
- userId: string;
1610
2087
  name: string;
1611
2088
  updatedAt: string;
1612
2089
  description?: string | null | undefined;
@@ -1628,7 +2105,9 @@ interface ListFactsParams {
1628
2105
  }
1629
2106
 
1630
2107
  /**
1631
- * The shape of the model inside the application code - what the users use
2108
+ * Zod schema for the CreateFactRequest model.
2109
+ * Defines the structure and validation rules for this data type.
2110
+ * This is the shape used in application code - what developers interact with.
1632
2111
  */
1633
2112
  declare const createFactRequest: z.ZodLazy<z.ZodObject<{
1634
2113
  subject: z.ZodString;
@@ -1653,7 +2132,9 @@ declare const createFactRequest: z.ZodLazy<z.ZodObject<{
1653
2132
  type CreateFactRequest = z.infer<typeof createFactRequest>;
1654
2133
 
1655
2134
  /**
1656
- * The shape of the model inside the application code - what the users use
2135
+ * Zod schema for the CreateFactCreatedResponse model.
2136
+ * Defines the structure and validation rules for this data type.
2137
+ * This is the shape used in application code - what developers interact with.
1657
2138
  */
1658
2139
  declare const createFactCreatedResponse: z.ZodLazy<z.ZodObject<{
1659
2140
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1667,18 +2148,18 @@ declare const createFactCreatedResponse: z.ZodLazy<z.ZodObject<{
1667
2148
  updatedAt: z.ZodString;
1668
2149
  }, "strip", z.ZodTypeAny, {
1669
2150
  type: string;
2151
+ userId: string;
1670
2152
  id: string;
1671
2153
  createdAt: string;
1672
- userId: string;
1673
2154
  name: string;
1674
2155
  updatedAt: string;
1675
2156
  description?: string | null | undefined;
1676
2157
  confidence?: number | undefined;
1677
2158
  }, {
1678
2159
  type: string;
2160
+ userId: string;
1679
2161
  id: string;
1680
2162
  createdAt: string;
1681
- userId: string;
1682
2163
  name: string;
1683
2164
  updatedAt: string;
1684
2165
  description?: string | null | undefined;
@@ -1687,9 +2168,9 @@ declare const createFactCreatedResponse: z.ZodLazy<z.ZodObject<{
1687
2168
  }, "strip", z.ZodTypeAny, {
1688
2169
  data?: {
1689
2170
  type: string;
2171
+ userId: string;
1690
2172
  id: string;
1691
2173
  createdAt: string;
1692
- userId: string;
1693
2174
  name: string;
1694
2175
  updatedAt: string;
1695
2176
  description?: string | null | undefined;
@@ -1698,9 +2179,9 @@ declare const createFactCreatedResponse: z.ZodLazy<z.ZodObject<{
1698
2179
  }, {
1699
2180
  data?: {
1700
2181
  type: string;
2182
+ userId: string;
1701
2183
  id: string;
1702
2184
  createdAt: string;
1703
- userId: string;
1704
2185
  name: string;
1705
2186
  updatedAt: string;
1706
2187
  description?: string | null | undefined;
@@ -1715,7 +2196,9 @@ declare const createFactCreatedResponse: z.ZodLazy<z.ZodObject<{
1715
2196
  type CreateFactCreatedResponse = z.infer<typeof createFactCreatedResponse>;
1716
2197
 
1717
2198
  /**
1718
- * The shape of the model inside the application code - what the users use
2199
+ * Zod schema for the GetFactByIdOkResponse model.
2200
+ * Defines the structure and validation rules for this data type.
2201
+ * This is the shape used in application code - what developers interact with.
1719
2202
  */
1720
2203
  declare const getFactByIdOkResponse: z.ZodLazy<z.ZodObject<{
1721
2204
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1729,18 +2212,18 @@ declare const getFactByIdOkResponse: z.ZodLazy<z.ZodObject<{
1729
2212
  updatedAt: z.ZodString;
1730
2213
  }, "strip", z.ZodTypeAny, {
1731
2214
  type: string;
2215
+ userId: string;
1732
2216
  id: string;
1733
2217
  createdAt: string;
1734
- userId: string;
1735
2218
  name: string;
1736
2219
  updatedAt: string;
1737
2220
  description?: string | null | undefined;
1738
2221
  confidence?: number | undefined;
1739
2222
  }, {
1740
2223
  type: string;
2224
+ userId: string;
1741
2225
  id: string;
1742
2226
  createdAt: string;
1743
- userId: string;
1744
2227
  name: string;
1745
2228
  updatedAt: string;
1746
2229
  description?: string | null | undefined;
@@ -1749,9 +2232,9 @@ declare const getFactByIdOkResponse: z.ZodLazy<z.ZodObject<{
1749
2232
  }, "strip", z.ZodTypeAny, {
1750
2233
  data?: {
1751
2234
  type: string;
2235
+ userId: string;
1752
2236
  id: string;
1753
2237
  createdAt: string;
1754
- userId: string;
1755
2238
  name: string;
1756
2239
  updatedAt: string;
1757
2240
  description?: string | null | undefined;
@@ -1760,9 +2243,9 @@ declare const getFactByIdOkResponse: z.ZodLazy<z.ZodObject<{
1760
2243
  }, {
1761
2244
  data?: {
1762
2245
  type: string;
2246
+ userId: string;
1763
2247
  id: string;
1764
2248
  createdAt: string;
1765
- userId: string;
1766
2249
  name: string;
1767
2250
  updatedAt: string;
1768
2251
  description?: string | null | undefined;
@@ -1777,7 +2260,9 @@ declare const getFactByIdOkResponse: z.ZodLazy<z.ZodObject<{
1777
2260
  type GetFactByIdOkResponse = z.infer<typeof getFactByIdOkResponse>;
1778
2261
 
1779
2262
  /**
1780
- * The shape of the model inside the application code - what the users use
2263
+ * Zod schema for the UpdateFactRequest model.
2264
+ * Defines the structure and validation rules for this data type.
2265
+ * This is the shape used in application code - what developers interact with.
1781
2266
  */
1782
2267
  declare const updateFactRequest: z.ZodLazy<z.ZodObject<{
1783
2268
  subject: z.ZodOptional<z.ZodString>;
@@ -1806,7 +2291,9 @@ declare const updateFactRequest: z.ZodLazy<z.ZodObject<{
1806
2291
  type UpdateFactRequest = z.infer<typeof updateFactRequest>;
1807
2292
 
1808
2293
  /**
1809
- * The shape of the model inside the application code - what the users use
2294
+ * Zod schema for the UpdateFactOkResponse model.
2295
+ * Defines the structure and validation rules for this data type.
2296
+ * This is the shape used in application code - what developers interact with.
1810
2297
  */
1811
2298
  declare const updateFactOkResponse: z.ZodLazy<z.ZodObject<{
1812
2299
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1820,18 +2307,18 @@ declare const updateFactOkResponse: z.ZodLazy<z.ZodObject<{
1820
2307
  updatedAt: z.ZodString;
1821
2308
  }, "strip", z.ZodTypeAny, {
1822
2309
  type: string;
2310
+ userId: string;
1823
2311
  id: string;
1824
2312
  createdAt: string;
1825
- userId: string;
1826
2313
  name: string;
1827
2314
  updatedAt: string;
1828
2315
  description?: string | null | undefined;
1829
2316
  confidence?: number | undefined;
1830
2317
  }, {
1831
2318
  type: string;
2319
+ userId: string;
1832
2320
  id: string;
1833
2321
  createdAt: string;
1834
- userId: string;
1835
2322
  name: string;
1836
2323
  updatedAt: string;
1837
2324
  description?: string | null | undefined;
@@ -1840,9 +2327,9 @@ declare const updateFactOkResponse: z.ZodLazy<z.ZodObject<{
1840
2327
  }, "strip", z.ZodTypeAny, {
1841
2328
  data?: {
1842
2329
  type: string;
2330
+ userId: string;
1843
2331
  id: string;
1844
2332
  createdAt: string;
1845
- userId: string;
1846
2333
  name: string;
1847
2334
  updatedAt: string;
1848
2335
  description?: string | null | undefined;
@@ -1851,9 +2338,9 @@ declare const updateFactOkResponse: z.ZodLazy<z.ZodObject<{
1851
2338
  }, {
1852
2339
  data?: {
1853
2340
  type: string;
2341
+ userId: string;
1854
2342
  id: string;
1855
2343
  createdAt: string;
1856
- userId: string;
1857
2344
  name: string;
1858
2345
  updatedAt: string;
1859
2346
  description?: string | null | undefined;
@@ -1868,7 +2355,9 @@ declare const updateFactOkResponse: z.ZodLazy<z.ZodObject<{
1868
2355
  type UpdateFactOkResponse = z.infer<typeof updateFactOkResponse>;
1869
2356
 
1870
2357
  /**
1871
- * The shape of the model inside the application code - what the users use
2358
+ * Zod schema for the FactSearchRequest model.
2359
+ * Defines the structure and validation rules for this data type.
2360
+ * This is the shape used in application code - what developers interact with.
1872
2361
  */
1873
2362
  declare const factSearchRequest: z.ZodLazy<z.ZodObject<{
1874
2363
  query: z.ZodString;
@@ -1889,7 +2378,9 @@ declare const factSearchRequest: z.ZodLazy<z.ZodObject<{
1889
2378
  type FactSearchRequest = z.infer<typeof factSearchRequest>;
1890
2379
 
1891
2380
  /**
1892
- * The shape of the model inside the application code - what the users use
2381
+ * Zod schema for the SearchFactsOkResponse model.
2382
+ * Defines the structure and validation rules for this data type.
2383
+ * This is the shape used in application code - what developers interact with.
1893
2384
  */
1894
2385
  declare const searchFactsOkResponse: z.ZodLazy<z.ZodObject<{
1895
2386
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -1903,18 +2394,18 @@ declare const searchFactsOkResponse: z.ZodLazy<z.ZodObject<{
1903
2394
  updatedAt: z.ZodString;
1904
2395
  }, "strip", z.ZodTypeAny, {
1905
2396
  type: string;
2397
+ userId: string;
1906
2398
  id: string;
1907
2399
  createdAt: string;
1908
- userId: string;
1909
2400
  name: string;
1910
2401
  updatedAt: string;
1911
2402
  description?: string | null | undefined;
1912
2403
  confidence?: number | undefined;
1913
2404
  }, {
1914
2405
  type: string;
2406
+ userId: string;
1915
2407
  id: string;
1916
2408
  createdAt: string;
1917
- userId: string;
1918
2409
  name: string;
1919
2410
  updatedAt: string;
1920
2411
  description?: string | null | undefined;
@@ -1931,9 +2422,9 @@ declare const searchFactsOkResponse: z.ZodLazy<z.ZodObject<{
1931
2422
  }, "strip", z.ZodTypeAny, {
1932
2423
  data?: {
1933
2424
  type: string;
2425
+ userId: string;
1934
2426
  id: string;
1935
2427
  createdAt: string;
1936
- userId: string;
1937
2428
  name: string;
1938
2429
  updatedAt: string;
1939
2430
  description?: string | null | undefined;
@@ -1946,9 +2437,9 @@ declare const searchFactsOkResponse: z.ZodLazy<z.ZodObject<{
1946
2437
  }, {
1947
2438
  data?: {
1948
2439
  type: string;
2440
+ userId: string;
1949
2441
  id: string;
1950
2442
  createdAt: string;
1951
- userId: string;
1952
2443
  name: string;
1953
2444
  updatedAt: string;
1954
2445
  description?: string | null | undefined;
@@ -1968,6 +2459,11 @@ declare const searchFactsOkResponse: z.ZodLazy<z.ZodObject<{
1968
2459
  */
1969
2460
  type SearchFactsOkResponse = z.infer<typeof searchFactsOkResponse>;
1970
2461
 
2462
+ /**
2463
+ * Service class for FactsService operations.
2464
+ * Provides methods to interact with FactsService-related API endpoints.
2465
+ * All methods return promises and handle request/response serialization automatically.
2466
+ */
1971
2467
  declare class FactsService extends BaseService {
1972
2468
  /**
1973
2469
  * List all facts for the authenticated user
@@ -2013,7 +2509,9 @@ declare class FactsService extends BaseService {
2013
2509
  }
2014
2510
 
2015
2511
  /**
2016
- * The shape of the model inside the application code - what the users use
2512
+ * Zod schema for the Fact model.
2513
+ * Defines the structure and validation rules for this data type.
2514
+ * This is the shape used in application code - what developers interact with.
2017
2515
  */
2018
2516
  declare const fact: z.ZodLazy<z.ZodObject<{
2019
2517
  id: z.ZodString;
@@ -2026,18 +2524,18 @@ declare const fact: z.ZodLazy<z.ZodObject<{
2026
2524
  updatedAt: z.ZodString;
2027
2525
  }, "strip", z.ZodTypeAny, {
2028
2526
  type: string;
2527
+ userId: string;
2029
2528
  id: string;
2030
2529
  createdAt: string;
2031
- userId: string;
2032
2530
  name: string;
2033
2531
  updatedAt: string;
2034
2532
  description?: string | null | undefined;
2035
2533
  confidence?: number | undefined;
2036
2534
  }, {
2037
2535
  type: string;
2536
+ userId: string;
2038
2537
  id: string;
2039
2538
  createdAt: string;
2040
- userId: string;
2041
2539
  name: string;
2042
2540
  updatedAt: string;
2043
2541
  description?: string | null | undefined;
@@ -2058,7 +2556,9 @@ declare const fact: z.ZodLazy<z.ZodObject<{
2058
2556
  type Fact = z.infer<typeof fact>;
2059
2557
 
2060
2558
  /**
2061
- * The shape of the model inside the application code - what the users use
2559
+ * Zod schema for the SearchFactsOkResponseMetadata model.
2560
+ * Defines the structure and validation rules for this data type.
2561
+ * This is the shape used in application code - what developers interact with.
2062
2562
  */
2063
2563
  declare const searchFactsOkResponseMetadata: z.ZodLazy<z.ZodObject<{
2064
2564
  query: z.ZodOptional<z.ZodString>;
@@ -2074,12 +2574,33 @@ declare const searchFactsOkResponseMetadata: z.ZodLazy<z.ZodObject<{
2074
2574
  */
2075
2575
  type SearchFactsOkResponseMetadata = z.infer<typeof searchFactsOkResponseMetadata>;
2076
2576
 
2577
+ /**
2578
+ * Zod schema for the ExplainGraphRagQueryOkResponse model.
2579
+ * Defines the structure and validation rules for this data type.
2580
+ * This is the shape used in application code - what developers interact with.
2581
+ */
2582
+ declare const explainGraphRagQueryOkResponse: z.ZodLazy<z.ZodObject<{
2583
+ data: z.ZodOptional<z.ZodAny>;
2584
+ }, "strip", z.ZodTypeAny, {
2585
+ data?: any;
2586
+ }, {
2587
+ data?: any;
2588
+ }>>;
2589
+ /**
2590
+ *
2591
+ * @typedef {ExplainGraphRagQueryOkResponse} explainGraphRagQueryOkResponse
2592
+ * @property {any} - Query explanation details
2593
+ */
2594
+ type ExplainGraphRagQueryOkResponse = z.infer<typeof explainGraphRagQueryOkResponse>;
2595
+
2077
2596
  interface ExplainGraphRagQueryParams {
2078
2597
  queryId: string;
2079
2598
  }
2080
2599
 
2081
2600
  /**
2082
- * The shape of the model inside the application code - what the users use
2601
+ * Zod schema for the QueryCommunitiesRequest model.
2602
+ * Defines the structure and validation rules for this data type.
2603
+ * This is the shape used in application code - what developers interact with.
2083
2604
  */
2084
2605
  declare const queryCommunitiesRequest: z.ZodLazy<z.ZodObject<{
2085
2606
  query: z.ZodString;
@@ -2100,7 +2621,28 @@ declare const queryCommunitiesRequest: z.ZodLazy<z.ZodObject<{
2100
2621
  type QueryCommunitiesRequest = z.infer<typeof queryCommunitiesRequest>;
2101
2622
 
2102
2623
  /**
2103
- * The shape of the model inside the application code - what the users use
2624
+ * Zod schema for the QueryCommunitiesOkResponse model.
2625
+ * Defines the structure and validation rules for this data type.
2626
+ * This is the shape used in application code - what developers interact with.
2627
+ */
2628
+ declare const queryCommunitiesOkResponse: z.ZodLazy<z.ZodObject<{
2629
+ data: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2630
+ }, "strip", z.ZodTypeAny, {
2631
+ data?: any[] | undefined;
2632
+ }, {
2633
+ data?: any[] | undefined;
2634
+ }>>;
2635
+ /**
2636
+ *
2637
+ * @typedef {QueryCommunitiesOkResponse} queryCommunitiesOkResponse
2638
+ * @property {any[]}
2639
+ */
2640
+ type QueryCommunitiesOkResponse = z.infer<typeof queryCommunitiesOkResponse>;
2641
+
2642
+ /**
2643
+ * Zod schema for the GraphRagQueryRequest model.
2644
+ * Defines the structure and validation rules for this data type.
2645
+ * This is the shape used in application code - what developers interact with.
2104
2646
  */
2105
2647
  declare const graphRagQueryRequest: z.ZodLazy<z.ZodObject<{
2106
2648
  query: z.ZodString;
@@ -2133,7 +2675,9 @@ declare const graphRagQueryRequest: z.ZodLazy<z.ZodObject<{
2133
2675
  type GraphRagQueryRequest = z.infer<typeof graphRagQueryRequest>;
2134
2676
 
2135
2677
  /**
2136
- * The shape of the model inside the application code - what the users use
2678
+ * Zod schema for the ExecuteGraphRagQueryOkResponse model.
2679
+ * Defines the structure and validation rules for this data type.
2680
+ * This is the shape used in application code - what developers interact with.
2137
2681
  */
2138
2682
  declare const executeGraphRagQueryOkResponse: z.ZodLazy<z.ZodObject<{
2139
2683
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -2141,9 +2685,6 @@ declare const executeGraphRagQueryOkResponse: z.ZodLazy<z.ZodObject<{
2141
2685
  results: z.ZodArray<z.ZodLazy<z.ZodObject<{
2142
2686
  memory: z.ZodLazy<z.ZodObject<{
2143
2687
  id: z.ZodString;
2144
- /**
2145
- * The shape of the model inside the application code - what the users use
2146
- */
2147
2688
  content: z.ZodString;
2148
2689
  memoryType: z.ZodString;
2149
2690
  context: z.ZodOptional<z.ZodString>;
@@ -2357,20 +2898,25 @@ declare const executeGraphRagQueryOkResponse: z.ZodLazy<z.ZodObject<{
2357
2898
  */
2358
2899
  type ExecuteGraphRagQueryOkResponse = z.infer<typeof executeGraphRagQueryOkResponse>;
2359
2900
 
2901
+ /**
2902
+ * Service class for GraphRagService operations.
2903
+ * Provides methods to interact with GraphRagService-related API endpoints.
2904
+ * All methods return promises and handle request/response serialization automatically.
2905
+ */
2360
2906
  declare class GraphRagService extends BaseService {
2361
2907
  /**
2362
2908
  * Get explanation for a previously executed GraphRAG query result
2363
2909
  * @param {string} params.queryId - The query ID to explain
2364
2910
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
2365
- * @returns {Promise<HttpResponse<any>>} - OK
2911
+ * @returns {Promise<HttpResponse<ExplainGraphRagQueryOkResponse>>} - Query explanation retrieved successfully
2366
2912
  */
2367
- explainGraphRagQuery(params: ExplainGraphRagQueryParams, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
2913
+ explainGraphRagQuery(params: ExplainGraphRagQueryParams, requestConfig?: RequestConfig): Promise<HttpResponse<ExplainGraphRagQueryOkResponse>>;
2368
2914
  /**
2369
2915
  * Query communities for relevant information using semantic search
2370
2916
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
2371
- * @returns {Promise<HttpResponse<any>>} - OK
2917
+ * @returns {Promise<HttpResponse<QueryCommunitiesOkResponse>>} - Community query results
2372
2918
  */
2373
- queryCommunities(body: QueryCommunitiesRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
2919
+ queryCommunities(body: QueryCommunitiesRequest, requestConfig?: RequestConfig): Promise<HttpResponse<QueryCommunitiesOkResponse>>;
2374
2920
  /**
2375
2921
  * Execute a graph-based retrieval augmented generation query
2376
2922
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
@@ -2380,7 +2926,9 @@ declare class GraphRagService extends BaseService {
2380
2926
  }
2381
2927
 
2382
2928
  /**
2383
- * The shape of the model inside the application code - what the users use
2929
+ * Zod schema for the GraphRagQueryResponse model.
2930
+ * Defines the structure and validation rules for this data type.
2931
+ * This is the shape used in application code - what developers interact with.
2384
2932
  */
2385
2933
  declare const graphRagQueryResponse: z.ZodLazy<z.ZodObject<{
2386
2934
  queryId: z.ZodString;
@@ -2544,7 +3092,9 @@ declare const graphRagQueryResponse: z.ZodLazy<z.ZodObject<{
2544
3092
  type GraphRagQueryResponse = z.infer<typeof graphRagQueryResponse>;
2545
3093
 
2546
3094
  /**
2547
- * The shape of the model inside the application code - what the users use
3095
+ * Zod schema for the Results model.
3096
+ * Defines the structure and validation rules for this data type.
3097
+ * This is the shape used in application code - what developers interact with.
2548
3098
  */
2549
3099
  declare const results: z.ZodLazy<z.ZodObject<{
2550
3100
  memory: z.ZodLazy<z.ZodObject<{
@@ -2637,7 +3187,9 @@ declare const results: z.ZodLazy<z.ZodObject<{
2637
3187
  type Results = z.infer<typeof results>;
2638
3188
 
2639
3189
  /**
2640
- * The shape of the model inside the application code - what the users use
3190
+ * Zod schema for the GraphRagQueryResponseMetadata model.
3191
+ * Defines the structure and validation rules for this data type.
3192
+ * This is the shape used in application code - what developers interact with.
2641
3193
  */
2642
3194
  declare const graphRagQueryResponseMetadata: z.ZodLazy<z.ZodObject<{
2643
3195
  query: z.ZodString;
@@ -2666,7 +3218,9 @@ declare const graphRagQueryResponseMetadata: z.ZodLazy<z.ZodObject<{
2666
3218
  type GraphRagQueryResponseMetadata = z.infer<typeof graphRagQueryResponseMetadata>;
2667
3219
 
2668
3220
  /**
2669
- * The shape of the model inside the application code - what the users use
3221
+ * Zod schema for the HealthCheck model.
3222
+ * Defines the structure and validation rules for this data type.
3223
+ * This is the shape used in application code - what developers interact with.
2670
3224
  */
2671
3225
  declare const healthCheck: z.ZodLazy<z.ZodObject<{
2672
3226
  status: z.ZodString;
@@ -2698,7 +3252,12 @@ declare const healthCheck: z.ZodLazy<z.ZodObject<{
2698
3252
  */
2699
3253
  type HealthCheck = z.infer<typeof healthCheck>;
2700
3254
 
2701
- declare class HealthService extends BaseService {
3255
+ /**
3256
+ * Service class for HealthService operations.
3257
+ * Provides methods to interact with HealthService-related API endpoints.
3258
+ * All methods return promises and handle request/response serialization automatically.
3259
+ */
3260
+ declare class HealthService extends BaseService {
2702
3261
  /**
2703
3262
  * Returns the health status and uptime of the API service.This endpoint is public and requires no authentication.
2704
3263
  Use this endpoint for monitoring, health checks, and availability verification.
@@ -2716,7 +3275,9 @@ declare enum HealthCheckStatus {
2716
3275
  }
2717
3276
 
2718
3277
  /**
2719
- * The shape of the model inside the application code - what the users use
3278
+ * Zod schema for the ServiceCheck model.
3279
+ * Defines the structure and validation rules for this data type.
3280
+ * This is the shape used in application code - what developers interact with.
2720
3281
  */
2721
3282
  declare const serviceCheck: z.ZodLazy<z.ZodObject<{
2722
3283
  status: z.ZodString;
@@ -2742,7 +3303,9 @@ declare enum ServiceCheckStatus {
2742
3303
  }
2743
3304
 
2744
3305
  /**
2745
- * The shape of the model inside the application code - what the users use
3306
+ * Zod schema for the GetMemoryResponse model.
3307
+ * Defines the structure and validation rules for this data type.
3308
+ * This is the shape used in application code - what developers interact with.
2746
3309
  */
2747
3310
  declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
2748
3311
  data: z.ZodLazy<z.ZodObject<{
@@ -2819,7 +3382,9 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
2819
3382
  type GetMemoryResponse = z.infer<typeof getMemoryResponse>;
2820
3383
 
2821
3384
  /**
2822
- * The shape of the model inside the application code - what the users use
3385
+ * Zod schema for the UpdateMemoryRequest model.
3386
+ * Defines the structure and validation rules for this data type.
3387
+ * This is the shape used in application code - what developers interact with.
2823
3388
  */
2824
3389
  declare const updateMemoryRequest: z.ZodLazy<z.ZodObject<{
2825
3390
  content: z.ZodOptional<z.ZodString>;
@@ -2848,7 +3413,9 @@ declare const updateMemoryRequest: z.ZodLazy<z.ZodObject<{
2848
3413
  type UpdateMemoryRequest = z.infer<typeof updateMemoryRequest>;
2849
3414
 
2850
3415
  /**
2851
- * The shape of the model inside the application code - what the users use
3416
+ * Zod schema for the UpdateMemoryOkResponse model.
3417
+ * Defines the structure and validation rules for this data type.
3418
+ * This is the shape used in application code - what developers interact with.
2852
3419
  */
2853
3420
  declare const updateMemoryOkResponse: z.ZodLazy<z.ZodObject<{
2854
3421
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -2925,7 +3492,9 @@ declare const updateMemoryOkResponse: z.ZodLazy<z.ZodObject<{
2925
3492
  type UpdateMemoryOkResponse = z.infer<typeof updateMemoryOkResponse>;
2926
3493
 
2927
3494
  /**
2928
- * The shape of the model inside the application code - what the users use
3495
+ * Zod schema for the ListMemoriesOkResponse model.
3496
+ * Defines the structure and validation rules for this data type.
3497
+ * This is the shape used in application code - what developers interact with.
2929
3498
  */
2930
3499
  declare const listMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
2931
3500
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3041,7 +3610,9 @@ interface GetRelatedMemoriesParams {
3041
3610
  }
3042
3611
 
3043
3612
  /**
3044
- * The shape of the model inside the application code - what the users use
3613
+ * Zod schema for the CreateMemoryRequest model.
3614
+ * Defines the structure and validation rules for this data type.
3615
+ * This is the shape used in application code - what developers interact with.
3045
3616
  */
3046
3617
  declare const createMemoryRequest: z.ZodLazy<z.ZodObject<{
3047
3618
  conversationId: z.ZodString;
@@ -3090,7 +3661,9 @@ declare const createMemoryRequest: z.ZodLazy<z.ZodObject<{
3090
3661
  type CreateMemoryRequest = z.infer<typeof createMemoryRequest>;
3091
3662
 
3092
3663
  /**
3093
- * The shape of the model inside the application code - what the users use
3664
+ * Zod schema for the CreateMemoryResponse model.
3665
+ * Defines the structure and validation rules for this data type.
3666
+ * This is the shape used in application code - what developers interact with.
3094
3667
  */
3095
3668
  declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
3096
3669
  data: z.ZodLazy<z.ZodObject<{
@@ -3196,7 +3769,9 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
3196
3769
  type CreateMemoryResponse = z.infer<typeof createMemoryResponse>;
3197
3770
 
3198
3771
  /**
3199
- * The shape of the model inside the application code - what the users use
3772
+ * Zod schema for the SearchRequest model.
3773
+ * Defines the structure and validation rules for this data type.
3774
+ * This is the shape used in application code - what developers interact with.
3200
3775
  */
3201
3776
  declare const searchRequest: z.ZodLazy<z.ZodObject<{
3202
3777
  query: z.ZodString;
@@ -3289,7 +3864,9 @@ declare const searchRequest: z.ZodLazy<z.ZodObject<{
3289
3864
  type SearchRequest = z.infer<typeof searchRequest>;
3290
3865
 
3291
3866
  /**
3292
- * The shape of the model inside the application code - what the users use
3867
+ * Zod schema for the SearchResponse model.
3868
+ * Defines the structure and validation rules for this data type.
3869
+ * This is the shape used in application code - what developers interact with.
3293
3870
  */
3294
3871
  declare const searchResponse: z.ZodLazy<z.ZodObject<{
3295
3872
  data: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3641,7 +4218,9 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
3641
4218
  type SearchResponse = z.infer<typeof searchResponse>;
3642
4219
 
3643
4220
  /**
3644
- * The shape of the model inside the application code - what the users use
4221
+ * Zod schema for the GetSimilarMemoriesOkResponse model.
4222
+ * Defines the structure and validation rules for this data type.
4223
+ * This is the shape used in application code - what developers interact with.
3645
4224
  */
3646
4225
  declare const getSimilarMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
3647
4226
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3831,7 +4410,9 @@ declare const getSimilarMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
3831
4410
  type GetSimilarMemoriesOkResponse = z.infer<typeof getSimilarMemoriesOkResponse>;
3832
4411
 
3833
4412
  /**
3834
- * The shape of the model inside the application code - what the users use
4413
+ * Zod schema for the GetConversationMemoriesOkResponse model.
4414
+ * Defines the structure and validation rules for this data type.
4415
+ * This is the shape used in application code - what developers interact with.
3835
4416
  */
3836
4417
  declare const getConversationMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
3837
4418
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -4025,7 +4606,9 @@ declare const getConversationMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
4025
4606
  type GetConversationMemoriesOkResponse = z.infer<typeof getConversationMemoriesOkResponse>;
4026
4607
 
4027
4608
  /**
4028
- * The shape of the model inside the application code - what the users use
4609
+ * Zod schema for the GetRelatedMemoriesOkResponse model.
4610
+ * Defines the structure and validation rules for this data type.
4611
+ * This is the shape used in application code - what developers interact with.
4029
4612
  */
4030
4613
  declare const getRelatedMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
4031
4614
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -4214,6 +4797,11 @@ declare const getRelatedMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
4214
4797
  */
4215
4798
  type GetRelatedMemoriesOkResponse = z.infer<typeof getRelatedMemoriesOkResponse>;
4216
4799
 
4800
+ /**
4801
+ * Service class for MemoriesService operations.
4802
+ * Provides methods to interact with MemoriesService-related API endpoints.
4803
+ * All methods return promises and handle request/response serialization automatically.
4804
+ */
4217
4805
  declare class MemoriesService extends BaseService {
4218
4806
  /**
4219
4807
  * Retrieve a specific memory by its ID
@@ -4324,7 +4912,9 @@ declare enum UpdateMemoryRequestMemoryType {
4324
4912
  }
4325
4913
 
4326
4914
  /**
4327
- * The shape of the model inside the application code - what the users use
4915
+ * Zod schema for the Pagination model.
4916
+ * Defines the structure and validation rules for this data type.
4917
+ * This is the shape used in application code - what developers interact with.
4328
4918
  */
4329
4919
  declare const pagination: z.ZodLazy<z.ZodObject<{
4330
4920
  limit: z.ZodNumber;
@@ -4348,20 +4938,10 @@ declare const pagination: z.ZodLazy<z.ZodObject<{
4348
4938
  */
4349
4939
  type Pagination = z.infer<typeof pagination>;
4350
4940
 
4351
- declare enum CreateMemoryRequestMemoryType {
4352
- EPISODIC = "episodic",
4353
- SEMANTIC = "semantic",
4354
- PROCEDURAL = "procedural"
4355
- }
4356
-
4357
- declare enum Role {
4358
- USER = "user",
4359
- ASSISTANT = "assistant",
4360
- SYSTEM = "system"
4361
- }
4362
-
4363
4941
  /**
4364
- * The shape of the model inside the application code - what the users use
4942
+ * Zod schema for the CreateMemoryResponseMeta model.
4943
+ * Defines the structure and validation rules for this data type.
4944
+ * This is the shape used in application code - what developers interact with.
4365
4945
  */
4366
4946
  declare const createMemoryResponseMeta: z.ZodLazy<z.ZodObject<{
4367
4947
  conversationId: z.ZodString;
@@ -4389,32 +4969,22 @@ declare const createMemoryResponseMeta: z.ZodLazy<z.ZodObject<{
4389
4969
  */
4390
4970
  type CreateMemoryResponseMeta = z.infer<typeof createMemoryResponseMeta>;
4391
4971
 
4392
- declare enum Mode {
4393
- UNIFIED = "unified",
4394
- CONTENT = "content",
4395
- FACTS = "facts"
4396
- }
4397
-
4398
- declare enum SearchMethod {
4399
- KEYWORD = "keyword",
4400
- SEMANTIC = "semantic",
4401
- HYBRID = "hybrid"
4402
- }
4403
-
4404
- declare enum TemporalMode {
4405
- CURRENT = "current",
4406
- HISTORICAL = "historical",
4407
- EVOLUTION = "evolution"
4408
- }
4409
-
4410
- declare enum SearchRequestMemoryType {
4972
+ declare enum CreateMemoryRequestMemoryType {
4411
4973
  EPISODIC = "episodic",
4412
4974
  SEMANTIC = "semantic",
4413
4975
  PROCEDURAL = "procedural"
4414
4976
  }
4415
4977
 
4978
+ declare enum Role {
4979
+ USER = "user",
4980
+ ASSISTANT = "assistant",
4981
+ SYSTEM = "system"
4982
+ }
4983
+
4416
4984
  /**
4417
- * The shape of the model inside the application code - what the users use
4985
+ * Zod schema for the SearchResult model.
4986
+ * Defines the structure and validation rules for this data type.
4987
+ * This is the shape used in application code - what developers interact with.
4418
4988
  */
4419
4989
  declare const searchResult: z.ZodLazy<z.ZodObject<{
4420
4990
  memory: z.ZodLazy<z.ZodObject<{
@@ -4586,7 +5156,9 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4586
5156
  type SearchResult = z.infer<typeof searchResult>;
4587
5157
 
4588
5158
  /**
4589
- * The shape of the model inside the application code - what the users use
5159
+ * Zod schema for the SearchResultMemory model.
5160
+ * Defines the structure and validation rules for this data type.
5161
+ * This is the shape used in application code - what developers interact with.
4590
5162
  */
4591
5163
  declare const searchResultMemory: z.ZodLazy<z.ZodObject<{
4592
5164
  id: z.ZodString;
@@ -4649,7 +5221,9 @@ declare enum MemoryMemoryType2 {
4649
5221
  }
4650
5222
 
4651
5223
  /**
4652
- * The shape of the model inside the application code - what the users use
5224
+ * Zod schema for the Entity model.
5225
+ * Defines the structure and validation rules for this data type.
5226
+ * This is the shape used in application code - what developers interact with.
4653
5227
  */
4654
5228
  declare const entity: z.ZodLazy<z.ZodObject<{
4655
5229
  name: z.ZodOptional<z.ZodString>;
@@ -4670,7 +5244,9 @@ declare const entity: z.ZodLazy<z.ZodObject<{
4670
5244
  type Entity = z.infer<typeof entity>;
4671
5245
 
4672
5246
  /**
4673
- * The shape of the model inside the application code - what the users use
5247
+ * Zod schema for the Explanation model.
5248
+ * Defines the structure and validation rules for this data type.
5249
+ * This is the shape used in application code - what developers interact with.
4674
5250
  */
4675
5251
  declare const explanation: z.ZodLazy<z.ZodObject<{
4676
5252
  matchReason: z.ZodString;
@@ -4699,7 +5275,9 @@ declare const explanation: z.ZodLazy<z.ZodObject<{
4699
5275
  type Explanation = z.infer<typeof explanation>;
4700
5276
 
4701
5277
  /**
4702
- * The shape of the model inside the application code - what the users use
5278
+ * Zod schema for the SearchResponsePagination model.
5279
+ * Defines the structure and validation rules for this data type.
5280
+ * This is the shape used in application code - what developers interact with.
4703
5281
  */
4704
5282
  declare const searchResponsePagination: z.ZodLazy<z.ZodObject<{
4705
5283
  limit: z.ZodNumber;
@@ -4724,7 +5302,9 @@ declare const searchResponsePagination: z.ZodLazy<z.ZodObject<{
4724
5302
  type SearchResponsePagination = z.infer<typeof searchResponsePagination>;
4725
5303
 
4726
5304
  /**
4727
- * The shape of the model inside the application code - what the users use
5305
+ * Zod schema for the TemporalMetadata model.
5306
+ * Defines the structure and validation rules for this data type.
5307
+ * This is the shape used in application code - what developers interact with.
4728
5308
  */
4729
5309
  declare const temporalMetadata: z.ZodLazy<z.ZodObject<{
4730
5310
  temporalMode: z.ZodString;
@@ -4795,7 +5375,9 @@ declare const temporalMetadata: z.ZodLazy<z.ZodObject<{
4795
5375
  type TemporalMetadata = z.infer<typeof temporalMetadata>;
4796
5376
 
4797
5377
  /**
4798
- * The shape of the model inside the application code - what the users use
5378
+ * Zod schema for the EventTimeRange model.
5379
+ * Defines the structure and validation rules for this data type.
5380
+ * This is the shape used in application code - what developers interact with.
4799
5381
  */
4800
5382
  declare const eventTimeRange: z.ZodLazy<z.ZodObject<{
4801
5383
  from: z.ZodNullable<z.ZodString>;
@@ -4816,7 +5398,9 @@ declare const eventTimeRange: z.ZodLazy<z.ZodObject<{
4816
5398
  type EventTimeRange = z.infer<typeof eventTimeRange>;
4817
5399
 
4818
5400
  /**
4819
- * The shape of the model inside the application code - what the users use
5401
+ * Zod schema for the IngestionTimeRange model.
5402
+ * Defines the structure and validation rules for this data type.
5403
+ * This is the shape used in application code - what developers interact with.
4820
5404
  */
4821
5405
  declare const ingestionTimeRange: z.ZodLazy<z.ZodObject<{
4822
5406
  from: z.ZodNullable<z.ZodString>;
@@ -4836,8 +5420,34 @@ declare const ingestionTimeRange: z.ZodLazy<z.ZodObject<{
4836
5420
  */
4837
5421
  type IngestionTimeRange = z.infer<typeof ingestionTimeRange>;
4838
5422
 
5423
+ declare enum Mode {
5424
+ UNIFIED = "unified",
5425
+ CONTENT = "content",
5426
+ FACTS = "facts"
5427
+ }
5428
+
5429
+ declare enum SearchMethod {
5430
+ KEYWORD = "keyword",
5431
+ SEMANTIC = "semantic",
5432
+ HYBRID = "hybrid"
5433
+ }
5434
+
5435
+ declare enum TemporalMode {
5436
+ CURRENT = "current",
5437
+ HISTORICAL = "historical",
5438
+ EVOLUTION = "evolution"
5439
+ }
5440
+
5441
+ declare enum SearchRequestMemoryType {
5442
+ EPISODIC = "episodic",
5443
+ SEMANTIC = "semantic",
5444
+ PROCEDURAL = "procedural"
5445
+ }
5446
+
4839
5447
  /**
4840
- * The shape of the model inside the application code - what the users use
5448
+ * Zod schema for the RelatedMemoryResult model.
5449
+ * Defines the structure and validation rules for this data type.
5450
+ * This is the shape used in application code - what developers interact with.
4841
5451
  */
4842
5452
  declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
4843
5453
  memory: z.ZodLazy<z.ZodObject<{
@@ -4851,14 +5461,6 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
4851
5461
  validFrom: z.ZodOptional<z.ZodString>;
4852
5462
  validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4853
5463
  createdAt: z.ZodString;
4854
- /**
4855
- *
4856
- * @typedef {RelatedMemoryResult} relatedMemoryResult
4857
- * @property {RelatedMemoryResultMemory} - The related memory object
4858
- * @property {number} - Relevance score (0-1). For similar: semantic similarity. For related: topic overlap ratio. For conversation: position score.
4859
- * @property {string} - Type of relationship: similar, similar-by-topic, conversation, or topic
4860
- * @property {string[]} - Topics shared with the source memory (only for topic relationship)
4861
- */
4862
5464
  updatedAt: z.ZodString;
4863
5465
  }, "strip", z.ZodTypeAny, {
4864
5466
  id: string;
@@ -4934,7 +5536,9 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
4934
5536
  type RelatedMemoryResult = z.infer<typeof relatedMemoryResult>;
4935
5537
 
4936
5538
  /**
4937
- * The shape of the model inside the application code - what the users use
5539
+ * Zod schema for the RelatedMemoryResultMemory model.
5540
+ * Defines the structure and validation rules for this data type.
5541
+ * This is the shape used in application code - what developers interact with.
4938
5542
  */
4939
5543
  declare const relatedMemoryResultMemory: z.ZodLazy<z.ZodObject<{
4940
5544
  id: z.ZodString;
@@ -4997,7 +5601,9 @@ declare enum MemoryMemoryType3 {
4997
5601
  }
4998
5602
 
4999
5603
  /**
5000
- * The shape of the model inside the application code - what the users use
5604
+ * Zod schema for the GetRelatedMemoriesOkResponseData model.
5605
+ * Defines the structure and validation rules for this data type.
5606
+ * This is the shape used in application code - what developers interact with.
5001
5607
  */
5002
5608
  declare const getRelatedMemoriesOkResponseData: z.ZodLazy<z.ZodObject<{
5003
5609
  memory: z.ZodLazy<z.ZodObject<{
@@ -5086,7 +5692,9 @@ declare const getRelatedMemoriesOkResponseData: z.ZodLazy<z.ZodObject<{
5086
5692
  type GetRelatedMemoriesOkResponseData = z.infer<typeof getRelatedMemoriesOkResponseData>;
5087
5693
 
5088
5694
  /**
5089
- * The shape of the model inside the application code - what the users use
5695
+ * Zod schema for the DataMemory model.
5696
+ * Defines the structure and validation rules for this data type.
5697
+ * This is the shape used in application code - what developers interact with.
5090
5698
  */
5091
5699
  declare const dataMemory: z.ZodLazy<z.ZodObject<{
5092
5700
  id: z.ZodString;
@@ -5162,7 +5770,86 @@ interface AnalyzeMemoryQualityParams {
5162
5770
  }
5163
5771
 
5164
5772
  /**
5165
- * The shape of the model inside the application code - what the users use
5773
+ * Zod schema for the GetSystemHealthOkResponse model.
5774
+ * Defines the structure and validation rules for this data type.
5775
+ * This is the shape used in application code - what developers interact with.
5776
+ */
5777
+ declare const getSystemHealthOkResponse: z.ZodLazy<z.ZodObject<{
5778
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
5779
+ status: z.ZodOptional<z.ZodString>;
5780
+ database: z.ZodOptional<z.ZodAny>;
5781
+ uptime: z.ZodOptional<z.ZodNumber>;
5782
+ }, "strip", z.ZodTypeAny, {
5783
+ status?: string | undefined;
5784
+ database?: any;
5785
+ uptime?: number | undefined;
5786
+ }, {
5787
+ status?: string | undefined;
5788
+ database?: any;
5789
+ uptime?: number | undefined;
5790
+ }>>>;
5791
+ }, "strip", z.ZodTypeAny, {
5792
+ data?: {
5793
+ status?: string | undefined;
5794
+ database?: any;
5795
+ uptime?: number | undefined;
5796
+ } | undefined;
5797
+ }, {
5798
+ data?: {
5799
+ status?: string | undefined;
5800
+ database?: any;
5801
+ uptime?: number | undefined;
5802
+ } | undefined;
5803
+ }>>;
5804
+ /**
5805
+ *
5806
+ * @typedef {GetSystemHealthOkResponse} getSystemHealthOkResponse
5807
+ * @property {GetSystemHealthOkResponseData}
5808
+ */
5809
+ type GetSystemHealthOkResponse = z.infer<typeof getSystemHealthOkResponse>;
5810
+
5811
+ /**
5812
+ * Zod schema for the GetContextStatusOkResponse model.
5813
+ * Defines the structure and validation rules for this data type.
5814
+ * This is the shape used in application code - what developers interact with.
5815
+ */
5816
+ declare const getContextStatusOkResponse: z.ZodLazy<z.ZodObject<{
5817
+ data: z.ZodOptional<z.ZodAny>;
5818
+ }, "strip", z.ZodTypeAny, {
5819
+ data?: any;
5820
+ }, {
5821
+ data?: any;
5822
+ }>>;
5823
+ /**
5824
+ *
5825
+ * @typedef {GetContextStatusOkResponse} getContextStatusOkResponse
5826
+ * @property {any} - Database statistics and context information
5827
+ */
5828
+ type GetContextStatusOkResponse = z.infer<typeof getContextStatusOkResponse>;
5829
+
5830
+ /**
5831
+ * Zod schema for the GetFeatureFlagsOkResponse model.
5832
+ * Defines the structure and validation rules for this data type.
5833
+ * This is the shape used in application code - what developers interact with.
5834
+ */
5835
+ declare const getFeatureFlagsOkResponse: z.ZodLazy<z.ZodObject<{
5836
+ data: z.ZodOptional<z.ZodAny>;
5837
+ }, "strip", z.ZodTypeAny, {
5838
+ data?: any;
5839
+ }, {
5840
+ data?: any;
5841
+ }>>;
5842
+ /**
5843
+ *
5844
+ * @typedef {GetFeatureFlagsOkResponse} getFeatureFlagsOkResponse
5845
+ * @property {any} - Map of feature flag names to their values
5846
+ */
5847
+ type GetFeatureFlagsOkResponse = z.infer<typeof getFeatureFlagsOkResponse>;
5848
+
5849
+ /**
5850
+ * Zod schema for the EvaluateFeatureFlagRequest model.
5851
+ * Defines the structure and validation rules for this data type.
5852
+ * This is the shape used in application code - what developers interact with.
5166
5853
  */
5167
5854
  declare const evaluateFeatureFlagRequest: z.ZodLazy<z.ZodObject<{
5168
5855
  flagName: z.ZodString;
@@ -5183,7 +5870,43 @@ declare const evaluateFeatureFlagRequest: z.ZodLazy<z.ZodObject<{
5183
5870
  type EvaluateFeatureFlagRequest = z.infer<typeof evaluateFeatureFlagRequest>;
5184
5871
 
5185
5872
  /**
5186
- * The shape of the model inside the application code - what the users use
5873
+ * Zod schema for the EvaluateFeatureFlagOkResponse model.
5874
+ * Defines the structure and validation rules for this data type.
5875
+ * This is the shape used in application code - what developers interact with.
5876
+ */
5877
+ declare const evaluateFeatureFlagOkResponse: z.ZodLazy<z.ZodObject<{
5878
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
5879
+ enabled: z.ZodOptional<z.ZodBoolean>;
5880
+ flagName: z.ZodOptional<z.ZodString>;
5881
+ }, "strip", z.ZodTypeAny, {
5882
+ enabled?: boolean | undefined;
5883
+ flagName?: string | undefined;
5884
+ }, {
5885
+ enabled?: boolean | undefined;
5886
+ flagName?: string | undefined;
5887
+ }>>>;
5888
+ }, "strip", z.ZodTypeAny, {
5889
+ data?: {
5890
+ enabled?: boolean | undefined;
5891
+ flagName?: string | undefined;
5892
+ } | undefined;
5893
+ }, {
5894
+ data?: {
5895
+ enabled?: boolean | undefined;
5896
+ flagName?: string | undefined;
5897
+ } | undefined;
5898
+ }>>;
5899
+ /**
5900
+ *
5901
+ * @typedef {EvaluateFeatureFlagOkResponse} evaluateFeatureFlagOkResponse
5902
+ * @property {EvaluateFeatureFlagOkResponseData}
5903
+ */
5904
+ type EvaluateFeatureFlagOkResponse = z.infer<typeof evaluateFeatureFlagOkResponse>;
5905
+
5906
+ /**
5907
+ * Zod schema for the AnalyzeMemoryQualityOkResponse model.
5908
+ * Defines the structure and validation rules for this data type.
5909
+ * This is the shape used in application code - what developers interact with.
5187
5910
  */
5188
5911
  declare const analyzeMemoryQualityOkResponse: z.ZodLazy<z.ZodObject<{
5189
5912
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -5202,11 +5925,6 @@ declare const analyzeMemoryQualityOkResponse: z.ZodLazy<z.ZodObject<{
5202
5925
  low?: number | undefined;
5203
5926
  }>>>;
5204
5927
  averageQuality: z.ZodOptional<z.ZodNumber>;
5205
- /**
5206
- *
5207
- * @typedef {AnalyzeMemoryQualityOkResponse} analyzeMemoryQualityOkResponse
5208
- * @property {AnalyzeMemoryQualityOkResponseData}
5209
- */
5210
5928
  pruningCandidates: z.ZodOptional<z.ZodNumber>;
5211
5929
  }, "strip", z.ZodTypeAny, {
5212
5930
  totalMemories?: number | undefined;
@@ -5258,7 +5976,9 @@ declare const analyzeMemoryQualityOkResponse: z.ZodLazy<z.ZodObject<{
5258
5976
  type AnalyzeMemoryQualityOkResponse = z.infer<typeof analyzeMemoryQualityOkResponse>;
5259
5977
 
5260
5978
  /**
5261
- * The shape of the model inside the application code - what the users use
5979
+ * Zod schema for the PruneMemoriesRequest model.
5980
+ * Defines the structure and validation rules for this data type.
5981
+ * This is the shape used in application code - what developers interact with.
5262
5982
  */
5263
5983
  declare const pruneMemoriesRequest: z.ZodLazy<z.ZodObject<{
5264
5984
  targetReduction: z.ZodOptional<z.ZodNumber>;
@@ -5291,7 +6011,9 @@ declare const pruneMemoriesRequest: z.ZodLazy<z.ZodObject<{
5291
6011
  type PruneMemoriesRequest = z.infer<typeof pruneMemoriesRequest>;
5292
6012
 
5293
6013
  /**
5294
- * The shape of the model inside the application code - what the users use
6014
+ * Zod schema for the PruneMemoriesOkResponse model.
6015
+ * Defines the structure and validation rules for this data type.
6016
+ * This is the shape used in application code - what developers interact with.
5295
6017
  */
5296
6018
  declare const pruneMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
5297
6019
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -5327,6 +6049,11 @@ declare const pruneMemoriesOkResponse: z.ZodLazy<z.ZodObject<{
5327
6049
  */
5328
6050
  type PruneMemoriesOkResponse = z.infer<typeof pruneMemoriesOkResponse>;
5329
6051
 
6052
+ /**
6053
+ * Service class for SystemService operations.
6054
+ * Provides methods to interact with SystemService-related API endpoints.
6055
+ * All methods return promises and handle request/response serialization automatically.
6056
+ */
5330
6057
  declare class SystemService extends BaseService {
5331
6058
  /**
5332
6059
  * Returns the OpenAPI 3.x specification for the entire API. This endpoint is used by CI/CD to sync the API Gateway.
@@ -5338,27 +6065,27 @@ declare class SystemService extends BaseService {
5338
6065
  /**
5339
6066
  * Get the current health status of the system including database connectivity
5340
6067
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5341
- * @returns {Promise<HttpResponse<any>>} - OK
6068
+ * @returns {Promise<HttpResponse<GetSystemHealthOkResponse>>} - System is healthy
5342
6069
  */
5343
- getSystemHealth(requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6070
+ getSystemHealth(requestConfig?: RequestConfig): Promise<HttpResponse<GetSystemHealthOkResponse>>;
5344
6071
  /**
5345
6072
  * Get database statistics and context information
5346
6073
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5347
- * @returns {Promise<HttpResponse<any>>} - OK
6074
+ * @returns {Promise<HttpResponse<GetContextStatusOkResponse>>} - Context status retrieved successfully
5348
6075
  */
5349
- getContextStatus(requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6076
+ getContextStatus(requestConfig?: RequestConfig): Promise<HttpResponse<GetContextStatusOkResponse>>;
5350
6077
  /**
5351
6078
  * Get all feature flags for the authenticated user
5352
6079
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5353
- * @returns {Promise<HttpResponse<any>>} - OK
6080
+ * @returns {Promise<HttpResponse<GetFeatureFlagsOkResponse>>} - Feature flags retrieved successfully
5354
6081
  */
5355
- getFeatureFlags(requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6082
+ getFeatureFlags(requestConfig?: RequestConfig): Promise<HttpResponse<GetFeatureFlagsOkResponse>>;
5356
6083
  /**
5357
6084
  * Evaluate a specific feature flag for the authenticated user
5358
6085
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5359
- * @returns {Promise<HttpResponse<any>>} - OK
6086
+ * @returns {Promise<HttpResponse<EvaluateFeatureFlagOkResponse>>} - Feature flag evaluation result
5360
6087
  */
5361
- evaluateFeatureFlag(body: EvaluateFeatureFlagRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6088
+ evaluateFeatureFlag(body: EvaluateFeatureFlagRequest, requestConfig?: RequestConfig): Promise<HttpResponse<EvaluateFeatureFlagOkResponse>>;
5362
6089
  /**
5363
6090
  * Analyze the quality distribution of memories for the authenticated user
5364
6091
  * @param {boolean} [params.includeDetails] - Include detailed pruning candidate information
@@ -5376,7 +6103,64 @@ declare class SystemService extends BaseService {
5376
6103
  }
5377
6104
 
5378
6105
  /**
5379
- * The shape of the model inside the application code - what the users use
6106
+ * Zod schema for the GetSystemHealthOkResponseData model.
6107
+ * Defines the structure and validation rules for this data type.
6108
+ * This is the shape used in application code - what developers interact with.
6109
+ */
6110
+ declare const getSystemHealthOkResponseData: z.ZodLazy<z.ZodObject<{
6111
+ status: z.ZodOptional<z.ZodString>;
6112
+ database: z.ZodOptional<z.ZodAny>;
6113
+ uptime: z.ZodOptional<z.ZodNumber>;
6114
+ }, "strip", z.ZodTypeAny, {
6115
+ status?: string | undefined;
6116
+ database?: any;
6117
+ uptime?: number | undefined;
6118
+ }, {
6119
+ status?: string | undefined;
6120
+ database?: any;
6121
+ uptime?: number | undefined;
6122
+ }>>;
6123
+ /**
6124
+ *
6125
+ * @typedef {GetSystemHealthOkResponseData} getSystemHealthOkResponseData
6126
+ * @property {DataStatus}
6127
+ * @property {any}
6128
+ * @property {number}
6129
+ */
6130
+ type GetSystemHealthOkResponseData = z.infer<typeof getSystemHealthOkResponseData>;
6131
+
6132
+ declare enum DataStatus {
6133
+ HEALTHY = "healthy",
6134
+ UNHEALTHY = "unhealthy"
6135
+ }
6136
+
6137
+ /**
6138
+ * Zod schema for the EvaluateFeatureFlagOkResponseData model.
6139
+ * Defines the structure and validation rules for this data type.
6140
+ * This is the shape used in application code - what developers interact with.
6141
+ */
6142
+ declare const evaluateFeatureFlagOkResponseData: z.ZodLazy<z.ZodObject<{
6143
+ enabled: z.ZodOptional<z.ZodBoolean>;
6144
+ flagName: z.ZodOptional<z.ZodString>;
6145
+ }, "strip", z.ZodTypeAny, {
6146
+ enabled?: boolean | undefined;
6147
+ flagName?: string | undefined;
6148
+ }, {
6149
+ enabled?: boolean | undefined;
6150
+ flagName?: string | undefined;
6151
+ }>>;
6152
+ /**
6153
+ *
6154
+ * @typedef {EvaluateFeatureFlagOkResponseData} evaluateFeatureFlagOkResponseData
6155
+ * @property {boolean}
6156
+ * @property {string}
6157
+ */
6158
+ type EvaluateFeatureFlagOkResponseData = z.infer<typeof evaluateFeatureFlagOkResponseData>;
6159
+
6160
+ /**
6161
+ * Zod schema for the AnalyzeMemoryQualityOkResponseData model.
6162
+ * Defines the structure and validation rules for this data type.
6163
+ * This is the shape used in application code - what developers interact with.
5380
6164
  */
5381
6165
  declare const analyzeMemoryQualityOkResponseData: z.ZodLazy<z.ZodObject<{
5382
6166
  totalMemories: z.ZodOptional<z.ZodNumber>;
@@ -5425,7 +6209,9 @@ declare const analyzeMemoryQualityOkResponseData: z.ZodLazy<z.ZodObject<{
5425
6209
  type AnalyzeMemoryQualityOkResponseData = z.infer<typeof analyzeMemoryQualityOkResponseData>;
5426
6210
 
5427
6211
  /**
5428
- * The shape of the model inside the application code - what the users use
6212
+ * Zod schema for the QualityDistribution model.
6213
+ * Defines the structure and validation rules for this data type.
6214
+ * This is the shape used in application code - what developers interact with.
5429
6215
  */
5430
6216
  declare const qualityDistribution: z.ZodLazy<z.ZodObject<{
5431
6217
  high: z.ZodOptional<z.ZodNumber>;
@@ -5450,7 +6236,9 @@ declare const qualityDistribution: z.ZodLazy<z.ZodObject<{
5450
6236
  type QualityDistribution = z.infer<typeof qualityDistribution>;
5451
6237
 
5452
6238
  /**
5453
- * The shape of the model inside the application code - what the users use
6239
+ * Zod schema for the PruneMemoriesOkResponseData model.
6240
+ * Defines the structure and validation rules for this data type.
6241
+ * This is the shape used in application code - what developers interact with.
5454
6242
  */
5455
6243
  declare const pruneMemoriesOkResponseData: z.ZodLazy<z.ZodObject<{
5456
6244
  prunedCount: z.ZodOptional<z.ZodNumber>;
@@ -5475,7 +6263,9 @@ declare const pruneMemoriesOkResponseData: z.ZodLazy<z.ZodObject<{
5475
6263
  type PruneMemoriesOkResponseData = z.infer<typeof pruneMemoriesOkResponseData>;
5476
6264
 
5477
6265
  /**
5478
- * The shape of the model inside the application code - what the users use
6266
+ * Zod schema for the ListPatternsOkResponse model.
6267
+ * Defines the structure and validation rules for this data type.
6268
+ * This is the shape used in application code - what developers interact with.
5479
6269
  */
5480
6270
  declare const listPatternsOkResponse: z.ZodLazy<z.ZodObject<{
5481
6271
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -5546,7 +6336,9 @@ interface ListPatternsParams {
5546
6336
  }
5547
6337
 
5548
6338
  /**
5549
- * The shape of the model inside the application code - what the users use
6339
+ * Zod schema for the CompilePatternsRequest model.
6340
+ * Defines the structure and validation rules for this data type.
6341
+ * This is the shape used in application code - what developers interact with.
5550
6342
  */
5551
6343
  declare const compilePatternsRequest: z.ZodLazy<z.ZodObject<{
5552
6344
  minOccurrences: z.ZodOptional<z.ZodNumber>;
@@ -5567,7 +6359,57 @@ declare const compilePatternsRequest: z.ZodLazy<z.ZodObject<{
5567
6359
  type CompilePatternsRequest = z.infer<typeof compilePatternsRequest>;
5568
6360
 
5569
6361
  /**
5570
- * The shape of the model inside the application code - what the users use
6362
+ * Zod schema for the CompilePatternsOkResponse model.
6363
+ * Defines the structure and validation rules for this data type.
6364
+ * This is the shape used in application code - what developers interact with.
6365
+ */
6366
+ declare const compilePatternsOkResponse: z.ZodLazy<z.ZodObject<{
6367
+ data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
6368
+ id: z.ZodString;
6369
+ type: z.ZodString;
6370
+ description: z.ZodString;
6371
+ confidence: z.ZodNumber;
6372
+ }, "strip", z.ZodTypeAny, {
6373
+ type: string;
6374
+ id: string;
6375
+ description: string;
6376
+ confidence: number;
6377
+ }, {
6378
+ type: string;
6379
+ id: string;
6380
+ description: string;
6381
+ confidence: number;
6382
+ }>>, "many">>;
6383
+ count: z.ZodOptional<z.ZodNumber>;
6384
+ }, "strip", z.ZodTypeAny, {
6385
+ data?: {
6386
+ type: string;
6387
+ id: string;
6388
+ description: string;
6389
+ confidence: number;
6390
+ }[] | undefined;
6391
+ count?: number | undefined;
6392
+ }, {
6393
+ data?: {
6394
+ type: string;
6395
+ id: string;
6396
+ description: string;
6397
+ confidence: number;
6398
+ }[] | undefined;
6399
+ count?: number | undefined;
6400
+ }>>;
6401
+ /**
6402
+ *
6403
+ * @typedef {CompilePatternsOkResponse} compilePatternsOkResponse
6404
+ * @property {Pattern[]}
6405
+ * @property {number}
6406
+ */
6407
+ type CompilePatternsOkResponse = z.infer<typeof compilePatternsOkResponse>;
6408
+
6409
+ /**
6410
+ * Zod schema for the DetectPatternsRequest model.
6411
+ * Defines the structure and validation rules for this data type.
6412
+ * This is the shape used in application code - what developers interact with.
5571
6413
  */
5572
6414
  declare const detectPatternsRequest: z.ZodLazy<z.ZodObject<{
5573
6415
  contextFilter: z.ZodOptional<z.ZodString>;
@@ -5604,7 +6446,109 @@ declare const detectPatternsRequest: z.ZodLazy<z.ZodObject<{
5604
6446
  type DetectPatternsRequest = z.infer<typeof detectPatternsRequest>;
5605
6447
 
5606
6448
  /**
5607
- * The shape of the model inside the application code - what the users use
6449
+ * Zod schema for the DetectPatternsOkResponse model.
6450
+ * Defines the structure and validation rules for this data type.
6451
+ * This is the shape used in application code - what developers interact with.
6452
+ */
6453
+ declare const detectPatternsOkResponse: z.ZodLazy<z.ZodObject<{
6454
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6455
+ detectedPatterns: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
6456
+ id: z.ZodString;
6457
+ type: z.ZodString;
6458
+ description: z.ZodString;
6459
+ confidence: z.ZodNumber;
6460
+ }, "strip", z.ZodTypeAny, {
6461
+ type: string;
6462
+ id: string;
6463
+ description: string;
6464
+ confidence: number;
6465
+ }, {
6466
+ type: string;
6467
+ id: string;
6468
+ description: string;
6469
+ confidence: number;
6470
+ }>>, "many">>;
6471
+ count: z.ZodOptional<z.ZodNumber>;
6472
+ stored: z.ZodOptional<z.ZodNumber>;
6473
+ confidence: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6474
+ average: z.ZodOptional<z.ZodNumber>;
6475
+ highest: z.ZodOptional<z.ZodNumber>;
6476
+ }, "strip", z.ZodTypeAny, {
6477
+ average?: number | undefined;
6478
+ highest?: number | undefined;
6479
+ }, {
6480
+ average?: number | undefined;
6481
+ highest?: number | undefined;
6482
+ }>>>;
6483
+ }, "strip", z.ZodTypeAny, {
6484
+ detectedPatterns?: {
6485
+ type: string;
6486
+ id: string;
6487
+ description: string;
6488
+ confidence: number;
6489
+ }[] | undefined;
6490
+ count?: number | undefined;
6491
+ stored?: number | undefined;
6492
+ confidence?: {
6493
+ average?: number | undefined;
6494
+ highest?: number | undefined;
6495
+ } | undefined;
6496
+ }, {
6497
+ detectedPatterns?: {
6498
+ type: string;
6499
+ id: string;
6500
+ description: string;
6501
+ confidence: number;
6502
+ }[] | undefined;
6503
+ count?: number | undefined;
6504
+ stored?: number | undefined;
6505
+ confidence?: {
6506
+ average?: number | undefined;
6507
+ highest?: number | undefined;
6508
+ } | undefined;
6509
+ }>>>;
6510
+ }, "strip", z.ZodTypeAny, {
6511
+ data?: {
6512
+ detectedPatterns?: {
6513
+ type: string;
6514
+ id: string;
6515
+ description: string;
6516
+ confidence: number;
6517
+ }[] | undefined;
6518
+ count?: number | undefined;
6519
+ stored?: number | undefined;
6520
+ confidence?: {
6521
+ average?: number | undefined;
6522
+ highest?: number | undefined;
6523
+ } | undefined;
6524
+ } | undefined;
6525
+ }, {
6526
+ data?: {
6527
+ detectedPatterns?: {
6528
+ type: string;
6529
+ id: string;
6530
+ description: string;
6531
+ confidence: number;
6532
+ }[] | undefined;
6533
+ count?: number | undefined;
6534
+ stored?: number | undefined;
6535
+ confidence?: {
6536
+ average?: number | undefined;
6537
+ highest?: number | undefined;
6538
+ } | undefined;
6539
+ } | undefined;
6540
+ }>>;
6541
+ /**
6542
+ *
6543
+ * @typedef {DetectPatternsOkResponse} detectPatternsOkResponse
6544
+ * @property {DetectPatternsOkResponseData}
6545
+ */
6546
+ type DetectPatternsOkResponse = z.infer<typeof detectPatternsOkResponse>;
6547
+
6548
+ /**
6549
+ * Zod schema for the AnalyzePatternsRequest model.
6550
+ * Defines the structure and validation rules for this data type.
6551
+ * This is the shape used in application code - what developers interact with.
5608
6552
  */
5609
6553
  declare const analyzePatternsRequest: z.ZodLazy<z.ZodObject<{
5610
6554
  timeRange: z.ZodOptional<z.ZodNumber>;
@@ -5629,7 +6573,90 @@ declare const analyzePatternsRequest: z.ZodLazy<z.ZodObject<{
5629
6573
  type AnalyzePatternsRequest = z.infer<typeof analyzePatternsRequest>;
5630
6574
 
5631
6575
  /**
5632
- * The shape of the model inside the application code - what the users use
6576
+ * Zod schema for the AnalyzePatternsOkResponse model.
6577
+ * Defines the structure and validation rules for this data type.
6578
+ * This is the shape used in application code - what developers interact with.
6579
+ */
6580
+ declare const analyzePatternsOkResponse: z.ZodLazy<z.ZodObject<{
6581
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6582
+ analysis: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6583
+ totalPatterns: z.ZodOptional<z.ZodNumber>;
6584
+ recentPatterns: z.ZodOptional<z.ZodNumber>;
6585
+ trends: z.ZodOptional<z.ZodAny>;
6586
+ insights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6587
+ recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6588
+ }, "strip", z.ZodTypeAny, {
6589
+ totalPatterns?: number | undefined;
6590
+ recentPatterns?: number | undefined;
6591
+ trends?: any;
6592
+ insights?: string[] | undefined;
6593
+ recommendations?: string[] | undefined;
6594
+ }, {
6595
+ totalPatterns?: number | undefined;
6596
+ recentPatterns?: number | undefined;
6597
+ trends?: any;
6598
+ insights?: string[] | undefined;
6599
+ recommendations?: string[] | undefined;
6600
+ }>>>;
6601
+ timeRange: z.ZodOptional<z.ZodNumber>;
6602
+ analyzedAt: z.ZodOptional<z.ZodString>;
6603
+ }, "strip", z.ZodTypeAny, {
6604
+ analysis?: {
6605
+ totalPatterns?: number | undefined;
6606
+ recentPatterns?: number | undefined;
6607
+ trends?: any;
6608
+ insights?: string[] | undefined;
6609
+ recommendations?: string[] | undefined;
6610
+ } | undefined;
6611
+ timeRange?: number | undefined;
6612
+ analyzedAt?: string | undefined;
6613
+ }, {
6614
+ analysis?: {
6615
+ totalPatterns?: number | undefined;
6616
+ recentPatterns?: number | undefined;
6617
+ trends?: any;
6618
+ insights?: string[] | undefined;
6619
+ recommendations?: string[] | undefined;
6620
+ } | undefined;
6621
+ timeRange?: number | undefined;
6622
+ analyzedAt?: string | undefined;
6623
+ }>>>;
6624
+ }, "strip", z.ZodTypeAny, {
6625
+ data?: {
6626
+ analysis?: {
6627
+ totalPatterns?: number | undefined;
6628
+ recentPatterns?: number | undefined;
6629
+ trends?: any;
6630
+ insights?: string[] | undefined;
6631
+ recommendations?: string[] | undefined;
6632
+ } | undefined;
6633
+ timeRange?: number | undefined;
6634
+ analyzedAt?: string | undefined;
6635
+ } | undefined;
6636
+ }, {
6637
+ data?: {
6638
+ analysis?: {
6639
+ totalPatterns?: number | undefined;
6640
+ recentPatterns?: number | undefined;
6641
+ trends?: any;
6642
+ insights?: string[] | undefined;
6643
+ recommendations?: string[] | undefined;
6644
+ } | undefined;
6645
+ timeRange?: number | undefined;
6646
+ analyzedAt?: string | undefined;
6647
+ } | undefined;
6648
+ }>>;
6649
+ /**
6650
+ *
6651
+ * @typedef {AnalyzePatternsOkResponse} analyzePatternsOkResponse
6652
+ * @property {AnalyzePatternsOkResponseData}
6653
+ */
6654
+ type AnalyzePatternsOkResponse = z.infer<typeof analyzePatternsOkResponse>;
6655
+
6656
+ /**
6657
+ * Zod schema for the UpdatePatternRequest model.
6658
+ * Defines the structure and validation rules for this data type.
6659
+ * This is the shape used in application code - what developers interact with.
5633
6660
  */
5634
6661
  declare const updatePatternRequest: z.ZodLazy<z.ZodObject<{
5635
6662
  name: z.ZodOptional<z.ZodString>;
@@ -5658,7 +6685,53 @@ declare const updatePatternRequest: z.ZodLazy<z.ZodObject<{
5658
6685
  type UpdatePatternRequest = z.infer<typeof updatePatternRequest>;
5659
6686
 
5660
6687
  /**
5661
- * The shape of the model inside the application code - what the users use
6688
+ * Zod schema for the UpdatePatternOkResponse model.
6689
+ * Defines the structure and validation rules for this data type.
6690
+ * This is the shape used in application code - what developers interact with.
6691
+ */
6692
+ declare const updatePatternOkResponse: z.ZodLazy<z.ZodObject<{
6693
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6694
+ id: z.ZodString;
6695
+ type: z.ZodString;
6696
+ description: z.ZodString;
6697
+ confidence: z.ZodNumber;
6698
+ }, "strip", z.ZodTypeAny, {
6699
+ type: string;
6700
+ id: string;
6701
+ description: string;
6702
+ confidence: number;
6703
+ }, {
6704
+ type: string;
6705
+ id: string;
6706
+ description: string;
6707
+ confidence: number;
6708
+ }>>>;
6709
+ }, "strip", z.ZodTypeAny, {
6710
+ data?: {
6711
+ type: string;
6712
+ id: string;
6713
+ description: string;
6714
+ confidence: number;
6715
+ } | undefined;
6716
+ }, {
6717
+ data?: {
6718
+ type: string;
6719
+ id: string;
6720
+ description: string;
6721
+ confidence: number;
6722
+ } | undefined;
6723
+ }>>;
6724
+ /**
6725
+ *
6726
+ * @typedef {UpdatePatternOkResponse} updatePatternOkResponse
6727
+ * @property {Pattern}
6728
+ */
6729
+ type UpdatePatternOkResponse = z.infer<typeof updatePatternOkResponse>;
6730
+
6731
+ /**
6732
+ * Zod schema for the RecordPatternFeedbackRequest model.
6733
+ * Defines the structure and validation rules for this data type.
6734
+ * This is the shape used in application code - what developers interact with.
5662
6735
  */
5663
6736
  declare const recordPatternFeedbackRequest: z.ZodLazy<z.ZodObject<{
5664
6737
  patternId: z.ZodString;
@@ -5678,6 +6751,55 @@ declare const recordPatternFeedbackRequest: z.ZodLazy<z.ZodObject<{
5678
6751
  */
5679
6752
  type RecordPatternFeedbackRequest = z.infer<typeof recordPatternFeedbackRequest>;
5680
6753
 
6754
+ /**
6755
+ * Zod schema for the RecordPatternFeedbackOkResponse model.
6756
+ * Defines the structure and validation rules for this data type.
6757
+ * This is the shape used in application code - what developers interact with.
6758
+ */
6759
+ declare const recordPatternFeedbackOkResponse: z.ZodLazy<z.ZodObject<{
6760
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6761
+ id: z.ZodString;
6762
+ type: z.ZodString;
6763
+ description: z.ZodString;
6764
+ confidence: z.ZodNumber;
6765
+ }, "strip", z.ZodTypeAny, {
6766
+ type: string;
6767
+ id: string;
6768
+ description: string;
6769
+ confidence: number;
6770
+ }, {
6771
+ type: string;
6772
+ id: string;
6773
+ description: string;
6774
+ confidence: number;
6775
+ }>>>;
6776
+ }, "strip", z.ZodTypeAny, {
6777
+ data?: {
6778
+ type: string;
6779
+ id: string;
6780
+ description: string;
6781
+ confidence: number;
6782
+ } | undefined;
6783
+ }, {
6784
+ data?: {
6785
+ type: string;
6786
+ id: string;
6787
+ description: string;
6788
+ confidence: number;
6789
+ } | undefined;
6790
+ }>>;
6791
+ /**
6792
+ *
6793
+ * @typedef {RecordPatternFeedbackOkResponse} recordPatternFeedbackOkResponse
6794
+ * @property {Pattern}
6795
+ */
6796
+ type RecordPatternFeedbackOkResponse = z.infer<typeof recordPatternFeedbackOkResponse>;
6797
+
6798
+ /**
6799
+ * Service class for PatternsService operations.
6800
+ * Provides methods to interact with PatternsService-related API endpoints.
6801
+ * All methods return promises and handle request/response serialization automatically.
6802
+ */
5681
6803
  declare class PatternsService extends BaseService {
5682
6804
  /**
5683
6805
  * List all patterns for the authenticated user
@@ -5690,38 +6812,40 @@ declare class PatternsService extends BaseService {
5690
6812
  /**
5691
6813
  * Compile patterns from user's memories
5692
6814
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5693
- * @returns {Promise<HttpResponse<any>>} - OK
6815
+ * @returns {Promise<HttpResponse<CompilePatternsOkResponse>>} - Patterns compiled successfully
5694
6816
  */
5695
- compilePatterns(body: CompilePatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6817
+ compilePatterns(body: CompilePatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<CompilePatternsOkResponse>>;
5696
6818
  /**
5697
6819
  * Run pattern detection algorithms to identify recurring behavioral patterns
5698
6820
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5699
- * @returns {Promise<HttpResponse<any>>} - Patterns detected successfully
6821
+ * @returns {Promise<HttpResponse<DetectPatternsOkResponse>>} - Patterns detected successfully
5700
6822
  */
5701
- detectPatterns(body: DetectPatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6823
+ detectPatterns(body: DetectPatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<DetectPatternsOkResponse>>;
5702
6824
  /**
5703
6825
  * Analyze pattern trends, correlations, and generate insights
5704
6826
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5705
- * @returns {Promise<HttpResponse<any>>} - Analysis completed successfully
6827
+ * @returns {Promise<HttpResponse<AnalyzePatternsOkResponse>>} - Analysis completed successfully
5706
6828
  */
5707
- analyzePatterns(body: AnalyzePatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6829
+ analyzePatterns(body: AnalyzePatternsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<AnalyzePatternsOkResponse>>;
5708
6830
  /**
5709
6831
  * Update an existing pattern with partial data
5710
6832
  * @param {string} id - The pattern ID
5711
6833
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5712
- * @returns {Promise<HttpResponse<any>>} - OK
6834
+ * @returns {Promise<HttpResponse<UpdatePatternOkResponse>>} - Pattern updated successfully
5713
6835
  */
5714
- updatePattern(id: string, body: UpdatePatternRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6836
+ updatePattern(id: string, body: UpdatePatternRequest, requestConfig?: RequestConfig): Promise<HttpResponse<UpdatePatternOkResponse>>;
5715
6837
  /**
5716
6838
  * Record feedback on a pattern
5717
6839
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5718
- * @returns {Promise<HttpResponse<any>>} - OK
6840
+ * @returns {Promise<HttpResponse<RecordPatternFeedbackOkResponse>>} - Feedback recorded successfully
5719
6841
  */
5720
- recordPatternFeedback(body: RecordPatternFeedbackRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
6842
+ recordPatternFeedback(body: RecordPatternFeedbackRequest, requestConfig?: RequestConfig): Promise<HttpResponse<RecordPatternFeedbackOkResponse>>;
5721
6843
  }
5722
6844
 
5723
6845
  /**
5724
- * The shape of the model inside the application code - what the users use
6846
+ * Zod schema for the Pattern model.
6847
+ * Defines the structure and validation rules for this data type.
6848
+ * This is the shape used in application code - what developers interact with.
5725
6849
  */
5726
6850
  declare const pattern: z.ZodLazy<z.ZodObject<{
5727
6851
  id: z.ZodString;
@@ -5750,7 +6874,9 @@ declare const pattern: z.ZodLazy<z.ZodObject<{
5750
6874
  type Pattern = z.infer<typeof pattern>;
5751
6875
 
5752
6876
  /**
5753
- * The shape of the model inside the application code - what the users use
6877
+ * Zod schema for the ListPatternsOkResponsePagination model.
6878
+ * Defines the structure and validation rules for this data type.
6879
+ * This is the shape used in application code - what developers interact with.
5754
6880
  */
5755
6881
  declare const listPatternsOkResponsePagination: z.ZodLazy<z.ZodObject<{
5756
6882
  limit: z.ZodOptional<z.ZodNumber>;
@@ -5774,6 +6900,192 @@ declare const listPatternsOkResponsePagination: z.ZodLazy<z.ZodObject<{
5774
6900
  */
5775
6901
  type ListPatternsOkResponsePagination = z.infer<typeof listPatternsOkResponsePagination>;
5776
6902
 
6903
+ /**
6904
+ * Zod schema for the DetectPatternsOkResponseData model.
6905
+ * Defines the structure and validation rules for this data type.
6906
+ * This is the shape used in application code - what developers interact with.
6907
+ */
6908
+ declare const detectPatternsOkResponseData: z.ZodLazy<z.ZodObject<{
6909
+ detectedPatterns: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
6910
+ id: z.ZodString;
6911
+ type: z.ZodString;
6912
+ description: z.ZodString;
6913
+ confidence: z.ZodNumber;
6914
+ }, "strip", z.ZodTypeAny, {
6915
+ type: string;
6916
+ id: string;
6917
+ description: string;
6918
+ confidence: number;
6919
+ }, {
6920
+ type: string;
6921
+ id: string;
6922
+ description: string;
6923
+ confidence: number;
6924
+ }>>, "many">>;
6925
+ count: z.ZodOptional<z.ZodNumber>;
6926
+ stored: z.ZodOptional<z.ZodNumber>;
6927
+ confidence: z.ZodOptional<z.ZodLazy<z.ZodObject<{
6928
+ average: z.ZodOptional<z.ZodNumber>;
6929
+ highest: z.ZodOptional<z.ZodNumber>;
6930
+ }, "strip", z.ZodTypeAny, {
6931
+ average?: number | undefined;
6932
+ highest?: number | undefined;
6933
+ }, {
6934
+ average?: number | undefined;
6935
+ highest?: number | undefined;
6936
+ }>>>;
6937
+ }, "strip", z.ZodTypeAny, {
6938
+ detectedPatterns?: {
6939
+ type: string;
6940
+ id: string;
6941
+ description: string;
6942
+ confidence: number;
6943
+ }[] | undefined;
6944
+ count?: number | undefined;
6945
+ stored?: number | undefined;
6946
+ confidence?: {
6947
+ average?: number | undefined;
6948
+ highest?: number | undefined;
6949
+ } | undefined;
6950
+ }, {
6951
+ detectedPatterns?: {
6952
+ type: string;
6953
+ id: string;
6954
+ description: string;
6955
+ confidence: number;
6956
+ }[] | undefined;
6957
+ count?: number | undefined;
6958
+ stored?: number | undefined;
6959
+ confidence?: {
6960
+ average?: number | undefined;
6961
+ highest?: number | undefined;
6962
+ } | undefined;
6963
+ }>>;
6964
+ /**
6965
+ *
6966
+ * @typedef {DetectPatternsOkResponseData} detectPatternsOkResponseData
6967
+ * @property {Pattern[]}
6968
+ * @property {number}
6969
+ * @property {number}
6970
+ * @property {Confidence}
6971
+ */
6972
+ type DetectPatternsOkResponseData = z.infer<typeof detectPatternsOkResponseData>;
6973
+
6974
+ /**
6975
+ * Zod schema for the Confidence model.
6976
+ * Defines the structure and validation rules for this data type.
6977
+ * This is the shape used in application code - what developers interact with.
6978
+ */
6979
+ declare const confidence: z.ZodLazy<z.ZodObject<{
6980
+ average: z.ZodOptional<z.ZodNumber>;
6981
+ highest: z.ZodOptional<z.ZodNumber>;
6982
+ }, "strip", z.ZodTypeAny, {
6983
+ average?: number | undefined;
6984
+ highest?: number | undefined;
6985
+ }, {
6986
+ average?: number | undefined;
6987
+ highest?: number | undefined;
6988
+ }>>;
6989
+ /**
6990
+ *
6991
+ * @typedef {Confidence} confidence
6992
+ * @property {number}
6993
+ * @property {number}
6994
+ */
6995
+ type Confidence = z.infer<typeof confidence>;
6996
+
6997
+ /**
6998
+ * Zod schema for the AnalyzePatternsOkResponseData model.
6999
+ * Defines the structure and validation rules for this data type.
7000
+ * This is the shape used in application code - what developers interact with.
7001
+ */
7002
+ declare const analyzePatternsOkResponseData: z.ZodLazy<z.ZodObject<{
7003
+ analysis: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7004
+ totalPatterns: z.ZodOptional<z.ZodNumber>;
7005
+ recentPatterns: z.ZodOptional<z.ZodNumber>;
7006
+ trends: z.ZodOptional<z.ZodAny>;
7007
+ insights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7008
+ recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7009
+ }, "strip", z.ZodTypeAny, {
7010
+ totalPatterns?: number | undefined;
7011
+ recentPatterns?: number | undefined;
7012
+ trends?: any;
7013
+ insights?: string[] | undefined;
7014
+ recommendations?: string[] | undefined;
7015
+ }, {
7016
+ totalPatterns?: number | undefined;
7017
+ recentPatterns?: number | undefined;
7018
+ trends?: any;
7019
+ insights?: string[] | undefined;
7020
+ recommendations?: string[] | undefined;
7021
+ }>>>;
7022
+ timeRange: z.ZodOptional<z.ZodNumber>;
7023
+ analyzedAt: z.ZodOptional<z.ZodString>;
7024
+ }, "strip", z.ZodTypeAny, {
7025
+ analysis?: {
7026
+ totalPatterns?: number | undefined;
7027
+ recentPatterns?: number | undefined;
7028
+ trends?: any;
7029
+ insights?: string[] | undefined;
7030
+ recommendations?: string[] | undefined;
7031
+ } | undefined;
7032
+ timeRange?: number | undefined;
7033
+ analyzedAt?: string | undefined;
7034
+ }, {
7035
+ analysis?: {
7036
+ totalPatterns?: number | undefined;
7037
+ recentPatterns?: number | undefined;
7038
+ trends?: any;
7039
+ insights?: string[] | undefined;
7040
+ recommendations?: string[] | undefined;
7041
+ } | undefined;
7042
+ timeRange?: number | undefined;
7043
+ analyzedAt?: string | undefined;
7044
+ }>>;
7045
+ /**
7046
+ *
7047
+ * @typedef {AnalyzePatternsOkResponseData} analyzePatternsOkResponseData
7048
+ * @property {Analysis}
7049
+ * @property {number}
7050
+ * @property {string}
7051
+ */
7052
+ type AnalyzePatternsOkResponseData = z.infer<typeof analyzePatternsOkResponseData>;
7053
+
7054
+ /**
7055
+ * Zod schema for the Analysis model.
7056
+ * Defines the structure and validation rules for this data type.
7057
+ * This is the shape used in application code - what developers interact with.
7058
+ */
7059
+ declare const analysis: z.ZodLazy<z.ZodObject<{
7060
+ totalPatterns: z.ZodOptional<z.ZodNumber>;
7061
+ recentPatterns: z.ZodOptional<z.ZodNumber>;
7062
+ trends: z.ZodOptional<z.ZodAny>;
7063
+ insights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7064
+ recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7065
+ }, "strip", z.ZodTypeAny, {
7066
+ totalPatterns?: number | undefined;
7067
+ recentPatterns?: number | undefined;
7068
+ trends?: any;
7069
+ insights?: string[] | undefined;
7070
+ recommendations?: string[] | undefined;
7071
+ }, {
7072
+ totalPatterns?: number | undefined;
7073
+ recentPatterns?: number | undefined;
7074
+ trends?: any;
7075
+ insights?: string[] | undefined;
7076
+ recommendations?: string[] | undefined;
7077
+ }>>;
7078
+ /**
7079
+ *
7080
+ * @typedef {Analysis} analysis
7081
+ * @property {number}
7082
+ * @property {number}
7083
+ * @property {any}
7084
+ * @property {string[]}
7085
+ * @property {string[]}
7086
+ */
7087
+ type Analysis = z.infer<typeof analysis>;
7088
+
5777
7089
  declare enum GroupBy {
5778
7090
  TYPE_ = "type",
5779
7091
  CONTEXT = "context",
@@ -5781,7 +7093,28 @@ declare enum GroupBy {
5781
7093
  }
5782
7094
 
5783
7095
  /**
5784
- * The shape of the model inside the application code - what the users use
7096
+ * Zod schema for the GetBehavioralStateOkResponse model.
7097
+ * Defines the structure and validation rules for this data type.
7098
+ * This is the shape used in application code - what developers interact with.
7099
+ */
7100
+ declare const getBehavioralStateOkResponse: z.ZodLazy<z.ZodObject<{
7101
+ data: z.ZodOptional<z.ZodAny>;
7102
+ }, "strip", z.ZodTypeAny, {
7103
+ data?: any;
7104
+ }, {
7105
+ data?: any;
7106
+ }>>;
7107
+ /**
7108
+ *
7109
+ * @typedef {GetBehavioralStateOkResponse} getBehavioralStateOkResponse
7110
+ * @property {any} - Behavioral state object
7111
+ */
7112
+ type GetBehavioralStateOkResponse = z.infer<typeof getBehavioralStateOkResponse>;
7113
+
7114
+ /**
7115
+ * Zod schema for the UpdateBehavioralStateRequest model.
7116
+ * Defines the structure and validation rules for this data type.
7117
+ * This is the shape used in application code - what developers interact with.
5785
7118
  */
5786
7119
  declare const updateBehavioralStateRequest: z.ZodLazy<z.ZodObject<{
5787
7120
  state: z.ZodOptional<z.ZodAny>;
@@ -5801,23 +7134,49 @@ declare const updateBehavioralStateRequest: z.ZodLazy<z.ZodObject<{
5801
7134
  */
5802
7135
  type UpdateBehavioralStateRequest = z.infer<typeof updateBehavioralStateRequest>;
5803
7136
 
7137
+ /**
7138
+ * Zod schema for the UpdateBehavioralStateOkResponse model.
7139
+ * Defines the structure and validation rules for this data type.
7140
+ * This is the shape used in application code - what developers interact with.
7141
+ */
7142
+ declare const updateBehavioralStateOkResponse: z.ZodLazy<z.ZodObject<{
7143
+ data: z.ZodOptional<z.ZodAny>;
7144
+ }, "strip", z.ZodTypeAny, {
7145
+ data?: any;
7146
+ }, {
7147
+ data?: any;
7148
+ }>>;
7149
+ /**
7150
+ *
7151
+ * @typedef {UpdateBehavioralStateOkResponse} updateBehavioralStateOkResponse
7152
+ * @property {any} - Updated behavioral state object
7153
+ */
7154
+ type UpdateBehavioralStateOkResponse = z.infer<typeof updateBehavioralStateOkResponse>;
7155
+
7156
+ /**
7157
+ * Service class for BehaviorService operations.
7158
+ * Provides methods to interact with BehaviorService-related API endpoints.
7159
+ * All methods return promises and handle request/response serialization automatically.
7160
+ */
5804
7161
  declare class BehaviorService extends BaseService {
5805
7162
  /**
5806
7163
  * Get current behavioral state for the authenticated user
5807
7164
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5808
- * @returns {Promise<HttpResponse<any>>} - OK
7165
+ * @returns {Promise<HttpResponse<GetBehavioralStateOkResponse>>} - Behavioral state retrieved successfully
5809
7166
  */
5810
- getBehavioralState(requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7167
+ getBehavioralState(requestConfig?: RequestConfig): Promise<HttpResponse<GetBehavioralStateOkResponse>>;
5811
7168
  /**
5812
7169
  * Update or mutate behavioral state
5813
7170
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
5814
- * @returns {Promise<HttpResponse<any>>} - OK
7171
+ * @returns {Promise<HttpResponse<UpdateBehavioralStateOkResponse>>} - Behavioral state updated successfully
5815
7172
  */
5816
- updateBehavioralState(body: UpdateBehavioralStateRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7173
+ updateBehavioralState(body: UpdateBehavioralStateRequest, requestConfig?: RequestConfig): Promise<HttpResponse<UpdateBehavioralStateOkResponse>>;
5817
7174
  }
5818
7175
 
5819
7176
  /**
5820
- * The shape of the model inside the application code - what the users use
7177
+ * Zod schema for the ListTopicsOkResponse model.
7178
+ * Defines the structure and validation rules for this data type.
7179
+ * This is the shape used in application code - what developers interact with.
5821
7180
  */
5822
7181
  declare const listTopicsOkResponse: z.ZodLazy<z.ZodObject<{
5823
7182
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -5878,7 +7237,9 @@ interface ListTopicsParams {
5878
7237
  }
5879
7238
 
5880
7239
  /**
5881
- * The shape of the model inside the application code - what the users use
7240
+ * Zod schema for the GetTopicByIdOkResponse model.
7241
+ * Defines the structure and validation rules for this data type.
7242
+ * This is the shape used in application code - what developers interact with.
5882
7243
  */
5883
7244
  declare const getTopicByIdOkResponse: z.ZodLazy<z.ZodObject<{
5884
7245
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -5910,7 +7271,9 @@ declare const getTopicByIdOkResponse: z.ZodLazy<z.ZodObject<{
5910
7271
  type GetTopicByIdOkResponse = z.infer<typeof getTopicByIdOkResponse>;
5911
7272
 
5912
7273
  /**
5913
- * The shape of the model inside the application code - what the users use
7274
+ * Zod schema for the MergeTopicsRequest model.
7275
+ * Defines the structure and validation rules for this data type.
7276
+ * This is the shape used in application code - what developers interact with.
5914
7277
  */
5915
7278
  declare const mergeTopicsRequest: z.ZodLazy<z.ZodObject<{
5916
7279
  sourceTopicId: z.ZodString;
@@ -5931,7 +7294,43 @@ declare const mergeTopicsRequest: z.ZodLazy<z.ZodObject<{
5931
7294
  type MergeTopicsRequest = z.infer<typeof mergeTopicsRequest>;
5932
7295
 
5933
7296
  /**
5934
- * The shape of the model inside the application code - what the users use
7297
+ * Zod schema for the MergeTopicsOkResponse model.
7298
+ * Defines the structure and validation rules for this data type.
7299
+ * This is the shape used in application code - what developers interact with.
7300
+ */
7301
+ declare const mergeTopicsOkResponse: z.ZodLazy<z.ZodObject<{
7302
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7303
+ name: z.ZodString;
7304
+ count: z.ZodNumber;
7305
+ }, "strip", z.ZodTypeAny, {
7306
+ name: string;
7307
+ count: number;
7308
+ }, {
7309
+ name: string;
7310
+ count: number;
7311
+ }>>>;
7312
+ }, "strip", z.ZodTypeAny, {
7313
+ data?: {
7314
+ name: string;
7315
+ count: number;
7316
+ } | undefined;
7317
+ }, {
7318
+ data?: {
7319
+ name: string;
7320
+ count: number;
7321
+ } | undefined;
7322
+ }>>;
7323
+ /**
7324
+ *
7325
+ * @typedef {MergeTopicsOkResponse} mergeTopicsOkResponse
7326
+ * @property {Topic}
7327
+ */
7328
+ type MergeTopicsOkResponse = z.infer<typeof mergeTopicsOkResponse>;
7329
+
7330
+ /**
7331
+ * Zod schema for the DiscoverRelatedTopicsRequest model.
7332
+ * Defines the structure and validation rules for this data type.
7333
+ * This is the shape used in application code - what developers interact with.
5935
7334
  */
5936
7335
  declare const discoverRelatedTopicsRequest: z.ZodLazy<z.ZodObject<{
5937
7336
  topicId: z.ZodString;
@@ -5952,7 +7351,43 @@ declare const discoverRelatedTopicsRequest: z.ZodLazy<z.ZodObject<{
5952
7351
  type DiscoverRelatedTopicsRequest = z.infer<typeof discoverRelatedTopicsRequest>;
5953
7352
 
5954
7353
  /**
5955
- * The shape of the model inside the application code - what the users use
7354
+ * Zod schema for the DiscoverRelatedTopicsOkResponse model.
7355
+ * Defines the structure and validation rules for this data type.
7356
+ * This is the shape used in application code - what developers interact with.
7357
+ */
7358
+ declare const discoverRelatedTopicsOkResponse: z.ZodLazy<z.ZodObject<{
7359
+ data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
7360
+ name: z.ZodString;
7361
+ count: z.ZodNumber;
7362
+ }, "strip", z.ZodTypeAny, {
7363
+ name: string;
7364
+ count: number;
7365
+ }, {
7366
+ name: string;
7367
+ count: number;
7368
+ }>>, "many">>;
7369
+ }, "strip", z.ZodTypeAny, {
7370
+ data?: {
7371
+ name: string;
7372
+ count: number;
7373
+ }[] | undefined;
7374
+ }, {
7375
+ data?: {
7376
+ name: string;
7377
+ count: number;
7378
+ }[] | undefined;
7379
+ }>>;
7380
+ /**
7381
+ *
7382
+ * @typedef {DiscoverRelatedTopicsOkResponse} discoverRelatedTopicsOkResponse
7383
+ * @property {Topic[]}
7384
+ */
7385
+ type DiscoverRelatedTopicsOkResponse = z.infer<typeof discoverRelatedTopicsOkResponse>;
7386
+
7387
+ /**
7388
+ * Zod schema for the CalculateTopicSimilarityRequest model.
7389
+ * Defines the structure and validation rules for this data type.
7390
+ * This is the shape used in application code - what developers interact with.
5956
7391
  */
5957
7392
  declare const calculateTopicSimilarityRequest: z.ZodLazy<z.ZodObject<{
5958
7393
  topicId1: z.ZodString;
@@ -5973,7 +7408,38 @@ declare const calculateTopicSimilarityRequest: z.ZodLazy<z.ZodObject<{
5973
7408
  type CalculateTopicSimilarityRequest = z.infer<typeof calculateTopicSimilarityRequest>;
5974
7409
 
5975
7410
  /**
5976
- * The shape of the model inside the application code - what the users use
7411
+ * Zod schema for the CalculateTopicSimilarityOkResponse model.
7412
+ * Defines the structure and validation rules for this data type.
7413
+ * This is the shape used in application code - what developers interact with.
7414
+ */
7415
+ declare const calculateTopicSimilarityOkResponse: z.ZodLazy<z.ZodObject<{
7416
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7417
+ similarity: z.ZodOptional<z.ZodNumber>;
7418
+ }, "strip", z.ZodTypeAny, {
7419
+ similarity?: number | undefined;
7420
+ }, {
7421
+ similarity?: number | undefined;
7422
+ }>>>;
7423
+ }, "strip", z.ZodTypeAny, {
7424
+ data?: {
7425
+ similarity?: number | undefined;
7426
+ } | undefined;
7427
+ }, {
7428
+ data?: {
7429
+ similarity?: number | undefined;
7430
+ } | undefined;
7431
+ }>>;
7432
+ /**
7433
+ *
7434
+ * @typedef {CalculateTopicSimilarityOkResponse} calculateTopicSimilarityOkResponse
7435
+ * @property {CalculateTopicSimilarityOkResponseData}
7436
+ */
7437
+ type CalculateTopicSimilarityOkResponse = z.infer<typeof calculateTopicSimilarityOkResponse>;
7438
+
7439
+ /**
7440
+ * Zod schema for the FindSimilarTopicsRequest model.
7441
+ * Defines the structure and validation rules for this data type.
7442
+ * This is the shape used in application code - what developers interact with.
5977
7443
  */
5978
7444
  declare const findSimilarTopicsRequest: z.ZodLazy<z.ZodObject<{
5979
7445
  topicId: z.ZodString;
@@ -5984,21 +7450,78 @@ declare const findSimilarTopicsRequest: z.ZodLazy<z.ZodObject<{
5984
7450
  threshold?: number | undefined;
5985
7451
  limit?: number | undefined;
5986
7452
  }, {
5987
- topicId: string;
5988
- threshold?: number | undefined;
5989
- limit?: number | undefined;
7453
+ topicId: string;
7454
+ threshold?: number | undefined;
7455
+ limit?: number | undefined;
7456
+ }>>;
7457
+ /**
7458
+ *
7459
+ * @typedef {FindSimilarTopicsRequest} findSimilarTopicsRequest
7460
+ * @property {string}
7461
+ * @property {number}
7462
+ * @property {number}
7463
+ */
7464
+ type FindSimilarTopicsRequest = z.infer<typeof findSimilarTopicsRequest>;
7465
+
7466
+ /**
7467
+ * Zod schema for the FindSimilarTopicsOkResponse model.
7468
+ * Defines the structure and validation rules for this data type.
7469
+ * This is the shape used in application code - what developers interact with.
7470
+ */
7471
+ declare const findSimilarTopicsOkResponse: z.ZodLazy<z.ZodObject<{
7472
+ data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
7473
+ topic: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7474
+ name: z.ZodString;
7475
+ count: z.ZodNumber;
7476
+ }, "strip", z.ZodTypeAny, {
7477
+ name: string;
7478
+ count: number;
7479
+ }, {
7480
+ name: string;
7481
+ count: number;
7482
+ }>>>;
7483
+ similarity: z.ZodOptional<z.ZodNumber>;
7484
+ }, "strip", z.ZodTypeAny, {
7485
+ topic?: {
7486
+ name: string;
7487
+ count: number;
7488
+ } | undefined;
7489
+ similarity?: number | undefined;
7490
+ }, {
7491
+ topic?: {
7492
+ name: string;
7493
+ count: number;
7494
+ } | undefined;
7495
+ similarity?: number | undefined;
7496
+ }>>, "many">>;
7497
+ }, "strip", z.ZodTypeAny, {
7498
+ data?: {
7499
+ topic?: {
7500
+ name: string;
7501
+ count: number;
7502
+ } | undefined;
7503
+ similarity?: number | undefined;
7504
+ }[] | undefined;
7505
+ }, {
7506
+ data?: {
7507
+ topic?: {
7508
+ name: string;
7509
+ count: number;
7510
+ } | undefined;
7511
+ similarity?: number | undefined;
7512
+ }[] | undefined;
5990
7513
  }>>;
5991
7514
  /**
5992
7515
  *
5993
- * @typedef {FindSimilarTopicsRequest} findSimilarTopicsRequest
5994
- * @property {string}
5995
- * @property {number}
5996
- * @property {number}
7516
+ * @typedef {FindSimilarTopicsOkResponse} findSimilarTopicsOkResponse
7517
+ * @property {FindSimilarTopicsOkResponseData[]}
5997
7518
  */
5998
- type FindSimilarTopicsRequest = z.infer<typeof findSimilarTopicsRequest>;
7519
+ type FindSimilarTopicsOkResponse = z.infer<typeof findSimilarTopicsOkResponse>;
5999
7520
 
6000
7521
  /**
6001
- * The shape of the model inside the application code - what the users use
7522
+ * Zod schema for the ClusterTopicsRequest model.
7523
+ * Defines the structure and validation rules for this data type.
7524
+ * This is the shape used in application code - what developers interact with.
6002
7525
  */
6003
7526
  declare const clusterTopicsRequest: z.ZodLazy<z.ZodObject<{
6004
7527
  minClusterSize: z.ZodOptional<z.ZodNumber>;
@@ -6015,7 +7538,43 @@ declare const clusterTopicsRequest: z.ZodLazy<z.ZodObject<{
6015
7538
  type ClusterTopicsRequest = z.infer<typeof clusterTopicsRequest>;
6016
7539
 
6017
7540
  /**
6018
- * The shape of the model inside the application code - what the users use
7541
+ * Zod schema for the ClusterTopicsOkResponse model.
7542
+ * Defines the structure and validation rules for this data type.
7543
+ * This is the shape used in application code - what developers interact with.
7544
+ */
7545
+ declare const clusterTopicsOkResponse: z.ZodLazy<z.ZodObject<{
7546
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7547
+ clusters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7548
+ clusterCount: z.ZodOptional<z.ZodNumber>;
7549
+ }, "strip", z.ZodTypeAny, {
7550
+ clusters?: any[] | undefined;
7551
+ clusterCount?: number | undefined;
7552
+ }, {
7553
+ clusters?: any[] | undefined;
7554
+ clusterCount?: number | undefined;
7555
+ }>>>;
7556
+ }, "strip", z.ZodTypeAny, {
7557
+ data?: {
7558
+ clusters?: any[] | undefined;
7559
+ clusterCount?: number | undefined;
7560
+ } | undefined;
7561
+ }, {
7562
+ data?: {
7563
+ clusters?: any[] | undefined;
7564
+ clusterCount?: number | undefined;
7565
+ } | undefined;
7566
+ }>>;
7567
+ /**
7568
+ *
7569
+ * @typedef {ClusterTopicsOkResponse} clusterTopicsOkResponse
7570
+ * @property {ClusterTopicsOkResponseData}
7571
+ */
7572
+ type ClusterTopicsOkResponse = z.infer<typeof clusterTopicsOkResponse>;
7573
+
7574
+ /**
7575
+ * Zod schema for the DetectCommunitiesRequest model.
7576
+ * Defines the structure and validation rules for this data type.
7577
+ * This is the shape used in application code - what developers interact with.
6019
7578
  */
6020
7579
  declare const detectCommunitiesRequest: z.ZodLazy<z.ZodObject<{
6021
7580
  algorithm: z.ZodOptional<z.ZodString>;
@@ -6032,7 +7591,92 @@ declare const detectCommunitiesRequest: z.ZodLazy<z.ZodObject<{
6032
7591
  type DetectCommunitiesRequest = z.infer<typeof detectCommunitiesRequest>;
6033
7592
 
6034
7593
  /**
6035
- * The shape of the model inside the application code - what the users use
7594
+ * Zod schema for the DetectCommunitiesOkResponse model.
7595
+ * Defines the structure and validation rules for this data type.
7596
+ * This is the shape used in application code - what developers interact with.
7597
+ */
7598
+ declare const detectCommunitiesOkResponse: z.ZodLazy<z.ZodObject<{
7599
+ data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7600
+ communities: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
7601
+ id: z.ZodString;
7602
+ name: z.ZodString;
7603
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7604
+ topicCount: z.ZodOptional<z.ZodNumber>;
7605
+ createdAt: z.ZodString;
7606
+ updatedAt: z.ZodString;
7607
+ }, "strip", z.ZodTypeAny, {
7608
+ id: string;
7609
+ createdAt: string;
7610
+ name: string;
7611
+ updatedAt: string;
7612
+ description?: string | null | undefined;
7613
+ topicCount?: number | undefined;
7614
+ }, {
7615
+ id: string;
7616
+ createdAt: string;
7617
+ name: string;
7618
+ updatedAt: string;
7619
+ description?: string | null | undefined;
7620
+ topicCount?: number | undefined;
7621
+ }>>, "many">>;
7622
+ communityCount: z.ZodOptional<z.ZodNumber>;
7623
+ }, "strip", z.ZodTypeAny, {
7624
+ communities?: {
7625
+ id: string;
7626
+ createdAt: string;
7627
+ name: string;
7628
+ updatedAt: string;
7629
+ description?: string | null | undefined;
7630
+ topicCount?: number | undefined;
7631
+ }[] | undefined;
7632
+ communityCount?: number | undefined;
7633
+ }, {
7634
+ communities?: {
7635
+ id: string;
7636
+ createdAt: string;
7637
+ name: string;
7638
+ updatedAt: string;
7639
+ description?: string | null | undefined;
7640
+ topicCount?: number | undefined;
7641
+ }[] | undefined;
7642
+ communityCount?: number | undefined;
7643
+ }>>>;
7644
+ }, "strip", z.ZodTypeAny, {
7645
+ data?: {
7646
+ communities?: {
7647
+ id: string;
7648
+ createdAt: string;
7649
+ name: string;
7650
+ updatedAt: string;
7651
+ description?: string | null | undefined;
7652
+ topicCount?: number | undefined;
7653
+ }[] | undefined;
7654
+ communityCount?: number | undefined;
7655
+ } | undefined;
7656
+ }, {
7657
+ data?: {
7658
+ communities?: {
7659
+ id: string;
7660
+ createdAt: string;
7661
+ name: string;
7662
+ updatedAt: string;
7663
+ description?: string | null | undefined;
7664
+ topicCount?: number | undefined;
7665
+ }[] | undefined;
7666
+ communityCount?: number | undefined;
7667
+ } | undefined;
7668
+ }>>;
7669
+ /**
7670
+ *
7671
+ * @typedef {DetectCommunitiesOkResponse} detectCommunitiesOkResponse
7672
+ * @property {DetectCommunitiesOkResponseData}
7673
+ */
7674
+ type DetectCommunitiesOkResponse = z.infer<typeof detectCommunitiesOkResponse>;
7675
+
7676
+ /**
7677
+ * Zod schema for the SearchTopicsRequest model.
7678
+ * Defines the structure and validation rules for this data type.
7679
+ * This is the shape used in application code - what developers interact with.
6036
7680
  */
6037
7681
  declare const searchTopicsRequest: z.ZodLazy<z.ZodObject<{
6038
7682
  query: z.ZodString;
@@ -6057,7 +7701,9 @@ declare const searchTopicsRequest: z.ZodLazy<z.ZodObject<{
6057
7701
  type SearchTopicsRequest = z.infer<typeof searchTopicsRequest>;
6058
7702
 
6059
7703
  /**
6060
- * The shape of the model inside the application code - what the users use
7704
+ * Zod schema for the SearchTopicsOkResponse model.
7705
+ * Defines the structure and validation rules for this data type.
7706
+ * This is the shape used in application code - what developers interact with.
6061
7707
  */
6062
7708
  declare const searchTopicsOkResponse: z.ZodLazy<z.ZodObject<{
6063
7709
  data: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
@@ -6085,6 +7731,11 @@ declare const searchTopicsOkResponse: z.ZodLazy<z.ZodObject<{
6085
7731
  */
6086
7732
  type SearchTopicsOkResponse = z.infer<typeof searchTopicsOkResponse>;
6087
7733
 
7734
+ /**
7735
+ * Service class for TopicsService operations.
7736
+ * Provides methods to interact with TopicsService-related API endpoints.
7737
+ * All methods return promises and handle request/response serialization automatically.
7738
+ */
6088
7739
  declare class TopicsService extends BaseService {
6089
7740
  /**
6090
7741
  * List all topics with pagination
@@ -6104,39 +7755,39 @@ declare class TopicsService extends BaseService {
6104
7755
  /**
6105
7756
  * Merge two topics into one
6106
7757
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6107
- * @returns {Promise<HttpResponse<any>>} - OK
7758
+ * @returns {Promise<HttpResponse<MergeTopicsOkResponse>>} - Topics merged successfully
6108
7759
  */
6109
- mergeTopics(body: MergeTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7760
+ mergeTopics(body: MergeTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<MergeTopicsOkResponse>>;
6110
7761
  /**
6111
7762
  * Discover topics related to a given topic
6112
7763
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6113
- * @returns {Promise<HttpResponse<any>>} - OK
7764
+ * @returns {Promise<HttpResponse<DiscoverRelatedTopicsOkResponse>>} - Related topics discovered successfully
6114
7765
  */
6115
- discoverRelatedTopics(body: DiscoverRelatedTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7766
+ discoverRelatedTopics(body: DiscoverRelatedTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<DiscoverRelatedTopicsOkResponse>>;
6116
7767
  /**
6117
7768
  * Calculate similarity score between two topics
6118
7769
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6119
- * @returns {Promise<HttpResponse<any>>} - OK
7770
+ * @returns {Promise<HttpResponse<CalculateTopicSimilarityOkResponse>>} - Similarity calculated successfully
6120
7771
  */
6121
- calculateTopicSimilarity(body: CalculateTopicSimilarityRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7772
+ calculateTopicSimilarity(body: CalculateTopicSimilarityRequest, requestConfig?: RequestConfig): Promise<HttpResponse<CalculateTopicSimilarityOkResponse>>;
6122
7773
  /**
6123
7774
  * Find topics similar to a given topic
6124
7775
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6125
- * @returns {Promise<HttpResponse<any>>} - OK
7776
+ * @returns {Promise<HttpResponse<FindSimilarTopicsOkResponse>>} - Similar topics found successfully
6126
7777
  */
6127
- findSimilarTopics(body: FindSimilarTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7778
+ findSimilarTopics(body: FindSimilarTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<FindSimilarTopicsOkResponse>>;
6128
7779
  /**
6129
7780
  * Cluster topics using community detection algorithms
6130
7781
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6131
- * @returns {Promise<HttpResponse<any>>} - OK
7782
+ * @returns {Promise<HttpResponse<ClusterTopicsOkResponse>>} - Topics clustered successfully
6132
7783
  */
6133
- clusterTopics(body: ClusterTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7784
+ clusterTopics(body: ClusterTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<ClusterTopicsOkResponse>>;
6134
7785
  /**
6135
7786
  * Detect communities in the topic graph using specified algorithm
6136
7787
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
6137
- * @returns {Promise<HttpResponse<any>>} - OK
7788
+ * @returns {Promise<HttpResponse<DetectCommunitiesOkResponse>>} - Communities detected successfully
6138
7789
  */
6139
- detectCommunities(body: DetectCommunitiesRequest, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
7790
+ detectCommunities(body: DetectCommunitiesRequest, requestConfig?: RequestConfig): Promise<HttpResponse<DetectCommunitiesOkResponse>>;
6140
7791
  /**
6141
7792
  * Search topics by query string using fulltext search
6142
7793
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
@@ -6146,7 +7797,9 @@ declare class TopicsService extends BaseService {
6146
7797
  }
6147
7798
 
6148
7799
  /**
6149
- * The shape of the model inside the application code - what the users use
7800
+ * Zod schema for the ListTopicsOkResponsePagination model.
7801
+ * Defines the structure and validation rules for this data type.
7802
+ * This is the shape used in application code - what developers interact with.
6150
7803
  */
6151
7804
  declare const listTopicsOkResponsePagination: z.ZodLazy<z.ZodObject<{
6152
7805
  limit: z.ZodOptional<z.ZodNumber>;
@@ -6171,7 +7824,147 @@ declare const listTopicsOkResponsePagination: z.ZodLazy<z.ZodObject<{
6171
7824
  type ListTopicsOkResponsePagination = z.infer<typeof listTopicsOkResponsePagination>;
6172
7825
 
6173
7826
  /**
6174
- * The shape of the model inside the application code - what the users use
7827
+ * Zod schema for the CalculateTopicSimilarityOkResponseData model.
7828
+ * Defines the structure and validation rules for this data type.
7829
+ * This is the shape used in application code - what developers interact with.
7830
+ */
7831
+ declare const calculateTopicSimilarityOkResponseData: z.ZodLazy<z.ZodObject<{
7832
+ similarity: z.ZodOptional<z.ZodNumber>;
7833
+ }, "strip", z.ZodTypeAny, {
7834
+ similarity?: number | undefined;
7835
+ }, {
7836
+ similarity?: number | undefined;
7837
+ }>>;
7838
+ /**
7839
+ *
7840
+ * @typedef {CalculateTopicSimilarityOkResponseData} calculateTopicSimilarityOkResponseData
7841
+ * @property {number}
7842
+ */
7843
+ type CalculateTopicSimilarityOkResponseData = z.infer<typeof calculateTopicSimilarityOkResponseData>;
7844
+
7845
+ /**
7846
+ * Zod schema for the FindSimilarTopicsOkResponseData model.
7847
+ * Defines the structure and validation rules for this data type.
7848
+ * This is the shape used in application code - what developers interact with.
7849
+ */
7850
+ declare const findSimilarTopicsOkResponseData: z.ZodLazy<z.ZodObject<{
7851
+ topic: z.ZodOptional<z.ZodLazy<z.ZodObject<{
7852
+ name: z.ZodString;
7853
+ count: z.ZodNumber;
7854
+ }, "strip", z.ZodTypeAny, {
7855
+ name: string;
7856
+ count: number;
7857
+ }, {
7858
+ name: string;
7859
+ count: number;
7860
+ }>>>;
7861
+ similarity: z.ZodOptional<z.ZodNumber>;
7862
+ }, "strip", z.ZodTypeAny, {
7863
+ topic?: {
7864
+ name: string;
7865
+ count: number;
7866
+ } | undefined;
7867
+ similarity?: number | undefined;
7868
+ }, {
7869
+ topic?: {
7870
+ name: string;
7871
+ count: number;
7872
+ } | undefined;
7873
+ similarity?: number | undefined;
7874
+ }>>;
7875
+ /**
7876
+ *
7877
+ * @typedef {FindSimilarTopicsOkResponseData} findSimilarTopicsOkResponseData
7878
+ * @property {Topic}
7879
+ * @property {number}
7880
+ */
7881
+ type FindSimilarTopicsOkResponseData = z.infer<typeof findSimilarTopicsOkResponseData>;
7882
+
7883
+ /**
7884
+ * Zod schema for the ClusterTopicsOkResponseData model.
7885
+ * Defines the structure and validation rules for this data type.
7886
+ * This is the shape used in application code - what developers interact with.
7887
+ */
7888
+ declare const clusterTopicsOkResponseData: z.ZodLazy<z.ZodObject<{
7889
+ clusters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7890
+ clusterCount: z.ZodOptional<z.ZodNumber>;
7891
+ }, "strip", z.ZodTypeAny, {
7892
+ clusters?: any[] | undefined;
7893
+ clusterCount?: number | undefined;
7894
+ }, {
7895
+ clusters?: any[] | undefined;
7896
+ clusterCount?: number | undefined;
7897
+ }>>;
7898
+ /**
7899
+ *
7900
+ * @typedef {ClusterTopicsOkResponseData} clusterTopicsOkResponseData
7901
+ * @property {any[]}
7902
+ * @property {number}
7903
+ */
7904
+ type ClusterTopicsOkResponseData = z.infer<typeof clusterTopicsOkResponseData>;
7905
+
7906
+ /**
7907
+ * Zod schema for the DetectCommunitiesOkResponseData model.
7908
+ * Defines the structure and validation rules for this data type.
7909
+ * This is the shape used in application code - what developers interact with.
7910
+ */
7911
+ declare const detectCommunitiesOkResponseData: z.ZodLazy<z.ZodObject<{
7912
+ communities: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
7913
+ id: z.ZodString;
7914
+ name: z.ZodString;
7915
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7916
+ topicCount: z.ZodOptional<z.ZodNumber>;
7917
+ createdAt: z.ZodString;
7918
+ updatedAt: z.ZodString;
7919
+ }, "strip", z.ZodTypeAny, {
7920
+ id: string;
7921
+ createdAt: string;
7922
+ name: string;
7923
+ updatedAt: string;
7924
+ description?: string | null | undefined;
7925
+ topicCount?: number | undefined;
7926
+ }, {
7927
+ id: string;
7928
+ createdAt: string;
7929
+ name: string;
7930
+ updatedAt: string;
7931
+ description?: string | null | undefined;
7932
+ topicCount?: number | undefined;
7933
+ }>>, "many">>;
7934
+ communityCount: z.ZodOptional<z.ZodNumber>;
7935
+ }, "strip", z.ZodTypeAny, {
7936
+ communities?: {
7937
+ id: string;
7938
+ createdAt: string;
7939
+ name: string;
7940
+ updatedAt: string;
7941
+ description?: string | null | undefined;
7942
+ topicCount?: number | undefined;
7943
+ }[] | undefined;
7944
+ communityCount?: number | undefined;
7945
+ }, {
7946
+ communities?: {
7947
+ id: string;
7948
+ createdAt: string;
7949
+ name: string;
7950
+ updatedAt: string;
7951
+ description?: string | null | undefined;
7952
+ topicCount?: number | undefined;
7953
+ }[] | undefined;
7954
+ communityCount?: number | undefined;
7955
+ }>>;
7956
+ /**
7957
+ *
7958
+ * @typedef {DetectCommunitiesOkResponseData} detectCommunitiesOkResponseData
7959
+ * @property {Community[]}
7960
+ * @property {number}
7961
+ */
7962
+ type DetectCommunitiesOkResponseData = z.infer<typeof detectCommunitiesOkResponseData>;
7963
+
7964
+ /**
7965
+ * Zod schema for the ListCommunitiesOkResponse model.
7966
+ * Defines the structure and validation rules for this data type.
7967
+ * This is the shape used in application code - what developers interact with.
6175
7968
  */
6176
7969
  declare const listCommunitiesOkResponse: z.ZodLazy<z.ZodObject<{
6177
7970
  data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -6252,7 +8045,9 @@ interface ListCommunitiesParams {
6252
8045
  }
6253
8046
 
6254
8047
  /**
6255
- * The shape of the model inside the application code - what the users use
8048
+ * Zod schema for the GetCommunityByIdOkResponse model.
8049
+ * Defines the structure and validation rules for this data type.
8050
+ * This is the shape used in application code - what developers interact with.
6256
8051
  */
6257
8052
  declare const getCommunityByIdOkResponse: z.ZodLazy<z.ZodObject<{
6258
8053
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -6304,7 +8099,9 @@ declare const getCommunityByIdOkResponse: z.ZodLazy<z.ZodObject<{
6304
8099
  type GetCommunityByIdOkResponse = z.infer<typeof getCommunityByIdOkResponse>;
6305
8100
 
6306
8101
  /**
6307
- * The shape of the model inside the application code - what the users use
8102
+ * Zod schema for the MergeCommunitiesRequest model.
8103
+ * Defines the structure and validation rules for this data type.
8104
+ * This is the shape used in application code - what developers interact with.
6308
8105
  */
6309
8106
  declare const mergeCommunitiesRequest: z.ZodLazy<z.ZodObject<{
6310
8107
  sourceCommunityId: z.ZodString;
@@ -6325,7 +8122,9 @@ declare const mergeCommunitiesRequest: z.ZodLazy<z.ZodObject<{
6325
8122
  type MergeCommunitiesRequest = z.infer<typeof mergeCommunitiesRequest>;
6326
8123
 
6327
8124
  /**
6328
- * The shape of the model inside the application code - what the users use
8125
+ * Zod schema for the MergeCommunitiesOkResponse model.
8126
+ * Defines the structure and validation rules for this data type.
8127
+ * This is the shape used in application code - what developers interact with.
6329
8128
  */
6330
8129
  declare const mergeCommunitiesOkResponse: z.ZodLazy<z.ZodObject<{
6331
8130
  data: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -6376,6 +8175,11 @@ declare const mergeCommunitiesOkResponse: z.ZodLazy<z.ZodObject<{
6376
8175
  */
6377
8176
  type MergeCommunitiesOkResponse = z.infer<typeof mergeCommunitiesOkResponse>;
6378
8177
 
8178
+ /**
8179
+ * Service class for CommunitiesService operations.
8180
+ * Provides methods to interact with CommunitiesService-related API endpoints.
8181
+ * All methods return promises and handle request/response serialization automatically.
8182
+ */
6379
8183
  declare class CommunitiesService extends BaseService {
6380
8184
  /**
6381
8185
  * List all communities with pagination
@@ -6401,44 +8205,9 @@ declare class CommunitiesService extends BaseService {
6401
8205
  }
6402
8206
 
6403
8207
  /**
6404
- * The shape of the model inside the application code - what the users use
6405
- */
6406
- declare const community: z.ZodLazy<z.ZodObject<{
6407
- id: z.ZodString;
6408
- name: z.ZodString;
6409
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6410
- topicCount: z.ZodOptional<z.ZodNumber>;
6411
- createdAt: z.ZodString;
6412
- updatedAt: z.ZodString;
6413
- }, "strip", z.ZodTypeAny, {
6414
- id: string;
6415
- createdAt: string;
6416
- name: string;
6417
- updatedAt: string;
6418
- description?: string | null | undefined;
6419
- topicCount?: number | undefined;
6420
- }, {
6421
- id: string;
6422
- createdAt: string;
6423
- name: string;
6424
- updatedAt: string;
6425
- description?: string | null | undefined;
6426
- topicCount?: number | undefined;
6427
- }>>;
6428
- /**
6429
- *
6430
- * @typedef {Community} community
6431
- * @property {string} - Unique identifier for the community
6432
- * @property {string} - Community name
6433
- * @property {string} - Community description
6434
- * @property {number} - Number of topics in this community
6435
- * @property {string} - Creation timestamp
6436
- * @property {string} - Last update timestamp
6437
- */
6438
- type Community = z.infer<typeof community>;
6439
-
6440
- /**
6441
- * The shape of the model inside the application code - what the users use
8208
+ * Zod schema for the ListCommunitiesOkResponsePagination model.
8209
+ * Defines the structure and validation rules for this data type.
8210
+ * This is the shape used in application code - what developers interact with.
6442
8211
  */
6443
8212
  declare const listCommunitiesOkResponsePagination: z.ZodLazy<z.ZodObject<{
6444
8213
  limit: z.ZodOptional<z.ZodNumber>;
@@ -6463,7 +8232,9 @@ declare const listCommunitiesOkResponsePagination: z.ZodLazy<z.ZodObject<{
6463
8232
  type ListCommunitiesOkResponsePagination = z.infer<typeof listCommunitiesOkResponsePagination>;
6464
8233
 
6465
8234
  /**
6466
- * The shape of the model inside the application code - what the users use
8235
+ * Zod schema for the Memory model.
8236
+ * Defines the structure and validation rules for this data type.
8237
+ * This is the shape used in application code - what developers interact with.
6467
8238
  */
6468
8239
  declare const memory: z.ZodLazy<z.ZodObject<{
6469
8240
  id: z.ZodString;
@@ -6520,7 +8291,9 @@ declare const memory: z.ZodLazy<z.ZodObject<{
6520
8291
  type Memory = z.infer<typeof memory>;
6521
8292
 
6522
8293
  /**
6523
- * The shape of the model inside the application code - what the users use
8294
+ * Zod schema for the Topic model.
8295
+ * Defines the structure and validation rules for this data type.
8296
+ * This is the shape used in application code - what developers interact with.
6524
8297
  */
6525
8298
  declare const topic: z.ZodLazy<z.ZodObject<{
6526
8299
  name: z.ZodString;
@@ -6540,6 +8313,45 @@ declare const topic: z.ZodLazy<z.ZodObject<{
6540
8313
  */
6541
8314
  type Topic = z.infer<typeof topic>;
6542
8315
 
8316
+ /**
8317
+ * Zod schema for the Community model.
8318
+ * Defines the structure and validation rules for this data type.
8319
+ * This is the shape used in application code - what developers interact with.
8320
+ */
8321
+ declare const community: z.ZodLazy<z.ZodObject<{
8322
+ id: z.ZodString;
8323
+ name: z.ZodString;
8324
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8325
+ topicCount: z.ZodOptional<z.ZodNumber>;
8326
+ createdAt: z.ZodString;
8327
+ updatedAt: z.ZodString;
8328
+ }, "strip", z.ZodTypeAny, {
8329
+ id: string;
8330
+ createdAt: string;
8331
+ name: string;
8332
+ updatedAt: string;
8333
+ description?: string | null | undefined;
8334
+ topicCount?: number | undefined;
8335
+ }, {
8336
+ id: string;
8337
+ createdAt: string;
8338
+ name: string;
8339
+ updatedAt: string;
8340
+ description?: string | null | undefined;
8341
+ topicCount?: number | undefined;
8342
+ }>>;
8343
+ /**
8344
+ *
8345
+ * @typedef {Community} community
8346
+ * @property {string} - Unique identifier for the community
8347
+ * @property {string} - Community name
8348
+ * @property {string} - Community description
8349
+ * @property {number} - Number of topics in this community
8350
+ * @property {string} - Creation timestamp
8351
+ * @property {string} - Last update timestamp
8352
+ */
8353
+ type Community = z.infer<typeof community>;
8354
+
6543
8355
  declare class Error$1 extends ThrowableError {
6544
8356
  message: string;
6545
8357
  protected response?: unknown;
@@ -6569,4 +8381,4 @@ declare class Memnexus {
6569
8381
  set token(token: string);
6570
8382
  }
6571
8383
 
6572
- export { AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityRequest, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsRequest, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DataMemory, DetectCommunitiesRequest, DetectPatternsRequest, DiscoverRelatedTopicsRequest, Entity, Environment, Error$1 as Error, EvaluateFeatureFlagRequest, EventTimeRange, ExecuteGraphRagQueryOkResponse, Explanation, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetCommunityByIdOkResponse, GetConversationMemoriesOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetMemoryResponse, GetRelatedMemoriesOkResponse, GetRelatedMemoriesOkResponseData, GetSimilarMemoriesOkResponse, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, IngestionTimeRange, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType1, MemoryMemoryType2, MemoryMemoryType3, MemoryMemoryType4, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesRequest, RecordPatternFeedbackRequest, RelatedMemoryResult, RelatedMemoryResultMemory, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchMethod, SearchRequest, SearchRequestMemoryType, SearchResponse, SearchResponsePagination, SearchResult, SearchResultMemory, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMetadata, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternRequest, ValidationOptions };
8384
+ export { Analysis, AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsOkResponse, AnalyzePatternsOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityOkResponse, CalculateTopicSimilarityOkResponseData, CalculateTopicSimilarityRequest, ClusterTopicsOkResponse, ClusterTopicsOkResponseData, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsOkResponse, CompilePatternsRequest, Confidence, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DataMemory, DataStatus, DebugUserOkResponse, DebugUserOkResponseData, DetectCommunitiesOkResponse, DetectCommunitiesOkResponseData, DetectCommunitiesRequest, DetectPatternsOkResponse, DetectPatternsOkResponseData, DetectPatternsRequest, DiscoverRelatedTopicsOkResponse, DiscoverRelatedTopicsRequest, Entity, Environment, Error$1 as Error, EvaluateFeatureFlagOkResponse, EvaluateFeatureFlagOkResponseData, EvaluateFeatureFlagRequest, EventTimeRange, ExecuteGraphRagQueryOkResponse, ExplainGraphRagQueryOkResponse, Explanation, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsOkResponse, FindSimilarTopicsOkResponseData, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetBehavioralStateOkResponse, GetCommunityByIdOkResponse, GetContextStatusOkResponse, GetConversationMemoriesOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetFeatureFlagsOkResponse, GetMemoryResponse, GetRelatedMemoriesOkResponse, GetRelatedMemoriesOkResponseData, GetSimilarMemoriesOkResponse, GetSystemHealthOkResponse, GetSystemHealthOkResponseData, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, IngestionTimeRange, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType1, MemoryMemoryType2, MemoryMemoryType3, MemoryMemoryType4, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsOkResponse, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesOkResponse, QueryCommunitiesRequest, RecordPatternFeedbackOkResponse, RecordPatternFeedbackRequest, RelatedMemoryResult, RelatedMemoryResultMemory, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchMethod, SearchRequest, SearchRequestMemoryType, SearchResponse, SearchResponsePagination, SearchResult, SearchResultMemory, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMetadata, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateOkResponse, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternOkResponse, UpdatePatternRequest, ValidationOptions };