@eight-atulya/atulya-client 0.8.0

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 (87) hide show
  1. package/README.md +89 -0
  2. package/dist/generated/client/client.gen.d.ts +3 -0
  3. package/dist/generated/client/client.gen.d.ts.map +1 -0
  4. package/dist/generated/client/client.gen.js +233 -0
  5. package/dist/generated/client/client.gen.js.map +1 -0
  6. package/dist/generated/client/index.d.ts +9 -0
  7. package/dist/generated/client/index.d.ts.map +1 -0
  8. package/dist/generated/client/index.js +18 -0
  9. package/dist/generated/client/index.js.map +1 -0
  10. package/dist/generated/client/types.gen.d.ts +118 -0
  11. package/dist/generated/client/types.gen.d.ts.map +1 -0
  12. package/dist/generated/client/types.gen.js +4 -0
  13. package/dist/generated/client/types.gen.js.map +1 -0
  14. package/dist/generated/client/utils.gen.d.ts +34 -0
  15. package/dist/generated/client/utils.gen.d.ts.map +1 -0
  16. package/dist/generated/client/utils.gen.js +245 -0
  17. package/dist/generated/client/utils.gen.js.map +1 -0
  18. package/dist/generated/client.gen.d.ts +13 -0
  19. package/dist/generated/client.gen.d.ts.map +1 -0
  20. package/dist/generated/client.gen.js +7 -0
  21. package/dist/generated/client.gen.js.map +1 -0
  22. package/dist/generated/core/auth.gen.d.ts +19 -0
  23. package/dist/generated/core/auth.gen.d.ts.map +1 -0
  24. package/dist/generated/core/auth.gen.js +19 -0
  25. package/dist/generated/core/auth.gen.js.map +1 -0
  26. package/dist/generated/core/bodySerializer.gen.d.ts +26 -0
  27. package/dist/generated/core/bodySerializer.gen.d.ts.map +1 -0
  28. package/dist/generated/core/bodySerializer.gen.js +61 -0
  29. package/dist/generated/core/bodySerializer.gen.js.map +1 -0
  30. package/dist/generated/core/params.gen.d.ts +44 -0
  31. package/dist/generated/core/params.gen.d.ts.map +1 -0
  32. package/dist/generated/core/params.gen.js +105 -0
  33. package/dist/generated/core/params.gen.js.map +1 -0
  34. package/dist/generated/core/pathSerializer.gen.d.ts +34 -0
  35. package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -0
  36. package/dist/generated/core/pathSerializer.gen.js +124 -0
  37. package/dist/generated/core/pathSerializer.gen.js.map +1 -0
  38. package/dist/generated/core/queryKeySerializer.gen.d.ts +19 -0
  39. package/dist/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
  40. package/dist/generated/core/queryKeySerializer.gen.js +106 -0
  41. package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
  42. package/dist/generated/core/serverSentEvents.gen.d.ts +72 -0
  43. package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -0
  44. package/dist/generated/core/serverSentEvents.gen.js +140 -0
  45. package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
  46. package/dist/generated/core/types.gen.d.ts +79 -0
  47. package/dist/generated/core/types.gen.d.ts.map +1 -0
  48. package/dist/generated/core/types.gen.js +4 -0
  49. package/dist/generated/core/types.gen.js.map +1 -0
  50. package/dist/generated/core/utils.gen.d.ts +20 -0
  51. package/dist/generated/core/utils.gen.d.ts.map +1 -0
  52. package/dist/generated/core/utils.gen.js +94 -0
  53. package/dist/generated/core/utils.gen.js.map +1 -0
  54. package/dist/generated/index.d.ts +3 -0
  55. package/dist/generated/index.d.ts.map +1 -0
  56. package/dist/generated/index.js +19 -0
  57. package/dist/generated/index.js.map +1 -0
  58. package/dist/generated/sdk.gen.d.ts +417 -0
  59. package/dist/generated/sdk.gen.d.ts.map +1 -0
  60. package/dist/generated/sdk.gen.js +608 -0
  61. package/dist/generated/sdk.gen.js.map +1 -0
  62. package/dist/generated/types.gen.d.ts +4147 -0
  63. package/dist/generated/types.gen.d.ts.map +1 -0
  64. package/dist/generated/types.gen.js +4 -0
  65. package/dist/generated/types.gen.js.map +1 -0
  66. package/dist/src/index.d.ts +310 -0
  67. package/dist/src/index.d.ts.map +1 -0
  68. package/dist/src/index.js +518 -0
  69. package/dist/src/index.js.map +1 -0
  70. package/generated/client/client.gen.ts +301 -0
  71. package/generated/client/index.ts +25 -0
  72. package/generated/client/types.gen.ts +242 -0
  73. package/generated/client/utils.gen.ts +337 -0
  74. package/generated/client.gen.ts +23 -0
  75. package/generated/core/auth.gen.ts +42 -0
  76. package/generated/core/bodySerializer.gen.ts +100 -0
  77. package/generated/core/params.gen.ts +176 -0
  78. package/generated/core/pathSerializer.gen.ts +180 -0
  79. package/generated/core/queryKeySerializer.gen.ts +136 -0
  80. package/generated/core/serverSentEvents.gen.ts +264 -0
  81. package/generated/core/types.gen.ts +118 -0
  82. package/generated/core/utils.gen.ts +143 -0
  83. package/generated/index.ts +4 -0
  84. package/generated/sdk.gen.ts +1163 -0
  85. package/generated/types.gen.ts +4560 -0
  86. package/package.json +42 -0
  87. package/src/index.ts +749 -0
@@ -0,0 +1,608 @@
1
+ "use strict";
2
+ // This file is auto-generated by @hey-api/openapi-ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.updateWebhook = exports.deleteWebhook = exports.createWebhook = exports.listWebhooks = exports.triggerConsolidation = exports.updateBankConfig = exports.getBankConfig = exports.resetBankConfig = exports.clearMemoryObservations = exports.clearObservations = exports.createOrUpdateBank = exports.updateBank = exports.deleteBank = exports.addBankBackground = exports.updateBankDisposition = exports.getBankProfile = exports.getOperationStatus = exports.cancelOperation = exports.listOperations = exports.getChunk = exports.listTags = exports.getDocument = exports.deleteDocument = exports.listDocuments = exports.updateDirective = exports.getDirective = exports.deleteDirective = exports.createDirective = exports.listDirectives = exports.refreshMentalModel = exports.getMentalModelHistory = exports.updateMentalModel = exports.getMentalModel = exports.deleteMentalModel = exports.createMentalModel = exports.listMentalModels = exports.regenerateEntityObservations = exports.getEntity = exports.listEntities = exports.getAgentStats = exports.listBanks = exports.reflect = exports.recallMemories = exports.getObservationHistory = exports.getMemory = exports.listMemories = exports.getGraph = exports.metricsEndpointMetricsGet = exports.getVersion = exports.healthEndpointHealthGet = void 0;
5
+ exports.fileRetain = exports.retainMemories = exports.clearBankMemories = exports.listWebhookDeliveries = void 0;
6
+ const client_1 = require("./client");
7
+ const client_gen_1 = require("./client.gen");
8
+ /**
9
+ * Health check endpoint
10
+ *
11
+ * Checks the health of the API and database connection
12
+ */
13
+ const healthEndpointHealthGet = (options) => (options?.client ?? client_gen_1.client).get({ url: "/health", ...options });
14
+ exports.healthEndpointHealthGet = healthEndpointHealthGet;
15
+ /**
16
+ * Get API version and feature flags
17
+ *
18
+ * Returns API version information and enabled feature flags. Use this to check which capabilities are available in this deployment.
19
+ */
20
+ const getVersion = (options) => (options?.client ?? client_gen_1.client).get({
21
+ url: "/version",
22
+ ...options,
23
+ });
24
+ exports.getVersion = getVersion;
25
+ /**
26
+ * Prometheus metrics endpoint
27
+ *
28
+ * Exports metrics in Prometheus format for scraping
29
+ */
30
+ const metricsEndpointMetricsGet = (options) => (options?.client ?? client_gen_1.client).get({ url: "/metrics", ...options });
31
+ exports.metricsEndpointMetricsGet = metricsEndpointMetricsGet;
32
+ /**
33
+ * Get memory graph data
34
+ *
35
+ * Retrieve graph data for visualization, optionally filtered by type (world/experience/opinion).
36
+ */
37
+ const getGraph = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/graph", ...options });
38
+ exports.getGraph = getGraph;
39
+ /**
40
+ * List memory units
41
+ *
42
+ * List memory units with pagination and optional full-text search. Supports filtering by type. Results are sorted by most recent first (mentioned_at DESC, then created_at DESC).
43
+ */
44
+ const listMemories = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/memories/list", ...options });
45
+ exports.listMemories = listMemories;
46
+ /**
47
+ * Get memory unit
48
+ *
49
+ * Get a single memory unit by ID with all its metadata including entities and tags. Note: the 'history' field is deprecated and always returns an empty list - use GET /memories/{memory_id}/history instead.
50
+ */
51
+ const getMemory = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/memories/{memory_id}", ...options });
52
+ exports.getMemory = getMemory;
53
+ /**
54
+ * Get observation history
55
+ *
56
+ * Get the full history of an observation, with each change's source facts resolved to their text.
57
+ */
58
+ const getObservationHistory = (options) => (options.client ?? client_gen_1.client).get({
59
+ url: "/v1/default/banks/{bank_id}/memories/{memory_id}/history",
60
+ ...options,
61
+ });
62
+ exports.getObservationHistory = getObservationHistory;
63
+ /**
64
+ * Recall memory
65
+ *
66
+ * Recall memory using semantic similarity and spreading activation.
67
+ *
68
+ * The type parameter is optional and must be one of:
69
+ * - `world`: General knowledge about people, places, events, and things that happen
70
+ * - `experience`: Memories about experience, conversations, actions taken, and tasks performed
71
+ */
72
+ const recallMemories = (options) => (options.client ?? client_gen_1.client).post({
73
+ url: "/v1/default/banks/{bank_id}/memories/recall",
74
+ ...options,
75
+ headers: {
76
+ "Content-Type": "application/json",
77
+ ...options.headers,
78
+ },
79
+ });
80
+ exports.recallMemories = recallMemories;
81
+ /**
82
+ * Reflect and generate answer
83
+ *
84
+ * Reflect and formulate an answer using bank identity, world facts, and opinions.
85
+ *
86
+ * This endpoint:
87
+ * 1. Retrieves experience (conversations and events)
88
+ * 2. Retrieves world facts relevant to the query
89
+ * 3. Retrieves existing opinions (bank's perspectives)
90
+ * 4. Uses LLM to formulate a contextual answer
91
+ * 5. Returns plain text answer and the facts used
92
+ */
93
+ const reflect = (options) => (options.client ?? client_gen_1.client).post({
94
+ url: "/v1/default/banks/{bank_id}/reflect",
95
+ ...options,
96
+ headers: {
97
+ "Content-Type": "application/json",
98
+ ...options.headers,
99
+ },
100
+ });
101
+ exports.reflect = reflect;
102
+ /**
103
+ * List all memory banks
104
+ *
105
+ * Get a list of all agents with their profiles
106
+ */
107
+ const listBanks = (options) => (options?.client ?? client_gen_1.client).get({ url: "/v1/default/banks", ...options });
108
+ exports.listBanks = listBanks;
109
+ /**
110
+ * Get statistics for memory bank
111
+ *
112
+ * Get statistics about nodes and links for a specific agent
113
+ */
114
+ const getAgentStats = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/stats", ...options });
115
+ exports.getAgentStats = getAgentStats;
116
+ /**
117
+ * List entities
118
+ *
119
+ * List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
120
+ */
121
+ const listEntities = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/entities", ...options });
122
+ exports.listEntities = listEntities;
123
+ /**
124
+ * Get entity details
125
+ *
126
+ * Get detailed information about an entity including observations (mental model).
127
+ */
128
+ const getEntity = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/entities/{entity_id}", ...options });
129
+ exports.getEntity = getEntity;
130
+ /**
131
+ * Regenerate entity observations (deprecated)
132
+ *
133
+ * This endpoint is deprecated. Entity observations have been replaced by mental models.
134
+ *
135
+ * @deprecated
136
+ */
137
+ const regenerateEntityObservations = (options) => (options.client ?? client_gen_1.client).post({
138
+ url: "/v1/default/banks/{bank_id}/entities/{entity_id}/regenerate",
139
+ ...options,
140
+ });
141
+ exports.regenerateEntityObservations = regenerateEntityObservations;
142
+ /**
143
+ * List mental models
144
+ *
145
+ * List user-curated living documents that stay current.
146
+ */
147
+ const listMentalModels = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/mental-models", ...options });
148
+ exports.listMentalModels = listMentalModels;
149
+ /**
150
+ * Create mental model
151
+ *
152
+ * Create a mental model by running reflect with the source query in the background. Returns an operation ID to track progress. The content is auto-generated by the reflect endpoint. Use the operations endpoint to check completion status.
153
+ */
154
+ const createMentalModel = (options) => (options.client ?? client_gen_1.client).post({
155
+ url: "/v1/default/banks/{bank_id}/mental-models",
156
+ ...options,
157
+ headers: {
158
+ "Content-Type": "application/json",
159
+ ...options.headers,
160
+ },
161
+ });
162
+ exports.createMentalModel = createMentalModel;
163
+ /**
164
+ * Delete mental model
165
+ *
166
+ * Delete a mental model.
167
+ */
168
+ const deleteMentalModel = (options) => (options.client ?? client_gen_1.client).delete({
169
+ url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
170
+ ...options,
171
+ });
172
+ exports.deleteMentalModel = deleteMentalModel;
173
+ /**
174
+ * Get mental model
175
+ *
176
+ * Get a specific mental model by ID.
177
+ */
178
+ const getMentalModel = (options) => (options.client ?? client_gen_1.client).get({
179
+ url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
180
+ ...options,
181
+ });
182
+ exports.getMentalModel = getMentalModel;
183
+ /**
184
+ * Update mental model
185
+ *
186
+ * Update a mental model's name and/or source query.
187
+ */
188
+ const updateMentalModel = (options) => (options.client ?? client_gen_1.client).patch({
189
+ url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
190
+ ...options,
191
+ headers: {
192
+ "Content-Type": "application/json",
193
+ ...options.headers,
194
+ },
195
+ });
196
+ exports.updateMentalModel = updateMentalModel;
197
+ /**
198
+ * Get mental model history
199
+ *
200
+ * Get the refresh history of a mental model, showing content changes over time.
201
+ */
202
+ const getMentalModelHistory = (options) => (options.client ?? client_gen_1.client).get({
203
+ url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/history",
204
+ ...options,
205
+ });
206
+ exports.getMentalModelHistory = getMentalModelHistory;
207
+ /**
208
+ * Refresh mental model
209
+ *
210
+ * Submit an async task to re-run the source query through reflect and update the content.
211
+ */
212
+ const refreshMentalModel = (options) => (options.client ?? client_gen_1.client).post({
213
+ url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/refresh",
214
+ ...options,
215
+ });
216
+ exports.refreshMentalModel = refreshMentalModel;
217
+ /**
218
+ * List directives
219
+ *
220
+ * List hard rules that are injected into prompts.
221
+ */
222
+ const listDirectives = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/directives", ...options });
223
+ exports.listDirectives = listDirectives;
224
+ /**
225
+ * Create directive
226
+ *
227
+ * Create a hard rule that will be injected into prompts.
228
+ */
229
+ const createDirective = (options) => (options.client ?? client_gen_1.client).post({
230
+ url: "/v1/default/banks/{bank_id}/directives",
231
+ ...options,
232
+ headers: {
233
+ "Content-Type": "application/json",
234
+ ...options.headers,
235
+ },
236
+ });
237
+ exports.createDirective = createDirective;
238
+ /**
239
+ * Delete directive
240
+ *
241
+ * Delete a directive.
242
+ */
243
+ const deleteDirective = (options) => (options.client ?? client_gen_1.client).delete({
244
+ url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
245
+ ...options,
246
+ });
247
+ exports.deleteDirective = deleteDirective;
248
+ /**
249
+ * Get directive
250
+ *
251
+ * Get a specific directive by ID.
252
+ */
253
+ const getDirective = (options) => (options.client ?? client_gen_1.client).get({
254
+ url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
255
+ ...options,
256
+ });
257
+ exports.getDirective = getDirective;
258
+ /**
259
+ * Update directive
260
+ *
261
+ * Update a directive's properties.
262
+ */
263
+ const updateDirective = (options) => (options.client ?? client_gen_1.client).patch({
264
+ url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
265
+ ...options,
266
+ headers: {
267
+ "Content-Type": "application/json",
268
+ ...options.headers,
269
+ },
270
+ });
271
+ exports.updateDirective = updateDirective;
272
+ /**
273
+ * List documents
274
+ *
275
+ * List documents with pagination and optional search. Documents are the source content from which memory units are extracted.
276
+ */
277
+ const listDocuments = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/documents", ...options });
278
+ exports.listDocuments = listDocuments;
279
+ /**
280
+ * Delete a document
281
+ *
282
+ * Delete a document and all its associated memory units and links.
283
+ *
284
+ * This will cascade delete:
285
+ * - The document itself
286
+ * - All memory units extracted from this document
287
+ * - All links (temporal, semantic, entity) associated with those memory units
288
+ *
289
+ * This operation cannot be undone.
290
+ */
291
+ const deleteDocument = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/documents/{document_id}", ...options });
292
+ exports.deleteDocument = deleteDocument;
293
+ /**
294
+ * Get document details
295
+ *
296
+ * Get a specific document including its original text
297
+ */
298
+ const getDocument = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/documents/{document_id}", ...options });
299
+ exports.getDocument = getDocument;
300
+ /**
301
+ * List tags
302
+ *
303
+ * List all unique tags in a memory bank with usage counts. Supports wildcard search using '*' (e.g., 'user:*', '*-fred', 'tag*-2'). Case-insensitive.
304
+ */
305
+ const listTags = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/tags", ...options });
306
+ exports.listTags = listTags;
307
+ /**
308
+ * Get chunk details
309
+ *
310
+ * Get a specific chunk by its ID
311
+ */
312
+ const getChunk = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/chunks/{chunk_id}", ...options });
313
+ exports.getChunk = getChunk;
314
+ /**
315
+ * List async operations
316
+ *
317
+ * Get a list of async operations for a specific agent, with optional filtering by status and operation type. Results are sorted by most recent first.
318
+ */
319
+ const listOperations = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/operations", ...options });
320
+ exports.listOperations = listOperations;
321
+ /**
322
+ * Cancel a pending async operation
323
+ *
324
+ * Cancel a pending async operation by removing it from the queue
325
+ */
326
+ const cancelOperation = (options) => (options.client ?? client_gen_1.client).delete({
327
+ url: "/v1/default/banks/{bank_id}/operations/{operation_id}",
328
+ ...options,
329
+ });
330
+ exports.cancelOperation = cancelOperation;
331
+ /**
332
+ * Get operation status
333
+ *
334
+ * Get the status of a specific async operation. Returns 'pending', 'completed', or 'failed'. Completed operations are removed from storage, so 'completed' means the operation finished successfully.
335
+ */
336
+ const getOperationStatus = (options) => (options.client ?? client_gen_1.client).get({
337
+ url: "/v1/default/banks/{bank_id}/operations/{operation_id}",
338
+ ...options,
339
+ });
340
+ exports.getOperationStatus = getOperationStatus;
341
+ /**
342
+ * Get memory bank profile
343
+ *
344
+ * Get disposition traits and mission for a memory bank. Auto-creates agent with defaults if not exists.
345
+ *
346
+ * @deprecated
347
+ */
348
+ const getBankProfile = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/profile", ...options });
349
+ exports.getBankProfile = getBankProfile;
350
+ /**
351
+ * Update memory bank disposition
352
+ *
353
+ * Update bank's disposition traits (skepticism, literalism, empathy)
354
+ *
355
+ * @deprecated
356
+ */
357
+ const updateBankDisposition = (options) => (options.client ?? client_gen_1.client).put({
358
+ url: "/v1/default/banks/{bank_id}/profile",
359
+ ...options,
360
+ headers: {
361
+ "Content-Type": "application/json",
362
+ ...options.headers,
363
+ },
364
+ });
365
+ exports.updateBankDisposition = updateBankDisposition;
366
+ /**
367
+ * Add/merge memory bank background (deprecated)
368
+ *
369
+ * Deprecated: Use PUT /mission instead. This endpoint now updates the mission field.
370
+ *
371
+ * @deprecated
372
+ */
373
+ const addBankBackground = (options) => (options.client ?? client_gen_1.client).post({
374
+ url: "/v1/default/banks/{bank_id}/background",
375
+ ...options,
376
+ headers: {
377
+ "Content-Type": "application/json",
378
+ ...options.headers,
379
+ },
380
+ });
381
+ exports.addBankBackground = addBankBackground;
382
+ /**
383
+ * Delete memory bank
384
+ *
385
+ * Delete an entire memory bank including all memories, entities, documents, and the bank profile itself. This is a destructive operation that cannot be undone.
386
+ */
387
+ const deleteBank = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}", ...options });
388
+ exports.deleteBank = deleteBank;
389
+ /**
390
+ * Partial update memory bank
391
+ *
392
+ * Partially update an agent's profile. Only provided fields will be updated.
393
+ */
394
+ const updateBank = (options) => (options.client ?? client_gen_1.client).patch({
395
+ url: "/v1/default/banks/{bank_id}",
396
+ ...options,
397
+ headers: {
398
+ "Content-Type": "application/json",
399
+ ...options.headers,
400
+ },
401
+ });
402
+ exports.updateBank = updateBank;
403
+ /**
404
+ * Create or update memory bank
405
+ *
406
+ * Create a new agent or update existing agent with disposition and mission. Auto-fills missing fields with defaults.
407
+ */
408
+ const createOrUpdateBank = (options) => (options.client ?? client_gen_1.client).put({
409
+ url: "/v1/default/banks/{bank_id}",
410
+ ...options,
411
+ headers: {
412
+ "Content-Type": "application/json",
413
+ ...options.headers,
414
+ },
415
+ });
416
+ exports.createOrUpdateBank = createOrUpdateBank;
417
+ /**
418
+ * Clear all observations
419
+ *
420
+ * Delete all observations for a memory bank. This is useful for resetting the consolidated knowledge.
421
+ */
422
+ const clearObservations = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/observations", ...options });
423
+ exports.clearObservations = clearObservations;
424
+ /**
425
+ * Clear observations for a memory
426
+ *
427
+ * Delete all observations derived from a specific memory and reset it for re-consolidation. The memory itself is not deleted. A consolidation job is triggered automatically so the memory will produce fresh observations on the next consolidation run.
428
+ */
429
+ const clearMemoryObservations = (options) => (options.client ?? client_gen_1.client).delete({
430
+ url: "/v1/default/banks/{bank_id}/memories/{memory_id}/observations",
431
+ ...options,
432
+ });
433
+ exports.clearMemoryObservations = clearMemoryObservations;
434
+ /**
435
+ * Reset bank configuration
436
+ *
437
+ * Reset bank configuration to defaults by removing all bank-specific overrides. The bank will then use global and tenant-level configuration only.
438
+ */
439
+ const resetBankConfig = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/config", ...options });
440
+ exports.resetBankConfig = resetBankConfig;
441
+ /**
442
+ * Get bank configuration
443
+ *
444
+ * Get fully resolved configuration for a bank including all hierarchical overrides (global → tenant → bank). The 'config' field contains all resolved config values. The 'overrides' field shows only bank-specific overrides.
445
+ */
446
+ const getBankConfig = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/config", ...options });
447
+ exports.getBankConfig = getBankConfig;
448
+ /**
449
+ * Update bank configuration
450
+ *
451
+ * Update configuration overrides for a bank. Only hierarchical fields can be overridden (LLM settings, retention parameters, etc.). Keys can be provided in Python field format (llm_provider) or environment variable format (ATULYA_API_LLM_PROVIDER).
452
+ */
453
+ const updateBankConfig = (options) => (options.client ?? client_gen_1.client).patch({
454
+ url: "/v1/default/banks/{bank_id}/config",
455
+ ...options,
456
+ headers: {
457
+ "Content-Type": "application/json",
458
+ ...options.headers,
459
+ },
460
+ });
461
+ exports.updateBankConfig = updateBankConfig;
462
+ /**
463
+ * Trigger consolidation
464
+ *
465
+ * Run memory consolidation to create/update observations from recent memories.
466
+ */
467
+ const triggerConsolidation = (options) => (options.client ?? client_gen_1.client).post({ url: "/v1/default/banks/{bank_id}/consolidate", ...options });
468
+ exports.triggerConsolidation = triggerConsolidation;
469
+ /**
470
+ * List webhooks
471
+ *
472
+ * List all webhooks registered for a bank.
473
+ */
474
+ const listWebhooks = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/webhooks", ...options });
475
+ exports.listWebhooks = listWebhooks;
476
+ /**
477
+ * Register webhook
478
+ *
479
+ * Register a webhook endpoint to receive event notifications for this bank.
480
+ */
481
+ const createWebhook = (options) => (options.client ?? client_gen_1.client).post({
482
+ url: "/v1/default/banks/{bank_id}/webhooks",
483
+ ...options,
484
+ headers: {
485
+ "Content-Type": "application/json",
486
+ ...options.headers,
487
+ },
488
+ });
489
+ exports.createWebhook = createWebhook;
490
+ /**
491
+ * Delete webhook
492
+ *
493
+ * Remove a registered webhook.
494
+ */
495
+ const deleteWebhook = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}", ...options });
496
+ exports.deleteWebhook = deleteWebhook;
497
+ /**
498
+ * Update webhook
499
+ *
500
+ * Update one or more fields of a registered webhook. Only provided fields are changed.
501
+ */
502
+ const updateWebhook = (options) => (options.client ?? client_gen_1.client).patch({
503
+ url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}",
504
+ ...options,
505
+ headers: {
506
+ "Content-Type": "application/json",
507
+ ...options.headers,
508
+ },
509
+ });
510
+ exports.updateWebhook = updateWebhook;
511
+ /**
512
+ * List webhook deliveries
513
+ *
514
+ * Inspect delivery history for a webhook (useful for debugging).
515
+ */
516
+ const listWebhookDeliveries = (options) => (options.client ?? client_gen_1.client).get({
517
+ url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}/deliveries",
518
+ ...options,
519
+ });
520
+ exports.listWebhookDeliveries = listWebhookDeliveries;
521
+ /**
522
+ * Clear memory bank memories
523
+ *
524
+ * Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
525
+ */
526
+ const clearBankMemories = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/memories", ...options });
527
+ exports.clearBankMemories = clearBankMemories;
528
+ /**
529
+ * Retain memories
530
+ *
531
+ * Retain memory items with automatic fact extraction.
532
+ *
533
+ * This is the main endpoint for storing memories. It supports both synchronous and asynchronous processing via the `async` parameter.
534
+ *
535
+ * **Features:**
536
+ * - Efficient batch processing
537
+ * - Automatic fact extraction from natural language
538
+ * - Entity recognition and linking
539
+ * - Document tracking with automatic upsert (when document_id is provided)
540
+ * - Temporal and semantic linking
541
+ * - Optional asynchronous processing
542
+ *
543
+ * **The system automatically:**
544
+ * 1. Extracts semantic facts from the content
545
+ * 2. Generates embeddings
546
+ * 3. Deduplicates similar facts
547
+ * 4. Creates temporal, semantic, and entity links
548
+ * 5. Tracks document metadata
549
+ *
550
+ * **When `async=true`:** Returns immediately after queuing. Use the operations endpoint to monitor progress.
551
+ *
552
+ * **When `async=false` (default):** Waits for processing to complete.
553
+ *
554
+ * **Note:** If a memory item has a `document_id` that already exists, the old document and its memory units will be deleted before creating new ones (upsert behavior).
555
+ */
556
+ const retainMemories = (options) => (options.client ?? client_gen_1.client).post({
557
+ url: "/v1/default/banks/{bank_id}/memories",
558
+ ...options,
559
+ headers: {
560
+ "Content-Type": "application/json",
561
+ ...options.headers,
562
+ },
563
+ });
564
+ exports.retainMemories = retainMemories;
565
+ /**
566
+ * Convert files to memories
567
+ *
568
+ * Upload files (PDF, DOCX, etc.), convert them to markdown, and retain as memories.
569
+ *
570
+ * This endpoint handles file upload, conversion, and memory creation in a single operation.
571
+ *
572
+ * **Features:**
573
+ * - Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription)
574
+ * - Automatic file-to-markdown conversion using pluggable parsers
575
+ * - Files stored in object storage (PostgreSQL by default, S3 for production)
576
+ * - Each file becomes a separate document with optional metadata/tags
577
+ * - Always processes asynchronously — returns operation IDs immediately
578
+ *
579
+ * **The system automatically:**
580
+ * 1. Stores uploaded files in object storage
581
+ * 2. Converts files to markdown
582
+ * 3. Creates document records with file metadata
583
+ * 4. Extracts facts and creates memory units (same as regular retain)
584
+ *
585
+ * Use the operations endpoint to monitor progress.
586
+ *
587
+ * **Request format:** multipart/form-data with:
588
+ * - `files`: One or more files to upload
589
+ * - `request`: JSON string with FileRetainRequest model
590
+ *
591
+ * **Parser selection:**
592
+ * - Set `parser` in the request body to override the server default for all files.
593
+ * - Set `parser` inside a `files_metadata` entry for per-file control.
594
+ * - Pass a list (e.g. `['iris', 'markitdown']`) to define an ordered fallback chain — each parser is tried in sequence until one succeeds.
595
+ * - Falls back to the server default (`ATULYA_API_FILE_PARSER`) if not specified.
596
+ * - Only parsers enabled on the server may be requested; others return HTTP 400.
597
+ */
598
+ const fileRetain = (options) => (options.client ?? client_gen_1.client).post({
599
+ ...client_1.formDataBodySerializer,
600
+ url: "/v1/default/banks/{bank_id}/files/retain",
601
+ ...options,
602
+ headers: {
603
+ "Content-Type": null,
604
+ ...options.headers,
605
+ },
606
+ });
607
+ exports.fileRetain = fileRetain;
608
+ //# sourceMappingURL=sdk.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../generated/sdk.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;AAErD,qCAKkB;AAClB,6CAAsC;AAoLtC;;;;GAIG;AACI,MAAM,uBAAuB,GAAG,CACrC,OAA4D,EAC5D,EAAE,CACF,CAAC,OAAO,EAAE,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAI7B,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAPvB,QAAA,uBAAuB,2BAOA;AAEpC;;;;GAIG;AACI,MAAM,UAAU,GA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