@operla-ai/sdk 0.5.0 → 1.0.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.
@@ -1,3 +1,3 @@
1
- export { Agents, Conversations, Entities, Intents, Kb, type Options, Organizations } from './sdk.gen.js';
2
- export type { AppendMessageData, AppendMessageError, AppendMessageErrors, AppendMessageResponse, AppendMessageResponses, ClientOptions, Create2Data, Create2Error, Create2Errors, Create2Response, Create2Responses, Create3Data, Create3Error, Create3Errors, Create3Response, Create3Responses, Create4Data, Create4Error, Create4Errors, Create4Response, Create4Responses, Create5Data, Create5Error, Create5Errors, Create5Response, Create5Responses, Create6Data, Create6Error, Create6Errors, Create6Response, Create6Responses, CreateData, CreateError, CreateErrors, CreateManyData, CreateManyError, CreateManyErrors, CreateManyResponse, CreateManyResponses, CreateResponse, CreateResponses, Delete2Data, Delete2Error, Delete2Errors, Delete2Response, Delete2Responses, Delete3Data, Delete3Error, Delete3Errors, Delete3Response, Delete3Responses, Delete4Data, Delete4Error, Delete4Errors, Delete4Response, Delete4Responses, Delete5Data, Delete5Error, Delete5Errors, Delete5Response, Delete5Responses, Delete6Data, Delete6Error, Delete6Errors, Delete6Response, Delete6Responses, DeleteData, DeleteError, DeleteErrors, DeleteOverride2Data, DeleteOverride2Error, DeleteOverride2Errors, DeleteOverride2Response, DeleteOverride2Responses, DeleteOverrideData, DeleteOverrideError, DeleteOverrideErrors, DeleteOverrideResponse, DeleteOverrideResponses, DeleteResponse, DeleteResponses, Get2Data, Get2Error, Get2Errors, Get2Response, Get2Responses, Get3Data, Get3Error, Get3Errors, Get3Response, Get3Responses, Get4Data, Get4Error, Get4Errors, Get4Response, Get4Responses, Get5Data, Get5Error, Get5Errors, Get5Response, Get5Responses, Get6Data, Get6Error, Get6Errors, Get6Response, Get6Responses, GetData, GetError, GetErrors, GetResponse, GetResponses, List2Data, List2Error, List2Errors, List2Response, List2Responses, List3Data, List3Error, List3Errors, List3Response, List3Responses, List4Data, List4Error, List4Errors, List4Response, List4Responses, List5Data, List5Error, List5Errors, List5Response, List5Responses, List6Data, List6Error, List6Errors, List6Response, List6Responses, ListData, ListError, ListErrors, ListResponse, ListResponses, Publish2Data, Publish2Error, Publish2Errors, Publish2Response, Publish2Responses, PublishData, PublishError, PublishErrors, PublishResponse, PublishResponses, Rollback2Data, Rollback2Error, Rollback2Errors, Rollback2Response, Rollback2Responses, RollbackData, RollbackError, RollbackErrors, RollbackResponse, RollbackResponses, SendMessageData, SendMessageError, SendMessageErrors, SendMessageResponse, SendMessageResponses, SimulateData, SimulateError, SimulateErrors, SimulateResponse, SimulateResponses, Update2Data, Update2Error, Update2Errors, Update2Response, Update2Responses, Update3Data, Update3Error, Update3Errors, Update3Response, Update3Responses, Update4Data, Update4Error, Update4Errors, Update4Response, Update4Responses, Update5Data, Update5Error, Update5Errors, Update5Response, Update5Responses, UpdateData, UpdateError, UpdateErrors, UpdateResponse, UpdateResponses, ValidateResponseData, ValidateResponseError, ValidateResponseErrors, ValidateResponseResponse, ValidateResponseResponses } from './types.gen.js';
1
+ export { Actions, Agents, Conversations, Entities, Intents, Kb, type Options, Organizations } from './sdk.gen.js';
2
+ export type { AppendMessageData, AppendMessageError, AppendMessageErrors, AppendMessageResponse, AppendMessageResponses, ClientOptions, Create2Data, Create2Error, Create2Errors, Create2Response, Create2Responses, Create3Data, Create3Error, Create3Errors, Create3Response, Create3Responses, Create4Data, Create4Error, Create4Errors, Create4Response, Create4Responses, Create5Data, Create5Error, Create5Errors, Create5Response, Create5Responses, Create6Data, Create6Error, Create6Errors, Create6Response, Create6Responses, Create7Data, Create7Error, Create7Errors, Create7Response, Create7Responses, CreateData, CreateError, CreateErrors, CreateManyData, CreateManyError, CreateManyErrors, CreateManyResponse, CreateManyResponses, CreateResponse, CreateResponses, Delete2Data, Delete2Error, Delete2Errors, Delete2Response, Delete2Responses, Delete3Data, Delete3Error, Delete3Errors, Delete3Response, Delete3Responses, Delete4Data, Delete4Error, Delete4Errors, Delete4Response, Delete4Responses, Delete5Data, Delete5Error, Delete5Errors, Delete5Response, Delete5Responses, Delete6Data, Delete6Error, Delete6Errors, Delete6Response, Delete6Responses, Delete7Data, Delete7Error, Delete7Errors, Delete7Response, Delete7Responses, DeleteData, DeleteError, DeleteErrors, DeleteOverride2Data, DeleteOverride2Error, DeleteOverride2Errors, DeleteOverride2Response, DeleteOverride2Responses, DeleteOverride3Data, DeleteOverride3Error, DeleteOverride3Errors, DeleteOverride3Response, DeleteOverride3Responses, DeleteOverrideData, DeleteOverrideError, DeleteOverrideErrors, DeleteOverrideResponse, DeleteOverrideResponses, DeleteResponse, DeleteResponses, Get2Data, Get2Error, Get2Errors, Get2Response, Get2Responses, Get3Data, Get3Error, Get3Errors, Get3Response, Get3Responses, Get4Data, Get4Error, Get4Errors, Get4Response, Get4Responses, Get5Data, Get5Error, Get5Errors, Get5Response, Get5Responses, Get6Data, Get6Error, Get6Errors, Get6Response, Get6Responses, Get7Data, Get7Error, Get7Errors, Get7Response, Get7Responses, GetData, GetError, GetErrors, GetResponse, GetResponses, List2Data, List2Error, List2Errors, List2Response, List2Responses, List3Data, List3Error, List3Errors, List3Response, List3Responses, List4Data, List4Error, List4Errors, List4Response, List4Responses, List5Data, List5Error, List5Errors, List5Response, List5Responses, List6Data, List6Error, List6Errors, List6Response, List6Responses, List7Data, List7Error, List7Errors, List7Response, List7Responses, ListData, ListError, ListErrors, ListResponse, ListResponses, Publish2Data, Publish2Error, Publish2Errors, Publish2Response, Publish2Responses, PublishData, PublishError, PublishErrors, PublishResponse, PublishResponses, RejectResponseData, RejectResponseError, RejectResponseErrors, RejectResponseResponse, RejectResponseResponses, Rollback2Data, Rollback2Error, Rollback2Errors, Rollback2Response, Rollback2Responses, RollbackData, RollbackError, RollbackErrors, RollbackResponse, RollbackResponses, SendMessageData, SendMessageError, SendMessageErrors, SendMessageResponse, SendMessageResponses, SimulateData, SimulateError, SimulateErrors, SimulateResponse, SimulateResponses, Update2Data, Update2Error, Update2Errors, Update2Response, Update2Responses, Update3Data, Update3Error, Update3Errors, Update3Response, Update3Responses, Update4Data, Update4Error, Update4Errors, Update4Response, Update4Responses, Update5Data, Update5Error, Update5Errors, Update5Response, Update5Responses, Update6Data, Update6Error, Update6Errors, Update6Response, Update6Responses, UpdateData, UpdateError, UpdateErrors, UpdateResponse, UpdateResponses, ValidateResponseData, ValidateResponseError, ValidateResponseErrors, ValidateResponseResponse, ValidateResponseResponses } from './types.gen.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACzG,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAA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AE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,8 +1,9 @@
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.Kb = exports.Intents = exports.Entities = exports.Conversations = exports.Agents = void 0;
4
+ exports.Organizations = exports.Kb = exports.Intents = exports.Entities = exports.Conversations = exports.Agents = exports.Actions = void 0;
5
5
  var sdk_gen_js_1 = require("./sdk.gen.js");
6
+ Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return sdk_gen_js_1.Actions; } });
6
7
  Object.defineProperty(exports, "Agents", { enumerable: true, get: function () { return sdk_gen_js_1.Agents; } });
7
8
  Object.defineProperty(exports, "Conversations", { enumerable: true, get: function () { return sdk_gen_js_1.Conversations; } });
8
9
  Object.defineProperty(exports, "Entities", { enumerable: true, get: function () { return sdk_gen_js_1.Entities; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAErD,2CAAyG;AAAhG,oGAAA,MAAM,OAAA;AAAE,2GAAA,aAAa,OAAA;AAAE,sGAAA,QAAQ,OAAA;AAAE,qGAAA,OAAO,OAAA;AAAE,gGAAA,EAAE,OAAA;AAAgB,2GAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAErD,2CAAkH;AAAzG,qGAAA,OAAO,OAAA;AAAE,oGAAA,MAAM,OAAA;AAAE,2GAAA,aAAa,OAAA;AAAE,sGAAA,QAAQ,OAAA;AAAE,qGAAA,OAAO,OAAA;AAAE,gGAAA,EAAE,OAAA;AAAgB,2GAAA,aAAa,OAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Client, Options as Options2, TDataShape } from './client/index.js';
2
- import type { AppendMessageData, AppendMessageErrors, AppendMessageResponses, Create2Data, Create2Errors, Create2Responses, Create3Data, Create3Errors, Create3Responses, Create4Data, Create4Errors, Create4Responses, Create5Data, Create5Errors, Create5Responses, Create6Data, Create6Errors, Create6Responses, CreateData, CreateErrors, CreateManyData, CreateManyErrors, CreateManyResponses, CreateResponses, Delete2Data, Delete2Errors, Delete2Responses, Delete3Data, Delete3Errors, Delete3Responses, Delete4Data, Delete4Errors, Delete4Responses, Delete5Data, Delete5Errors, Delete5Responses, Delete6Data, Delete6Errors, Delete6Responses, DeleteData, DeleteErrors, DeleteOverride2Data, DeleteOverride2Errors, DeleteOverride2Responses, DeleteOverrideData, DeleteOverrideErrors, DeleteOverrideResponses, DeleteResponses, Get2Data, Get2Errors, Get2Responses, Get3Data, Get3Errors, Get3Responses, Get4Data, Get4Errors, Get4Responses, Get5Data, Get5Errors, Get5Responses, Get6Data, Get6Errors, Get6Responses, GetData, GetErrors, GetResponses, List2Data, List2Errors, List2Responses, List3Data, List3Errors, List3Responses, List4Data, List4Errors, List4Responses, List5Data, List5Errors, List5Responses, List6Data, List6Errors, List6Responses, ListData, ListErrors, ListResponses, Publish2Data, Publish2Errors, Publish2Responses, PublishData, PublishErrors, PublishResponses, Rollback2Data, Rollback2Errors, Rollback2Responses, RollbackData, RollbackErrors, RollbackResponses, SendMessageData, SendMessageErrors, SendMessageResponses, SimulateData, SimulateErrors, SimulateResponses, Update2Data, Update2Errors, Update2Responses, Update3Data, Update3Errors, Update3Responses, Update4Data, Update4Errors, Update4Responses, Update5Data, Update5Errors, Update5Responses, UpdateData, UpdateErrors, UpdateResponses, ValidateResponseData, ValidateResponseErrors, ValidateResponseResponses } from './types.gen.js';
2
+ import type { AppendMessageData, AppendMessageErrors, AppendMessageResponses, Create2Data, Create2Errors, Create2Responses, Create3Data, Create3Errors, Create3Responses, Create4Data, Create4Errors, Create4Responses, Create5Data, Create5Errors, Create5Responses, Create6Data, Create6Errors, Create6Responses, Create7Data, Create7Errors, Create7Responses, CreateData, CreateErrors, CreateManyData, CreateManyErrors, CreateManyResponses, CreateResponses, Delete2Data, Delete2Errors, Delete2Responses, Delete3Data, Delete3Errors, Delete3Responses, Delete4Data, Delete4Errors, Delete4Responses, Delete5Data, Delete5Errors, Delete5Responses, Delete6Data, Delete6Errors, Delete6Responses, Delete7Data, Delete7Errors, Delete7Responses, DeleteData, DeleteErrors, DeleteOverride2Data, DeleteOverride2Errors, DeleteOverride2Responses, DeleteOverride3Data, DeleteOverride3Errors, DeleteOverride3Responses, DeleteOverrideData, DeleteOverrideErrors, DeleteOverrideResponses, DeleteResponses, Get2Data, Get2Errors, Get2Responses, Get3Data, Get3Errors, Get3Responses, Get4Data, Get4Errors, Get4Responses, Get5Data, Get5Errors, Get5Responses, Get6Data, Get6Errors, Get6Responses, Get7Data, Get7Errors, Get7Responses, GetData, GetErrors, GetResponses, List2Data, List2Errors, List2Responses, List3Data, List3Errors, List3Responses, List4Data, List4Errors, List4Responses, List5Data, List5Errors, List5Responses, List6Data, List6Errors, List6Responses, List7Data, List7Errors, List7Responses, ListData, ListErrors, ListResponses, Publish2Data, Publish2Errors, Publish2Responses, PublishData, PublishErrors, PublishResponses, RejectResponseData, RejectResponseErrors, RejectResponseResponses, Rollback2Data, Rollback2Errors, Rollback2Responses, RollbackData, RollbackErrors, RollbackResponses, SendMessageData, SendMessageErrors, SendMessageResponses, SimulateData, SimulateErrors, SimulateResponses, Update2Data, Update2Errors, Update2Responses, Update3Data, Update3Errors, Update3Responses, Update4Data, Update4Errors, Update4Responses, Update5Data, Update5Errors, Update5Responses, Update6Data, Update6Errors, Update6Responses, UpdateData, UpdateErrors, UpdateResponses, ValidateResponseData, ValidateResponseErrors, ValidateResponseResponses } from './types.gen.js';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -13,43 +13,81 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
13
13
  */
14
14
  meta?: Record<string, unknown>;
15
15
  };
16
+ export declare class Actions {
17
+ /**
18
+ * List actions
19
+ *
20
+ * Returns every action, resolved at the caller's scope.
21
+ */
22
+ static list<ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListResponses, ListErrors, ThrowOnError, "fields">;
23
+ /**
24
+ * Create an action
25
+ *
26
+ * Declares a new action. `webhookUrl` is required and must be https — we refuse private and link-local addresses, both when you save and when we call. `type` is immutable once created.
27
+ */
28
+ static create<ThrowOnError extends boolean = false>(options?: Options<CreateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateResponses, CreateErrors, ThrowOnError, "fields">;
29
+ /**
30
+ * Delete an action
31
+ *
32
+ * Hard-deletes a global action. Forbidden outside global scope — use the override endpoint to drop an organization/entity mode override. Irreversible: past executions in `actions_v1` are kept but the AI can no longer propose this action.
33
+ */
34
+ static delete<ThrowOnError extends boolean = false>(options: Options<DeleteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteResponses, DeleteErrors, ThrowOnError, "fields">;
35
+ /**
36
+ * Get an action
37
+ *
38
+ * Returns a single action, resolved at the caller's scope.
39
+ */
40
+ static get<ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetResponses, GetErrors, ThrowOnError, "fields">;
41
+ /**
42
+ * Update an action
43
+ *
44
+ * At global scope, applies the provided fields — only fields present in the body are modified, and `type` cannot be changed (sending it is a 400). At organization or entity scope, only `mode` is accepted — it sets the scope override, auto-created on the first write. The declaration, its params schema and its webhooks are global-only.
45
+ */
46
+ static update<ThrowOnError extends boolean = false>(options: Options<UpdateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateResponses, UpdateErrors, ThrowOnError, "fields">;
47
+ /**
48
+ * Delete an action mode override
49
+ *
50
+ * Removes the `mode` override at the caller's organization/entity scope, resetting the action to the inherited mode.
51
+ */
52
+ static deleteOverride<ThrowOnError extends boolean = false>(options: Options<DeleteOverrideData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteOverrideResponses, DeleteOverrideErrors, ThrowOnError, "fields">;
53
+ }
16
54
  export declare class Agents {
17
55
  /**
18
56
  * List agents
19
57
  *
20
58
  * Returns every agent in the catalog. The response omits the resolved config and draft — fetch a single agent to get them.
21
59
  */
22
- static list<ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ListResponses, ListErrors, ThrowOnError, "fields">;
60
+ static list<ThrowOnError extends boolean = false>(options?: Options<List2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List2Responses, List2Errors, ThrowOnError, "fields">;
23
61
  /**
24
62
  * Create a specialist agent
25
63
  *
26
64
  * 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.
27
65
  */
28
- static create<ThrowOnError extends boolean = false>(options?: Options<CreateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CreateResponses, CreateErrors, ThrowOnError, "fields">;
66
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create2Responses, Create2Errors, ThrowOnError, "fields">;
29
67
  /**
30
68
  * Delete a specialist agent
31
69
  *
32
70
  * 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.
33
71
  */
34
- static delete<ThrowOnError extends boolean = false>(options: Options<DeleteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteResponses, DeleteErrors, ThrowOnError, "fields">;
72
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete2Responses, Delete2Errors, ThrowOnError, "fields">;
35
73
  /**
36
74
  * Get an agent
37
75
  *
38
76
  * Returns the agent's resolved config at the caller's scope, plus the local draft if any.
39
77
  */
40
- static get<ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetResponses, GetErrors, ThrowOnError, "fields">;
78
+ static get<ThrowOnError extends boolean = false>(options: Options<Get2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get2Responses, Get2Errors, ThrowOnError, "fields">;
41
79
  /**
42
80
  * Update an agent
43
81
  *
44
82
  * 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).
45
83
  */
46
- static update<ThrowOnError extends boolean = false>(options: Options<UpdateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<UpdateResponses, UpdateErrors, ThrowOnError, "fields">;
84
+ static update<ThrowOnError extends boolean = false>(options: Options<Update2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update2Responses, Update2Errors, ThrowOnError, "fields">;
47
85
  /**
48
86
  * Delete an agent override
49
87
  *
50
88
  * Removes the agent's override at the caller's scope, along with its draft and version history.
51
89
  */
52
- static deleteOverride<ThrowOnError extends boolean = false>(options: Options<DeleteOverrideData, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteOverrideResponses, DeleteOverrideErrors, ThrowOnError, "fields">;
90
+ static deleteOverride<ThrowOnError extends boolean = false>(options: Options<DeleteOverride2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteOverride2Responses, DeleteOverride2Errors, ThrowOnError, "fields">;
53
91
  /**
54
92
  * Publish an agent draft
55
93
  *
@@ -69,25 +107,25 @@ export declare class Conversations {
69
107
  *
70
108
  * 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.
71
109
  */
72
- static list<ThrowOnError extends boolean = false>(options?: Options<List2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List2Responses, List2Errors, ThrowOnError, "fields">;
110
+ static list<ThrowOnError extends boolean = false>(options?: Options<List3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List3Responses, List3Errors, ThrowOnError, "fields">;
73
111
  /**
74
112
  * Create a conversation
75
113
  *
76
114
  * Creates a conversation with no messages and no AI processing, and returns it. Use this to seed a thread with [`appendMessage`](#tag/conversations/POST/conversations/{conversationId}/messages) (operator or imported history) before the first AI turn, then call [`sendMessage`](#tag/conversations/POST/conversations/messages) with the returned `conversationId` when you want the AI to respond.
77
115
  */
78
- static create<ThrowOnError extends boolean = false>(options?: Options<Create2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create2Responses, Create2Errors, ThrowOnError, "fields">;
116
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create3Responses, Create3Errors, ThrowOnError, "fields">;
79
117
  /**
80
118
  * Delete a conversation
81
119
  *
82
120
  * Permanently deletes a conversation and every record attached to it (message reviews and actions) — no orphans are left behind. Hard delete and irreversible.
83
121
  */
84
- static delete<ThrowOnError extends boolean = false>(options: Options<Delete2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete2Responses, Delete2Errors, ThrowOnError, "fields">;
122
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete3Responses, Delete3Errors, ThrowOnError, "fields">;
85
123
  /**
86
- * Get a conversation by ID
124
+ * Get a conversation
87
125
  *
88
126
  * Returns the full conversation, including the complete message thread.
89
127
  */
90
- static get<ThrowOnError extends boolean = false>(options: Options<Get2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get2Responses, Get2Errors, ThrowOnError, "fields">;
128
+ static get<ThrowOnError extends boolean = false>(options: Options<Get3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get3Responses, Get3Errors, ThrowOnError, "fields">;
91
129
  /**
92
130
  * Send a conversation message
93
131
  *
@@ -97,9 +135,15 @@ export declare class Conversations {
97
135
  /**
98
136
  * Validate a pending response
99
137
  *
100
- * 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.
138
+ * Approves an AI response awaiting human validation: pending actions run, the response is appended to the conversation thread, and the turn is marked validated. Pass `editedContent` to record an edited version — the original AI content is preserved for analytics.
101
139
  */
102
140
  static validateResponse<ThrowOnError extends boolean = false>(options: Options<ValidateResponseData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ValidateResponseResponses, ValidateResponseErrors, ThrowOnError, "fields">;
141
+ /**
142
+ * Reject a pending response
143
+ *
144
+ * Discards an AI response awaiting human validation: no action runs and the response never reaches the conversation thread. The conversation is marked `escalated`, unless another response is still pending on it. Pass `reason` to record why the response was turned down.
145
+ */
146
+ static rejectResponse<ThrowOnError extends boolean = false>(options: Options<RejectResponseData, ThrowOnError>): import("./client/types.gen.js").RequestResult<RejectResponseResponses, RejectResponseErrors, ThrowOnError, "fields">;
103
147
  /**
104
148
  * Append a message to a conversation
105
149
  *
@@ -109,7 +153,7 @@ export declare class Conversations {
109
153
  /**
110
154
  * Simulate a conversation message
111
155
  *
112
- * Runs a message through the AI pipeline in simulation mode: agents and knowledge-base articles resolve to their **draft** when one exists, and actions are faked instead of executed — no real handler runs. The conversation is flagged as a simulation, so it is excluded from every statistic and from the review queue. Omit `conversationId` on the first call — a new simulated conversation is created and its ID is returned to pass back on subsequent messages.
156
+ * Runs a message through the AI pipeline in simulation mode: agents and knowledge-base articles resolve to their **draft** when one exists, and actions are faked instead of executed — your webhooks are never called. The conversation is flagged as a simulation, so it is excluded from every statistic and from the review queue. Omit `conversationId` on the first call — a new simulated conversation is created and its ID is returned to pass back on subsequent messages.
113
157
  */
114
158
  static simulate<ThrowOnError extends boolean = false>(options?: Options<SimulateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SimulateResponses, SimulateErrors, ThrowOnError, "fields">;
115
159
  }
@@ -119,31 +163,31 @@ export declare class Entities {
119
163
  *
120
164
  * Returns entities visible to the caller. The response omits `metadata` — fetch a single entity to get it.
121
165
  */
122
- static list<ThrowOnError extends boolean = false>(options?: Options<List3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List3Responses, List3Errors, ThrowOnError, "fields">;
166
+ static list<ThrowOnError extends boolean = false>(options?: Options<List4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List4Responses, List4Errors, ThrowOnError, "fields">;
123
167
  /**
124
168
  * Create an entity
125
169
  *
126
170
  * Creates a new entity. `metadata` is free-form and must conform to the `entitySchema` you declared.
127
171
  */
128
- static create<ThrowOnError extends boolean = false>(options?: Options<Create3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create3Responses, Create3Errors, ThrowOnError, "fields">;
172
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create4Responses, Create4Errors, ThrowOnError, "fields">;
129
173
  /**
130
174
  * Delete an entity
131
175
  *
132
176
  * Hard delete and irreversible — conversations and entity-scoped configurations attached to this entity will be orphaned (not cascaded).
133
177
  */
134
- static delete<ThrowOnError extends boolean = false>(options: Options<Delete3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete3Responses, Delete3Errors, ThrowOnError, "fields">;
178
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete4Responses, Delete4Errors, ThrowOnError, "fields">;
135
179
  /**
136
- * Get entity by ID
180
+ * Get an entity
137
181
  *
138
- * Returns a single entity by ID.
182
+ * Returns a single entity, with its client-defined `metadata` and the organization it belongs to.
139
183
  */
140
- static get<ThrowOnError extends boolean = false>(options: Options<Get3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get3Responses, Get3Errors, ThrowOnError, "fields">;
184
+ static get<ThrowOnError extends boolean = false>(options: Options<Get4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get4Responses, Get4Errors, ThrowOnError, "fields">;
141
185
  /**
142
186
  * Update an entity
143
187
  *
144
188
  * Applies the provided fields to the entity. Only the fields present in the body are modified.
145
189
  */
146
- static update<ThrowOnError extends boolean = false>(options: Options<Update2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update2Responses, Update2Errors, ThrowOnError, "fields">;
190
+ static update<ThrowOnError extends boolean = false>(options: Options<Update3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update3Responses, Update3Errors, ThrowOnError, "fields">;
147
191
  }
148
192
  export declare class Intents {
149
193
  /**
@@ -151,37 +195,37 @@ export declare class Intents {
151
195
  *
152
196
  * Returns every intent, resolved at the caller's scope.
153
197
  */
154
- static list<ThrowOnError extends boolean = false>(options?: Options<List4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List4Responses, List4Errors, ThrowOnError, "fields">;
198
+ static list<ThrowOnError extends boolean = false>(options?: Options<List5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List5Responses, List5Errors, ThrowOnError, "fields">;
155
199
  /**
156
200
  * Create an intent
157
201
  *
158
202
  * Creates an intent. The machine name is derived from the label (lower-cased, words joined by `_`). An intent is defined once at global scope; organizations and entities override an existing intent's `mode` instead.
159
203
  */
160
- static create<ThrowOnError extends boolean = false>(options?: Options<Create4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create4Responses, Create4Errors, ThrowOnError, "fields">;
204
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create5Responses, Create5Errors, ThrowOnError, "fields">;
161
205
  /**
162
206
  * Delete an intent
163
207
  *
164
208
  * Hard-deletes a global intent. Forbidden outside global scope — use the override endpoint to drop an organization/entity mode override.
165
209
  */
166
- static delete<ThrowOnError extends boolean = false>(options: Options<Delete4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete4Responses, Delete4Errors, ThrowOnError, "fields">;
210
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete5Responses, Delete5Errors, ThrowOnError, "fields">;
167
211
  /**
168
212
  * Get an intent
169
213
  *
170
214
  * Returns a single intent, resolved at the caller's scope.
171
215
  */
172
- static get<ThrowOnError extends boolean = false>(options: Options<Get4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get4Responses, Get4Errors, ThrowOnError, "fields">;
216
+ static get<ThrowOnError extends boolean = false>(options: Options<Get5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get5Responses, Get5Errors, ThrowOnError, "fields">;
173
217
  /**
174
218
  * Update an intent
175
219
  *
176
220
  * At global scope, edits the intent definition (label, description, route, mode, …). At organization or entity scope, only `mode` is accepted — it sets the scope override, auto-created on the first write. Routing and descriptive fields are global-only.
177
221
  */
178
- static update<ThrowOnError extends boolean = false>(options: Options<Update3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update3Responses, Update3Errors, ThrowOnError, "fields">;
222
+ static update<ThrowOnError extends boolean = false>(options: Options<Update4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update4Responses, Update4Errors, ThrowOnError, "fields">;
179
223
  /**
180
224
  * Delete an intent mode override
181
225
  *
182
226
  * Removes the `mode` override at the caller's organization/entity scope, resetting the intent to the inherited mode.
183
227
  */
184
- static deleteOverride<ThrowOnError extends boolean = false>(options: Options<DeleteOverride2Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteOverride2Responses, DeleteOverride2Errors, ThrowOnError, "fields">;
228
+ static deleteOverride<ThrowOnError extends boolean = false>(options: Options<DeleteOverride3Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<DeleteOverride3Responses, DeleteOverride3Errors, ThrowOnError, "fields">;
185
229
  }
186
230
  export declare class Kb {
187
231
  /**
@@ -189,31 +233,31 @@ export declare class Kb {
189
233
  *
190
234
  * Returns articles visible at the caller's scope. The response omits the article body — fetch a single article to get the full content.
191
235
  */
192
- static list<ThrowOnError extends boolean = false>(options?: Options<List5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List5Responses, List5Errors, ThrowOnError, "fields">;
236
+ static list<ThrowOnError extends boolean = false>(options?: Options<List6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List6Responses, List6Errors, ThrowOnError, "fields">;
193
237
  /**
194
238
  * Create a KB article
195
239
  *
196
240
  * Creates a new article at the caller's scope, published immediately as v1.
197
241
  */
198
- static create<ThrowOnError extends boolean = false>(options?: Options<Create5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create5Responses, Create5Errors, ThrowOnError, "fields">;
242
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create6Responses, Create6Errors, ThrowOnError, "fields">;
199
243
  /**
200
244
  * Delete a KB article
201
245
  *
202
246
  * Hard delete and irreversible — removes the article and its version history.
203
247
  */
204
- static delete<ThrowOnError extends boolean = false>(options: Options<Delete5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete5Responses, Delete5Errors, ThrowOnError, "fields">;
248
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete6Responses, Delete6Errors, ThrowOnError, "fields">;
205
249
  /**
206
250
  * Get a KB article
207
251
  *
208
252
  * Returns the full article (published + draft if any).
209
253
  */
210
- static get<ThrowOnError extends boolean = false>(options: Options<Get5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get5Responses, Get5Errors, ThrowOnError, "fields">;
254
+ static get<ThrowOnError extends boolean = false>(options: Options<Get6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get6Responses, Get6Errors, ThrowOnError, "fields">;
211
255
  /**
212
256
  * Update a KB article
213
257
  *
214
258
  * 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.
215
259
  */
216
- static update<ThrowOnError extends boolean = false>(options: Options<Update4Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update4Responses, Update4Errors, ThrowOnError, "fields">;
260
+ static update<ThrowOnError extends boolean = false>(options: Options<Update5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update5Responses, Update5Errors, ThrowOnError, "fields">;
217
261
  /**
218
262
  * Bulk create KB articles
219
263
  *
@@ -239,30 +283,30 @@ export declare class Organizations {
239
283
  *
240
284
  * Returns every organization in your deployment. Admin keys only. The response omits `metadata` — fetch a single organization to get it.
241
285
  */
242
- static list<ThrowOnError extends boolean = false>(options?: Options<List6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List6Responses, List6Errors, ThrowOnError, "fields">;
286
+ static list<ThrowOnError extends boolean = false>(options?: Options<List7Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<List7Responses, List7Errors, ThrowOnError, "fields">;
243
287
  /**
244
288
  * Create an organization
245
289
  *
246
290
  * 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.
247
291
  */
248
- static create<ThrowOnError extends boolean = false>(options?: Options<Create6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create6Responses, Create6Errors, ThrowOnError, "fields">;
292
+ static create<ThrowOnError extends boolean = false>(options?: Options<Create7Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Create7Responses, Create7Errors, ThrowOnError, "fields">;
249
293
  /**
250
294
  * Delete an organization
251
295
  *
252
296
  * Hard delete and irreversible. Linked users, entities, API keys and conversations are orphaned (not cascaded). Users scoped to this organization lose login access.
253
297
  */
254
- static delete<ThrowOnError extends boolean = false>(options: Options<Delete6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete6Responses, Delete6Errors, ThrowOnError, "fields">;
298
+ static delete<ThrowOnError extends boolean = false>(options: Options<Delete7Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Delete7Responses, Delete7Errors, ThrowOnError, "fields">;
255
299
  /**
256
- * Get organization by ID
300
+ * Get an organization
257
301
  *
258
- * Returns a single organization by ID.
302
+ * Returns a single organization, with its client-defined `metadata`.
259
303
  */
260
- static get<ThrowOnError extends boolean = false>(options: Options<Get6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get6Responses, Get6Errors, ThrowOnError, "fields">;
304
+ static get<ThrowOnError extends boolean = false>(options: Options<Get7Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Get7Responses, Get7Errors, ThrowOnError, "fields">;
261
305
  /**
262
306
  * Update an organization
263
307
  *
264
308
  * Applies the provided fields to the organization. Only the fields present in the body are modified.
265
309
  */
266
- static update<ThrowOnError extends boolean = false>(options: Options<Update5Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update5Responses, Update5Errors, ThrowOnError, "fields">;
310
+ static update<ThrowOnError extends boolean = false>(options: Options<Update6Data, ThrowOnError>): import("./client/types.gen.js").RequestResult<Update6Responses, Update6Errors, ThrowOnError, "fields">;
267
311
  }
268
312
  //# sourceMappingURL=sdk.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../src/generated/sdk.gen.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE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"__esModule", { value: true });
4
- exports.Organizations = exports.Kb = exports.Intents = exports.Entities = exports.Conversations = exports.Agents = void 0;
4
+ exports.Organizations = exports.Kb = exports.Intents = exports.Entities = exports.Conversations = exports.Agents = exports.Actions = void 0;
5
5
  const client_gen_js_1 = require("./client.gen.js");
6
+ class Actions {
7
+ /**
8
+ * List actions
9
+ *
10
+ * Returns every action, resolved at the caller's scope.
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: '/actions',
16
+ ...options
17
+ });
18
+ }
19
+ /**
20
+ * Create an action
21
+ *
22
+ * Declares a new action. `webhookUrl` is required and must be https — we refuse private and link-local addresses, both when you save and when we call. `type` is immutable once created.
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: '/actions',
28
+ ...options,
29
+ headers: {
30
+ 'Content-Type': 'application/json',
31
+ ...options?.headers
32
+ }
33
+ });
34
+ }
35
+ /**
36
+ * Delete an action
37
+ *
38
+ * Hard-deletes a global action. Forbidden outside global scope — use the override endpoint to drop an organization/entity mode override. Irreversible: past executions in `actions_v1` are kept but the AI can no longer propose this action.
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: '/actions/{type}',
44
+ ...options
45
+ });
46
+ }
47
+ /**
48
+ * Get an action
49
+ *
50
+ * Returns a single action, resolved at the caller's scope.
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: '/actions/{type}',
56
+ ...options
57
+ });
58
+ }
59
+ /**
60
+ * Update an action
61
+ *
62
+ * At global scope, applies the provided fields — only fields present in the body are modified, and `type` cannot be changed (sending it is a 400). At organization or entity scope, only `mode` is accepted — it sets the scope override, auto-created on the first write. The declaration, its params schema and its webhooks are global-only.
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: '/actions/{type}',
68
+ ...options,
69
+ headers: {
70
+ 'Content-Type': 'application/json',
71
+ ...options.headers
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Delete an action mode override
77
+ *
78
+ * Removes the `mode` override at the caller's organization/entity scope, resetting the action to the inherited mode.
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: '/actions/{type}/override',
84
+ ...options
85
+ });
86
+ }
87
+ }
88
+ exports.Actions = Actions;
6
89
  class Agents {
7
90
  /**
8
91
  * List agents
@@ -160,7 +243,7 @@ class Conversations {
160
243
  });
161
244
  }
162
245
  /**
163
- * Get a conversation by ID
246
+ * Get a conversation
164
247
  *
165
248
  * Returns the full conversation, including the complete message thread.
166
249
  */
@@ -190,7 +273,7 @@ class Conversations {
190
273
  /**
191
274
  * Validate a pending response
192
275
  *
193
- * 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.
276
+ * Approves an AI response awaiting human validation: pending actions run, the response is appended to the conversation thread, and the turn is marked validated. Pass `editedContent` to record an edited version — the original AI content is preserved for analytics.
194
277
  */
195
278
  static validateResponse(options) {
196
279
  return (options.client ?? client_gen_js_1.client).post({
@@ -203,6 +286,22 @@ class Conversations {
203
286
  }
204
287
  });
205
288
  }
289
+ /**
290
+ * Reject a pending response
291
+ *
292
+ * Discards an AI response awaiting human validation: no action runs and the response never reaches the conversation thread. The conversation is marked `escalated`, unless another response is still pending on it. Pass `reason` to record why the response was turned down.
293
+ */
294
+ static rejectResponse(options) {
295
+ return (options.client ?? client_gen_js_1.client).post({
296
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
297
+ url: '/conversations/{conversationId}/reject-response',
298
+ ...options,
299
+ headers: {
300
+ 'Content-Type': 'application/json',
301
+ ...options.headers
302
+ }
303
+ });
304
+ }
206
305
  /**
207
306
  * Append a message to a conversation
208
307
  *
@@ -222,7 +321,7 @@ class Conversations {
222
321
  /**
223
322
  * Simulate a conversation message
224
323
  *
225
- * Runs a message through the AI pipeline in simulation mode: agents and knowledge-base articles resolve to their **draft** when one exists, and actions are faked instead of executed — no real handler runs. The conversation is flagged as a simulation, so it is excluded from every statistic and from the review queue. Omit `conversationId` on the first call — a new simulated conversation is created and its ID is returned to pass back on subsequent messages.
324
+ * Runs a message through the AI pipeline in simulation mode: agents and knowledge-base articles resolve to their **draft** when one exists, and actions are faked instead of executed — your webhooks are never called. The conversation is flagged as a simulation, so it is excluded from every statistic and from the review queue. Omit `conversationId` on the first call — a new simulated conversation is created and its ID is returned to pass back on subsequent messages.
226
325
  */
227
326
  static simulate(options) {
228
327
  return (options?.client ?? client_gen_js_1.client).post({
@@ -279,9 +378,9 @@ class Entities {
279
378
  });
280
379
  }
281
380
  /**
282
- * Get entity by ID
381
+ * Get an entity
283
382
  *
284
- * Returns a single entity by ID.
383
+ * Returns a single entity, with its client-defined `metadata` and the organization it belongs to.
285
384
  */
286
385
  static get(options) {
287
386
  return (options.client ?? client_gen_js_1.client).get({
@@ -345,7 +444,7 @@ class Intents {
345
444
  static delete(options) {
346
445
  return (options.client ?? client_gen_js_1.client).delete({
347
446
  security: [{ name: 'X-Api-Key', type: 'apiKey' }],
348
- url: '/intents/{id}',
447
+ url: '/intents/{type}',
349
448
  ...options
350
449
  });
351
450
  }
@@ -357,7 +456,7 @@ class Intents {
357
456
  static get(options) {
358
457
  return (options.client ?? client_gen_js_1.client).get({
359
458
  security: [{ name: 'X-Api-Key', type: 'apiKey' }],
360
- url: '/intents/{id}',
459
+ url: '/intents/{type}',
361
460
  ...options
362
461
  });
363
462
  }
@@ -369,7 +468,7 @@ class Intents {
369
468
  static update(options) {
370
469
  return (options.client ?? client_gen_js_1.client).put({
371
470
  security: [{ name: 'X-Api-Key', type: 'apiKey' }],
372
- url: '/intents/{id}',
471
+ url: '/intents/{type}',
373
472
  ...options,
374
473
  headers: {
375
474
  'Content-Type': 'application/json',
@@ -385,7 +484,7 @@ class Intents {
385
484
  static deleteOverride(options) {
386
485
  return (options.client ?? client_gen_js_1.client).delete({
387
486
  security: [{ name: 'X-Api-Key', type: 'apiKey' }],
388
- url: '/intents/{id}/override',
487
+ url: '/intents/{type}/override',
389
488
  ...options
390
489
  });
391
490
  }
@@ -548,9 +647,9 @@ class Organizations {
548
647
  });
549
648
  }
550
649
  /**
551
- * Get organization by ID
650
+ * Get an organization
552
651
  *
553
- * Returns a single organization by ID.
652
+ * Returns a single organization, with its client-defined `metadata`.
554
653
  */
555
654
  static get(options) {
556
655
  return (options.client ?? client_gen_js_1.client).get({