@amigo-ai/platform-sdk 0.76.0 → 0.77.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.
- package/dist/types/generated/api.d.ts +53 -17
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6765,8 +6765,8 @@ export interface paths {
|
|
|
6765
6765
|
get?: never;
|
|
6766
6766
|
put?: never;
|
|
6767
6767
|
/**
|
|
6768
|
-
* Export gen_ai.* traces as OTLP/JSON
|
|
6769
|
-
* @description Export the workspace's durable
|
|
6768
|
+
* Export gen_ai.* + voice.* traces as OTLP/JSON
|
|
6769
|
+
* @description Export the workspace's durable trace spans over a time window as OpenTelemetry Protocol (OTLP/HTTP JSON) spans: ``gen_ai.*`` tool-call spans and the per-call voice-isolation ``voice.*`` infra spans (allocate / media-attach / reap). Read-only; admin/owner role required; dark behind ``OTEL_TRACE_EXPORT_ENABLED`` (404 when off). Paginated PULL API — extract ``.resourceSpans`` before forwarding to an OTLP collector. Attributes are an allowlist of tool-call + infra metadata; the raw tool-result ``error`` text is NOT exported (PHI-safe by construction).
|
|
6770
6770
|
*/
|
|
6771
6771
|
post: operations["export_traces_v1__workspace_id__traces_export_post"];
|
|
6772
6772
|
delete?: never;
|
|
@@ -12077,6 +12077,11 @@ export interface components {
|
|
|
12077
12077
|
field_count: number;
|
|
12078
12078
|
/** File Type */
|
|
12079
12079
|
file_type: string;
|
|
12080
|
+
/**
|
|
12081
|
+
* Ingestion Mode
|
|
12082
|
+
* @description `snapshot` (CSV/Excel → CDC) or `document` (PDF/docx → extraction).
|
|
12083
|
+
*/
|
|
12084
|
+
ingestion_mode: string;
|
|
12080
12085
|
limits: components["schemas"]["Limits"];
|
|
12081
12086
|
/**
|
|
12082
12087
|
* Name
|
|
@@ -12334,6 +12339,28 @@ export interface components {
|
|
|
12334
12339
|
*/
|
|
12335
12340
|
verified: boolean;
|
|
12336
12341
|
};
|
|
12342
|
+
/**
|
|
12343
|
+
* DocumentProcessingSpec
|
|
12344
|
+
* @description Processing config for a document dataset (``ingestion_mode=document``).
|
|
12345
|
+
*
|
|
12346
|
+
* Documents have no schema/primary-key/CDC; this is what the contract carries
|
|
12347
|
+
* instead (docs/plans/intake_file_processing_pipeline.md §5.9). Page-split /
|
|
12348
|
+
* output-metadata rules are stored in the same jsonb and may be added later
|
|
12349
|
+
* without a migration.
|
|
12350
|
+
*/
|
|
12351
|
+
DocumentProcessingSpec: {
|
|
12352
|
+
/**
|
|
12353
|
+
* Extraction Mode
|
|
12354
|
+
* @default text_extract
|
|
12355
|
+
* @enum {string}
|
|
12356
|
+
*/
|
|
12357
|
+
extraction_mode?: "text_extract" | "OCR" | "hybrid";
|
|
12358
|
+
/**
|
|
12359
|
+
* Retain Source
|
|
12360
|
+
* @default true
|
|
12361
|
+
*/
|
|
12362
|
+
retain_source?: boolean;
|
|
12363
|
+
};
|
|
12337
12364
|
/** DropColumnAction */
|
|
12338
12365
|
DropColumnAction: {
|
|
12339
12366
|
name: components["schemas"]["IdentifierString"];
|
|
@@ -17198,7 +17225,7 @@ export interface components {
|
|
|
17198
17225
|
*/
|
|
17199
17226
|
type: "oauth2_jwt_bearer";
|
|
17200
17227
|
};
|
|
17201
|
-
ObserverSSEEvent: components["schemas"]["ActorAllocatedEvent"] | components["schemas"]["ActorShutdownEvent"] | components["schemas"]["AgentTranscriptDeltaEvent"] | components["schemas"]["AgentTranscriptEvent"] | components["schemas"]["BargeInEvent"] | components["schemas"]["
|
|
17228
|
+
ObserverSSEEvent: components["schemas"]["ActorAllocatedEvent"] | components["schemas"]["ActorShutdownEvent"] | components["schemas"]["AgentTranscriptDeltaEvent"] | components["schemas"]["AgentTranscriptEvent"] | components["schemas"]["BargeInEvent"] | components["schemas"]["CompoundEmotionEvent"] | components["schemas"]["EmotionEvent"] | components["schemas"]["EmpathyClassifiedEvent"] | components["schemas"]["ForwardCallResolvedEvent"] | components["schemas"]["LatencyEvent"] | components["schemas"]["MediaAttachedEvent"] | components["schemas"]["NavTimingEvent"] | components["schemas"]["ParticipantJoinedEvent"] | components["schemas"]["ParticipantLeftEvent"] | components["schemas"]["SessionEndEvent"] | components["schemas"]["SessionInfoEvent"] | components["schemas"]["SessionStartEvent"] | components["schemas"]["SpeakerMutedEvent"] | components["schemas"]["StateTransitionEvent"] | components["schemas"]["ToolCallCompletedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["UserTranscriptEvent"] | components["schemas"]["VoiceContextAppliedEvent"];
|
|
17202
17229
|
/** OcrRequest */
|
|
17203
17230
|
OcrRequest: {
|
|
17204
17231
|
/**
|
|
@@ -19040,7 +19067,7 @@ export interface components {
|
|
|
19040
19067
|
* Multiple providers may serve the same ChannelKind.
|
|
19041
19068
|
* @enum {string}
|
|
19042
19069
|
*/
|
|
19043
|
-
ProviderType: "twilio" | "websocket" | "ses" | "sendblue";
|
|
19070
|
+
ProviderType: "twilio" | "websocket" | "ses" | "sendblue" | "infobip";
|
|
19044
19071
|
/** ProvisionResponse */
|
|
19045
19072
|
ProvisionResponse: {
|
|
19046
19073
|
workspace: components["schemas"]["WorkspaceResponse"];
|
|
@@ -19345,28 +19372,34 @@ export interface components {
|
|
|
19345
19372
|
};
|
|
19346
19373
|
/**
|
|
19347
19374
|
* RegisterSchemaRequest
|
|
19348
|
-
* @description Create Schema payload (intake-ui-mvp-design.md §5.4).
|
|
19375
|
+
* @description Create Schema payload (intake-ui-mvp-design.md §5.4, §5.9).
|
|
19349
19376
|
*
|
|
19350
|
-
*
|
|
19351
|
-
*
|
|
19352
|
-
*
|
|
19377
|
+
* ``ingestion_mode`` is inferred from ``file_type`` (csv/xls/xlsx → snapshot;
|
|
19378
|
+
* else document) — not part of the wire contract. Snapshot datasets require
|
|
19379
|
+
* ``primary_key`` + ``schema``; document datasets take an optional
|
|
19380
|
+
* ``document_processing`` config and ignore primary_key/schema. The backend
|
|
19381
|
+
* applies the other hidden defaults (``on_schema_change=additive``,
|
|
19382
|
+
* ``schema_version`` auto).
|
|
19353
19383
|
*/
|
|
19354
19384
|
RegisterSchemaRequest: {
|
|
19355
|
-
/**
|
|
19356
|
-
|
|
19357
|
-
|
|
19358
|
-
*/
|
|
19359
|
-
file_type: "csv";
|
|
19385
|
+
/** @description Document only — extraction config; defaulted server-side when omitted. */
|
|
19386
|
+
document_processing?: components["schemas"]["DocumentProcessingSpec"] | null;
|
|
19387
|
+
file_type: components["schemas"]["_FileType"];
|
|
19360
19388
|
/** Max Size Mb */
|
|
19361
19389
|
max_size_mb?: number | null;
|
|
19362
19390
|
name: components["schemas"]["_DatasetSlug"];
|
|
19363
|
-
/**
|
|
19364
|
-
|
|
19391
|
+
/**
|
|
19392
|
+
* Primary Key
|
|
19393
|
+
* @description Snapshot only — the canonical PK column(s). Empty/ignored for documents.
|
|
19394
|
+
* @default []
|
|
19395
|
+
*/
|
|
19396
|
+
primary_key?: components["schemas"]["_FieldName"][];
|
|
19365
19397
|
/**
|
|
19366
19398
|
* Schema
|
|
19367
|
-
* @description
|
|
19399
|
+
* @description Snapshot only — canonical field list ``[{name, type}]`` (wire key ``schema``).
|
|
19400
|
+
* @default []
|
|
19368
19401
|
*/
|
|
19369
|
-
schema
|
|
19402
|
+
schema?: components["schemas"]["SchemaFieldSpec"][];
|
|
19370
19403
|
};
|
|
19371
19404
|
/**
|
|
19372
19405
|
* RegisteredFunction
|
|
@@ -23300,6 +23333,8 @@ export interface components {
|
|
|
23300
23333
|
* @description Request body for ``POST /v1/{ws}/services/{service_id}/text-turn``.
|
|
23301
23334
|
*/
|
|
23302
23335
|
TextTurnRequest: {
|
|
23336
|
+
/** Agent Phone */
|
|
23337
|
+
agent_phone: string;
|
|
23303
23338
|
/** Phone Number */
|
|
23304
23339
|
phone_number: string;
|
|
23305
23340
|
/** Text */
|
|
@@ -25902,6 +25937,7 @@ export interface components {
|
|
|
25902
25937
|
_FieldName: string;
|
|
25903
25938
|
/** @enum {string} */
|
|
25904
25939
|
_FileStatus: "received" | "scanned" | "processing" | "curated" | "rejected" | "failed" | "held";
|
|
25940
|
+
_FileType: string;
|
|
25905
25941
|
/** @enum {string} */
|
|
25906
25942
|
_ResourceType: "integration_endpoint" | "skill" | "kb_scope";
|
|
25907
25943
|
_ToolMockKey: string;
|