@operla-ai/sdk 0.2.0 → 0.3.1

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.
@@ -1,13 +1,128 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Organizations = exports.Entities = exports.Conversations = void 0;
4
+ exports.Organizations = exports.Kb = exports.Entities = exports.Conversations = exports.Agents = void 0;
5
5
  const client_gen_js_1 = require("./client.gen.js");
6
+ class Agents {
7
+ /**
8
+ * List agents
9
+ *
10
+ * Returns every agent in the catalog. The response omits the resolved config and draft — fetch a single agent to get them.
11
+ */
12
+ static list(options) {
13
+ return (options?.client ?? client_gen_js_1.client).get({
14
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
15
+ url: '/agents',
16
+ ...options
17
+ });
18
+ }
19
+ /**
20
+ * Create a specialist agent
21
+ *
22
+ * Creates a new specialist agent. The machine name is derived from the label (slugified, prefixed with `specialist_`). Core agents (orchestrator, response, …) are bootstrapped by the engine and cannot be created via the SDK.
23
+ */
24
+ static create(options) {
25
+ return (options?.client ?? client_gen_js_1.client).post({
26
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
27
+ url: '/agents',
28
+ ...options,
29
+ headers: {
30
+ 'Content-Type': 'application/json',
31
+ ...options?.headers
32
+ }
33
+ });
34
+ }
35
+ /**
36
+ * Delete a specialist agent
37
+ *
38
+ * Hard-delete and irreversible. Any intent currently routed to this agent is rebased to the response agent. Only `specialist_*` agents can be deleted — core agents are protected.
39
+ */
40
+ static delete(options) {
41
+ return (options.client ?? client_gen_js_1.client).delete({
42
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
43
+ url: '/agents/{name}',
44
+ ...options
45
+ });
46
+ }
47
+ /**
48
+ * Get an agent
49
+ *
50
+ * Returns the agent's resolved config at the caller's scope, plus the local draft if any.
51
+ */
52
+ static get(options) {
53
+ return (options.client ?? client_gen_js_1.client).get({
54
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
55
+ url: '/agents/{name}',
56
+ ...options
57
+ });
58
+ }
59
+ /**
60
+ * Update an agent
61
+ *
62
+ * Applies the provided fields to the agent's draft at the caller's scope, creating the draft if none exists. At organization or entity scope, the override itself is auto-created on the first update — no separate creation step needed. Set `publish: true` to immediately promote the draft (a version snapshot is still archived so rollback remains possible).
63
+ */
64
+ static update(options) {
65
+ return (options.client ?? client_gen_js_1.client).put({
66
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
67
+ url: '/agents/{name}',
68
+ ...options,
69
+ headers: {
70
+ 'Content-Type': 'application/json',
71
+ ...options.headers
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Delete an agent override
77
+ *
78
+ * Removes the agent's override at the caller's scope, along with its draft and version history.
79
+ */
80
+ static deleteOverride(options) {
81
+ return (options.client ?? client_gen_js_1.client).delete({
82
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
83
+ url: '/agents/{name}/overrides',
84
+ ...options
85
+ });
86
+ }
87
+ /**
88
+ * Publish an agent draft
89
+ *
90
+ * Promotes the current draft at the caller's scope to published, archiving the previous version.
91
+ */
92
+ static publish(options) {
93
+ return (options.client ?? client_gen_js_1.client).post({
94
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
95
+ url: '/agents/{name}/publish',
96
+ ...options,
97
+ headers: {
98
+ 'Content-Type': 'application/json',
99
+ ...options.headers
100
+ }
101
+ });
102
+ }
103
+ /**
104
+ * Rollback an agent to a previous version
105
+ *
106
+ * Restores a previously archived version as the new published. The current published is archived first.
107
+ */
108
+ static rollback(options) {
109
+ return (options.client ?? client_gen_js_1.client).post({
110
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
111
+ url: '/agents/{name}/rollback',
112
+ ...options,
113
+ headers: {
114
+ 'Content-Type': 'application/json',
115
+ ...options.headers
116
+ }
117
+ });
118
+ }
119
+ }
120
+ exports.Agents = Agents;
6
121
  class Conversations {
7
122
  /**
8
123
  * List conversations
9
124
  *
10
- * Returns a paginated list of conversations visible to the caller. Admin API keys see every conversation; organization-scoped keys only see their own organization's. The response omits the message thread — fetch a single conversation to get the full thread.
125
+ * Returns conversations visible to the caller. The response omits the message thread and the custom user `data` — fetch a single conversation to get the full payload.
11
126
  */
12
127
  static list(options) {
13
128
  return (options?.client ?? client_gen_js_1.client).get({
@@ -19,7 +134,7 @@ class Conversations {
19
134
  /**
20
135
  * Get a conversation by ID
21
136
  *
22
- * Returns the full conversation, including the complete message thread. Returns 404 if the conversation doesn't exist or isn't visible to the caller.
137
+ * Returns the full conversation, including the complete message thread.
23
138
  */
24
139
  static get(options) {
25
140
  return (options.client ?? client_gen_js_1.client).get({
@@ -31,7 +146,7 @@ class Conversations {
31
146
  /**
32
147
  * Send a conversation message
33
148
  *
34
- * Processes a user message. On the first call (no `conversationId`), a new conversation is created and returned. On subsequent calls, pass the `conversationId` to continue the same conversation. The response includes the AI answer, the resolved entity, and the organization the conversation was attached to (derived from the API key or `X-Organization-Id` header for admin keys).
149
+ * Processes a user message through the AI pipeline. Omit `conversationId` on the first call — a new conversation is created and its ID is returned to pass back on subsequent messages.
35
150
  */
36
151
  static sendMessage(options) {
37
152
  return (options?.client ?? client_gen_js_1.client).post({
@@ -47,7 +162,7 @@ class Conversations {
47
162
  /**
48
163
  * Validate a pending response
49
164
  *
50
- * Approves an AI response that is awaiting human validation. Pending actions are executed and the response is recorded as validated. Pass `editedContent` to record an edited version of the response — the original AI content is preserved on the conversation for analytics.
165
+ * Approves an AI response awaiting human validation: pending actions run and the response is marked validated. Pass `editedContent` to record an edited version — the original AI content is preserved for analytics.
51
166
  */
52
167
  static validateResponse(options) {
53
168
  return (options.client ?? client_gen_js_1.client).post({
@@ -60,13 +175,29 @@ class Conversations {
60
175
  }
61
176
  });
62
177
  }
178
+ /**
179
+ * Append a message to a conversation
180
+ *
181
+ * Appends a message to the thread without triggering the AI. Use this for operator replies or out-of-band context. For user messages that should be processed, use [`sendMessage`](#tag/conversations/POST/conversations/messages) instead.
182
+ */
183
+ static appendMessage(options) {
184
+ return (options.client ?? client_gen_js_1.client).post({
185
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
186
+ url: '/conversations/{conversationId}/messages',
187
+ ...options,
188
+ headers: {
189
+ 'Content-Type': 'application/json',
190
+ ...options.headers
191
+ }
192
+ });
193
+ }
63
194
  }
64
195
  exports.Conversations = Conversations;
65
196
  class Entities {
66
197
  /**
67
198
  * List entities
68
199
  *
69
- * Returns every entity visible to the authenticated caller. If organizations are enabled, scoped API keys only see entities in their org. Admin keys and admin users can filter by `organizationId`.
200
+ * Returns entities visible to the caller. The response omits `metadata` — fetch a single entity to get it.
70
201
  */
71
202
  static list(options) {
72
203
  return (options?.client ?? client_gen_js_1.client).get({
@@ -78,7 +209,7 @@ class Entities {
78
209
  /**
79
210
  * Create an entity
80
211
  *
81
- * Creates a new entity within the caller's organization (or at the root if organizations are not enabled). `metadata` is free-form and must conform to the `entitySchema` you declared.
212
+ * Creates a new entity. `metadata` is free-form and must conform to the `entitySchema` you declared.
82
213
  */
83
214
  static create(options) {
84
215
  return (options?.client ?? client_gen_js_1.client).post({
@@ -94,7 +225,7 @@ class Entities {
94
225
  /**
95
226
  * Delete an entity
96
227
  *
97
- * Hard delete and irreversible — conversations and entity-scoped configs (KB articles, prompts, rules) tied to this entity will be orphaned (not cascaded).
228
+ * Hard delete and irreversible — conversations and entity-scoped configurations attached to this entity will be orphaned (not cascaded).
98
229
  */
99
230
  static delete(options) {
100
231
  return (options.client ?? client_gen_js_1.client).delete({
@@ -106,7 +237,7 @@ class Entities {
106
237
  /**
107
238
  * Get entity by ID
108
239
  *
109
- * Fetch a single entity by ID. Returns 404 if the entity doesn't exist or isn't visible to the caller.
240
+ * Returns a single entity by ID.
110
241
  */
111
242
  static get(options) {
112
243
  return (options.client ?? client_gen_js_1.client).get({
@@ -118,7 +249,7 @@ class Entities {
118
249
  /**
119
250
  * Update an entity
120
251
  *
121
- * Partial update. Only the fields present in the body are modified. Returns the updated entity.
252
+ * Applies the provided fields to the entity. Only the fields present in the body are modified.
122
253
  */
123
254
  static update(options) {
124
255
  return (options.client ?? client_gen_js_1.client).put({
@@ -133,11 +264,110 @@ class Entities {
133
264
  }
134
265
  }
135
266
  exports.Entities = Entities;
267
+ class Kb {
268
+ /**
269
+ * List KB articles
270
+ *
271
+ * Returns articles visible at the caller's scope. The response omits the article body — fetch a single article to get the full content.
272
+ */
273
+ static list(options) {
274
+ return (options?.client ?? client_gen_js_1.client).get({
275
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
276
+ url: '/kb',
277
+ ...options
278
+ });
279
+ }
280
+ /**
281
+ * Create a KB article
282
+ *
283
+ * Creates a new article at the caller's scope, published immediately as v1.
284
+ */
285
+ static create(options) {
286
+ return (options?.client ?? client_gen_js_1.client).post({
287
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
288
+ url: '/kb',
289
+ ...options,
290
+ headers: {
291
+ 'Content-Type': 'application/json',
292
+ ...options?.headers
293
+ }
294
+ });
295
+ }
296
+ /**
297
+ * Delete a KB article
298
+ *
299
+ * Hard delete and irreversible — removes the article and its version history.
300
+ */
301
+ static delete(options) {
302
+ return (options.client ?? client_gen_js_1.client).delete({
303
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
304
+ url: '/kb/{id}',
305
+ ...options
306
+ });
307
+ }
308
+ /**
309
+ * Get a KB article
310
+ *
311
+ * Returns the full article (published + draft if any).
312
+ */
313
+ static get(options) {
314
+ return (options.client ?? client_gen_js_1.client).get({
315
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
316
+ url: '/kb/{id}',
317
+ ...options
318
+ });
319
+ }
320
+ /**
321
+ * Update a KB article
322
+ *
323
+ * Applies the provided fields to the article. Content edits (`title`, `content`) go through the draft workflow — set `publish: true` to promote the draft in the same call. Routing changes (`intents`) bypass the draft.
324
+ */
325
+ static update(options) {
326
+ return (options.client ?? client_gen_js_1.client).put({
327
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
328
+ url: '/kb/{id}',
329
+ ...options,
330
+ headers: {
331
+ 'Content-Type': 'application/json',
332
+ ...options.headers
333
+ }
334
+ });
335
+ }
336
+ /**
337
+ * Publish a KB article draft
338
+ *
339
+ * Promotes the article's current draft to published, archiving the previous version.
340
+ */
341
+ static publish(options) {
342
+ return (options.client ?? client_gen_js_1.client).post({
343
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
344
+ url: '/kb/{id}/publish',
345
+ ...options
346
+ });
347
+ }
348
+ /**
349
+ * Rollback a KB article to a previous version
350
+ *
351
+ * Restores a previously archived version as the new published. The current published is archived first.
352
+ */
353
+ static rollback(options) {
354
+ return (options.client ?? client_gen_js_1.client).post({
355
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
356
+ url: '/kb/{id}/rollback',
357
+ ...options,
358
+ headers: {
359
+ 'Content-Type': 'application/json',
360
+ ...options.headers
361
+ }
362
+ });
363
+ }
364
+ }
365
+ exports.Kb = Kb;
136
366
  class Organizations {
137
367
  /**
138
368
  * List organizations
139
369
  *
140
- * Returns every organization in your deployment. Only admin API keys and admin users can list organizations — scoped keys always get a 403 here.
370
+ * Returns every organization in your deployment. Admin keys only. The response omits `metadata` — fetch a single organization to get it.
141
371
  */
142
372
  static list(options) {
143
373
  return (options?.client ?? client_gen_js_1.client).get({
@@ -149,7 +379,7 @@ class Organizations {
149
379
  /**
150
380
  * Create an organization
151
381
  *
152
- * Creates a new organization and returns a freshly-minted scoped API key for it. **The key is shown only once — store it immediately**, you won't be able to retrieve it again (only a non-sensitive prefix is persisted for identification).
382
+ * Creates a new organization and returns a freshly-minted scoped API key for it. **The key is shown only once — store it immediately**, you won't be able to retrieve it again.
153
383
  */
154
384
  static create(options) {
155
385
  return (options?.client ?? client_gen_js_1.client).post({
@@ -165,7 +395,7 @@ class Organizations {
165
395
  /**
166
396
  * Delete an organization
167
397
  *
168
- * Hard delete and irreversible — linked users, entities, API keys and conversations become orphaned (not cascaded), and users scoped to this organization lose login access.
398
+ * Hard delete and irreversible. Linked users, entities, API keys and conversations are orphaned (not cascaded). Users scoped to this organization lose login access.
169
399
  */
170
400
  static delete(options) {
171
401
  return (options.client ?? client_gen_js_1.client).delete({
@@ -177,7 +407,7 @@ class Organizations {
177
407
  /**
178
408
  * Get organization by ID
179
409
  *
180
- * Fetch a single organization by ID.
410
+ * Returns a single organization by ID.
181
411
  */
182
412
  static get(options) {
183
413
  return (options.client ?? client_gen_js_1.client).get({
@@ -189,7 +419,7 @@ class Organizations {
189
419
  /**
190
420
  * Update an organization
191
421
  *
192
- * Partial update — only the fields present in the body are modified.
422
+ * Applies the provided fields to the organization. Only the fields present in the body are modified.
193
423
  */
194
424
  static update(options) {
195
425
  return (options.client ?? client_gen_js_1.client).put({
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../src/generated/sdk.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAErD,mDAAyC;AAkBzC,MAAa,aAAa;IACtB;;;;OAIG;IACI,MAAM,CAAC,IAAI,CAAuC,OAAyC;QAC9F,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,sBAAM,CAAC,CAAC,GAAG,CAA0C;YAC5E,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;YACjD,GAAG,EAAE,gBAAgB;YACrB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,GAAG,CAAuC,OAAuC;QAC3F,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,sBAAM,CAAC,CAAC,GAAG,CAAwC;YACzE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;YACjD,GAAG,EAAE,iCAAiC;YACtC,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;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