@epilot/sdk 2.20.70 → 2.20.72
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.
- package/definitions/ai-agents-runtime.json +1 -1
- package/definitions/ai-agents.json +1876 -450
- package/definitions/identity-runtime.json +1 -1
- package/definitions/identity.json +219 -34
- package/dist/ai-agents-5EG5UUP7.js +7 -0
- package/dist/ai-agents-HDLQXHEO.cjs +7 -0
- package/dist/{ai-agents-runtime-HOBR2KUZ.js → ai-agents-runtime-5AALEMLH.js} +1 -1
- package/dist/{ai-agents-runtime-T62OQDWE.cjs → ai-agents-runtime-H5UIFXVG.cjs} +2 -2
- package/dist/{ai-agents.d-B3TkP4mo.d.cts → ai-agents.d-BhnWCRxD.d.cts} +931 -48
- package/dist/{ai-agents.d-B3TkP4mo.d.ts → ai-agents.d-BhnWCRxD.d.ts} +931 -48
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +8 -8
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +2 -2
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/external-values.cjs +6 -6
- package/dist/apis/external-values.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/identity.cjs +8 -8
- package/dist/apis/identity.js +2 -2
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-4PXSWMYJ.cjs → chunk-5QSR7CYT.cjs} +4 -4
- package/dist/{chunk-YIK62G53.js → chunk-B42G3PU6.js} +4 -4
- package/dist/{chunk-3IBAPVLY.js → chunk-DSYS22AC.js} +1 -1
- package/dist/chunk-QVJTUU3Q.js +14 -0
- package/dist/chunk-S455SL5C.cjs +14 -0
- package/dist/{chunk-RPWTWCDC.cjs → chunk-TKRZK7V2.cjs} +1 -1
- package/dist/identity-F5XHYPXY.js +7 -0
- package/dist/identity-JDTGYAOV.cjs +7 -0
- package/dist/{identity-runtime-PFM5KQWA.js → identity-runtime-A4LSC77N.js} +1 -1
- package/dist/{identity-runtime-57DQPQWX.cjs → identity-runtime-GNE4EC7V.cjs} +2 -2
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/docs/ai-agents.md +1407 -50
- package/docs/identity.md +58 -64
- package/package.json +1 -1
- package/dist/ai-agents-ME5VRKMY.cjs +0 -7
- package/dist/ai-agents-MY4QE4CP.js +0 -7
- package/dist/chunk-GD6KHA54.cjs +0 -14
- package/dist/chunk-IZ6OQZZ2.js +0 -14
- package/dist/identity-EG35NBZW.js +0 -7
- package/dist/identity-XMX3VFXR.cjs +0 -7
|
@@ -4,8 +4,56 @@ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, Unkno
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
declare namespace Components {
|
|
7
|
+
export interface HeaderParameters {
|
|
8
|
+
IfMatchUpdatedAt?: Parameters.IfMatchUpdatedAt;
|
|
9
|
+
}
|
|
10
|
+
namespace Parameters {
|
|
11
|
+
export type CustomerChatAgentIdPath = string;
|
|
12
|
+
export type IfMatchUpdatedAt = string;
|
|
13
|
+
}
|
|
14
|
+
export interface PathParameters {
|
|
15
|
+
CustomerChatAgentIdPath?: Parameters.CustomerChatAgentIdPath;
|
|
16
|
+
}
|
|
7
17
|
namespace Schemas {
|
|
18
|
+
/**
|
|
19
|
+
* Action capabilities only (`open_quick_actions`): per-capability autonomy.
|
|
20
|
+
* `draft` = suggest only (proposal + deep link, nothing opens),
|
|
21
|
+
* `approval` = the customer confirms in a card first,
|
|
22
|
+
* `automatic` = run immediately. Defaults to `approval` when the
|
|
23
|
+
* capability is enabled without one; unknown values become `approval`;
|
|
24
|
+
* values above the capability's maximum are clamped down.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export type ActionAutonomy = "draft" | "approval" | "automatic";
|
|
28
|
+
export interface AgentConfig {
|
|
29
|
+
/**
|
|
30
|
+
* Configured capability instances, up to 30 per agent. The same
|
|
31
|
+
* catalog `type` may appear more than once when `label` (name) or
|
|
32
|
+
* `guidance` (when to use) differs between siblings.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
capabilities: CapabilityInstance[];
|
|
36
|
+
knowledgeSources: CustomerChatKnowledgeSource[];
|
|
37
|
+
escalation: EscalationConfig;
|
|
38
|
+
appearance: AppearanceConfig;
|
|
39
|
+
/**
|
|
40
|
+
* Admin-editable briefing in the default `appearance.language`. Prefilled with a place default on create; omitted on save keeps the saved value.
|
|
41
|
+
*/
|
|
42
|
+
instructions?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Briefings for each language in `appearance.languages` other than `appearance.language`. Only present once the agent speaks a second language.
|
|
45
|
+
*/
|
|
46
|
+
instructionTranslations?: {
|
|
47
|
+
de?: string;
|
|
48
|
+
en?: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Languages whose briefing changed in another language and are not checked yet.
|
|
52
|
+
*/
|
|
53
|
+
instructionsNeedsReview?: ("de" | "en")[];
|
|
54
|
+
}
|
|
8
55
|
export interface AgentDefinition {
|
|
56
|
+
domain?: /* Business domain selected in the agent builder. */ AgentDomain;
|
|
9
57
|
agent_id?: /**
|
|
10
58
|
* Agent identifier. Can be either:
|
|
11
59
|
* - System skill ID (prefixed): "skill:email-categorizer", "skill:email-labeler"
|
|
@@ -39,7 +87,8 @@ declare namespace Components {
|
|
|
39
87
|
* - flows: Available in workflow automations
|
|
40
88
|
* - copilot: Available as a sub-agent in copilot
|
|
41
89
|
* - portals: Available in end-user self-service portals
|
|
42
|
-
* -
|
|
90
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
91
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
43
92
|
*
|
|
44
93
|
*/
|
|
45
94
|
SkillAvailability[];
|
|
@@ -108,11 +157,16 @@ declare namespace Components {
|
|
|
108
157
|
* }
|
|
109
158
|
*/
|
|
110
159
|
InputParametersSchema;
|
|
160
|
+
knowledge_source_ids?: /* Knowledge source IDs available to this agent. An empty array clears the selection. */ KnowledgeSourceIds;
|
|
111
161
|
version?: number;
|
|
112
162
|
created_at?: string; // date-time
|
|
113
163
|
updated_at?: string; // date-time
|
|
114
164
|
created_by?: string;
|
|
115
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Business domain selected in the agent builder.
|
|
168
|
+
*/
|
|
169
|
+
export type AgentDomain = "customer_service" | "sales" | "billing" | "metering_grid" | "other";
|
|
116
170
|
/**
|
|
117
171
|
* Detail payload of the `agent-execution-status-update` event, published on
|
|
118
172
|
* the AI Agents event bus with source `ai-agents`.
|
|
@@ -146,6 +200,10 @@ declare namespace Components {
|
|
|
146
200
|
* `cancelled` surfaces as `failed`. Consumers must not assume the two
|
|
147
201
|
* vocabularies are interchangeable.
|
|
148
202
|
*
|
|
203
|
+
* `queued` is non-terminal: the execution is waiting for executor capacity and will
|
|
204
|
+
* be followed by `started`, and it can be published more than once if a throttled
|
|
205
|
+
* execution is put back on the queue. Consumers must not treat it as an outcome.
|
|
206
|
+
*
|
|
149
207
|
*/
|
|
150
208
|
AgentExecutionEventStatus;
|
|
151
209
|
execution_context?: /**
|
|
@@ -153,6 +211,7 @@ declare namespace Components {
|
|
|
153
211
|
* - flows: Triggered from workflow automation
|
|
154
212
|
* - copilot: Triggered from copilot assistant
|
|
155
213
|
* - api: Direct API call
|
|
214
|
+
* - sharing: Triggered by sharing-api auto-sharing rules
|
|
156
215
|
*
|
|
157
216
|
*/
|
|
158
217
|
ExecutionContext;
|
|
@@ -202,8 +261,12 @@ declare namespace Components {
|
|
|
202
261
|
* `cancelled` surfaces as `failed`. Consumers must not assume the two
|
|
203
262
|
* vocabularies are interchangeable.
|
|
204
263
|
*
|
|
264
|
+
* `queued` is non-terminal: the execution is waiting for executor capacity and will
|
|
265
|
+
* be followed by `started`, and it can be published more than once if a throttled
|
|
266
|
+
* execution is put back on the queue. Consumers must not treat it as an outcome.
|
|
267
|
+
*
|
|
205
268
|
*/
|
|
206
|
-
export type AgentExecutionEventStatus = "started" | "completed" | "failed" | "approval_required";
|
|
269
|
+
export type AgentExecutionEventStatus = "started" | "queued" | "completed" | "failed" | "approval_required";
|
|
207
270
|
/**
|
|
208
271
|
* Agent identifier. Can be either:
|
|
209
272
|
* - System skill ID (prefixed): "skill:email-categorizer", "skill:email-labeler"
|
|
@@ -219,6 +282,34 @@ declare namespace Components {
|
|
|
219
282
|
*
|
|
220
283
|
*/
|
|
221
284
|
export type AgentSource = "system" | "custom";
|
|
285
|
+
export interface AppearanceConfig {
|
|
286
|
+
displayName: string;
|
|
287
|
+
greeting: string;
|
|
288
|
+
starters: string[];
|
|
289
|
+
/**
|
|
290
|
+
* Default language. The top-level texts are written in it.
|
|
291
|
+
*/
|
|
292
|
+
language: "de" | "en";
|
|
293
|
+
formOfAddress: "sie" | "du";
|
|
294
|
+
/**
|
|
295
|
+
* Languages customers can chat in. Only present with two or more; always includes `language`.
|
|
296
|
+
*/
|
|
297
|
+
languages?: ("de" | "en")[];
|
|
298
|
+
/**
|
|
299
|
+
* Texts for each language in `languages` other than `language`.
|
|
300
|
+
*/
|
|
301
|
+
translations?: {
|
|
302
|
+
de?: LocalizedAppearance;
|
|
303
|
+
en?: LocalizedAppearance;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Per language, texts that changed in another language and are not checked yet.
|
|
307
|
+
*/
|
|
308
|
+
needsReview?: {
|
|
309
|
+
de?: LocalizedFieldList;
|
|
310
|
+
en?: LocalizedFieldList;
|
|
311
|
+
};
|
|
312
|
+
}
|
|
222
313
|
export interface ApproveExecutionRequest {
|
|
223
314
|
/**
|
|
224
315
|
* Optional reason for approval
|
|
@@ -233,6 +324,164 @@ declare namespace Components {
|
|
|
233
324
|
*/
|
|
234
325
|
rejected_action_ids?: string[];
|
|
235
326
|
}
|
|
327
|
+
export type CapabilityId = "navigate_portal_pages" | "search_portal_records" | "view_billing" | "view_meter_readings" | "view_contracts" | "search_web" | "open_quick_actions" | "view_hems_energy";
|
|
328
|
+
export interface CapabilityInstance {
|
|
329
|
+
type: CapabilityId;
|
|
330
|
+
/**
|
|
331
|
+
* Stable id for this instance within the agent. Generated when
|
|
332
|
+
* omitted; send it back unchanged on later saves.
|
|
333
|
+
*
|
|
334
|
+
*/
|
|
335
|
+
instanceId?: string;
|
|
336
|
+
enabled: boolean;
|
|
337
|
+
meterTypes?: string[];
|
|
338
|
+
ticketType?: string;
|
|
339
|
+
/**
|
|
340
|
+
* `search_web` only. Websites web search may use, normalized to
|
|
341
|
+
* `host[/path]` (scheme, `www.`, query, fragment and trailing slash
|
|
342
|
+
* removed; host lowercased; duplicates dropped). Empty or missing
|
|
343
|
+
* allows any website. When set, only `web_search.search` is granted.
|
|
344
|
+
*
|
|
345
|
+
*/
|
|
346
|
+
allowedDomains?: [
|
|
347
|
+
string?,
|
|
348
|
+
string?,
|
|
349
|
+
string?,
|
|
350
|
+
string?,
|
|
351
|
+
string?,
|
|
352
|
+
string?,
|
|
353
|
+
string?,
|
|
354
|
+
string?,
|
|
355
|
+
string?,
|
|
356
|
+
string?,
|
|
357
|
+
string?,
|
|
358
|
+
string?,
|
|
359
|
+
string?,
|
|
360
|
+
string?,
|
|
361
|
+
string?,
|
|
362
|
+
string?,
|
|
363
|
+
string?,
|
|
364
|
+
string?,
|
|
365
|
+
string?,
|
|
366
|
+
string?
|
|
367
|
+
];
|
|
368
|
+
autonomy?: /**
|
|
369
|
+
* Action capabilities only (`open_quick_actions`): per-capability autonomy.
|
|
370
|
+
* `draft` = suggest only (proposal + deep link, nothing opens),
|
|
371
|
+
* `approval` = the customer confirms in a card first,
|
|
372
|
+
* `automatic` = run immediately. Defaults to `approval` when the
|
|
373
|
+
* capability is enabled without one; unknown values become `approval`;
|
|
374
|
+
* values above the capability's maximum are clamped down.
|
|
375
|
+
*
|
|
376
|
+
*/
|
|
377
|
+
ActionAutonomy;
|
|
378
|
+
/**
|
|
379
|
+
* Admin label override. Kept on every capability so a disabled row stays listed.
|
|
380
|
+
*/
|
|
381
|
+
label?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Admin guidance. Kept on every capability so a disabled row stays listed; action capabilities also inject it into the prompt.
|
|
384
|
+
*/
|
|
385
|
+
guidance?: string;
|
|
386
|
+
/**
|
|
387
|
+
* `open_quick_actions` only. Reserved tile allowlist (at most 200);
|
|
388
|
+
* empty or missing allows every quick-action tile on the linked portal.
|
|
389
|
+
*
|
|
390
|
+
*/
|
|
391
|
+
blockIds?: string[];
|
|
392
|
+
/**
|
|
393
|
+
* `view_hems_energy` only. Hub integration installation id used by
|
|
394
|
+
* HEMS portal tools (`portal.hems.snapshot` via list_devices, and
|
|
395
|
+
* when searchDeviceDocs is on also get_vendors /
|
|
396
|
+
* get_connection_options). Chosen in Agent Builder via the
|
|
397
|
+
* integration picker.
|
|
398
|
+
*
|
|
399
|
+
*/
|
|
400
|
+
integrationId?: string; // uuid
|
|
401
|
+
/**
|
|
402
|
+
* `view_hems_energy` only. When true or omitted, grants device
|
|
403
|
+
* onboarding docs tools (`portal.hems.vendors` via get_vendors +
|
|
404
|
+
* `portal.hems.onboarding_docs` via get_connection_options) once
|
|
405
|
+
* an integrationId is set. Set false to disable. Portal place only.
|
|
406
|
+
*
|
|
407
|
+
*/
|
|
408
|
+
searchDeviceDocs?: boolean;
|
|
409
|
+
}
|
|
410
|
+
export interface CapabilityState {
|
|
411
|
+
enabled: boolean;
|
|
412
|
+
meterTypes?: string[];
|
|
413
|
+
ticketType?: string;
|
|
414
|
+
/**
|
|
415
|
+
* `search_web` only. Websites web search may use, normalized to
|
|
416
|
+
* `host[/path]` (scheme, `www.`, query, fragment and trailing slash
|
|
417
|
+
* removed; host lowercased; duplicates dropped). Empty or missing
|
|
418
|
+
* allows any website. When set, only `web_search.search` is granted.
|
|
419
|
+
*
|
|
420
|
+
*/
|
|
421
|
+
allowedDomains?: [
|
|
422
|
+
string?,
|
|
423
|
+
string?,
|
|
424
|
+
string?,
|
|
425
|
+
string?,
|
|
426
|
+
string?,
|
|
427
|
+
string?,
|
|
428
|
+
string?,
|
|
429
|
+
string?,
|
|
430
|
+
string?,
|
|
431
|
+
string?,
|
|
432
|
+
string?,
|
|
433
|
+
string?,
|
|
434
|
+
string?,
|
|
435
|
+
string?,
|
|
436
|
+
string?,
|
|
437
|
+
string?,
|
|
438
|
+
string?,
|
|
439
|
+
string?,
|
|
440
|
+
string?,
|
|
441
|
+
string?
|
|
442
|
+
];
|
|
443
|
+
autonomy?: /**
|
|
444
|
+
* Action capabilities only (`open_quick_actions`): per-capability autonomy.
|
|
445
|
+
* `draft` = suggest only (proposal + deep link, nothing opens),
|
|
446
|
+
* `approval` = the customer confirms in a card first,
|
|
447
|
+
* `automatic` = run immediately. Defaults to `approval` when the
|
|
448
|
+
* capability is enabled without one; unknown values become `approval`;
|
|
449
|
+
* values above the capability's maximum are clamped down.
|
|
450
|
+
*
|
|
451
|
+
*/
|
|
452
|
+
ActionAutonomy;
|
|
453
|
+
/**
|
|
454
|
+
* Admin label override. Kept on every capability so a disabled row stays listed.
|
|
455
|
+
*/
|
|
456
|
+
label?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Admin guidance. Kept on every capability so a disabled row stays listed; action capabilities also inject it into the prompt.
|
|
459
|
+
*/
|
|
460
|
+
guidance?: string;
|
|
461
|
+
/**
|
|
462
|
+
* `open_quick_actions` only. Reserved tile allowlist (at most 200);
|
|
463
|
+
* empty or missing allows every quick-action tile on the linked portal.
|
|
464
|
+
*
|
|
465
|
+
*/
|
|
466
|
+
blockIds?: string[];
|
|
467
|
+
/**
|
|
468
|
+
* `view_hems_energy` only. Hub integration installation id used by
|
|
469
|
+
* HEMS portal tools (`portal.hems.snapshot` via list_devices, and
|
|
470
|
+
* when searchDeviceDocs is on also get_vendors /
|
|
471
|
+
* get_connection_options). Chosen in Agent Builder via the
|
|
472
|
+
* integration picker.
|
|
473
|
+
*
|
|
474
|
+
*/
|
|
475
|
+
integrationId?: string; // uuid
|
|
476
|
+
/**
|
|
477
|
+
* `view_hems_energy` only. When true or omitted, grants device
|
|
478
|
+
* onboarding docs tools (`portal.hems.vendors` via get_vendors +
|
|
479
|
+
* `portal.hems.onboarding_docs` via get_connection_options) once
|
|
480
|
+
* an integrationId is set. Set false to disable. Portal place only.
|
|
481
|
+
*
|
|
482
|
+
*/
|
|
483
|
+
searchDeviceDocs?: boolean;
|
|
484
|
+
}
|
|
236
485
|
export interface ChatMessage {
|
|
237
486
|
role: "user" | "assistant" | "tool" | "system";
|
|
238
487
|
content: string;
|
|
@@ -269,6 +518,13 @@ declare namespace Components {
|
|
|
269
518
|
};
|
|
270
519
|
};
|
|
271
520
|
streaming?: StreamingOptions;
|
|
521
|
+
/**
|
|
522
|
+
* Agent Builder place-agent preview: when true, portal tools return
|
|
523
|
+
* synthetic demo fixtures instead of calling customer-portal-api,
|
|
524
|
+
* and execution mode is forced to draft.
|
|
525
|
+
*
|
|
526
|
+
*/
|
|
527
|
+
preview_demo?: boolean;
|
|
272
528
|
}
|
|
273
529
|
export interface ConversationItem {
|
|
274
530
|
conversation_id?: string; // uuid
|
|
@@ -295,6 +551,29 @@ declare namespace Components {
|
|
|
295
551
|
messages?: MessageItem[];
|
|
296
552
|
}
|
|
297
553
|
export interface CreateAgentRequest {
|
|
554
|
+
domain?: /* Business domain selected in the agent builder. */ AgentDomain;
|
|
555
|
+
availability?: [
|
|
556
|
+
/**
|
|
557
|
+
* Where the skill/agent is available:
|
|
558
|
+
* - flows: Available in workflow automations
|
|
559
|
+
* - copilot: Available as a sub-agent in copilot
|
|
560
|
+
* - portals: Available in end-user self-service portals
|
|
561
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
562
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
SkillAvailability,
|
|
566
|
+
.../**
|
|
567
|
+
* Where the skill/agent is available:
|
|
568
|
+
* - flows: Available in workflow automations
|
|
569
|
+
* - copilot: Available as a sub-agent in copilot
|
|
570
|
+
* - portals: Available in end-user self-service portals
|
|
571
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
572
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
573
|
+
*
|
|
574
|
+
*/
|
|
575
|
+
SkillAvailability[]
|
|
576
|
+
];
|
|
298
577
|
/**
|
|
299
578
|
* example:
|
|
300
579
|
* Email Reply Generator
|
|
@@ -381,6 +660,75 @@ declare namespace Components {
|
|
|
381
660
|
* }
|
|
382
661
|
*/
|
|
383
662
|
InputParametersSchema;
|
|
663
|
+
knowledge_source_ids?: /* Knowledge source IDs available to this agent. An empty array clears the selection. */ KnowledgeSourceIds;
|
|
664
|
+
}
|
|
665
|
+
export interface CreateCustomerChatAgentRequest {
|
|
666
|
+
place: CustomerChatPlace;
|
|
667
|
+
internal_name?: string;
|
|
668
|
+
}
|
|
669
|
+
export interface CreateKnowledgeFileUploadRequest {
|
|
670
|
+
filename: string;
|
|
671
|
+
mime_type: string;
|
|
672
|
+
size_bytes: number; // int64
|
|
673
|
+
}
|
|
674
|
+
export interface CreateKnowledgeFileUploadResponse {
|
|
675
|
+
source_id: string; // uuid
|
|
676
|
+
upload_url: string; // uri
|
|
677
|
+
upload_fields: {
|
|
678
|
+
[name: string]: string;
|
|
679
|
+
};
|
|
680
|
+
expires_at: string; // date-time
|
|
681
|
+
}
|
|
682
|
+
export interface CustomerChatAgent {
|
|
683
|
+
org_id: string;
|
|
684
|
+
/**
|
|
685
|
+
* Stable id of the customer chat agent; equal to runtime_agent_id.
|
|
686
|
+
*/
|
|
687
|
+
agent_id: string; // uuid
|
|
688
|
+
place: CustomerChatPlace;
|
|
689
|
+
internal_name: string;
|
|
690
|
+
runtime_agent_id: string; // uuid
|
|
691
|
+
config: AgentConfig;
|
|
692
|
+
created_at: string; // date-time
|
|
693
|
+
updated_at: string; // date-time
|
|
694
|
+
}
|
|
695
|
+
export interface CustomerChatCapabilityCatalogEntry {
|
|
696
|
+
id: CapabilityId;
|
|
697
|
+
places: CustomerChatPlace[];
|
|
698
|
+
/**
|
|
699
|
+
* An agent can have this capability at most once. Agents that already
|
|
700
|
+
* have more instances keep them, but cannot add another.
|
|
701
|
+
*
|
|
702
|
+
*/
|
|
703
|
+
singleInstance?: boolean;
|
|
704
|
+
/**
|
|
705
|
+
* Only offer this capability when the organization has a matching
|
|
706
|
+
* integration set up.
|
|
707
|
+
*
|
|
708
|
+
*/
|
|
709
|
+
requiresIntegration?: boolean;
|
|
710
|
+
}
|
|
711
|
+
export interface CustomerChatCasRequest {
|
|
712
|
+
updated_at?: string; // date-time
|
|
713
|
+
}
|
|
714
|
+
export interface CustomerChatKnowledgeSource {
|
|
715
|
+
id: string;
|
|
716
|
+
type: CustomerChatKnowledgeSourceType;
|
|
717
|
+
title: string;
|
|
718
|
+
targetId: string;
|
|
719
|
+
detail?: string;
|
|
720
|
+
}
|
|
721
|
+
export type CustomerChatKnowledgeSourceType = "portal_page" | "document" | "catalogue" | "url";
|
|
722
|
+
export type CustomerChatPlace = "website" | "portal";
|
|
723
|
+
export interface DeleteCustomerChatAgentRequest {
|
|
724
|
+
updated_at?: string; // date-time
|
|
725
|
+
/**
|
|
726
|
+
* Portal linked to this agent (`feature_settings.portal_copilot_agent_id`).
|
|
727
|
+
* When set, only that portal is unlinked. When omitted for a portal agent,
|
|
728
|
+
* org portal configs are scanned for matching links.
|
|
729
|
+
*
|
|
730
|
+
*/
|
|
731
|
+
portal_id?: string; // uuid
|
|
384
732
|
}
|
|
385
733
|
export interface Error {
|
|
386
734
|
error?: string;
|
|
@@ -389,8 +737,22 @@ declare namespace Components {
|
|
|
389
737
|
[key: string]: any;
|
|
390
738
|
};
|
|
391
739
|
}
|
|
740
|
+
export interface EscalationConfig {
|
|
741
|
+
websiteHandover: WebsiteHandover;
|
|
742
|
+
}
|
|
392
743
|
export interface ExecuteAgentRequest {
|
|
744
|
+
/**
|
|
745
|
+
* `sync` runs the skill inside the request and answers 200 with the completed execution, or 422/504/500
|
|
746
|
+
* with the failed execution's id in `details.execution_id`. Only for direct, tool-less, automatic skills;
|
|
747
|
+
* the model call is cut off after 27 seconds.
|
|
748
|
+
*
|
|
749
|
+
*/
|
|
750
|
+
mode?: "auto" | "stream" | "async" | "sync";
|
|
393
751
|
input?: {
|
|
752
|
+
/**
|
|
753
|
+
* Free-text instruction or query for the agent
|
|
754
|
+
*/
|
|
755
|
+
message?: string;
|
|
394
756
|
/**
|
|
395
757
|
* Primary entity ID for context
|
|
396
758
|
*/
|
|
@@ -412,6 +774,26 @@ declare namespace Components {
|
|
|
412
774
|
entity_id: string;
|
|
413
775
|
entity_schema: string;
|
|
414
776
|
}[];
|
|
777
|
+
/**
|
|
778
|
+
* The file the agent should look at, referenced by S3 object. Only accepted by skills
|
|
779
|
+
* that declare attachment support (currently direct-mode document skills). The object is
|
|
780
|
+
* read by the execution Lambda and passed to the model as an image or document content
|
|
781
|
+
* block; images must be JPEG, PNG, GIF or WebP, documents PDF, DOCX, DOC, XLSX, XLS,
|
|
782
|
+
* CSV, TXT, HTML or Markdown. Callers are expected to downscale images and cap document
|
|
783
|
+
* pages before referencing them.
|
|
784
|
+
*
|
|
785
|
+
*/
|
|
786
|
+
attachment?: {
|
|
787
|
+
s3ref: {
|
|
788
|
+
bucket: string;
|
|
789
|
+
key: string;
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* Mime type of the object, decides whether it is sent as an image or a document block.
|
|
793
|
+
*/
|
|
794
|
+
mime_type: string;
|
|
795
|
+
filename?: string;
|
|
796
|
+
};
|
|
415
797
|
};
|
|
416
798
|
/**
|
|
417
799
|
* Runtime parameters (validated against input_parameters_schema)
|
|
@@ -431,6 +813,7 @@ declare namespace Components {
|
|
|
431
813
|
* - flows: Triggered from workflow automation
|
|
432
814
|
* - copilot: Triggered from copilot assistant
|
|
433
815
|
* - api: Direct API call
|
|
816
|
+
* - sharing: Triggered by sharing-api auto-sharing rules
|
|
434
817
|
*
|
|
435
818
|
*/
|
|
436
819
|
ExecutionContext;
|
|
@@ -448,9 +831,10 @@ declare namespace Components {
|
|
|
448
831
|
* - flows: Triggered from workflow automation
|
|
449
832
|
* - copilot: Triggered from copilot assistant
|
|
450
833
|
* - api: Direct API call
|
|
834
|
+
* - sharing: Triggered by sharing-api auto-sharing rules
|
|
451
835
|
*
|
|
452
836
|
*/
|
|
453
|
-
export type ExecutionContext = "flows" | "copilot" | "api";
|
|
837
|
+
export type ExecutionContext = "flows" | "copilot" | "api" | "sharing";
|
|
454
838
|
export type ExecutionError = {
|
|
455
839
|
code?: "TIMEOUT" | "MAX_ITERATIONS_EXCEEDED" | "TOOL_EXECUTION_FAILED" | "LLM_ERROR" | "INVALID_OUTPUT" | "REJECTED" | "INTERNAL_ERROR";
|
|
456
840
|
message?: string;
|
|
@@ -550,6 +934,7 @@ declare namespace Components {
|
|
|
550
934
|
* - flows: Triggered from workflow automation
|
|
551
935
|
* - copilot: Triggered from copilot assistant
|
|
552
936
|
* - api: Direct API call
|
|
937
|
+
* - sharing: Triggered by sharing-api auto-sharing rules
|
|
553
938
|
*
|
|
554
939
|
*/
|
|
555
940
|
ExecutionContext;
|
|
@@ -594,7 +979,7 @@ declare namespace Components {
|
|
|
594
979
|
status?: "completed" | "failed" | "max_iterations" | "rejected";
|
|
595
980
|
metrics?: ExecutionMetrics;
|
|
596
981
|
}
|
|
597
|
-
export type ExecutionStatus = "pending" | "running" | "waiting_approval" | "completed" | "failed" | "cancelled";
|
|
982
|
+
export type ExecutionStatus = "pending" | "queued" | "running" | "waiting_approval" | "completed" | "failed" | "cancelled";
|
|
598
983
|
export interface ExecutionTrace {
|
|
599
984
|
execution_id?: string; // uuid
|
|
600
985
|
iterations?: ExecutionIteration[];
|
|
@@ -741,6 +1126,63 @@ declare namespace Components {
|
|
|
741
1126
|
*/
|
|
742
1127
|
required?: string[];
|
|
743
1128
|
}
|
|
1129
|
+
export interface KnowledgeFileSource {
|
|
1130
|
+
type: "file";
|
|
1131
|
+
source_id: string; // uuid
|
|
1132
|
+
filename: string;
|
|
1133
|
+
mime_type: string;
|
|
1134
|
+
size_bytes: number; // int64
|
|
1135
|
+
/**
|
|
1136
|
+
* Whether the source is available for agent retrieval.
|
|
1137
|
+
*/
|
|
1138
|
+
ready: boolean;
|
|
1139
|
+
created_at: string; // date-time
|
|
1140
|
+
updated_at: string; // date-time
|
|
1141
|
+
}
|
|
1142
|
+
export interface KnowledgeFileSourceRegisteredEvent {
|
|
1143
|
+
orgId: string;
|
|
1144
|
+
sourceId: string; // uuid
|
|
1145
|
+
type: "file";
|
|
1146
|
+
bucket: string;
|
|
1147
|
+
key: string;
|
|
1148
|
+
}
|
|
1149
|
+
export type KnowledgeSource = KnowledgeFileSource;
|
|
1150
|
+
/**
|
|
1151
|
+
* Published when a knowledge source is deleted.
|
|
1152
|
+
*/
|
|
1153
|
+
export interface KnowledgeSourceDeletedEvent {
|
|
1154
|
+
orgId: string;
|
|
1155
|
+
sourceId: string; // uuid
|
|
1156
|
+
type: "file";
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* Knowledge source IDs available to this agent. An empty array clears the selection.
|
|
1160
|
+
*/
|
|
1161
|
+
export type KnowledgeSourceIds = string /* uuid */[];
|
|
1162
|
+
/**
|
|
1163
|
+
* Published by a knowledge processing pipeline after all derived data for
|
|
1164
|
+
* the source has been stored and is available for agent retrieval. The
|
|
1165
|
+
* event uses source `knowledge-processing` and detail type
|
|
1166
|
+
* `knowledge-source-processing-completed` on the AI Agents event bus.
|
|
1167
|
+
*
|
|
1168
|
+
*/
|
|
1169
|
+
export interface KnowledgeSourceProcessingCompletedEvent {
|
|
1170
|
+
orgId: string;
|
|
1171
|
+
sourceId: string; // uuid
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* Detail payload of the `knowledge-source-registered` event, published on
|
|
1175
|
+
* the AI Agents event bus with source `ai-agents` after the source record
|
|
1176
|
+
* exists in DynamoDB. Consumers must process `sourceId` idempotently.
|
|
1177
|
+
*
|
|
1178
|
+
*/
|
|
1179
|
+
export type KnowledgeSourceRegisteredEvent = /**
|
|
1180
|
+
* Detail payload of the `knowledge-source-registered` event, published on
|
|
1181
|
+
* the AI Agents event bus with source `ai-agents` after the source record
|
|
1182
|
+
* exists in DynamoDB. Consumers must process `sourceId` idempotently.
|
|
1183
|
+
*
|
|
1184
|
+
*/
|
|
1185
|
+
KnowledgeFileSourceRegisteredEvent;
|
|
744
1186
|
export interface ListAgentsResponse {
|
|
745
1187
|
agents?: AgentDefinition[];
|
|
746
1188
|
next_cursor?: string | null;
|
|
@@ -749,10 +1191,25 @@ declare namespace Components {
|
|
|
749
1191
|
conversations?: ConversationItem[];
|
|
750
1192
|
next_cursor?: string | null;
|
|
751
1193
|
}
|
|
1194
|
+
export interface ListCustomerChatCapabilitiesResponse {
|
|
1195
|
+
capabilities: CustomerChatCapabilityCatalogEntry[];
|
|
1196
|
+
}
|
|
1197
|
+
export interface ListCustomerChatResponse {
|
|
1198
|
+
agents: CustomerChatAgent[];
|
|
1199
|
+
}
|
|
752
1200
|
export interface ListExecutionsResponse {
|
|
753
1201
|
executions?: ExecutionResponse[];
|
|
754
1202
|
next_cursor?: string | null;
|
|
755
1203
|
}
|
|
1204
|
+
export interface ListKnowledgeSourcesResponse {
|
|
1205
|
+
sources: KnowledgeSource[];
|
|
1206
|
+
}
|
|
1207
|
+
export interface LocalizedAppearance {
|
|
1208
|
+
displayName: string;
|
|
1209
|
+
greeting: string;
|
|
1210
|
+
starters: string[];
|
|
1211
|
+
}
|
|
1212
|
+
export type LocalizedFieldList = ("displayName" | "greeting" | "starters")[];
|
|
756
1213
|
export interface MessageFeedback {
|
|
757
1214
|
rating: "up" | "down";
|
|
758
1215
|
comment?: string;
|
|
@@ -929,15 +1386,24 @@ declare namespace Components {
|
|
|
929
1386
|
*/
|
|
930
1387
|
reason: string;
|
|
931
1388
|
}
|
|
1389
|
+
export interface RenameCustomerChatAgentRequest {
|
|
1390
|
+
internal_name: string;
|
|
1391
|
+
updated_at?: string; // date-time
|
|
1392
|
+
}
|
|
1393
|
+
export interface SaveCustomerChatConfigRequest {
|
|
1394
|
+
config: AgentConfig;
|
|
1395
|
+
updated_at?: string; // date-time
|
|
1396
|
+
}
|
|
932
1397
|
/**
|
|
933
1398
|
* Where the skill/agent is available:
|
|
934
1399
|
* - flows: Available in workflow automations
|
|
935
1400
|
* - copilot: Available as a sub-agent in copilot
|
|
936
1401
|
* - portals: Available in end-user self-service portals
|
|
937
|
-
* -
|
|
1402
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
1403
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
938
1404
|
*
|
|
939
1405
|
*/
|
|
940
|
-
export type SkillAvailability = "flows" | "copilot" | "portals" | "all";
|
|
1406
|
+
export type SkillAvailability = "flows" | "copilot" | "portals" | "website" | "all";
|
|
941
1407
|
export type SkillCategory = "message" | "entity" | "document" | "classification" | "custom";
|
|
942
1408
|
/**
|
|
943
1409
|
* Server-Sent Event for streaming responses
|
|
@@ -1072,6 +1538,29 @@ declare namespace Components {
|
|
|
1072
1538
|
summary?: string;
|
|
1073
1539
|
}
|
|
1074
1540
|
export interface UpdateAgentRequest {
|
|
1541
|
+
domain?: /* Business domain selected in the agent builder. */ AgentDomain;
|
|
1542
|
+
availability?: [
|
|
1543
|
+
/**
|
|
1544
|
+
* Where the skill/agent is available:
|
|
1545
|
+
* - flows: Available in workflow automations
|
|
1546
|
+
* - copilot: Available as a sub-agent in copilot
|
|
1547
|
+
* - portals: Available in end-user self-service portals
|
|
1548
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
1549
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
1550
|
+
*
|
|
1551
|
+
*/
|
|
1552
|
+
SkillAvailability,
|
|
1553
|
+
.../**
|
|
1554
|
+
* Where the skill/agent is available:
|
|
1555
|
+
* - flows: Available in workflow automations
|
|
1556
|
+
* - copilot: Available as a sub-agent in copilot
|
|
1557
|
+
* - portals: Available in end-user self-service portals
|
|
1558
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
1559
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
1560
|
+
*
|
|
1561
|
+
*/
|
|
1562
|
+
SkillAvailability[]
|
|
1563
|
+
];
|
|
1075
1564
|
name?: string;
|
|
1076
1565
|
description?: string;
|
|
1077
1566
|
category?: SkillCategory;
|
|
@@ -1133,6 +1622,13 @@ declare namespace Components {
|
|
|
1133
1622
|
* }
|
|
1134
1623
|
*/
|
|
1135
1624
|
InputParametersSchema;
|
|
1625
|
+
knowledge_source_ids?: /* Knowledge source IDs available to this agent. An empty array clears the selection. */ KnowledgeSourceIds;
|
|
1626
|
+
}
|
|
1627
|
+
export interface WebsiteHandover {
|
|
1628
|
+
kind: "phone" | "email" | "journey" | "unset";
|
|
1629
|
+
value: string;
|
|
1630
|
+
journeyId?: string;
|
|
1631
|
+
journeyName?: string;
|
|
1136
1632
|
}
|
|
1137
1633
|
}
|
|
1138
1634
|
}
|
|
@@ -1179,6 +1675,22 @@ declare namespace Paths {
|
|
|
1179
1675
|
export type $400 = Components.Schemas.Error;
|
|
1180
1676
|
}
|
|
1181
1677
|
}
|
|
1678
|
+
namespace CreateCustomerChatAgent {
|
|
1679
|
+
export type RequestBody = Components.Schemas.CreateCustomerChatAgentRequest;
|
|
1680
|
+
namespace Responses {
|
|
1681
|
+
export type $201 = Components.Schemas.CustomerChatAgent;
|
|
1682
|
+
export type $400 = Components.Schemas.Error;
|
|
1683
|
+
export type $409 = Components.Schemas.Error;
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
namespace CreateKnowledgeFileUpload {
|
|
1687
|
+
export type RequestBody = Components.Schemas.CreateKnowledgeFileUploadRequest;
|
|
1688
|
+
namespace Responses {
|
|
1689
|
+
export type $201 = Components.Schemas.CreateKnowledgeFileUploadResponse;
|
|
1690
|
+
export type $400 = Components.Schemas.Error;
|
|
1691
|
+
export type $409 = Components.Schemas.Error;
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1182
1694
|
namespace DeleteAgentById {
|
|
1183
1695
|
namespace Parameters {
|
|
1184
1696
|
export type AgentId = /**
|
|
@@ -1213,6 +1725,32 @@ declare namespace Paths {
|
|
|
1213
1725
|
export type $404 = Components.Schemas.Error;
|
|
1214
1726
|
}
|
|
1215
1727
|
}
|
|
1728
|
+
namespace DeleteCustomerChatAgent {
|
|
1729
|
+
export interface HeaderParameters {
|
|
1730
|
+
"If-Match"?: Parameters.IfMatch;
|
|
1731
|
+
}
|
|
1732
|
+
namespace Parameters {
|
|
1733
|
+
export type AgentId = string;
|
|
1734
|
+
export type IfMatch = string;
|
|
1735
|
+
}
|
|
1736
|
+
export interface PathParameters {
|
|
1737
|
+
agent_id: Parameters.AgentId;
|
|
1738
|
+
}
|
|
1739
|
+
export type RequestBody = Components.Schemas.DeleteCustomerChatAgentRequest;
|
|
1740
|
+
namespace Responses {
|
|
1741
|
+
export interface $204 {
|
|
1742
|
+
}
|
|
1743
|
+
export type $404 = Components.Schemas.Error;
|
|
1744
|
+
export type $409 = Components.Schemas.Error;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
namespace DeleteKnowledgeSource {
|
|
1748
|
+
namespace Responses {
|
|
1749
|
+
export interface $204 {
|
|
1750
|
+
}
|
|
1751
|
+
export type $409 = Components.Schemas.Error;
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1216
1754
|
namespace ExecuteAgent {
|
|
1217
1755
|
namespace Parameters {
|
|
1218
1756
|
export type AgentId = /**
|
|
@@ -1231,8 +1769,11 @@ declare namespace Paths {
|
|
|
1231
1769
|
export type RequestBody = Components.Schemas.ExecuteAgentRequest;
|
|
1232
1770
|
namespace Responses {
|
|
1233
1771
|
export type $200 = Components.Schemas.ExecutionResponse;
|
|
1772
|
+
export type $201 = Components.Schemas.ExecutionResponse;
|
|
1234
1773
|
export type $400 = Components.Schemas.Error;
|
|
1235
1774
|
export type $404 = Components.Schemas.Error;
|
|
1775
|
+
export type $422 = Components.Schemas.Error;
|
|
1776
|
+
export type $504 = Components.Schemas.Error;
|
|
1236
1777
|
}
|
|
1237
1778
|
}
|
|
1238
1779
|
namespace ExecuteAgentStream {
|
|
@@ -1293,6 +1834,18 @@ declare namespace Paths {
|
|
|
1293
1834
|
export type $404 = Components.Schemas.Error;
|
|
1294
1835
|
}
|
|
1295
1836
|
}
|
|
1837
|
+
namespace GetCustomerChatAgent {
|
|
1838
|
+
namespace Parameters {
|
|
1839
|
+
export type AgentId = string;
|
|
1840
|
+
}
|
|
1841
|
+
export interface PathParameters {
|
|
1842
|
+
agent_id: Parameters.AgentId;
|
|
1843
|
+
}
|
|
1844
|
+
namespace Responses {
|
|
1845
|
+
export type $200 = Components.Schemas.CustomerChatAgent;
|
|
1846
|
+
export type $404 = Components.Schemas.Error;
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1296
1849
|
namespace GetExecution {
|
|
1297
1850
|
namespace Parameters {
|
|
1298
1851
|
export type ExecutionId = string; // uuid
|
|
@@ -1329,6 +1882,12 @@ declare namespace Paths {
|
|
|
1329
1882
|
export type $404 = Components.Schemas.Error;
|
|
1330
1883
|
}
|
|
1331
1884
|
}
|
|
1885
|
+
namespace GetKnowledgeSource {
|
|
1886
|
+
namespace Responses {
|
|
1887
|
+
export type $200 = Components.Schemas.KnowledgeSource;
|
|
1888
|
+
export type $404 = Components.Schemas.Error;
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1332
1891
|
namespace ListAgents {
|
|
1333
1892
|
namespace Parameters {
|
|
1334
1893
|
export type Availability = /**
|
|
@@ -1336,7 +1895,8 @@ declare namespace Paths {
|
|
|
1336
1895
|
* - flows: Available in workflow automations
|
|
1337
1896
|
* - copilot: Available as a sub-agent in copilot
|
|
1338
1897
|
* - portals: Available in end-user self-service portals
|
|
1339
|
-
* -
|
|
1898
|
+
* - website: Website chat, explicitly selected; currently supports anonymous execution
|
|
1899
|
+
* - all: Available on the existing non-website surfaces; website requires explicit selection
|
|
1340
1900
|
*
|
|
1341
1901
|
*/
|
|
1342
1902
|
Components.Schemas.SkillAvailability;
|
|
@@ -1374,6 +1934,17 @@ declare namespace Paths {
|
|
|
1374
1934
|
export type $400 = Components.Schemas.Error;
|
|
1375
1935
|
}
|
|
1376
1936
|
}
|
|
1937
|
+
namespace ListCustomerChat {
|
|
1938
|
+
namespace Responses {
|
|
1939
|
+
export type $200 = Components.Schemas.ListCustomerChatResponse;
|
|
1940
|
+
export type $400 = Components.Schemas.Error;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
namespace ListCustomerChatCapabilities {
|
|
1944
|
+
namespace Responses {
|
|
1945
|
+
export type $200 = Components.Schemas.ListCustomerChatCapabilitiesResponse;
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1377
1948
|
namespace ListExecutions {
|
|
1378
1949
|
namespace Parameters {
|
|
1379
1950
|
export type AgentId = string;
|
|
@@ -1390,6 +1961,11 @@ declare namespace Paths {
|
|
|
1390
1961
|
export type $400 = Components.Schemas.Error;
|
|
1391
1962
|
}
|
|
1392
1963
|
}
|
|
1964
|
+
namespace ListKnowledgeSources {
|
|
1965
|
+
namespace Responses {
|
|
1966
|
+
export type $200 = Components.Schemas.ListKnowledgeSourcesResponse;
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1393
1969
|
namespace PutExecutionFeedback {
|
|
1394
1970
|
namespace Parameters {
|
|
1395
1971
|
export type ExecutionId = string; // uuid
|
|
@@ -1419,6 +1995,44 @@ declare namespace Paths {
|
|
|
1419
1995
|
export type $404 = Components.Schemas.Error;
|
|
1420
1996
|
}
|
|
1421
1997
|
}
|
|
1998
|
+
namespace RenameCustomerChatAgent {
|
|
1999
|
+
export interface HeaderParameters {
|
|
2000
|
+
"If-Match"?: Parameters.IfMatch;
|
|
2001
|
+
}
|
|
2002
|
+
namespace Parameters {
|
|
2003
|
+
export type AgentId = string;
|
|
2004
|
+
export type IfMatch = string;
|
|
2005
|
+
}
|
|
2006
|
+
export interface PathParameters {
|
|
2007
|
+
agent_id: Parameters.AgentId;
|
|
2008
|
+
}
|
|
2009
|
+
export type RequestBody = Components.Schemas.RenameCustomerChatAgentRequest;
|
|
2010
|
+
namespace Responses {
|
|
2011
|
+
export type $200 = Components.Schemas.CustomerChatAgent;
|
|
2012
|
+
export type $400 = Components.Schemas.Error;
|
|
2013
|
+
export type $404 = Components.Schemas.Error;
|
|
2014
|
+
export type $409 = Components.Schemas.Error;
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
namespace SaveCustomerChatConfig {
|
|
2018
|
+
export interface HeaderParameters {
|
|
2019
|
+
"If-Match"?: Parameters.IfMatch;
|
|
2020
|
+
}
|
|
2021
|
+
namespace Parameters {
|
|
2022
|
+
export type AgentId = string;
|
|
2023
|
+
export type IfMatch = string;
|
|
2024
|
+
}
|
|
2025
|
+
export interface PathParameters {
|
|
2026
|
+
agent_id: Parameters.AgentId;
|
|
2027
|
+
}
|
|
2028
|
+
export type RequestBody = Components.Schemas.SaveCustomerChatConfigRequest;
|
|
2029
|
+
namespace Responses {
|
|
2030
|
+
export type $200 = Components.Schemas.CustomerChatAgent;
|
|
2031
|
+
export type $400 = Components.Schemas.Error;
|
|
2032
|
+
export type $404 = Components.Schemas.Error;
|
|
2033
|
+
export type $409 = Components.Schemas.Error;
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
1422
2036
|
namespace StreamExecution {
|
|
1423
2037
|
namespace Parameters {
|
|
1424
2038
|
export type ExecutionId = string; // uuid
|
|
@@ -1470,6 +2084,16 @@ declare namespace Paths {
|
|
|
1470
2084
|
namespace Responses {
|
|
1471
2085
|
export type $200 = Components.Schemas.AgentDefinition;
|
|
1472
2086
|
export type $400 = Components.Schemas.Error;
|
|
2087
|
+
export type $404 = Components.Schemas.Error;
|
|
2088
|
+
export type $409 = Components.Schemas.Error;
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
namespace V1KnowledgeSources$SourceId {
|
|
2092
|
+
namespace Parameters {
|
|
2093
|
+
export type SourceId = string; // uuid
|
|
2094
|
+
}
|
|
2095
|
+
export interface PathParameters {
|
|
2096
|
+
source_id: Parameters.SourceId /* uuid */;
|
|
1473
2097
|
}
|
|
1474
2098
|
}
|
|
1475
2099
|
}
|
|
@@ -1477,7 +2101,7 @@ declare namespace Paths {
|
|
|
1477
2101
|
|
|
1478
2102
|
interface OperationMethods {
|
|
1479
2103
|
/**
|
|
1480
|
-
* listAgents -
|
|
2104
|
+
* listAgents - List all agent configurations
|
|
1481
2105
|
*
|
|
1482
2106
|
* Lists agents from both system skills and custom agents.
|
|
1483
2107
|
* Use query parameters to filter by source, availability, or entity schema.
|
|
@@ -1489,7 +2113,7 @@ interface OperationMethods {
|
|
|
1489
2113
|
config?: AxiosRequestConfig
|
|
1490
2114
|
): OperationResponse<Paths.ListAgents.Responses.$200>
|
|
1491
2115
|
/**
|
|
1492
|
-
* createAgent -
|
|
2116
|
+
* createAgent - Create Agent definition
|
|
1493
2117
|
*
|
|
1494
2118
|
* Creates a new custom agent. System skills cannot be created via this endpoint.
|
|
1495
2119
|
*/
|
|
@@ -1499,7 +2123,7 @@ interface OperationMethods {
|
|
|
1499
2123
|
config?: AxiosRequestConfig
|
|
1500
2124
|
): OperationResponse<Paths.CreateAgent.Responses.$201>
|
|
1501
2125
|
/**
|
|
1502
|
-
* getAgentById -
|
|
2126
|
+
* getAgentById - Get the agent configuration by ID
|
|
1503
2127
|
*
|
|
1504
2128
|
* Retrieves an agent by ID. Supports both:
|
|
1505
2129
|
* - System skill IDs (prefixed): "skill:email-categorizer"
|
|
@@ -1512,7 +2136,7 @@ interface OperationMethods {
|
|
|
1512
2136
|
config?: AxiosRequestConfig
|
|
1513
2137
|
): OperationResponse<Paths.GetAgentById.Responses.$200>
|
|
1514
2138
|
/**
|
|
1515
|
-
* updateAgentById -
|
|
2139
|
+
* updateAgentById - Update the agent configuration by ID
|
|
1516
2140
|
*
|
|
1517
2141
|
* Updates a custom agent. System skills cannot be updated via this endpoint.
|
|
1518
2142
|
*/
|
|
@@ -1522,7 +2146,7 @@ interface OperationMethods {
|
|
|
1522
2146
|
config?: AxiosRequestConfig
|
|
1523
2147
|
): OperationResponse<Paths.UpdateAgentById.Responses.$200>
|
|
1524
2148
|
/**
|
|
1525
|
-
* deleteAgentById -
|
|
2149
|
+
* deleteAgentById - Delete the agent configuration by ID
|
|
1526
2150
|
*
|
|
1527
2151
|
* Deletes a custom agent. System skills cannot be deleted via this endpoint.
|
|
1528
2152
|
*/
|
|
@@ -1532,7 +2156,113 @@ interface OperationMethods {
|
|
|
1532
2156
|
config?: AxiosRequestConfig
|
|
1533
2157
|
): OperationResponse<Paths.DeleteAgentById.Responses.$204>
|
|
1534
2158
|
/**
|
|
1535
|
-
*
|
|
2159
|
+
* listCustomerChat - List customer chat agents
|
|
2160
|
+
*
|
|
2161
|
+
* Returns the org's website agent (at most one) first, then its portal agents ordered by created_at ascending.
|
|
2162
|
+
*/
|
|
2163
|
+
'listCustomerChat'(
|
|
2164
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2165
|
+
data?: any,
|
|
2166
|
+
config?: AxiosRequestConfig
|
|
2167
|
+
): OperationResponse<Paths.ListCustomerChat.Responses.$200>
|
|
2168
|
+
/**
|
|
2169
|
+
* createCustomerChatAgent - Create a customer chat agent with default config
|
|
2170
|
+
*
|
|
2171
|
+
* Mints agent_id (equal to runtime_agent_id) and compiles the runtime AgentRecord. An org can have at most one website agent (409 on a second one) and any number of portal agents.
|
|
2172
|
+
*/
|
|
2173
|
+
'createCustomerChatAgent'(
|
|
2174
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2175
|
+
data?: Paths.CreateCustomerChatAgent.RequestBody,
|
|
2176
|
+
config?: AxiosRequestConfig
|
|
2177
|
+
): OperationResponse<Paths.CreateCustomerChatAgent.Responses.$201>
|
|
2178
|
+
/**
|
|
2179
|
+
* listCustomerChatCapabilities - List the capability catalog
|
|
2180
|
+
*
|
|
2181
|
+
* Capabilities admins can enable and the places they are offered on.
|
|
2182
|
+
* Single source of truth for Agent Builder; capabilities that are no
|
|
2183
|
+
* longer offered are omitted, while already-enabled instances of them
|
|
2184
|
+
* keep working.
|
|
2185
|
+
*
|
|
2186
|
+
*/
|
|
2187
|
+
'listCustomerChatCapabilities'(
|
|
2188
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2189
|
+
data?: any,
|
|
2190
|
+
config?: AxiosRequestConfig
|
|
2191
|
+
): OperationResponse<Paths.ListCustomerChatCapabilities.Responses.$200>
|
|
2192
|
+
/**
|
|
2193
|
+
* getCustomerChatAgent - Get a customer chat agent
|
|
2194
|
+
*/
|
|
2195
|
+
'getCustomerChatAgent'(
|
|
2196
|
+
parameters?: Parameters<Paths.GetCustomerChatAgent.PathParameters> | null,
|
|
2197
|
+
data?: any,
|
|
2198
|
+
config?: AxiosRequestConfig
|
|
2199
|
+
): OperationResponse<Paths.GetCustomerChatAgent.Responses.$200>
|
|
2200
|
+
/**
|
|
2201
|
+
* renameCustomerChatAgent - Rename a customer chat agent
|
|
2202
|
+
*/
|
|
2203
|
+
'renameCustomerChatAgent'(
|
|
2204
|
+
parameters?: Parameters<Paths.RenameCustomerChatAgent.HeaderParameters & Paths.RenameCustomerChatAgent.PathParameters> | null,
|
|
2205
|
+
data?: Paths.RenameCustomerChatAgent.RequestBody,
|
|
2206
|
+
config?: AxiosRequestConfig
|
|
2207
|
+
): OperationResponse<Paths.RenameCustomerChatAgent.Responses.$200>
|
|
2208
|
+
/**
|
|
2209
|
+
* deleteCustomerChatAgent - Remove a customer chat agent and its runtime projection
|
|
2210
|
+
*
|
|
2211
|
+
* Deletes the place agent. For portal agents, also clears
|
|
2212
|
+
* `feature_settings.portal_copilot_agent_id` on linked portals (pass
|
|
2213
|
+
* `portal_id` when known, otherwise the API scans org portal configs)
|
|
2214
|
+
* before deleting, so a single request cannot leave an orphan agent.
|
|
2215
|
+
*
|
|
2216
|
+
*/
|
|
2217
|
+
'deleteCustomerChatAgent'(
|
|
2218
|
+
parameters?: Parameters<Paths.DeleteCustomerChatAgent.HeaderParameters & Paths.DeleteCustomerChatAgent.PathParameters> | null,
|
|
2219
|
+
data?: Paths.DeleteCustomerChatAgent.RequestBody,
|
|
2220
|
+
config?: AxiosRequestConfig
|
|
2221
|
+
): OperationResponse<Paths.DeleteCustomerChatAgent.Responses.$204>
|
|
2222
|
+
/**
|
|
2223
|
+
* saveCustomerChatConfig - Replace the AgentConfig and compile the runtime AgentRecord
|
|
2224
|
+
*/
|
|
2225
|
+
'saveCustomerChatConfig'(
|
|
2226
|
+
parameters?: Parameters<Paths.SaveCustomerChatConfig.HeaderParameters & Paths.SaveCustomerChatConfig.PathParameters> | null,
|
|
2227
|
+
data?: Paths.SaveCustomerChatConfig.RequestBody,
|
|
2228
|
+
config?: AxiosRequestConfig
|
|
2229
|
+
): OperationResponse<Paths.SaveCustomerChatConfig.Responses.$200>
|
|
2230
|
+
/**
|
|
2231
|
+
* listKnowledgeSources - List knowledge sources
|
|
2232
|
+
*/
|
|
2233
|
+
'listKnowledgeSources'(
|
|
2234
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2235
|
+
data?: any,
|
|
2236
|
+
config?: AxiosRequestConfig
|
|
2237
|
+
): OperationResponse<Paths.ListKnowledgeSources.Responses.$200>
|
|
2238
|
+
/**
|
|
2239
|
+
* createKnowledgeFileUpload - Create a knowledge file upload
|
|
2240
|
+
*
|
|
2241
|
+
* Returns a direct S3 upload. The source becomes available after S3 confirms the completed object.
|
|
2242
|
+
*/
|
|
2243
|
+
'createKnowledgeFileUpload'(
|
|
2244
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2245
|
+
data?: Paths.CreateKnowledgeFileUpload.RequestBody,
|
|
2246
|
+
config?: AxiosRequestConfig
|
|
2247
|
+
): OperationResponse<Paths.CreateKnowledgeFileUpload.Responses.$201>
|
|
2248
|
+
/**
|
|
2249
|
+
* getKnowledgeSource - Get a knowledge source
|
|
2250
|
+
*/
|
|
2251
|
+
'getKnowledgeSource'(
|
|
2252
|
+
parameters?: Parameters<Paths.V1KnowledgeSources$SourceId.PathParameters> | null,
|
|
2253
|
+
data?: any,
|
|
2254
|
+
config?: AxiosRequestConfig
|
|
2255
|
+
): OperationResponse<Paths.GetKnowledgeSource.Responses.$200>
|
|
2256
|
+
/**
|
|
2257
|
+
* deleteKnowledgeSource - Delete a knowledge source
|
|
2258
|
+
*/
|
|
2259
|
+
'deleteKnowledgeSource'(
|
|
2260
|
+
parameters?: Parameters<Paths.V1KnowledgeSources$SourceId.PathParameters> | null,
|
|
2261
|
+
data?: any,
|
|
2262
|
+
config?: AxiosRequestConfig
|
|
2263
|
+
): OperationResponse<Paths.DeleteKnowledgeSource.Responses.$204>
|
|
2264
|
+
/**
|
|
2265
|
+
* executeAgent - Execute an agent
|
|
1536
2266
|
*
|
|
1537
2267
|
* Executes an agent (system skill or custom agent).
|
|
1538
2268
|
* Supports both:
|
|
@@ -1544,9 +2274,9 @@ interface OperationMethods {
|
|
|
1544
2274
|
parameters?: Parameters<Paths.ExecuteAgent.PathParameters> | null,
|
|
1545
2275
|
data?: Paths.ExecuteAgent.RequestBody,
|
|
1546
2276
|
config?: AxiosRequestConfig
|
|
1547
|
-
): OperationResponse<Paths.ExecuteAgent.Responses.$200>
|
|
2277
|
+
): OperationResponse<Paths.ExecuteAgent.Responses.$200 | Paths.ExecuteAgent.Responses.$201>
|
|
1548
2278
|
/**
|
|
1549
|
-
* executeAgentStream -
|
|
2279
|
+
* executeAgentStream - Execute an agent with streaming response
|
|
1550
2280
|
*
|
|
1551
2281
|
* Executes an agent with real-time streaming of tokens and tool events.
|
|
1552
2282
|
* Returns Server-Sent Events (SSE) stream with token-by-token output,
|
|
@@ -1566,7 +2296,7 @@ interface OperationMethods {
|
|
|
1566
2296
|
config?: AxiosRequestConfig
|
|
1567
2297
|
): OperationResponse<Paths.ExecuteAgentStream.Responses.$200>
|
|
1568
2298
|
/**
|
|
1569
|
-
* listExecutions -
|
|
2299
|
+
* listExecutions - List executions
|
|
1570
2300
|
*
|
|
1571
2301
|
* List executions
|
|
1572
2302
|
*/
|
|
@@ -1576,7 +2306,7 @@ interface OperationMethods {
|
|
|
1576
2306
|
config?: AxiosRequestConfig
|
|
1577
2307
|
): OperationResponse<Paths.ListExecutions.Responses.$200>
|
|
1578
2308
|
/**
|
|
1579
|
-
* getExecution -
|
|
2309
|
+
* getExecution - Get execution by ID
|
|
1580
2310
|
*
|
|
1581
2311
|
* Get execution by ID
|
|
1582
2312
|
*/
|
|
@@ -1586,7 +2316,7 @@ interface OperationMethods {
|
|
|
1586
2316
|
config?: AxiosRequestConfig
|
|
1587
2317
|
): OperationResponse<Paths.GetExecution.Responses.$200>
|
|
1588
2318
|
/**
|
|
1589
|
-
* cancelExecution -
|
|
2319
|
+
* cancelExecution - Cancel execution
|
|
1590
2320
|
*
|
|
1591
2321
|
* Cancel execution
|
|
1592
2322
|
*/
|
|
@@ -1596,7 +2326,7 @@ interface OperationMethods {
|
|
|
1596
2326
|
config?: AxiosRequestConfig
|
|
1597
2327
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
1598
2328
|
/**
|
|
1599
|
-
* getExecutionTrace -
|
|
2329
|
+
* getExecutionTrace - Get execution trace/iterations
|
|
1600
2330
|
*
|
|
1601
2331
|
* Returns the step-by-step reasoning and tool calls for ReAct mode executions. Returns empty iterations array for direct mode executions.
|
|
1602
2332
|
*/
|
|
@@ -1626,7 +2356,7 @@ interface OperationMethods {
|
|
|
1626
2356
|
config?: AxiosRequestConfig
|
|
1627
2357
|
): OperationResponse<Paths.PutExecutionFeedback.Responses.$200>
|
|
1628
2358
|
/**
|
|
1629
|
-
* approveExecution -
|
|
2359
|
+
* approveExecution - Approve pending action
|
|
1630
2360
|
*
|
|
1631
2361
|
* Approves a pending tool action when execution is in waiting_approval status
|
|
1632
2362
|
*/
|
|
@@ -1636,7 +2366,7 @@ interface OperationMethods {
|
|
|
1636
2366
|
config?: AxiosRequestConfig
|
|
1637
2367
|
): OperationResponse<Paths.ApproveExecution.Responses.$200>
|
|
1638
2368
|
/**
|
|
1639
|
-
* rejectExecution -
|
|
2369
|
+
* rejectExecution - Reject pending action
|
|
1640
2370
|
*
|
|
1641
2371
|
* Rejects a pending tool action when execution is in waiting_approval status
|
|
1642
2372
|
*/
|
|
@@ -1646,7 +2376,7 @@ interface OperationMethods {
|
|
|
1646
2376
|
config?: AxiosRequestConfig
|
|
1647
2377
|
): OperationResponse<Paths.RejectExecution.Responses.$200>
|
|
1648
2378
|
/**
|
|
1649
|
-
* streamExecution -
|
|
2379
|
+
* streamExecution - Reconnect to execution stream
|
|
1650
2380
|
*
|
|
1651
2381
|
* Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
|
|
1652
2382
|
*/
|
|
@@ -1656,7 +2386,7 @@ interface OperationMethods {
|
|
|
1656
2386
|
config?: AxiosRequestConfig
|
|
1657
2387
|
): OperationResponse<Paths.StreamExecution.Responses.$200>
|
|
1658
2388
|
/**
|
|
1659
|
-
* chat - chat
|
|
2389
|
+
* chat - Streaming chat with AI agent
|
|
1660
2390
|
*
|
|
1661
2391
|
* Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
|
|
1662
2392
|
*/
|
|
@@ -1666,7 +2396,7 @@ interface OperationMethods {
|
|
|
1666
2396
|
config?: AxiosRequestConfig
|
|
1667
2397
|
): OperationResponse<Paths.Chat.Responses.$200>
|
|
1668
2398
|
/**
|
|
1669
|
-
* listConversations -
|
|
2399
|
+
* listConversations - List conversations
|
|
1670
2400
|
*
|
|
1671
2401
|
* Lists conversations for the authenticated user, sorted by most recent.
|
|
1672
2402
|
*/
|
|
@@ -1676,7 +2406,7 @@ interface OperationMethods {
|
|
|
1676
2406
|
config?: AxiosRequestConfig
|
|
1677
2407
|
): OperationResponse<Paths.ListConversations.Responses.$200>
|
|
1678
2408
|
/**
|
|
1679
|
-
* getConversation -
|
|
2409
|
+
* getConversation - Get conversation with messages
|
|
1680
2410
|
*
|
|
1681
2411
|
* Retrieves a conversation and its message history.
|
|
1682
2412
|
*/
|
|
@@ -1686,7 +2416,7 @@ interface OperationMethods {
|
|
|
1686
2416
|
config?: AxiosRequestConfig
|
|
1687
2417
|
): OperationResponse<Paths.GetConversation.Responses.$200>
|
|
1688
2418
|
/**
|
|
1689
|
-
* deleteConversation -
|
|
2419
|
+
* deleteConversation - Delete conversation
|
|
1690
2420
|
*
|
|
1691
2421
|
* Deletes a conversation and all its messages.
|
|
1692
2422
|
*/
|
|
@@ -1696,7 +2426,7 @@ interface OperationMethods {
|
|
|
1696
2426
|
config?: AxiosRequestConfig
|
|
1697
2427
|
): OperationResponse<Paths.DeleteConversation.Responses.$204>
|
|
1698
2428
|
/**
|
|
1699
|
-
* submitConversationFeedback -
|
|
2429
|
+
* submitConversationFeedback - Submit feedback for an assistant turn
|
|
1700
2430
|
*
|
|
1701
2431
|
* Records a thumbs up/down (with optional comment) for the assistant turn identified by its Langfuse trace id. The rating is persisted on the message and mirrored to Langfuse as a trace score.
|
|
1702
2432
|
*
|
|
@@ -1711,7 +2441,7 @@ interface OperationMethods {
|
|
|
1711
2441
|
interface PathsDictionary {
|
|
1712
2442
|
['/v1/agents']: {
|
|
1713
2443
|
/**
|
|
1714
|
-
* createAgent -
|
|
2444
|
+
* createAgent - Create Agent definition
|
|
1715
2445
|
*
|
|
1716
2446
|
* Creates a new custom agent. System skills cannot be created via this endpoint.
|
|
1717
2447
|
*/
|
|
@@ -1721,7 +2451,7 @@ interface PathsDictionary {
|
|
|
1721
2451
|
config?: AxiosRequestConfig
|
|
1722
2452
|
): OperationResponse<Paths.CreateAgent.Responses.$201>
|
|
1723
2453
|
/**
|
|
1724
|
-
* listAgents -
|
|
2454
|
+
* listAgents - List all agent configurations
|
|
1725
2455
|
*
|
|
1726
2456
|
* Lists agents from both system skills and custom agents.
|
|
1727
2457
|
* Use query parameters to filter by source, availability, or entity schema.
|
|
@@ -1735,7 +2465,7 @@ interface PathsDictionary {
|
|
|
1735
2465
|
}
|
|
1736
2466
|
['/v1/agents/{agent_id}']: {
|
|
1737
2467
|
/**
|
|
1738
|
-
* getAgentById -
|
|
2468
|
+
* getAgentById - Get the agent configuration by ID
|
|
1739
2469
|
*
|
|
1740
2470
|
* Retrieves an agent by ID. Supports both:
|
|
1741
2471
|
* - System skill IDs (prefixed): "skill:email-categorizer"
|
|
@@ -1748,7 +2478,7 @@ interface PathsDictionary {
|
|
|
1748
2478
|
config?: AxiosRequestConfig
|
|
1749
2479
|
): OperationResponse<Paths.GetAgentById.Responses.$200>
|
|
1750
2480
|
/**
|
|
1751
|
-
* updateAgentById -
|
|
2481
|
+
* updateAgentById - Update the agent configuration by ID
|
|
1752
2482
|
*
|
|
1753
2483
|
* Updates a custom agent. System skills cannot be updated via this endpoint.
|
|
1754
2484
|
*/
|
|
@@ -1758,7 +2488,7 @@ interface PathsDictionary {
|
|
|
1758
2488
|
config?: AxiosRequestConfig
|
|
1759
2489
|
): OperationResponse<Paths.UpdateAgentById.Responses.$200>
|
|
1760
2490
|
/**
|
|
1761
|
-
* deleteAgentById -
|
|
2491
|
+
* deleteAgentById - Delete the agent configuration by ID
|
|
1762
2492
|
*
|
|
1763
2493
|
* Deletes a custom agent. System skills cannot be deleted via this endpoint.
|
|
1764
2494
|
*/
|
|
@@ -1768,9 +2498,129 @@ interface PathsDictionary {
|
|
|
1768
2498
|
config?: AxiosRequestConfig
|
|
1769
2499
|
): OperationResponse<Paths.DeleteAgentById.Responses.$204>
|
|
1770
2500
|
}
|
|
2501
|
+
['/v1/customer-chat']: {
|
|
2502
|
+
/**
|
|
2503
|
+
* listCustomerChat - List customer chat agents
|
|
2504
|
+
*
|
|
2505
|
+
* Returns the org's website agent (at most one) first, then its portal agents ordered by created_at ascending.
|
|
2506
|
+
*/
|
|
2507
|
+
'get'(
|
|
2508
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2509
|
+
data?: any,
|
|
2510
|
+
config?: AxiosRequestConfig
|
|
2511
|
+
): OperationResponse<Paths.ListCustomerChat.Responses.$200>
|
|
2512
|
+
/**
|
|
2513
|
+
* createCustomerChatAgent - Create a customer chat agent with default config
|
|
2514
|
+
*
|
|
2515
|
+
* Mints agent_id (equal to runtime_agent_id) and compiles the runtime AgentRecord. An org can have at most one website agent (409 on a second one) and any number of portal agents.
|
|
2516
|
+
*/
|
|
2517
|
+
'post'(
|
|
2518
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2519
|
+
data?: Paths.CreateCustomerChatAgent.RequestBody,
|
|
2520
|
+
config?: AxiosRequestConfig
|
|
2521
|
+
): OperationResponse<Paths.CreateCustomerChatAgent.Responses.$201>
|
|
2522
|
+
}
|
|
2523
|
+
['/v1/customer-chat/capabilities']: {
|
|
2524
|
+
/**
|
|
2525
|
+
* listCustomerChatCapabilities - List the capability catalog
|
|
2526
|
+
*
|
|
2527
|
+
* Capabilities admins can enable and the places they are offered on.
|
|
2528
|
+
* Single source of truth for Agent Builder; capabilities that are no
|
|
2529
|
+
* longer offered are omitted, while already-enabled instances of them
|
|
2530
|
+
* keep working.
|
|
2531
|
+
*
|
|
2532
|
+
*/
|
|
2533
|
+
'get'(
|
|
2534
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2535
|
+
data?: any,
|
|
2536
|
+
config?: AxiosRequestConfig
|
|
2537
|
+
): OperationResponse<Paths.ListCustomerChatCapabilities.Responses.$200>
|
|
2538
|
+
}
|
|
2539
|
+
['/v1/customer-chat/{agent_id}']: {
|
|
2540
|
+
/**
|
|
2541
|
+
* getCustomerChatAgent - Get a customer chat agent
|
|
2542
|
+
*/
|
|
2543
|
+
'get'(
|
|
2544
|
+
parameters?: Parameters<Paths.GetCustomerChatAgent.PathParameters> | null,
|
|
2545
|
+
data?: any,
|
|
2546
|
+
config?: AxiosRequestConfig
|
|
2547
|
+
): OperationResponse<Paths.GetCustomerChatAgent.Responses.$200>
|
|
2548
|
+
/**
|
|
2549
|
+
* renameCustomerChatAgent - Rename a customer chat agent
|
|
2550
|
+
*/
|
|
2551
|
+
'patch'(
|
|
2552
|
+
parameters?: Parameters<Paths.RenameCustomerChatAgent.HeaderParameters & Paths.RenameCustomerChatAgent.PathParameters> | null,
|
|
2553
|
+
data?: Paths.RenameCustomerChatAgent.RequestBody,
|
|
2554
|
+
config?: AxiosRequestConfig
|
|
2555
|
+
): OperationResponse<Paths.RenameCustomerChatAgent.Responses.$200>
|
|
2556
|
+
/**
|
|
2557
|
+
* deleteCustomerChatAgent - Remove a customer chat agent and its runtime projection
|
|
2558
|
+
*
|
|
2559
|
+
* Deletes the place agent. For portal agents, also clears
|
|
2560
|
+
* `feature_settings.portal_copilot_agent_id` on linked portals (pass
|
|
2561
|
+
* `portal_id` when known, otherwise the API scans org portal configs)
|
|
2562
|
+
* before deleting, so a single request cannot leave an orphan agent.
|
|
2563
|
+
*
|
|
2564
|
+
*/
|
|
2565
|
+
'delete'(
|
|
2566
|
+
parameters?: Parameters<Paths.DeleteCustomerChatAgent.HeaderParameters & Paths.DeleteCustomerChatAgent.PathParameters> | null,
|
|
2567
|
+
data?: Paths.DeleteCustomerChatAgent.RequestBody,
|
|
2568
|
+
config?: AxiosRequestConfig
|
|
2569
|
+
): OperationResponse<Paths.DeleteCustomerChatAgent.Responses.$204>
|
|
2570
|
+
}
|
|
2571
|
+
['/v1/customer-chat/{agent_id}/config']: {
|
|
2572
|
+
/**
|
|
2573
|
+
* saveCustomerChatConfig - Replace the AgentConfig and compile the runtime AgentRecord
|
|
2574
|
+
*/
|
|
2575
|
+
'put'(
|
|
2576
|
+
parameters?: Parameters<Paths.SaveCustomerChatConfig.HeaderParameters & Paths.SaveCustomerChatConfig.PathParameters> | null,
|
|
2577
|
+
data?: Paths.SaveCustomerChatConfig.RequestBody,
|
|
2578
|
+
config?: AxiosRequestConfig
|
|
2579
|
+
): OperationResponse<Paths.SaveCustomerChatConfig.Responses.$200>
|
|
2580
|
+
}
|
|
2581
|
+
['/v1/knowledge/sources']: {
|
|
2582
|
+
/**
|
|
2583
|
+
* listKnowledgeSources - List knowledge sources
|
|
2584
|
+
*/
|
|
2585
|
+
'get'(
|
|
2586
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2587
|
+
data?: any,
|
|
2588
|
+
config?: AxiosRequestConfig
|
|
2589
|
+
): OperationResponse<Paths.ListKnowledgeSources.Responses.$200>
|
|
2590
|
+
}
|
|
2591
|
+
['/v1/knowledge/file-uploads']: {
|
|
2592
|
+
/**
|
|
2593
|
+
* createKnowledgeFileUpload - Create a knowledge file upload
|
|
2594
|
+
*
|
|
2595
|
+
* Returns a direct S3 upload. The source becomes available after S3 confirms the completed object.
|
|
2596
|
+
*/
|
|
2597
|
+
'post'(
|
|
2598
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2599
|
+
data?: Paths.CreateKnowledgeFileUpload.RequestBody,
|
|
2600
|
+
config?: AxiosRequestConfig
|
|
2601
|
+
): OperationResponse<Paths.CreateKnowledgeFileUpload.Responses.$201>
|
|
2602
|
+
}
|
|
2603
|
+
['/v1/knowledge/sources/{source_id}']: {
|
|
2604
|
+
/**
|
|
2605
|
+
* getKnowledgeSource - Get a knowledge source
|
|
2606
|
+
*/
|
|
2607
|
+
'get'(
|
|
2608
|
+
parameters?: Parameters<Paths.V1KnowledgeSources$SourceId.PathParameters> | null,
|
|
2609
|
+
data?: any,
|
|
2610
|
+
config?: AxiosRequestConfig
|
|
2611
|
+
): OperationResponse<Paths.GetKnowledgeSource.Responses.$200>
|
|
2612
|
+
/**
|
|
2613
|
+
* deleteKnowledgeSource - Delete a knowledge source
|
|
2614
|
+
*/
|
|
2615
|
+
'delete'(
|
|
2616
|
+
parameters?: Parameters<Paths.V1KnowledgeSources$SourceId.PathParameters> | null,
|
|
2617
|
+
data?: any,
|
|
2618
|
+
config?: AxiosRequestConfig
|
|
2619
|
+
): OperationResponse<Paths.DeleteKnowledgeSource.Responses.$204>
|
|
2620
|
+
}
|
|
1771
2621
|
['/v1/agents/{agent_id}/execute']: {
|
|
1772
2622
|
/**
|
|
1773
|
-
* executeAgent -
|
|
2623
|
+
* executeAgent - Execute an agent
|
|
1774
2624
|
*
|
|
1775
2625
|
* Executes an agent (system skill or custom agent).
|
|
1776
2626
|
* Supports both:
|
|
@@ -1782,11 +2632,11 @@ interface PathsDictionary {
|
|
|
1782
2632
|
parameters?: Parameters<Paths.ExecuteAgent.PathParameters> | null,
|
|
1783
2633
|
data?: Paths.ExecuteAgent.RequestBody,
|
|
1784
2634
|
config?: AxiosRequestConfig
|
|
1785
|
-
): OperationResponse<Paths.ExecuteAgent.Responses.$200>
|
|
2635
|
+
): OperationResponse<Paths.ExecuteAgent.Responses.$200 | Paths.ExecuteAgent.Responses.$201>
|
|
1786
2636
|
}
|
|
1787
2637
|
['/v1/agents/{agent_id}/execute/stream']: {
|
|
1788
2638
|
/**
|
|
1789
|
-
* executeAgentStream -
|
|
2639
|
+
* executeAgentStream - Execute an agent with streaming response
|
|
1790
2640
|
*
|
|
1791
2641
|
* Executes an agent with real-time streaming of tokens and tool events.
|
|
1792
2642
|
* Returns Server-Sent Events (SSE) stream with token-by-token output,
|
|
@@ -1808,7 +2658,7 @@ interface PathsDictionary {
|
|
|
1808
2658
|
}
|
|
1809
2659
|
['/v1/executions']: {
|
|
1810
2660
|
/**
|
|
1811
|
-
* listExecutions -
|
|
2661
|
+
* listExecutions - List executions
|
|
1812
2662
|
*
|
|
1813
2663
|
* List executions
|
|
1814
2664
|
*/
|
|
@@ -1820,7 +2670,7 @@ interface PathsDictionary {
|
|
|
1820
2670
|
}
|
|
1821
2671
|
['/v1/executions/{execution_id}']: {
|
|
1822
2672
|
/**
|
|
1823
|
-
* getExecution -
|
|
2673
|
+
* getExecution - Get execution by ID
|
|
1824
2674
|
*
|
|
1825
2675
|
* Get execution by ID
|
|
1826
2676
|
*/
|
|
@@ -1830,7 +2680,7 @@ interface PathsDictionary {
|
|
|
1830
2680
|
config?: AxiosRequestConfig
|
|
1831
2681
|
): OperationResponse<Paths.GetExecution.Responses.$200>
|
|
1832
2682
|
/**
|
|
1833
|
-
* cancelExecution -
|
|
2683
|
+
* cancelExecution - Cancel execution
|
|
1834
2684
|
*
|
|
1835
2685
|
* Cancel execution
|
|
1836
2686
|
*/
|
|
@@ -1842,7 +2692,7 @@ interface PathsDictionary {
|
|
|
1842
2692
|
}
|
|
1843
2693
|
['/v1/executions/{execution_id}/trace']: {
|
|
1844
2694
|
/**
|
|
1845
|
-
* getExecutionTrace -
|
|
2695
|
+
* getExecutionTrace - Get execution trace/iterations
|
|
1846
2696
|
*
|
|
1847
2697
|
* Returns the step-by-step reasoning and tool calls for ReAct mode executions. Returns empty iterations array for direct mode executions.
|
|
1848
2698
|
*/
|
|
@@ -1876,7 +2726,7 @@ interface PathsDictionary {
|
|
|
1876
2726
|
}
|
|
1877
2727
|
['/v1/executions/{execution_id}/approve']: {
|
|
1878
2728
|
/**
|
|
1879
|
-
* approveExecution -
|
|
2729
|
+
* approveExecution - Approve pending action
|
|
1880
2730
|
*
|
|
1881
2731
|
* Approves a pending tool action when execution is in waiting_approval status
|
|
1882
2732
|
*/
|
|
@@ -1888,7 +2738,7 @@ interface PathsDictionary {
|
|
|
1888
2738
|
}
|
|
1889
2739
|
['/v1/executions/{execution_id}/reject']: {
|
|
1890
2740
|
/**
|
|
1891
|
-
* rejectExecution -
|
|
2741
|
+
* rejectExecution - Reject pending action
|
|
1892
2742
|
*
|
|
1893
2743
|
* Rejects a pending tool action when execution is in waiting_approval status
|
|
1894
2744
|
*/
|
|
@@ -1900,7 +2750,7 @@ interface PathsDictionary {
|
|
|
1900
2750
|
}
|
|
1901
2751
|
['/v1/executions/{execution_id}/stream']: {
|
|
1902
2752
|
/**
|
|
1903
|
-
* streamExecution -
|
|
2753
|
+
* streamExecution - Reconnect to execution stream
|
|
1904
2754
|
*
|
|
1905
2755
|
* Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
|
|
1906
2756
|
*/
|
|
@@ -1912,7 +2762,7 @@ interface PathsDictionary {
|
|
|
1912
2762
|
}
|
|
1913
2763
|
['/v1/chat']: {
|
|
1914
2764
|
/**
|
|
1915
|
-
* chat - chat
|
|
2765
|
+
* chat - Streaming chat with AI agent
|
|
1916
2766
|
*
|
|
1917
2767
|
* Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
|
|
1918
2768
|
*/
|
|
@@ -1924,7 +2774,7 @@ interface PathsDictionary {
|
|
|
1924
2774
|
}
|
|
1925
2775
|
['/v1/conversations']: {
|
|
1926
2776
|
/**
|
|
1927
|
-
* listConversations -
|
|
2777
|
+
* listConversations - List conversations
|
|
1928
2778
|
*
|
|
1929
2779
|
* Lists conversations for the authenticated user, sorted by most recent.
|
|
1930
2780
|
*/
|
|
@@ -1936,7 +2786,7 @@ interface PathsDictionary {
|
|
|
1936
2786
|
}
|
|
1937
2787
|
['/v1/conversations/{conversation_id}']: {
|
|
1938
2788
|
/**
|
|
1939
|
-
* getConversation -
|
|
2789
|
+
* getConversation - Get conversation with messages
|
|
1940
2790
|
*
|
|
1941
2791
|
* Retrieves a conversation and its message history.
|
|
1942
2792
|
*/
|
|
@@ -1946,7 +2796,7 @@ interface PathsDictionary {
|
|
|
1946
2796
|
config?: AxiosRequestConfig
|
|
1947
2797
|
): OperationResponse<Paths.GetConversation.Responses.$200>
|
|
1948
2798
|
/**
|
|
1949
|
-
* deleteConversation -
|
|
2799
|
+
* deleteConversation - Delete conversation
|
|
1950
2800
|
*
|
|
1951
2801
|
* Deletes a conversation and all its messages.
|
|
1952
2802
|
*/
|
|
@@ -1958,7 +2808,7 @@ interface PathsDictionary {
|
|
|
1958
2808
|
}
|
|
1959
2809
|
['/v1/conversations/{conversation_id}/feedback']: {
|
|
1960
2810
|
/**
|
|
1961
|
-
* submitConversationFeedback -
|
|
2811
|
+
* submitConversationFeedback - Submit feedback for an assistant turn
|
|
1962
2812
|
*
|
|
1963
2813
|
* Records a thumbs up/down (with optional comment) for the assistant turn identified by its Langfuse trace id. The rating is persisted on the message and mirrored to Langfuse as a trace score.
|
|
1964
2814
|
*
|
|
@@ -1974,18 +2824,36 @@ interface PathsDictionary {
|
|
|
1974
2824
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1975
2825
|
|
|
1976
2826
|
|
|
2827
|
+
type ActionAutonomy = Components.Schemas.ActionAutonomy;
|
|
2828
|
+
type AgentConfig = Components.Schemas.AgentConfig;
|
|
1977
2829
|
type AgentDefinition = Components.Schemas.AgentDefinition;
|
|
2830
|
+
type AgentDomain = Components.Schemas.AgentDomain;
|
|
1978
2831
|
type AgentExecutionEvent = Components.Schemas.AgentExecutionEvent;
|
|
1979
2832
|
type AgentExecutionEventStatus = Components.Schemas.AgentExecutionEventStatus;
|
|
1980
2833
|
type AgentId = Components.Schemas.AgentId;
|
|
1981
2834
|
type AgentSource = Components.Schemas.AgentSource;
|
|
2835
|
+
type AppearanceConfig = Components.Schemas.AppearanceConfig;
|
|
1982
2836
|
type ApproveExecutionRequest = Components.Schemas.ApproveExecutionRequest;
|
|
2837
|
+
type CapabilityId = Components.Schemas.CapabilityId;
|
|
2838
|
+
type CapabilityInstance = Components.Schemas.CapabilityInstance;
|
|
2839
|
+
type CapabilityState = Components.Schemas.CapabilityState;
|
|
1983
2840
|
type ChatMessage = Components.Schemas.ChatMessage;
|
|
1984
2841
|
type ChatRequest = Components.Schemas.ChatRequest;
|
|
1985
2842
|
type ConversationItem = Components.Schemas.ConversationItem;
|
|
1986
2843
|
type ConversationWithMessages = Components.Schemas.ConversationWithMessages;
|
|
1987
2844
|
type CreateAgentRequest = Components.Schemas.CreateAgentRequest;
|
|
2845
|
+
type CreateCustomerChatAgentRequest = Components.Schemas.CreateCustomerChatAgentRequest;
|
|
2846
|
+
type CreateKnowledgeFileUploadRequest = Components.Schemas.CreateKnowledgeFileUploadRequest;
|
|
2847
|
+
type CreateKnowledgeFileUploadResponse = Components.Schemas.CreateKnowledgeFileUploadResponse;
|
|
2848
|
+
type CustomerChatAgent = Components.Schemas.CustomerChatAgent;
|
|
2849
|
+
type CustomerChatCapabilityCatalogEntry = Components.Schemas.CustomerChatCapabilityCatalogEntry;
|
|
2850
|
+
type CustomerChatCasRequest = Components.Schemas.CustomerChatCasRequest;
|
|
2851
|
+
type CustomerChatKnowledgeSource = Components.Schemas.CustomerChatKnowledgeSource;
|
|
2852
|
+
type CustomerChatKnowledgeSourceType = Components.Schemas.CustomerChatKnowledgeSourceType;
|
|
2853
|
+
type CustomerChatPlace = Components.Schemas.CustomerChatPlace;
|
|
2854
|
+
type DeleteCustomerChatAgentRequest = Components.Schemas.DeleteCustomerChatAgentRequest;
|
|
1988
2855
|
type Error = Components.Schemas.Error;
|
|
2856
|
+
type EscalationConfig = Components.Schemas.EscalationConfig;
|
|
1989
2857
|
type ExecuteAgentRequest = Components.Schemas.ExecuteAgentRequest;
|
|
1990
2858
|
type ExecutionContext = Components.Schemas.ExecutionContext;
|
|
1991
2859
|
type ExecutionError = Components.Schemas.ExecutionError;
|
|
@@ -2002,9 +2870,21 @@ type ExecutionStatus = Components.Schemas.ExecutionStatus;
|
|
|
2002
2870
|
type ExecutionTrace = Components.Schemas.ExecutionTrace;
|
|
2003
2871
|
type InputParameterDefinition = Components.Schemas.InputParameterDefinition;
|
|
2004
2872
|
type InputParametersSchema = Components.Schemas.InputParametersSchema;
|
|
2873
|
+
type KnowledgeFileSource = Components.Schemas.KnowledgeFileSource;
|
|
2874
|
+
type KnowledgeFileSourceRegisteredEvent = Components.Schemas.KnowledgeFileSourceRegisteredEvent;
|
|
2875
|
+
type KnowledgeSource = Components.Schemas.KnowledgeSource;
|
|
2876
|
+
type KnowledgeSourceDeletedEvent = Components.Schemas.KnowledgeSourceDeletedEvent;
|
|
2877
|
+
type KnowledgeSourceIds = Components.Schemas.KnowledgeSourceIds;
|
|
2878
|
+
type KnowledgeSourceProcessingCompletedEvent = Components.Schemas.KnowledgeSourceProcessingCompletedEvent;
|
|
2879
|
+
type KnowledgeSourceRegisteredEvent = Components.Schemas.KnowledgeSourceRegisteredEvent;
|
|
2005
2880
|
type ListAgentsResponse = Components.Schemas.ListAgentsResponse;
|
|
2006
2881
|
type ListConversationsResponse = Components.Schemas.ListConversationsResponse;
|
|
2882
|
+
type ListCustomerChatCapabilitiesResponse = Components.Schemas.ListCustomerChatCapabilitiesResponse;
|
|
2883
|
+
type ListCustomerChatResponse = Components.Schemas.ListCustomerChatResponse;
|
|
2007
2884
|
type ListExecutionsResponse = Components.Schemas.ListExecutionsResponse;
|
|
2885
|
+
type ListKnowledgeSourcesResponse = Components.Schemas.ListKnowledgeSourcesResponse;
|
|
2886
|
+
type LocalizedAppearance = Components.Schemas.LocalizedAppearance;
|
|
2887
|
+
type LocalizedFieldList = Components.Schemas.LocalizedFieldList;
|
|
2008
2888
|
type MessageFeedback = Components.Schemas.MessageFeedback;
|
|
2009
2889
|
type MessageItem = Components.Schemas.MessageItem;
|
|
2010
2890
|
type ModelConfig = Components.Schemas.ModelConfig;
|
|
@@ -2016,6 +2896,8 @@ type PreviewEntity = Components.Schemas.PreviewEntity;
|
|
|
2016
2896
|
type PreviewValue = Components.Schemas.PreviewValue;
|
|
2017
2897
|
type PutExecutionFeedbackRequest = Components.Schemas.PutExecutionFeedbackRequest;
|
|
2018
2898
|
type RejectExecutionRequest = Components.Schemas.RejectExecutionRequest;
|
|
2899
|
+
type RenameCustomerChatAgentRequest = Components.Schemas.RenameCustomerChatAgentRequest;
|
|
2900
|
+
type SaveCustomerChatConfigRequest = Components.Schemas.SaveCustomerChatConfigRequest;
|
|
2019
2901
|
type SkillAvailability = Components.Schemas.SkillAvailability;
|
|
2020
2902
|
type SkillCategory = Components.Schemas.SkillCategory;
|
|
2021
2903
|
type StreamEvent = Components.Schemas.StreamEvent;
|
|
@@ -2024,5 +2906,6 @@ type SubmitFeedbackRequest = Components.Schemas.SubmitFeedbackRequest;
|
|
|
2024
2906
|
type ToolDefinition = Components.Schemas.ToolDefinition;
|
|
2025
2907
|
type ToolPreview = Components.Schemas.ToolPreview;
|
|
2026
2908
|
type UpdateAgentRequest = Components.Schemas.UpdateAgentRequest;
|
|
2909
|
+
type WebsiteHandover = Components.Schemas.WebsiteHandover;
|
|
2027
2910
|
|
|
2028
|
-
export { type
|
|
2911
|
+
export { type KnowledgeSource as $, type ActionAutonomy as A, type CustomerChatKnowledgeSourceType as B, type Client as C, type CustomerChatPlace as D, type DeleteCustomerChatAgentRequest as E, type Error as F, type EscalationConfig as G, type ExecuteAgentRequest as H, type ExecutionContext as I, type ExecutionError as J, type ExecutionFeedback as K, type ExecutionFeedbackResponse as L, type ExecutionIteration as M, type ExecutionIterationProjection as N, type OperationMethods as O, Paths as P, type ExecutionMetrics as Q, type ExecutionMode as R, type ExecutionPattern as S, type ExecutionResponse as T, type ExecutionResult as U, type ExecutionStatus as V, type ExecutionTrace as W, type InputParameterDefinition as X, type InputParametersSchema as Y, type KnowledgeFileSource as Z, type KnowledgeFileSourceRegisteredEvent as _, Components as a, type KnowledgeSourceDeletedEvent as a0, type KnowledgeSourceIds as a1, type KnowledgeSourceProcessingCompletedEvent as a2, type KnowledgeSourceRegisteredEvent as a3, type ListAgentsResponse as a4, type ListConversationsResponse as a5, type ListCustomerChatCapabilitiesResponse as a6, type ListCustomerChatResponse as a7, type ListExecutionsResponse as a8, type ListKnowledgeSourcesResponse as a9, type LocalizedAppearance as aa, type LocalizedFieldList as ab, type MessageFeedback as ac, type MessageItem as ad, type ModelConfig as ae, type ParameterType as af, type PendingAction as ag, type PreviewActionType as ah, type PreviewChange as ai, type PreviewEntity as aj, type PreviewValue as ak, type PutExecutionFeedbackRequest as al, type RejectExecutionRequest as am, type RenameCustomerChatAgentRequest as an, type SaveCustomerChatConfigRequest as ao, type SkillAvailability as ap, type SkillCategory as aq, type StreamEvent as ar, type StreamingOptions as as, type SubmitFeedbackRequest as at, type ToolDefinition as au, type ToolPreview as av, type UpdateAgentRequest as aw, type WebsiteHandover as ax, type PathsDictionary as b, type AgentConfig as c, type AgentDefinition as d, type AgentDomain as e, type AgentExecutionEvent as f, type AgentExecutionEventStatus as g, type AgentId as h, type AgentSource as i, type AppearanceConfig as j, type ApproveExecutionRequest as k, type CapabilityId as l, type CapabilityInstance as m, type CapabilityState as n, type ChatMessage as o, type ChatRequest as p, type ConversationItem as q, type ConversationWithMessages as r, type CreateAgentRequest as s, type CreateCustomerChatAgentRequest as t, type CreateKnowledgeFileUploadRequest as u, type CreateKnowledgeFileUploadResponse as v, type CustomerChatAgent as w, type CustomerChatCapabilityCatalogEntry as x, type CustomerChatCasRequest as y, type CustomerChatKnowledgeSource as z };
|