@amigo-ai/platform-sdk 0.11.3 → 0.13.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 +497 -1
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +115 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1961,6 +1961,26 @@ export interface paths {
|
|
|
1961
1961
|
patch?: never;
|
|
1962
1962
|
trace?: never;
|
|
1963
1963
|
};
|
|
1964
|
+
"/v1/{workspace_id}/conversations/messages": {
|
|
1965
|
+
parameters: {
|
|
1966
|
+
query?: never;
|
|
1967
|
+
header?: never;
|
|
1968
|
+
path?: never;
|
|
1969
|
+
cookie?: never;
|
|
1970
|
+
};
|
|
1971
|
+
get?: never;
|
|
1972
|
+
put?: never;
|
|
1973
|
+
/**
|
|
1974
|
+
* Send a text message and receive the agent's response
|
|
1975
|
+
* @description Process a single text message through the agent and return the response synchronously. If `conversation_id` is omitted, a new conversation is created. If provided, the existing conversation is resumed from its frozen state (prior context and commitments are preserved). For real-time streaming, use the WebSocket endpoint at `ws /agent/text-stream`.
|
|
1976
|
+
*/
|
|
1977
|
+
post: operations["send_message_v1__workspace_id__conversations_messages_post"];
|
|
1978
|
+
delete?: never;
|
|
1979
|
+
options?: never;
|
|
1980
|
+
head?: never;
|
|
1981
|
+
patch?: never;
|
|
1982
|
+
trace?: never;
|
|
1983
|
+
};
|
|
1964
1984
|
"/v1/{workspace_id}/crm/companies": {
|
|
1965
1985
|
parameters: {
|
|
1966
1986
|
query?: never;
|
|
@@ -5395,6 +5415,26 @@ export interface paths {
|
|
|
5395
5415
|
patch?: never;
|
|
5396
5416
|
trace?: never;
|
|
5397
5417
|
};
|
|
5418
|
+
"/v1/{workspace_id}/scribe/recordings/transcribe": {
|
|
5419
|
+
parameters: {
|
|
5420
|
+
query?: never;
|
|
5421
|
+
header?: never;
|
|
5422
|
+
path?: never;
|
|
5423
|
+
cookie?: never;
|
|
5424
|
+
};
|
|
5425
|
+
get?: never;
|
|
5426
|
+
put?: never;
|
|
5427
|
+
/**
|
|
5428
|
+
* Transcribe Scribe Recording
|
|
5429
|
+
* @description Transcribe a completed Superscribe clinical recording.
|
|
5430
|
+
*/
|
|
5431
|
+
post: operations["transcribe-scribe-recording"];
|
|
5432
|
+
delete?: never;
|
|
5433
|
+
options?: never;
|
|
5434
|
+
head?: never;
|
|
5435
|
+
patch?: never;
|
|
5436
|
+
trace?: never;
|
|
5437
|
+
};
|
|
5398
5438
|
"/v1/{workspace_id}/sensorium/connector-health": {
|
|
5399
5439
|
parameters: {
|
|
5400
5440
|
query?: never;
|
|
@@ -9137,6 +9177,22 @@ export interface components {
|
|
|
9137
9177
|
*/
|
|
9138
9178
|
use_case_id: string;
|
|
9139
9179
|
};
|
|
9180
|
+
/** Body_transcribe-scribe-recording */
|
|
9181
|
+
"Body_transcribe-scribe-recording": {
|
|
9182
|
+
/** Audio */
|
|
9183
|
+
audio: string;
|
|
9184
|
+
/** Keyterms */
|
|
9185
|
+
keyterms?: string | null;
|
|
9186
|
+
/** Language */
|
|
9187
|
+
language?: string | null;
|
|
9188
|
+
/** Patient Entity Id */
|
|
9189
|
+
patient_entity_id?: string | null;
|
|
9190
|
+
/**
|
|
9191
|
+
* Service Id
|
|
9192
|
+
* Format: uuid
|
|
9193
|
+
*/
|
|
9194
|
+
service_id: string;
|
|
9195
|
+
};
|
|
9140
9196
|
/** Body_verify-voiceprint */
|
|
9141
9197
|
"Body_verify-voiceprint": {
|
|
9142
9198
|
/** Audio */
|
|
@@ -9941,6 +9997,152 @@ export interface components {
|
|
|
9941
9997
|
/** Value */
|
|
9942
9998
|
value: string | null;
|
|
9943
9999
|
};
|
|
10000
|
+
/** ChannelEmailBouncedEvent */
|
|
10001
|
+
ChannelEmailBouncedEvent: {
|
|
10002
|
+
/**
|
|
10003
|
+
* Bounce Subtype
|
|
10004
|
+
* @default null
|
|
10005
|
+
*/
|
|
10006
|
+
bounce_subtype?: string | null;
|
|
10007
|
+
/**
|
|
10008
|
+
* Bounce Type
|
|
10009
|
+
* @default null
|
|
10010
|
+
*/
|
|
10011
|
+
bounce_type?: string | null;
|
|
10012
|
+
/** Email Id */
|
|
10013
|
+
email_id: string;
|
|
10014
|
+
/**
|
|
10015
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10016
|
+
* @enum {string}
|
|
10017
|
+
*/
|
|
10018
|
+
event_type: "channel.email_bounced";
|
|
10019
|
+
/** From Address */
|
|
10020
|
+
from_address: string;
|
|
10021
|
+
/** To Address */
|
|
10022
|
+
to_address: string;
|
|
10023
|
+
};
|
|
10024
|
+
/** ChannelEmailClickedEvent */
|
|
10025
|
+
ChannelEmailClickedEvent: {
|
|
10026
|
+
/** Email Id */
|
|
10027
|
+
email_id: string;
|
|
10028
|
+
/**
|
|
10029
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10030
|
+
* @enum {string}
|
|
10031
|
+
*/
|
|
10032
|
+
event_type: "channel.email_clicked";
|
|
10033
|
+
/** To Address */
|
|
10034
|
+
to_address: string;
|
|
10035
|
+
};
|
|
10036
|
+
/** ChannelEmailComplainedEvent */
|
|
10037
|
+
ChannelEmailComplainedEvent: {
|
|
10038
|
+
/** Email Id */
|
|
10039
|
+
email_id: string;
|
|
10040
|
+
/**
|
|
10041
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10042
|
+
* @enum {string}
|
|
10043
|
+
*/
|
|
10044
|
+
event_type: "channel.email_complained";
|
|
10045
|
+
/** From Address */
|
|
10046
|
+
from_address: string;
|
|
10047
|
+
/** To Address */
|
|
10048
|
+
to_address: string;
|
|
10049
|
+
};
|
|
10050
|
+
/** ChannelEmailDelayedEvent */
|
|
10051
|
+
ChannelEmailDelayedEvent: {
|
|
10052
|
+
/** Email Id */
|
|
10053
|
+
email_id: string;
|
|
10054
|
+
/**
|
|
10055
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10056
|
+
* @enum {string}
|
|
10057
|
+
*/
|
|
10058
|
+
event_type: "channel.email_delayed";
|
|
10059
|
+
/** From Address */
|
|
10060
|
+
from_address: string;
|
|
10061
|
+
/** To Address */
|
|
10062
|
+
to_address: string;
|
|
10063
|
+
};
|
|
10064
|
+
/** ChannelEmailDeliveredEvent */
|
|
10065
|
+
ChannelEmailDeliveredEvent: {
|
|
10066
|
+
/** Email Id */
|
|
10067
|
+
email_id: string;
|
|
10068
|
+
/**
|
|
10069
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10070
|
+
* @enum {string}
|
|
10071
|
+
*/
|
|
10072
|
+
event_type: "channel.email_delivered";
|
|
10073
|
+
/** From Address */
|
|
10074
|
+
from_address: string;
|
|
10075
|
+
/** To Address */
|
|
10076
|
+
to_address: string;
|
|
10077
|
+
};
|
|
10078
|
+
/** ChannelEmailOpenedEvent */
|
|
10079
|
+
ChannelEmailOpenedEvent: {
|
|
10080
|
+
/** Email Id */
|
|
10081
|
+
email_id: string;
|
|
10082
|
+
/**
|
|
10083
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10084
|
+
* @enum {string}
|
|
10085
|
+
*/
|
|
10086
|
+
event_type: "channel.email_opened";
|
|
10087
|
+
/** To Address */
|
|
10088
|
+
to_address: string;
|
|
10089
|
+
};
|
|
10090
|
+
/** ChannelEmailRejectedEvent */
|
|
10091
|
+
ChannelEmailRejectedEvent: {
|
|
10092
|
+
/** Email Id */
|
|
10093
|
+
email_id: string;
|
|
10094
|
+
/**
|
|
10095
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10096
|
+
* @enum {string}
|
|
10097
|
+
*/
|
|
10098
|
+
event_type: "channel.email_rejected";
|
|
10099
|
+
/** From Address */
|
|
10100
|
+
from_address: string;
|
|
10101
|
+
/** To Address */
|
|
10102
|
+
to_address: string;
|
|
10103
|
+
};
|
|
10104
|
+
/** ChannelEventRequest */
|
|
10105
|
+
ChannelEventRequest: {
|
|
10106
|
+
/**
|
|
10107
|
+
* Channel
|
|
10108
|
+
* @enum {string}
|
|
10109
|
+
*/
|
|
10110
|
+
channel: "email" | "sms" | "voice";
|
|
10111
|
+
/** Data */
|
|
10112
|
+
data?: {
|
|
10113
|
+
[key: string]: unknown;
|
|
10114
|
+
};
|
|
10115
|
+
/** Email Id */
|
|
10116
|
+
email_id?: string | null;
|
|
10117
|
+
/** Event Type */
|
|
10118
|
+
event_type: string;
|
|
10119
|
+
/** From Address */
|
|
10120
|
+
from_address?: string | null;
|
|
10121
|
+
/**
|
|
10122
|
+
* Occurred At
|
|
10123
|
+
* Format: date-time
|
|
10124
|
+
*/
|
|
10125
|
+
occurred_at: string;
|
|
10126
|
+
/** Phone Number */
|
|
10127
|
+
phone_number?: string | null;
|
|
10128
|
+
/**
|
|
10129
|
+
* Setup Id
|
|
10130
|
+
* Format: uuid
|
|
10131
|
+
*/
|
|
10132
|
+
setup_id: string;
|
|
10133
|
+
/** To Address */
|
|
10134
|
+
to_address?: string | null;
|
|
10135
|
+
};
|
|
10136
|
+
/** ChannelEventResponse */
|
|
10137
|
+
ChannelEventResponse: {
|
|
10138
|
+
/** Event Id */
|
|
10139
|
+
event_id?: string | null;
|
|
10140
|
+
/**
|
|
10141
|
+
* Status
|
|
10142
|
+
* @enum {string}
|
|
10143
|
+
*/
|
|
10144
|
+
status: "accepted" | "skipped";
|
|
10145
|
+
};
|
|
9944
10146
|
/**
|
|
9945
10147
|
* ChannelOverride
|
|
9946
10148
|
* @description Per-channel behavior override for a state.
|
|
@@ -10726,6 +10928,16 @@ export interface components {
|
|
|
10726
10928
|
/** Navigation Model */
|
|
10727
10929
|
navigation_model?: string | null;
|
|
10728
10930
|
};
|
|
10931
|
+
/** ConversationMessage */
|
|
10932
|
+
ConversationMessage: {
|
|
10933
|
+
/**
|
|
10934
|
+
* Role
|
|
10935
|
+
* @enum {string}
|
|
10936
|
+
*/
|
|
10937
|
+
role: "agent" | "user" | "system";
|
|
10938
|
+
/** Text */
|
|
10939
|
+
text: string;
|
|
10940
|
+
};
|
|
10729
10941
|
/**
|
|
10730
10942
|
* ConversationSummary
|
|
10731
10943
|
* @description Conversation flow metrics.
|
|
@@ -11322,6 +11534,7 @@ export interface components {
|
|
|
11322
11534
|
* @enum {string}
|
|
11323
11535
|
*/
|
|
11324
11536
|
environment?: "sandbox" | "production";
|
|
11537
|
+
escalation_policy?: components["schemas"]["EscalationPolicy"] | null;
|
|
11325
11538
|
/**
|
|
11326
11539
|
* Is Active
|
|
11327
11540
|
* @default true
|
|
@@ -14008,6 +14221,34 @@ export interface components {
|
|
|
14008
14221
|
*/
|
|
14009
14222
|
workspace_id: string;
|
|
14010
14223
|
};
|
|
14224
|
+
/**
|
|
14225
|
+
* EscalationPolicy
|
|
14226
|
+
* @description Per-service routing for engine-detected escalation triggers.
|
|
14227
|
+
*
|
|
14228
|
+
* Each trigger source maps to one EscalationAction. The three enumerated
|
|
14229
|
+
* fields below are the trigger_sources actually emitted by the agent-engine
|
|
14230
|
+
* today; new triggers can be added as fields without breaking back-compat.
|
|
14231
|
+
*
|
|
14232
|
+
* Partial policies are intentional: every field defaults to OperatorAction,
|
|
14233
|
+
* so a PUT body like ``{"context_window_exhaustion": {"type": "forward"}}``
|
|
14234
|
+
* overrides only that trigger and leaves the others on the operator default.
|
|
14235
|
+
* To opt the entire service back to today's behavior, set
|
|
14236
|
+
* ``Service.escalation_policy = None`` (caveat: the platform-api Service
|
|
14237
|
+
* update path uses ``exclude_none=True`` and currently has no clears-via-null
|
|
14238
|
+
* branch, so this requires a direct config edit; see follow-up issue).
|
|
14239
|
+
*
|
|
14240
|
+
* Resolution lookup is done against ``model_fields``: a trigger_source that
|
|
14241
|
+
* is not an enumerated field name falls through to OperatorAction, never
|
|
14242
|
+
* a non-Action Pydantic internal.
|
|
14243
|
+
*/
|
|
14244
|
+
EscalationPolicy: {
|
|
14245
|
+
/** Context Window Exhaustion */
|
|
14246
|
+
context_window_exhaustion?: components["schemas"]["OperatorAction"] | components["schemas"]["ForwardAction"] | components["schemas"]["HangupAction"];
|
|
14247
|
+
/** Conversation Monitor */
|
|
14248
|
+
conversation_monitor?: components["schemas"]["OperatorAction"] | components["schemas"]["ForwardAction"] | components["schemas"]["HangupAction"];
|
|
14249
|
+
/** Risk Scorer */
|
|
14250
|
+
risk_scorer?: components["schemas"]["OperatorAction"] | components["schemas"]["ForwardAction"] | components["schemas"]["HangupAction"];
|
|
14251
|
+
};
|
|
14011
14252
|
/** EscalationState */
|
|
14012
14253
|
EscalationState: {
|
|
14013
14254
|
/** Agent Confidence */
|
|
@@ -15016,6 +15257,26 @@ export interface components {
|
|
|
15016
15257
|
/** Templates */
|
|
15017
15258
|
templates: components["schemas"]["FormTemplate-Input"][];
|
|
15018
15259
|
};
|
|
15260
|
+
/**
|
|
15261
|
+
* ForwardAction
|
|
15262
|
+
* @description Cold-transfer the caller to the inbound phone number's configured
|
|
15263
|
+
* forwarding destination (set via `PUT /v1/{ws}/phone-numbers/{id}/forwarding`).
|
|
15264
|
+
*
|
|
15265
|
+
* No agent-side decision and no operator dashboard required — the engine
|
|
15266
|
+
* invokes the same forwarding callback used by the LLM-driven `forward_call`
|
|
15267
|
+
* tool, with no location override, which falls through to the static
|
|
15268
|
+
* `ForwardingMap` populated from the phone-number config.
|
|
15269
|
+
*
|
|
15270
|
+
* If forwarding is not configured for the inbound phone number, the
|
|
15271
|
+
* dispatcher falls back to the operator path (audit event + SSE only).
|
|
15272
|
+
*/
|
|
15273
|
+
ForwardAction: {
|
|
15274
|
+
/**
|
|
15275
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15276
|
+
* @enum {string}
|
|
15277
|
+
*/
|
|
15278
|
+
type: "forward";
|
|
15279
|
+
};
|
|
15019
15280
|
/** ForwardCallResolvedEvent */
|
|
15020
15281
|
ForwardCallResolvedEvent: {
|
|
15021
15282
|
/**
|
|
@@ -15354,6 +15615,17 @@ export interface components {
|
|
|
15354
15615
|
/** Detail */
|
|
15355
15616
|
detail?: components["schemas"]["ValidationError"][];
|
|
15356
15617
|
};
|
|
15618
|
+
/**
|
|
15619
|
+
* HangupAction
|
|
15620
|
+
* @description End the call gracefully via the existing speaker-drain hangup path.
|
|
15621
|
+
*/
|
|
15622
|
+
HangupAction: {
|
|
15623
|
+
/**
|
|
15624
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15625
|
+
* @enum {string}
|
|
15626
|
+
*/
|
|
15627
|
+
type: "hangup";
|
|
15628
|
+
};
|
|
15357
15629
|
/**
|
|
15358
15630
|
* HardEscalationRule
|
|
15359
15631
|
* @description Non-negotiable escalation rule for healthcare compliance.
|
|
@@ -17101,6 +17373,18 @@ export interface components {
|
|
|
17101
17373
|
*/
|
|
17102
17374
|
target_fields?: string[] | null;
|
|
17103
17375
|
};
|
|
17376
|
+
/**
|
|
17377
|
+
* OperatorAction
|
|
17378
|
+
* @description Today's behavior — write escalation.requested + publish SSE, wait for a
|
|
17379
|
+
* human operator to join via the dashboard. No-op if no operators are staffed.
|
|
17380
|
+
*/
|
|
17381
|
+
OperatorAction: {
|
|
17382
|
+
/**
|
|
17383
|
+
* @description discriminator enum property added by openapi-typescript
|
|
17384
|
+
* @enum {string}
|
|
17385
|
+
*/
|
|
17386
|
+
type: "operator";
|
|
17387
|
+
};
|
|
17104
17388
|
/**
|
|
17105
17389
|
* OperatorIntelligenceSummary
|
|
17106
17390
|
* @description Operator intervention summary.
|
|
@@ -20056,6 +20340,55 @@ export interface components {
|
|
|
20056
20340
|
*/
|
|
20057
20341
|
voice_auth_enabled?: boolean;
|
|
20058
20342
|
};
|
|
20343
|
+
/** ScribeTranscriptionChunk */
|
|
20344
|
+
ScribeTranscriptionChunk: {
|
|
20345
|
+
/** Confidence */
|
|
20346
|
+
confidence?: number | null;
|
|
20347
|
+
/** Duration Seconds */
|
|
20348
|
+
duration_seconds?: number | null;
|
|
20349
|
+
/** End Seconds */
|
|
20350
|
+
end_seconds: number;
|
|
20351
|
+
/** Index */
|
|
20352
|
+
index: number;
|
|
20353
|
+
/** Start Seconds */
|
|
20354
|
+
start_seconds: number;
|
|
20355
|
+
/** Text */
|
|
20356
|
+
text: string;
|
|
20357
|
+
};
|
|
20358
|
+
/** ScribeTranscriptionResponse */
|
|
20359
|
+
ScribeTranscriptionResponse: {
|
|
20360
|
+
/** Chunk Count */
|
|
20361
|
+
chunk_count: number;
|
|
20362
|
+
/** Chunks */
|
|
20363
|
+
chunks?: components["schemas"]["ScribeTranscriptionChunk"][];
|
|
20364
|
+
/** Confidence */
|
|
20365
|
+
confidence?: number | null;
|
|
20366
|
+
/** Duration Seconds */
|
|
20367
|
+
duration_seconds: number;
|
|
20368
|
+
/** Keyterm Count */
|
|
20369
|
+
keyterm_count: number;
|
|
20370
|
+
/** Language */
|
|
20371
|
+
language: string;
|
|
20372
|
+
/** Model */
|
|
20373
|
+
model: string;
|
|
20374
|
+
/** Segments */
|
|
20375
|
+
segments?: components["schemas"]["ScribeTranscriptionSegment"][];
|
|
20376
|
+
/** Transcript */
|
|
20377
|
+
transcript: string;
|
|
20378
|
+
};
|
|
20379
|
+
/** ScribeTranscriptionSegment */
|
|
20380
|
+
ScribeTranscriptionSegment: {
|
|
20381
|
+
/** Confidence */
|
|
20382
|
+
confidence?: number | null;
|
|
20383
|
+
/** End Seconds */
|
|
20384
|
+
end_seconds?: number | null;
|
|
20385
|
+
/** Speaker */
|
|
20386
|
+
speaker?: number | null;
|
|
20387
|
+
/** Start Seconds */
|
|
20388
|
+
start_seconds?: number | null;
|
|
20389
|
+
/** Text */
|
|
20390
|
+
text: string;
|
|
20391
|
+
};
|
|
20059
20392
|
/** SearchAvailableNumbersResponse */
|
|
20060
20393
|
SearchAvailableNumbersResponse: {
|
|
20061
20394
|
/** Numbers */
|
|
@@ -20107,6 +20440,41 @@ export interface components {
|
|
|
20107
20440
|
*/
|
|
20108
20441
|
status: "delivered" | "failed";
|
|
20109
20442
|
};
|
|
20443
|
+
/** SendMessageRequest */
|
|
20444
|
+
SendMessageRequest: {
|
|
20445
|
+
/**
|
|
20446
|
+
* Conversation Id
|
|
20447
|
+
* @description Existing conversation ID to resume. Omit to start a new conversation.
|
|
20448
|
+
*/
|
|
20449
|
+
conversation_id?: string | null;
|
|
20450
|
+
/**
|
|
20451
|
+
* Entity Id
|
|
20452
|
+
* @description Patient entity ID for context loading.
|
|
20453
|
+
*/
|
|
20454
|
+
entity_id?: string | null;
|
|
20455
|
+
/**
|
|
20456
|
+
* Message
|
|
20457
|
+
* @description User message text
|
|
20458
|
+
*/
|
|
20459
|
+
message: string;
|
|
20460
|
+
/**
|
|
20461
|
+
* Service Id
|
|
20462
|
+
* @description Agent service ID
|
|
20463
|
+
*/
|
|
20464
|
+
service_id: string;
|
|
20465
|
+
};
|
|
20466
|
+
/** SendMessageResponse */
|
|
20467
|
+
SendMessageResponse: {
|
|
20468
|
+
/** Conversation Id */
|
|
20469
|
+
conversation_id: string;
|
|
20470
|
+
/** Messages */
|
|
20471
|
+
messages: components["schemas"]["ConversationMessage"][];
|
|
20472
|
+
/**
|
|
20473
|
+
* Status
|
|
20474
|
+
* @enum {string}
|
|
20475
|
+
*/
|
|
20476
|
+
status: "active" | "completed" | "error";
|
|
20477
|
+
};
|
|
20110
20478
|
/**
|
|
20111
20479
|
* Service
|
|
20112
20480
|
* @description A service links an agent + context graph + version sets.
|
|
@@ -20132,6 +20500,7 @@ export interface components {
|
|
|
20132
20500
|
* @enum {string}
|
|
20133
20501
|
*/
|
|
20134
20502
|
environment?: "sandbox" | "production";
|
|
20503
|
+
escalation_policy?: components["schemas"]["EscalationPolicy"] | null;
|
|
20135
20504
|
/**
|
|
20136
20505
|
* Hard Escalation Rules
|
|
20137
20506
|
* @default []
|
|
@@ -20197,6 +20566,7 @@ export interface components {
|
|
|
20197
20566
|
* @enum {string}
|
|
20198
20567
|
*/
|
|
20199
20568
|
environment?: "sandbox" | "production";
|
|
20569
|
+
escalation_policy?: components["schemas"]["EscalationPolicy"] | null;
|
|
20200
20570
|
/** Id */
|
|
20201
20571
|
id: string;
|
|
20202
20572
|
/** Is Active */
|
|
@@ -23445,6 +23815,7 @@ export interface components {
|
|
|
23445
23815
|
description?: components["schemas"]["DescriptionString"] | null;
|
|
23446
23816
|
/** Environment */
|
|
23447
23817
|
environment?: ("sandbox" | "production") | null;
|
|
23818
|
+
escalation_policy?: components["schemas"]["EscalationPolicy"] | null;
|
|
23448
23819
|
/** Is Active */
|
|
23449
23820
|
is_active?: boolean | null;
|
|
23450
23821
|
/** Keyterms */
|
|
@@ -24537,6 +24908,47 @@ export interface components {
|
|
|
24537
24908
|
*/
|
|
24538
24909
|
workspace_id: string;
|
|
24539
24910
|
};
|
|
24911
|
+
/** WorkspaceInvitationAcceptedEvent */
|
|
24912
|
+
WorkspaceInvitationAcceptedEvent: {
|
|
24913
|
+
/** Entity Id */
|
|
24914
|
+
entity_id: string;
|
|
24915
|
+
/**
|
|
24916
|
+
* @description discriminator enum property added by openapi-typescript
|
|
24917
|
+
* @enum {string}
|
|
24918
|
+
*/
|
|
24919
|
+
event_type: "workspace.invitation_accepted";
|
|
24920
|
+
/** Role */
|
|
24921
|
+
role: string;
|
|
24922
|
+
};
|
|
24923
|
+
/** WorkspaceInvitationSentEvent */
|
|
24924
|
+
WorkspaceInvitationSentEvent: {
|
|
24925
|
+
/**
|
|
24926
|
+
* @description discriminator enum property added by openapi-typescript
|
|
24927
|
+
* @enum {string}
|
|
24928
|
+
*/
|
|
24929
|
+
event_type: "workspace.invitation_sent";
|
|
24930
|
+
/** Invitation Id */
|
|
24931
|
+
invitation_id: string;
|
|
24932
|
+
/**
|
|
24933
|
+
* Resent
|
|
24934
|
+
* @default false
|
|
24935
|
+
*/
|
|
24936
|
+
resent?: boolean;
|
|
24937
|
+
/** Role */
|
|
24938
|
+
role: string;
|
|
24939
|
+
};
|
|
24940
|
+
/** WorkspaceMemberAddedEvent */
|
|
24941
|
+
WorkspaceMemberAddedEvent: {
|
|
24942
|
+
/** Entity Id */
|
|
24943
|
+
entity_id: string;
|
|
24944
|
+
/**
|
|
24945
|
+
* @description discriminator enum property added by openapi-typescript
|
|
24946
|
+
* @enum {string}
|
|
24947
|
+
*/
|
|
24948
|
+
event_type: "workspace.member_added";
|
|
24949
|
+
/** Role */
|
|
24950
|
+
role: string;
|
|
24951
|
+
};
|
|
24540
24952
|
/** WorkspaceResponse */
|
|
24541
24953
|
WorkspaceResponse: {
|
|
24542
24954
|
/** Backend Org Id */
|
|
@@ -24566,7 +24978,7 @@ export interface components {
|
|
|
24566
24978
|
*/
|
|
24567
24979
|
updated_at: string;
|
|
24568
24980
|
};
|
|
24569
|
-
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"];
|
|
24981
|
+
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"];
|
|
24570
24982
|
/** WorldDashboardResponse */
|
|
24571
24983
|
WorldDashboardResponse: {
|
|
24572
24984
|
/** Avg Confidence */
|
|
@@ -29605,6 +30017,41 @@ export interface operations {
|
|
|
29605
30017
|
};
|
|
29606
30018
|
};
|
|
29607
30019
|
};
|
|
30020
|
+
send_message_v1__workspace_id__conversations_messages_post: {
|
|
30021
|
+
parameters: {
|
|
30022
|
+
query?: never;
|
|
30023
|
+
header?: never;
|
|
30024
|
+
path: {
|
|
30025
|
+
workspace_id: string;
|
|
30026
|
+
};
|
|
30027
|
+
cookie?: never;
|
|
30028
|
+
};
|
|
30029
|
+
requestBody: {
|
|
30030
|
+
content: {
|
|
30031
|
+
"application/json": components["schemas"]["SendMessageRequest"];
|
|
30032
|
+
};
|
|
30033
|
+
};
|
|
30034
|
+
responses: {
|
|
30035
|
+
/** @description Successful Response */
|
|
30036
|
+
200: {
|
|
30037
|
+
headers: {
|
|
30038
|
+
[name: string]: unknown;
|
|
30039
|
+
};
|
|
30040
|
+
content: {
|
|
30041
|
+
"application/json": components["schemas"]["SendMessageResponse"];
|
|
30042
|
+
};
|
|
30043
|
+
};
|
|
30044
|
+
/** @description Validation Error */
|
|
30045
|
+
422: {
|
|
30046
|
+
headers: {
|
|
30047
|
+
[name: string]: unknown;
|
|
30048
|
+
};
|
|
30049
|
+
content: {
|
|
30050
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30051
|
+
};
|
|
30052
|
+
};
|
|
30053
|
+
};
|
|
30054
|
+
};
|
|
29608
30055
|
"crm-company-search": {
|
|
29609
30056
|
parameters: {
|
|
29610
30057
|
query?: {
|
|
@@ -31800,6 +32247,20 @@ export interface operations {
|
|
|
31800
32247
|
q?: string | null;
|
|
31801
32248
|
/** @description Scope to data source */
|
|
31802
32249
|
data_source_id?: string | null;
|
|
32250
|
+
/** @description Slot status (e.g. 'free', 'busy') */
|
|
32251
|
+
status?: string | null;
|
|
32252
|
+
/** @description Start date YYYY-MM-DD (filters slots on or after this date) */
|
|
32253
|
+
date?: string | null;
|
|
32254
|
+
/** @description Number of days forward from date (default 7) */
|
|
32255
|
+
days?: number;
|
|
32256
|
+
/** @description Provider name (partial match, e.g. 'Woloski') */
|
|
32257
|
+
provider?: string | null;
|
|
32258
|
+
/** @description Specialty (partial match, e.g. 'Psychiatry') */
|
|
32259
|
+
specialty?: string | null;
|
|
32260
|
+
/** @description Visit/service type name (partial match, e.g. 'Follow-up') */
|
|
32261
|
+
service_type?: string | null;
|
|
32262
|
+
/** @description Facility ID */
|
|
32263
|
+
facility_id?: string | null;
|
|
31803
32264
|
limit?: number;
|
|
31804
32265
|
offset?: number;
|
|
31805
32266
|
};
|
|
@@ -37013,6 +37474,41 @@ export interface operations {
|
|
|
37013
37474
|
};
|
|
37014
37475
|
};
|
|
37015
37476
|
};
|
|
37477
|
+
"transcribe-scribe-recording": {
|
|
37478
|
+
parameters: {
|
|
37479
|
+
query?: never;
|
|
37480
|
+
header?: never;
|
|
37481
|
+
path: {
|
|
37482
|
+
workspace_id: string;
|
|
37483
|
+
};
|
|
37484
|
+
cookie?: never;
|
|
37485
|
+
};
|
|
37486
|
+
requestBody: {
|
|
37487
|
+
content: {
|
|
37488
|
+
"multipart/form-data": components["schemas"]["Body_transcribe-scribe-recording"];
|
|
37489
|
+
};
|
|
37490
|
+
};
|
|
37491
|
+
responses: {
|
|
37492
|
+
/** @description Successful Response */
|
|
37493
|
+
200: {
|
|
37494
|
+
headers: {
|
|
37495
|
+
[name: string]: unknown;
|
|
37496
|
+
};
|
|
37497
|
+
content: {
|
|
37498
|
+
"application/json": components["schemas"]["ScribeTranscriptionResponse"];
|
|
37499
|
+
};
|
|
37500
|
+
};
|
|
37501
|
+
/** @description Validation Error */
|
|
37502
|
+
422: {
|
|
37503
|
+
headers: {
|
|
37504
|
+
[name: string]: unknown;
|
|
37505
|
+
};
|
|
37506
|
+
content: {
|
|
37507
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
37508
|
+
};
|
|
37509
|
+
};
|
|
37510
|
+
};
|
|
37511
|
+
};
|
|
37016
37512
|
"get-sensorium-connector-health": {
|
|
37017
37513
|
parameters: {
|
|
37018
37514
|
query?: never;
|