@amigo-ai/platform-sdk 0.5.2 → 0.5.4
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/README.md +81 -7
- package/api.md +3 -0
- package/dist/index.cjs +42 -10
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +42 -10
- package/dist/index.mjs.map +2 -2
- package/dist/resources/base.js +7 -2
- package/dist/resources/base.js.map +1 -1
- package/dist/resources/operators.js.map +1 -1
- package/dist/resources/personas.js.map +1 -1
- package/dist/resources/webhook-destinations.js.map +1 -1
- package/dist/resources/workspaces.js +22 -0
- package/dist/resources/workspaces.js.map +1 -1
- package/dist/resources/world.js.map +1 -1
- package/dist/types/generated/api.d.ts +895 -6
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/base.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +34 -0
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -635,6 +635,46 @@ export interface paths {
|
|
|
635
635
|
patch?: never;
|
|
636
636
|
trace?: never;
|
|
637
637
|
};
|
|
638
|
+
"/v1/workspaces/{workspace_id}/convert-environment": {
|
|
639
|
+
parameters: {
|
|
640
|
+
query?: never;
|
|
641
|
+
header?: never;
|
|
642
|
+
path?: never;
|
|
643
|
+
cookie?: never;
|
|
644
|
+
};
|
|
645
|
+
get?: never;
|
|
646
|
+
put?: never;
|
|
647
|
+
/**
|
|
648
|
+
* Convert workspace environment
|
|
649
|
+
* @description Convert workspace between staging and production. Requires slug confirmation.
|
|
650
|
+
*/
|
|
651
|
+
post: operations["convert-workspace-environment"];
|
|
652
|
+
delete?: never;
|
|
653
|
+
options?: never;
|
|
654
|
+
head?: never;
|
|
655
|
+
patch?: never;
|
|
656
|
+
trace?: never;
|
|
657
|
+
};
|
|
658
|
+
"/v1/workspaces/{workspace_id}/environment-check": {
|
|
659
|
+
parameters: {
|
|
660
|
+
query?: never;
|
|
661
|
+
header?: never;
|
|
662
|
+
path?: never;
|
|
663
|
+
cookie?: never;
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* Pre-check environment conversion
|
|
667
|
+
* @description Returns compliance warnings for converting between staging and production. Does not mutate.
|
|
668
|
+
*/
|
|
669
|
+
get: operations["check-environment-conversion"];
|
|
670
|
+
put?: never;
|
|
671
|
+
post?: never;
|
|
672
|
+
delete?: never;
|
|
673
|
+
options?: never;
|
|
674
|
+
head?: never;
|
|
675
|
+
patch?: never;
|
|
676
|
+
trace?: never;
|
|
677
|
+
};
|
|
638
678
|
"/v1/workspaces/{workspace_id}/provision": {
|
|
639
679
|
parameters: {
|
|
640
680
|
query?: never;
|
|
@@ -3592,6 +3632,26 @@ export interface paths {
|
|
|
3592
3632
|
patch?: never;
|
|
3593
3633
|
trace?: never;
|
|
3594
3634
|
};
|
|
3635
|
+
"/v1/{workspace_id}/m42/notes/rollup": {
|
|
3636
|
+
parameters: {
|
|
3637
|
+
query?: never;
|
|
3638
|
+
header?: never;
|
|
3639
|
+
path?: never;
|
|
3640
|
+
cookie?: never;
|
|
3641
|
+
};
|
|
3642
|
+
/**
|
|
3643
|
+
* Get Notes Rollup
|
|
3644
|
+
* @description Cohort-wide (or per-cluster / per-district) rollup of NLP extractions joined onto patient-topology risk. Surfaces which narrative signals correlate with higher predicted T2D risk.
|
|
3645
|
+
*/
|
|
3646
|
+
get: operations["get_notes_rollup_v1__workspace_id__m42_notes_rollup_get"];
|
|
3647
|
+
put?: never;
|
|
3648
|
+
post?: never;
|
|
3649
|
+
delete?: never;
|
|
3650
|
+
options?: never;
|
|
3651
|
+
head?: never;
|
|
3652
|
+
patch?: never;
|
|
3653
|
+
trace?: never;
|
|
3654
|
+
};
|
|
3595
3655
|
"/v1/{workspace_id}/m42/patient-topology": {
|
|
3596
3656
|
parameters: {
|
|
3597
3657
|
query?: never;
|
|
@@ -3672,6 +3732,26 @@ export interface paths {
|
|
|
3672
3732
|
patch?: never;
|
|
3673
3733
|
trace?: never;
|
|
3674
3734
|
};
|
|
3735
|
+
"/v1/{workspace_id}/m42/stratified-fits": {
|
|
3736
|
+
parameters: {
|
|
3737
|
+
query?: never;
|
|
3738
|
+
header?: never;
|
|
3739
|
+
path?: never;
|
|
3740
|
+
cookie?: never;
|
|
3741
|
+
};
|
|
3742
|
+
/**
|
|
3743
|
+
* List Stratified Fits
|
|
3744
|
+
* @description Per-cohort x region GLM fits with pooled fallback. Drives the dashboard's outcome-by-segment comparison view.
|
|
3745
|
+
*/
|
|
3746
|
+
get: operations["list_stratified_fits_v1__workspace_id__m42_stratified_fits_get"];
|
|
3747
|
+
put?: never;
|
|
3748
|
+
post?: never;
|
|
3749
|
+
delete?: never;
|
|
3750
|
+
options?: never;
|
|
3751
|
+
head?: never;
|
|
3752
|
+
patch?: never;
|
|
3753
|
+
trace?: never;
|
|
3754
|
+
};
|
|
3675
3755
|
"/v1/{workspace_id}/memory/analytics": {
|
|
3676
3756
|
parameters: {
|
|
3677
3757
|
query?: never;
|
|
@@ -8095,6 +8175,46 @@ export interface components {
|
|
|
8095
8175
|
/** Workspace Id */
|
|
8096
8176
|
workspace_id: string;
|
|
8097
8177
|
};
|
|
8178
|
+
/** AgentTranscriptEvent */
|
|
8179
|
+
AgentTranscriptEvent: {
|
|
8180
|
+
/**
|
|
8181
|
+
* Action
|
|
8182
|
+
* @default null
|
|
8183
|
+
*/
|
|
8184
|
+
action?: string | null;
|
|
8185
|
+
/**
|
|
8186
|
+
* Filler Type
|
|
8187
|
+
* @default null
|
|
8188
|
+
*/
|
|
8189
|
+
filler_type?: string | null;
|
|
8190
|
+
/**
|
|
8191
|
+
* Interrupted
|
|
8192
|
+
* @default false
|
|
8193
|
+
*/
|
|
8194
|
+
interrupted?: boolean;
|
|
8195
|
+
/**
|
|
8196
|
+
* Speaker Id
|
|
8197
|
+
* @default null
|
|
8198
|
+
*/
|
|
8199
|
+
speaker_id?: string | null;
|
|
8200
|
+
/**
|
|
8201
|
+
* Speaker Role
|
|
8202
|
+
* @default null
|
|
8203
|
+
*/
|
|
8204
|
+
speaker_role?: string | null;
|
|
8205
|
+
/**
|
|
8206
|
+
* Streaming
|
|
8207
|
+
* @default null
|
|
8208
|
+
*/
|
|
8209
|
+
streaming?: boolean | null;
|
|
8210
|
+
/** Transcript */
|
|
8211
|
+
transcript: string;
|
|
8212
|
+
/**
|
|
8213
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8214
|
+
* @enum {string}
|
|
8215
|
+
*/
|
|
8216
|
+
type: "agent_transcript";
|
|
8217
|
+
};
|
|
8098
8218
|
/**
|
|
8099
8219
|
* AgentVersion
|
|
8100
8220
|
* @description A version of an Agent document.
|
|
@@ -8922,6 +9042,49 @@ export interface components {
|
|
|
8922
9042
|
/** Title */
|
|
8923
9043
|
title: string;
|
|
8924
9044
|
};
|
|
9045
|
+
/** CallEndedEvent */
|
|
9046
|
+
CallEndedEvent: {
|
|
9047
|
+
/** Call Sid */
|
|
9048
|
+
call_sid: string;
|
|
9049
|
+
/**
|
|
9050
|
+
* Completion Reason
|
|
9051
|
+
* @enum {string}
|
|
9052
|
+
*/
|
|
9053
|
+
completion_reason: "completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled";
|
|
9054
|
+
/**
|
|
9055
|
+
* Direction
|
|
9056
|
+
* @enum {string}
|
|
9057
|
+
*/
|
|
9058
|
+
direction: "inbound" | "outbound" | "playground" | "simulated" | "test";
|
|
9059
|
+
/** Duration Seconds */
|
|
9060
|
+
duration_seconds: number;
|
|
9061
|
+
/**
|
|
9062
|
+
* Escalated
|
|
9063
|
+
* @default false
|
|
9064
|
+
*/
|
|
9065
|
+
escalated?: boolean;
|
|
9066
|
+
/**
|
|
9067
|
+
* @description discriminator enum property added by openapi-typescript
|
|
9068
|
+
* @enum {string}
|
|
9069
|
+
*/
|
|
9070
|
+
event_type: "call.ended";
|
|
9071
|
+
};
|
|
9072
|
+
/** CallEscalatedEvent */
|
|
9073
|
+
CallEscalatedEvent: {
|
|
9074
|
+
/** Call Sid */
|
|
9075
|
+
call_sid: string;
|
|
9076
|
+
/** Escalation Id */
|
|
9077
|
+
escalation_id: string;
|
|
9078
|
+
/**
|
|
9079
|
+
* @description discriminator enum property added by openapi-typescript
|
|
9080
|
+
* @enum {string}
|
|
9081
|
+
*/
|
|
9082
|
+
event_type: "call.escalated";
|
|
9083
|
+
/** Reason */
|
|
9084
|
+
reason: string;
|
|
9085
|
+
/** Trigger */
|
|
9086
|
+
trigger: string;
|
|
9087
|
+
};
|
|
8925
9088
|
/**
|
|
8926
9089
|
* CallIntelligenceDetail
|
|
8927
9090
|
* @description Layer 4 (Narrative) intelligence for a completed call.
|
|
@@ -9007,6 +9170,28 @@ export interface components {
|
|
|
9007
9170
|
/** Total */
|
|
9008
9171
|
total: number;
|
|
9009
9172
|
};
|
|
9173
|
+
/** CallStartedEvent */
|
|
9174
|
+
CallStartedEvent: {
|
|
9175
|
+
/** Call Sid */
|
|
9176
|
+
call_sid: string;
|
|
9177
|
+
/**
|
|
9178
|
+
* Caller Id
|
|
9179
|
+
* @default null
|
|
9180
|
+
*/
|
|
9181
|
+
caller_id?: string | null;
|
|
9182
|
+
/**
|
|
9183
|
+
* Direction
|
|
9184
|
+
* @enum {string}
|
|
9185
|
+
*/
|
|
9186
|
+
direction: "inbound" | "outbound" | "playground" | "simulated" | "test";
|
|
9187
|
+
/**
|
|
9188
|
+
* @description discriminator enum property added by openapi-typescript
|
|
9189
|
+
* @enum {string}
|
|
9190
|
+
*/
|
|
9191
|
+
event_type: "call.started";
|
|
9192
|
+
/** Service Id */
|
|
9193
|
+
service_id: string;
|
|
9194
|
+
};
|
|
9010
9195
|
/** CallStatsResponse */
|
|
9011
9196
|
CallStatsResponse: {
|
|
9012
9197
|
/**
|
|
@@ -9975,6 +10160,15 @@ export interface components {
|
|
|
9975
10160
|
*/
|
|
9976
10161
|
topic_changes?: number;
|
|
9977
10162
|
};
|
|
10163
|
+
/** ConvertEnvironmentRequest */
|
|
10164
|
+
ConvertEnvironmentRequest: {
|
|
10165
|
+
confirm_slug: components["schemas"]["SlugString"];
|
|
10166
|
+
/**
|
|
10167
|
+
* Target
|
|
10168
|
+
* @enum {string}
|
|
10169
|
+
*/
|
|
10170
|
+
target: "production" | "staging";
|
|
10171
|
+
};
|
|
9978
10172
|
/** CooccurrenceResponse */
|
|
9979
10173
|
CooccurrenceResponse: {
|
|
9980
10174
|
/** Count */
|
|
@@ -10742,7 +10936,7 @@ export interface components {
|
|
|
10742
10936
|
description?: components["schemas"]["DescriptionString"] | null;
|
|
10743
10937
|
/** Field Mapping */
|
|
10744
10938
|
field_mapping?: {
|
|
10745
|
-
[key: string]:
|
|
10939
|
+
[key: string]: string;
|
|
10746
10940
|
} | null;
|
|
10747
10941
|
name: components["schemas"]["NameString"];
|
|
10748
10942
|
/**
|
|
@@ -10761,9 +10955,10 @@ export interface components {
|
|
|
10761
10955
|
backend_org_id?: components["schemas"]["StrippedNonemptyString"] | null;
|
|
10762
10956
|
/**
|
|
10763
10957
|
* Environment
|
|
10958
|
+
* @default staging
|
|
10764
10959
|
* @enum {string}
|
|
10765
10960
|
*/
|
|
10766
|
-
environment
|
|
10961
|
+
environment?: "production" | "staging" | "development";
|
|
10767
10962
|
name: components["schemas"]["StrippedNonemptyString"];
|
|
10768
10963
|
/**
|
|
10769
10964
|
* Region
|
|
@@ -12805,6 +13000,15 @@ export interface components {
|
|
|
12805
13000
|
/** Last Updated */
|
|
12806
13001
|
last_updated: string | null;
|
|
12807
13002
|
};
|
|
13003
|
+
/** EnvironmentCheckResponse */
|
|
13004
|
+
EnvironmentCheckResponse: {
|
|
13005
|
+
/** Current */
|
|
13006
|
+
current: string;
|
|
13007
|
+
/** Target */
|
|
13008
|
+
target: string;
|
|
13009
|
+
/** Warnings */
|
|
13010
|
+
warnings: string[];
|
|
13011
|
+
};
|
|
12808
13012
|
/**
|
|
12809
13013
|
* EnvironmentOverrides
|
|
12810
13014
|
* @description Per-environment config overrides merged at runtime.
|
|
@@ -13594,6 +13798,8 @@ export interface components {
|
|
|
13594
13798
|
lower_95?: number | null;
|
|
13595
13799
|
/** Median */
|
|
13596
13800
|
median?: number | null;
|
|
13801
|
+
/** Observed */
|
|
13802
|
+
observed?: number | null;
|
|
13597
13803
|
/** Run Id */
|
|
13598
13804
|
run_id: string;
|
|
13599
13805
|
/**
|
|
@@ -13607,6 +13813,8 @@ export interface components {
|
|
|
13607
13813
|
upper_95?: number | null;
|
|
13608
13814
|
/** Workspace Id */
|
|
13609
13815
|
workspace_id: string;
|
|
13816
|
+
/** Ym */
|
|
13817
|
+
ym?: string | null;
|
|
13610
13818
|
};
|
|
13611
13819
|
/** ForecastFanResponse */
|
|
13612
13820
|
ForecastFanResponse: {
|
|
@@ -13826,6 +14034,34 @@ export interface components {
|
|
|
13826
14034
|
/** Templates */
|
|
13827
14035
|
templates: components["schemas"]["FormTemplate-Input"][];
|
|
13828
14036
|
};
|
|
14037
|
+
/** ForwardCallResolvedEvent */
|
|
14038
|
+
ForwardCallResolvedEvent: {
|
|
14039
|
+
/**
|
|
14040
|
+
* Error
|
|
14041
|
+
* @default null
|
|
14042
|
+
*/
|
|
14043
|
+
error?: string | null;
|
|
14044
|
+
/**
|
|
14045
|
+
* Location Name
|
|
14046
|
+
* @default null
|
|
14047
|
+
*/
|
|
14048
|
+
location_name?: string | null;
|
|
14049
|
+
/**
|
|
14050
|
+
* Result
|
|
14051
|
+
* @default null
|
|
14052
|
+
*/
|
|
14053
|
+
result?: string | null;
|
|
14054
|
+
/**
|
|
14055
|
+
* Target Number
|
|
14056
|
+
* @default null
|
|
14057
|
+
*/
|
|
14058
|
+
target_number?: string | null;
|
|
14059
|
+
/**
|
|
14060
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14061
|
+
* @enum {string}
|
|
14062
|
+
*/
|
|
14063
|
+
type: "forward_call_resolved";
|
|
14064
|
+
};
|
|
13829
14065
|
/**
|
|
13830
14066
|
* ForwardingConfigRequest
|
|
13831
14067
|
* @description Call forwarding configuration for create/update requests.
|
|
@@ -15616,6 +15852,47 @@ export interface components {
|
|
|
15616
15852
|
/** State */
|
|
15617
15853
|
state: string;
|
|
15618
15854
|
};
|
|
15855
|
+
/** NoteRollupCategoryEntry */
|
|
15856
|
+
NoteRollupCategoryEntry: {
|
|
15857
|
+
/** Mean Risk */
|
|
15858
|
+
mean_risk: number;
|
|
15859
|
+
/** N */
|
|
15860
|
+
n: number;
|
|
15861
|
+
/** Pct */
|
|
15862
|
+
pct: number;
|
|
15863
|
+
/** Risk Lift */
|
|
15864
|
+
risk_lift: number;
|
|
15865
|
+
/** Value */
|
|
15866
|
+
value: string;
|
|
15867
|
+
};
|
|
15868
|
+
/** NoteRollupResponse */
|
|
15869
|
+
NoteRollupResponse: {
|
|
15870
|
+
/** Cohort Mean Risk */
|
|
15871
|
+
cohort_mean_risk: number;
|
|
15872
|
+
sdoh: components["schemas"]["NoteRollupSdoh"];
|
|
15873
|
+
/** Sentiment Distribution */
|
|
15874
|
+
sentiment_distribution: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15875
|
+
/** Top Concerns */
|
|
15876
|
+
top_concerns: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15877
|
+
/** Top Medications */
|
|
15878
|
+
top_medications: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15879
|
+
/** Top Symptoms */
|
|
15880
|
+
top_symptoms: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15881
|
+
/** Total Notes */
|
|
15882
|
+
total_notes: number;
|
|
15883
|
+
/** Workspace Id */
|
|
15884
|
+
workspace_id: string;
|
|
15885
|
+
};
|
|
15886
|
+
/** NoteRollupSdoh */
|
|
15887
|
+
NoteRollupSdoh: {
|
|
15888
|
+
/** Activity */
|
|
15889
|
+
activity: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15890
|
+
/** Diet */
|
|
15891
|
+
diet: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15892
|
+
/** Smoking */
|
|
15893
|
+
smoking: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15894
|
+
};
|
|
15895
|
+
ObserverSSEEvent: components["schemas"]["UserTranscriptEvent"] | components["schemas"]["AgentTranscriptEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallCompletedEvent"] | components["schemas"]["ForwardCallResolvedEvent"] | components["schemas"]["SpeakerMutedEvent"];
|
|
15619
15896
|
/** OcrRequest */
|
|
15620
15897
|
OcrRequest: {
|
|
15621
15898
|
/**
|
|
@@ -15646,6 +15923,51 @@ export interface components {
|
|
|
15646
15923
|
*/
|
|
15647
15924
|
operator_handle_time_seconds?: number | null;
|
|
15648
15925
|
};
|
|
15926
|
+
/** OperatorJoinedCallEvent */
|
|
15927
|
+
OperatorJoinedCallEvent: {
|
|
15928
|
+
/** Call Sid */
|
|
15929
|
+
call_sid: string;
|
|
15930
|
+
/**
|
|
15931
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15932
|
+
* @enum {string}
|
|
15933
|
+
*/
|
|
15934
|
+
event_type: "operator.joined_call";
|
|
15935
|
+
/** Mode */
|
|
15936
|
+
mode: string;
|
|
15937
|
+
/** Operator Id */
|
|
15938
|
+
operator_id: string;
|
|
15939
|
+
};
|
|
15940
|
+
/** OperatorLeftCallEvent */
|
|
15941
|
+
OperatorLeftCallEvent: {
|
|
15942
|
+
/** Call Sid */
|
|
15943
|
+
call_sid: string;
|
|
15944
|
+
/**
|
|
15945
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15946
|
+
* @enum {string}
|
|
15947
|
+
*/
|
|
15948
|
+
event_type: "operator.left_call";
|
|
15949
|
+
/**
|
|
15950
|
+
* Human Segment Turn Count
|
|
15951
|
+
* @default null
|
|
15952
|
+
*/
|
|
15953
|
+
human_segment_turn_count?: number | null;
|
|
15954
|
+
/** Operator Id */
|
|
15955
|
+
operator_id: string;
|
|
15956
|
+
};
|
|
15957
|
+
/** OperatorModeChangedEvent */
|
|
15958
|
+
OperatorModeChangedEvent: {
|
|
15959
|
+
/** Call Sid */
|
|
15960
|
+
call_sid: string;
|
|
15961
|
+
/**
|
|
15962
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15963
|
+
* @enum {string}
|
|
15964
|
+
*/
|
|
15965
|
+
event_type: "operator.mode_changed";
|
|
15966
|
+
/** Mode */
|
|
15967
|
+
mode: string;
|
|
15968
|
+
/** Operator Id */
|
|
15969
|
+
operator_id: string;
|
|
15970
|
+
};
|
|
15649
15971
|
/** OperatorPerformanceItem */
|
|
15650
15972
|
OperatorPerformanceItem: {
|
|
15651
15973
|
/**
|
|
@@ -15756,6 +16078,38 @@ export interface components {
|
|
|
15756
16078
|
*/
|
|
15757
16079
|
total_calls: number;
|
|
15758
16080
|
};
|
|
16081
|
+
/** OperatorProfileUpdatedEvent */
|
|
16082
|
+
OperatorProfileUpdatedEvent: {
|
|
16083
|
+
/**
|
|
16084
|
+
* Changes
|
|
16085
|
+
* @default null
|
|
16086
|
+
*/
|
|
16087
|
+
changes?: {
|
|
16088
|
+
[key: string]: string | null;
|
|
16089
|
+
} | null;
|
|
16090
|
+
/**
|
|
16091
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16092
|
+
* @enum {string}
|
|
16093
|
+
*/
|
|
16094
|
+
event_type: "operator.profile_updated";
|
|
16095
|
+
/** Operator Id */
|
|
16096
|
+
operator_id: string;
|
|
16097
|
+
};
|
|
16098
|
+
/** OperatorRegisteredEvent */
|
|
16099
|
+
OperatorRegisteredEvent: {
|
|
16100
|
+
/**
|
|
16101
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16102
|
+
* @enum {string}
|
|
16103
|
+
*/
|
|
16104
|
+
event_type: "operator.registered";
|
|
16105
|
+
/** Operator Id */
|
|
16106
|
+
operator_id: string;
|
|
16107
|
+
/**
|
|
16108
|
+
* Timestamp
|
|
16109
|
+
* @default null
|
|
16110
|
+
*/
|
|
16111
|
+
timestamp?: string | null;
|
|
16112
|
+
};
|
|
15759
16113
|
/** OperatorResponse */
|
|
15760
16114
|
OperatorResponse: {
|
|
15761
16115
|
/**
|
|
@@ -15847,6 +16201,18 @@ export interface components {
|
|
|
15847
16201
|
*/
|
|
15848
16202
|
workspace_id: string;
|
|
15849
16203
|
};
|
|
16204
|
+
/** OperatorStatusChangedEvent */
|
|
16205
|
+
OperatorStatusChangedEvent: {
|
|
16206
|
+
/**
|
|
16207
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16208
|
+
* @enum {string}
|
|
16209
|
+
*/
|
|
16210
|
+
event_type: "operator.status_changed";
|
|
16211
|
+
/** Operator Id */
|
|
16212
|
+
operator_id: string;
|
|
16213
|
+
/** Status */
|
|
16214
|
+
status: string;
|
|
16215
|
+
};
|
|
15850
16216
|
/** OperatorStatusCounts */
|
|
15851
16217
|
OperatorStatusCounts: {
|
|
15852
16218
|
/** Busy */
|
|
@@ -15858,6 +16224,21 @@ export interface components {
|
|
|
15858
16224
|
/** Total */
|
|
15859
16225
|
total: number;
|
|
15860
16226
|
};
|
|
16227
|
+
/** OperatorWrapUpEvent */
|
|
16228
|
+
OperatorWrapUpEvent: {
|
|
16229
|
+
/** Call Sid */
|
|
16230
|
+
call_sid: string;
|
|
16231
|
+
/**
|
|
16232
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16233
|
+
* @enum {string}
|
|
16234
|
+
*/
|
|
16235
|
+
event_type: "operator.wrap_up";
|
|
16236
|
+
/**
|
|
16237
|
+
* Wrap Up Reason
|
|
16238
|
+
* @default null
|
|
16239
|
+
*/
|
|
16240
|
+
wrap_up_reason?: string | null;
|
|
16241
|
+
};
|
|
15861
16242
|
/** OrderedPathway */
|
|
15862
16243
|
OrderedPathway: {
|
|
15863
16244
|
/** Id */
|
|
@@ -16842,6 +17223,18 @@ export interface components {
|
|
|
16842
17223
|
/** Workspace Id */
|
|
16843
17224
|
workspace_id: string;
|
|
16844
17225
|
};
|
|
17226
|
+
/** PipelineErrorEvent */
|
|
17227
|
+
PipelineErrorEvent: {
|
|
17228
|
+
/** Data Source Id */
|
|
17229
|
+
data_source_id: string;
|
|
17230
|
+
/** Error */
|
|
17231
|
+
error: string;
|
|
17232
|
+
/**
|
|
17233
|
+
* @description discriminator enum property added by openapi-typescript
|
|
17234
|
+
* @enum {string}
|
|
17235
|
+
*/
|
|
17236
|
+
event_type: "pipeline.error";
|
|
17237
|
+
};
|
|
16845
17238
|
/** PipelineMetrics */
|
|
16846
17239
|
PipelineMetrics: {
|
|
16847
17240
|
/**
|
|
@@ -16939,6 +17332,20 @@ export interface components {
|
|
|
16939
17332
|
/** Uptime Seconds */
|
|
16940
17333
|
uptime_seconds?: number | null;
|
|
16941
17334
|
};
|
|
17335
|
+
/** PipelineSyncCompletedEvent */
|
|
17336
|
+
PipelineSyncCompletedEvent: {
|
|
17337
|
+
/** Data Source Id */
|
|
17338
|
+
data_source_id: string;
|
|
17339
|
+
/** Duration Ms */
|
|
17340
|
+
duration_ms: number;
|
|
17341
|
+
/** Event Count */
|
|
17342
|
+
event_count: number;
|
|
17343
|
+
/**
|
|
17344
|
+
* @description discriminator enum property added by openapi-typescript
|
|
17345
|
+
* @enum {string}
|
|
17346
|
+
*/
|
|
17347
|
+
event_type: "pipeline.sync_completed";
|
|
17348
|
+
};
|
|
16942
17349
|
/** PositiveSignalResponse */
|
|
16943
17350
|
PositiveSignalResponse: {
|
|
16944
17351
|
/** Count */
|
|
@@ -19076,6 +19483,16 @@ export interface components {
|
|
|
19076
19483
|
/** Workspace Id */
|
|
19077
19484
|
workspace_id: string;
|
|
19078
19485
|
};
|
|
19486
|
+
/** SpeakerMutedEvent */
|
|
19487
|
+
SpeakerMutedEvent: {
|
|
19488
|
+
/** Muted */
|
|
19489
|
+
muted: boolean;
|
|
19490
|
+
/**
|
|
19491
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19492
|
+
* @enum {string}
|
|
19493
|
+
*/
|
|
19494
|
+
type: "speaker_muted";
|
|
19495
|
+
};
|
|
19079
19496
|
/** SqlQueryRequest */
|
|
19080
19497
|
SqlQueryRequest: {
|
|
19081
19498
|
/** Sql */
|
|
@@ -19139,7 +19556,41 @@ export interface components {
|
|
|
19139
19556
|
/** Valence */
|
|
19140
19557
|
valence?: number | null;
|
|
19141
19558
|
};
|
|
19142
|
-
|
|
19559
|
+
/** StratifiedFitRow */
|
|
19560
|
+
StratifiedFitRow: {
|
|
19561
|
+
/** Auroc */
|
|
19562
|
+
auroc?: number | null;
|
|
19563
|
+
/** Base Rate */
|
|
19564
|
+
base_rate?: number | null;
|
|
19565
|
+
/** Coefficients Json */
|
|
19566
|
+
coefficients_json?: string | null;
|
|
19567
|
+
/** Cohort */
|
|
19568
|
+
cohort: string;
|
|
19569
|
+
/** Intercept */
|
|
19570
|
+
intercept?: number | null;
|
|
19571
|
+
/** Is Pooled Fallback */
|
|
19572
|
+
is_pooled_fallback?: boolean | null;
|
|
19573
|
+
/** N */
|
|
19574
|
+
n?: number | null;
|
|
19575
|
+
/** Outcome Key */
|
|
19576
|
+
outcome_key: string;
|
|
19577
|
+
/** Outcome Name */
|
|
19578
|
+
outcome_name?: string | null;
|
|
19579
|
+
/** Region */
|
|
19580
|
+
region: string;
|
|
19581
|
+
/** Workspace Id */
|
|
19582
|
+
workspace_id: string;
|
|
19583
|
+
};
|
|
19584
|
+
/** StratifiedFitsResponse */
|
|
19585
|
+
StratifiedFitsResponse: {
|
|
19586
|
+
/** Count */
|
|
19587
|
+
count: number;
|
|
19588
|
+
/** Items */
|
|
19589
|
+
items: components["schemas"]["StratifiedFitRow"][];
|
|
19590
|
+
/** Workspace Id */
|
|
19591
|
+
workspace_id: string;
|
|
19592
|
+
};
|
|
19593
|
+
StrippedNonemptyString: string;
|
|
19143
19594
|
/** SubAccountResponse */
|
|
19144
19595
|
SubAccountResponse: {
|
|
19145
19596
|
/** Account Sid */
|
|
@@ -19237,6 +19688,74 @@ export interface components {
|
|
|
19237
19688
|
/** Suggestions */
|
|
19238
19689
|
suggestions: string[];
|
|
19239
19690
|
};
|
|
19691
|
+
/** SurfaceArchivedEvent */
|
|
19692
|
+
SurfaceArchivedEvent: {
|
|
19693
|
+
/**
|
|
19694
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19695
|
+
* @enum {string}
|
|
19696
|
+
*/
|
|
19697
|
+
event_type: "surface.archived";
|
|
19698
|
+
/** Surface Id */
|
|
19699
|
+
surface_id: string;
|
|
19700
|
+
};
|
|
19701
|
+
/** SurfaceCreatedEvent */
|
|
19702
|
+
SurfaceCreatedEvent: {
|
|
19703
|
+
/** Channel */
|
|
19704
|
+
channel: string;
|
|
19705
|
+
/** Entity Id */
|
|
19706
|
+
entity_id: string;
|
|
19707
|
+
/**
|
|
19708
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19709
|
+
* @enum {string}
|
|
19710
|
+
*/
|
|
19711
|
+
event_type: "surface.created";
|
|
19712
|
+
/**
|
|
19713
|
+
* Fields Count
|
|
19714
|
+
* @default null
|
|
19715
|
+
*/
|
|
19716
|
+
fields_count?: number | null;
|
|
19717
|
+
/**
|
|
19718
|
+
* Form Template Id
|
|
19719
|
+
* @default null
|
|
19720
|
+
*/
|
|
19721
|
+
form_template_id?: string | null;
|
|
19722
|
+
/**
|
|
19723
|
+
* Review Required
|
|
19724
|
+
* @default null
|
|
19725
|
+
*/
|
|
19726
|
+
review_required?: boolean | null;
|
|
19727
|
+
/**
|
|
19728
|
+
* Source
|
|
19729
|
+
* @default null
|
|
19730
|
+
*/
|
|
19731
|
+
source?: string | null;
|
|
19732
|
+
/** Surface Id */
|
|
19733
|
+
surface_id: string;
|
|
19734
|
+
};
|
|
19735
|
+
/** SurfaceDeliveredEvent */
|
|
19736
|
+
SurfaceDeliveredEvent: {
|
|
19737
|
+
/** Channel */
|
|
19738
|
+
channel: string;
|
|
19739
|
+
/**
|
|
19740
|
+
* Channel Address
|
|
19741
|
+
* @default null
|
|
19742
|
+
*/
|
|
19743
|
+
channel_address?: string | null;
|
|
19744
|
+
/**
|
|
19745
|
+
* Delivery Status
|
|
19746
|
+
* @default null
|
|
19747
|
+
*/
|
|
19748
|
+
delivery_status?: string | null;
|
|
19749
|
+
/** Entity Id */
|
|
19750
|
+
entity_id: string;
|
|
19751
|
+
/**
|
|
19752
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19753
|
+
* @enum {string}
|
|
19754
|
+
*/
|
|
19755
|
+
event_type: "surface.delivered";
|
|
19756
|
+
/** Surface Id */
|
|
19757
|
+
surface_id: string;
|
|
19758
|
+
};
|
|
19240
19759
|
/**
|
|
19241
19760
|
* SurfaceField
|
|
19242
19761
|
* @description A single data collection field in a surface spec.
|
|
@@ -19277,6 +19796,59 @@ export interface components {
|
|
|
19277
19796
|
[key: string]: unknown;
|
|
19278
19797
|
} | null;
|
|
19279
19798
|
};
|
|
19799
|
+
/** SurfaceFieldSavedEvent */
|
|
19800
|
+
SurfaceFieldSavedEvent: {
|
|
19801
|
+
/** Entity Id */
|
|
19802
|
+
entity_id: string;
|
|
19803
|
+
/**
|
|
19804
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19805
|
+
* @enum {string}
|
|
19806
|
+
*/
|
|
19807
|
+
event_type: "surface.field_saved";
|
|
19808
|
+
/** Field Id */
|
|
19809
|
+
field_id: string;
|
|
19810
|
+
/** Surface Id */
|
|
19811
|
+
surface_id: string;
|
|
19812
|
+
};
|
|
19813
|
+
/** SurfaceOpenedEvent */
|
|
19814
|
+
SurfaceOpenedEvent: {
|
|
19815
|
+
/** Entity Id */
|
|
19816
|
+
entity_id: string;
|
|
19817
|
+
/**
|
|
19818
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19819
|
+
* @enum {string}
|
|
19820
|
+
*/
|
|
19821
|
+
event_type: "surface.opened";
|
|
19822
|
+
/** Surface Id */
|
|
19823
|
+
surface_id: string;
|
|
19824
|
+
};
|
|
19825
|
+
/** SurfacePendingReviewEvent */
|
|
19826
|
+
SurfacePendingReviewEvent: {
|
|
19827
|
+
/** Entity Id */
|
|
19828
|
+
entity_id: string;
|
|
19829
|
+
/**
|
|
19830
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19831
|
+
* @enum {string}
|
|
19832
|
+
*/
|
|
19833
|
+
event_type: "surface.pending_review";
|
|
19834
|
+
/**
|
|
19835
|
+
* Form Template Id
|
|
19836
|
+
* @default null
|
|
19837
|
+
*/
|
|
19838
|
+
form_template_id?: string | null;
|
|
19839
|
+
/**
|
|
19840
|
+
* Review Required
|
|
19841
|
+
* @default null
|
|
19842
|
+
*/
|
|
19843
|
+
review_required?: boolean | null;
|
|
19844
|
+
/**
|
|
19845
|
+
* Source
|
|
19846
|
+
* @default null
|
|
19847
|
+
*/
|
|
19848
|
+
source?: string | null;
|
|
19849
|
+
/** Surface Id */
|
|
19850
|
+
surface_id: string;
|
|
19851
|
+
};
|
|
19280
19852
|
/** SurfaceProgressResponse */
|
|
19281
19853
|
SurfaceProgressResponse: {
|
|
19282
19854
|
/** Empty Count */
|
|
@@ -19294,6 +19866,18 @@ export interface components {
|
|
|
19294
19866
|
/** Total Fields */
|
|
19295
19867
|
total_fields: number;
|
|
19296
19868
|
};
|
|
19869
|
+
/** SurfaceReshapedEvent */
|
|
19870
|
+
SurfaceReshapedEvent: {
|
|
19871
|
+
/**
|
|
19872
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19873
|
+
* @enum {string}
|
|
19874
|
+
*/
|
|
19875
|
+
event_type: "surface.reshaped";
|
|
19876
|
+
/** Original Surface Id */
|
|
19877
|
+
original_surface_id: string;
|
|
19878
|
+
/** Surface Id */
|
|
19879
|
+
surface_id: string;
|
|
19880
|
+
};
|
|
19297
19881
|
/** SurfaceResponse */
|
|
19298
19882
|
SurfaceResponse: {
|
|
19299
19883
|
/** Channel */
|
|
@@ -19350,6 +19934,28 @@ export interface components {
|
|
|
19350
19934
|
/** Title */
|
|
19351
19935
|
title?: string | null;
|
|
19352
19936
|
};
|
|
19937
|
+
/** SurfaceReviewApprovedEvent */
|
|
19938
|
+
SurfaceReviewApprovedEvent: {
|
|
19939
|
+
/**
|
|
19940
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19941
|
+
* @enum {string}
|
|
19942
|
+
*/
|
|
19943
|
+
event_type: "surface.review_approved";
|
|
19944
|
+
/** Surface Id */
|
|
19945
|
+
surface_id: string;
|
|
19946
|
+
};
|
|
19947
|
+
/** SurfaceReviewRejectedEvent */
|
|
19948
|
+
SurfaceReviewRejectedEvent: {
|
|
19949
|
+
/**
|
|
19950
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19951
|
+
* @enum {string}
|
|
19952
|
+
*/
|
|
19953
|
+
event_type: "surface.review_rejected";
|
|
19954
|
+
/** Reason */
|
|
19955
|
+
reason: string;
|
|
19956
|
+
/** Surface Id */
|
|
19957
|
+
surface_id: string;
|
|
19958
|
+
};
|
|
19353
19959
|
/**
|
|
19354
19960
|
* SurfaceSection
|
|
19355
19961
|
* @description A page/step in a multi-page surface form.
|
|
@@ -19407,6 +20013,33 @@ export interface components {
|
|
|
19407
20013
|
submit_button_text?: string | null;
|
|
19408
20014
|
title: components["schemas"]["NameString"];
|
|
19409
20015
|
};
|
|
20016
|
+
/** SurfaceSubmittedEvent */
|
|
20017
|
+
SurfaceSubmittedEvent: {
|
|
20018
|
+
/** Entity Id */
|
|
20019
|
+
entity_id: string;
|
|
20020
|
+
/**
|
|
20021
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20022
|
+
* @enum {string}
|
|
20023
|
+
*/
|
|
20024
|
+
event_type: "surface.submitted";
|
|
20025
|
+
/**
|
|
20026
|
+
* Submitted At
|
|
20027
|
+
* @default null
|
|
20028
|
+
*/
|
|
20029
|
+
submitted_at?: string | null;
|
|
20030
|
+
/** Surface Id */
|
|
20031
|
+
surface_id: string;
|
|
20032
|
+
};
|
|
20033
|
+
/** SurfaceUpdatedEvent */
|
|
20034
|
+
SurfaceUpdatedEvent: {
|
|
20035
|
+
/**
|
|
20036
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20037
|
+
* @enum {string}
|
|
20038
|
+
*/
|
|
20039
|
+
event_type: "surface.updated";
|
|
20040
|
+
/** Surface Id */
|
|
20041
|
+
surface_id: string;
|
|
20042
|
+
};
|
|
19410
20043
|
/**
|
|
19411
20044
|
* SwitchModeRequest
|
|
19412
20045
|
* @description Request to toggle operator mode on an active call.
|
|
@@ -19775,6 +20408,36 @@ export interface components {
|
|
|
19775
20408
|
/** Source System */
|
|
19776
20409
|
source_system?: string | null;
|
|
19777
20410
|
};
|
|
20411
|
+
/** ToolCallCompletedEvent */
|
|
20412
|
+
ToolCallCompletedEvent: {
|
|
20413
|
+
/**
|
|
20414
|
+
* Duration Ms
|
|
20415
|
+
* @default null
|
|
20416
|
+
*/
|
|
20417
|
+
duration_ms?: number | null;
|
|
20418
|
+
/**
|
|
20419
|
+
* Error
|
|
20420
|
+
* @default null
|
|
20421
|
+
*/
|
|
20422
|
+
error?: string | null;
|
|
20423
|
+
/**
|
|
20424
|
+
* Output
|
|
20425
|
+
* @default null
|
|
20426
|
+
*/
|
|
20427
|
+
output?: string | null;
|
|
20428
|
+
/**
|
|
20429
|
+
* Succeeded
|
|
20430
|
+
* @default true
|
|
20431
|
+
*/
|
|
20432
|
+
succeeded?: boolean;
|
|
20433
|
+
/** Tool Name */
|
|
20434
|
+
tool_name: string;
|
|
20435
|
+
/**
|
|
20436
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20437
|
+
* @enum {string}
|
|
20438
|
+
*/
|
|
20439
|
+
type: "tool_call_completed";
|
|
20440
|
+
};
|
|
19778
20441
|
/**
|
|
19779
20442
|
* ToolCallDetail
|
|
19780
20443
|
* @description Rich tool call data from a simulation step.
|
|
@@ -19826,6 +20489,23 @@ export interface components {
|
|
|
19826
20489
|
/** Tool Id */
|
|
19827
20490
|
tool_id: string;
|
|
19828
20491
|
};
|
|
20492
|
+
/** ToolCallStartedEvent */
|
|
20493
|
+
ToolCallStartedEvent: {
|
|
20494
|
+
/**
|
|
20495
|
+
* Tool Input
|
|
20496
|
+
* @default null
|
|
20497
|
+
*/
|
|
20498
|
+
tool_input?: {
|
|
20499
|
+
[key: string]: unknown;
|
|
20500
|
+
} | null;
|
|
20501
|
+
/** Tool Name */
|
|
20502
|
+
tool_name: string;
|
|
20503
|
+
/**
|
|
20504
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20505
|
+
* @enum {string}
|
|
20506
|
+
*/
|
|
20507
|
+
type: "tool_call_started";
|
|
20508
|
+
};
|
|
19829
20509
|
/** ToolExecuteRequest */
|
|
19830
20510
|
ToolExecuteRequest: {
|
|
19831
20511
|
/**
|
|
@@ -20867,7 +21547,7 @@ export interface components {
|
|
|
20867
21547
|
description?: components["schemas"]["DescriptionString"] | null;
|
|
20868
21548
|
/** Field Mapping */
|
|
20869
21549
|
field_mapping?: {
|
|
20870
|
-
[key: string]:
|
|
21550
|
+
[key: string]: string;
|
|
20871
21551
|
} | null;
|
|
20872
21552
|
/** Is Active */
|
|
20873
21553
|
is_active?: boolean | null;
|
|
@@ -20976,6 +21656,46 @@ export interface components {
|
|
|
20976
21656
|
*/
|
|
20977
21657
|
value: number;
|
|
20978
21658
|
};
|
|
21659
|
+
/** UserTranscriptEvent */
|
|
21660
|
+
UserTranscriptEvent: {
|
|
21661
|
+
/**
|
|
21662
|
+
* Eot Confidence
|
|
21663
|
+
* @default null
|
|
21664
|
+
*/
|
|
21665
|
+
eot_confidence?: number | null;
|
|
21666
|
+
/**
|
|
21667
|
+
* Is Barge In
|
|
21668
|
+
* @default null
|
|
21669
|
+
*/
|
|
21670
|
+
is_barge_in?: boolean | null;
|
|
21671
|
+
/**
|
|
21672
|
+
* Speaker Id
|
|
21673
|
+
* @default null
|
|
21674
|
+
*/
|
|
21675
|
+
speaker_id?: string | null;
|
|
21676
|
+
/**
|
|
21677
|
+
* Speaker Role
|
|
21678
|
+
* @default null
|
|
21679
|
+
*/
|
|
21680
|
+
speaker_role?: string | null;
|
|
21681
|
+
/**
|
|
21682
|
+
* State
|
|
21683
|
+
* @default
|
|
21684
|
+
*/
|
|
21685
|
+
state?: string;
|
|
21686
|
+
/**
|
|
21687
|
+
* Stt Confidence
|
|
21688
|
+
* @default null
|
|
21689
|
+
*/
|
|
21690
|
+
stt_confidence?: number | null;
|
|
21691
|
+
/** Transcript */
|
|
21692
|
+
transcript: string;
|
|
21693
|
+
/**
|
|
21694
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21695
|
+
* @enum {string}
|
|
21696
|
+
*/
|
|
21697
|
+
type: "user_transcript";
|
|
21698
|
+
};
|
|
20979
21699
|
/** ValidationError */
|
|
20980
21700
|
ValidationError: {
|
|
20981
21701
|
/** Context */
|
|
@@ -21617,6 +22337,7 @@ export interface components {
|
|
|
21617
22337
|
*/
|
|
21618
22338
|
updated_at: string;
|
|
21619
22339
|
};
|
|
22340
|
+
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | 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"]["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"];
|
|
21620
22341
|
/**
|
|
21621
22342
|
* WrapUpRequest
|
|
21622
22343
|
* @description Request to record operator intervention wrap-up.
|
|
@@ -23363,6 +24084,107 @@ export interface operations {
|
|
|
23363
24084
|
};
|
|
23364
24085
|
};
|
|
23365
24086
|
};
|
|
24087
|
+
"convert-workspace-environment": {
|
|
24088
|
+
parameters: {
|
|
24089
|
+
query?: never;
|
|
24090
|
+
header?: never;
|
|
24091
|
+
path: {
|
|
24092
|
+
workspace_id: string;
|
|
24093
|
+
};
|
|
24094
|
+
cookie?: never;
|
|
24095
|
+
};
|
|
24096
|
+
requestBody: {
|
|
24097
|
+
content: {
|
|
24098
|
+
"application/json": components["schemas"]["ConvertEnvironmentRequest"];
|
|
24099
|
+
};
|
|
24100
|
+
};
|
|
24101
|
+
responses: {
|
|
24102
|
+
/** @description Successful Response */
|
|
24103
|
+
200: {
|
|
24104
|
+
headers: {
|
|
24105
|
+
[name: string]: unknown;
|
|
24106
|
+
};
|
|
24107
|
+
content: {
|
|
24108
|
+
"application/json": components["schemas"]["WorkspaceResponse"];
|
|
24109
|
+
};
|
|
24110
|
+
};
|
|
24111
|
+
/** @description Missing or invalid API key. */
|
|
24112
|
+
401: {
|
|
24113
|
+
headers: {
|
|
24114
|
+
[name: string]: unknown;
|
|
24115
|
+
};
|
|
24116
|
+
content?: never;
|
|
24117
|
+
};
|
|
24118
|
+
/** @description Insufficient permissions. */
|
|
24119
|
+
403: {
|
|
24120
|
+
headers: {
|
|
24121
|
+
[name: string]: unknown;
|
|
24122
|
+
};
|
|
24123
|
+
content?: never;
|
|
24124
|
+
};
|
|
24125
|
+
/** @description Workspace not found. */
|
|
24126
|
+
404: {
|
|
24127
|
+
headers: {
|
|
24128
|
+
[name: string]: unknown;
|
|
24129
|
+
};
|
|
24130
|
+
content?: never;
|
|
24131
|
+
};
|
|
24132
|
+
/** @description Workspace slug confirmation did not match. */
|
|
24133
|
+
422: {
|
|
24134
|
+
headers: {
|
|
24135
|
+
[name: string]: unknown;
|
|
24136
|
+
};
|
|
24137
|
+
content?: never;
|
|
24138
|
+
};
|
|
24139
|
+
};
|
|
24140
|
+
};
|
|
24141
|
+
"check-environment-conversion": {
|
|
24142
|
+
parameters: {
|
|
24143
|
+
query?: {
|
|
24144
|
+
target?: "production" | "staging";
|
|
24145
|
+
};
|
|
24146
|
+
header?: never;
|
|
24147
|
+
path: {
|
|
24148
|
+
workspace_id: string;
|
|
24149
|
+
};
|
|
24150
|
+
cookie?: never;
|
|
24151
|
+
};
|
|
24152
|
+
requestBody?: never;
|
|
24153
|
+
responses: {
|
|
24154
|
+
/** @description Successful Response */
|
|
24155
|
+
200: {
|
|
24156
|
+
headers: {
|
|
24157
|
+
[name: string]: unknown;
|
|
24158
|
+
};
|
|
24159
|
+
content: {
|
|
24160
|
+
"application/json": components["schemas"]["EnvironmentCheckResponse"];
|
|
24161
|
+
};
|
|
24162
|
+
};
|
|
24163
|
+
/** @description Missing or invalid API key. */
|
|
24164
|
+
401: {
|
|
24165
|
+
headers: {
|
|
24166
|
+
[name: string]: unknown;
|
|
24167
|
+
};
|
|
24168
|
+
content?: never;
|
|
24169
|
+
};
|
|
24170
|
+
/** @description Insufficient permissions. */
|
|
24171
|
+
403: {
|
|
24172
|
+
headers: {
|
|
24173
|
+
[name: string]: unknown;
|
|
24174
|
+
};
|
|
24175
|
+
content?: never;
|
|
24176
|
+
};
|
|
24177
|
+
/** @description Validation Error */
|
|
24178
|
+
422: {
|
|
24179
|
+
headers: {
|
|
24180
|
+
[name: string]: unknown;
|
|
24181
|
+
};
|
|
24182
|
+
content: {
|
|
24183
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
24184
|
+
};
|
|
24185
|
+
};
|
|
24186
|
+
};
|
|
24187
|
+
};
|
|
23366
24188
|
"provision-workspace": {
|
|
23367
24189
|
parameters: {
|
|
23368
24190
|
query?: never;
|
|
@@ -27838,8 +28660,8 @@ export interface operations {
|
|
|
27838
28660
|
[name: string]: unknown;
|
|
27839
28661
|
};
|
|
27840
28662
|
content: {
|
|
27841
|
-
"application/json":
|
|
27842
|
-
"text/event-stream":
|
|
28663
|
+
"application/json": components["schemas"]["WorkspaceSSEEvent"];
|
|
28664
|
+
"text/event-stream": components["schemas"]["WorkspaceSSEEvent"];
|
|
27843
28665
|
};
|
|
27844
28666
|
};
|
|
27845
28667
|
/** @description Rate limit exceeded */
|
|
@@ -30022,6 +30844,40 @@ export interface operations {
|
|
|
30022
30844
|
};
|
|
30023
30845
|
};
|
|
30024
30846
|
};
|
|
30847
|
+
get_notes_rollup_v1__workspace_id__m42_notes_rollup_get: {
|
|
30848
|
+
parameters: {
|
|
30849
|
+
query?: {
|
|
30850
|
+
cluster?: string | null;
|
|
30851
|
+
district?: string | null;
|
|
30852
|
+
};
|
|
30853
|
+
header?: never;
|
|
30854
|
+
path: {
|
|
30855
|
+
workspace_id: string;
|
|
30856
|
+
};
|
|
30857
|
+
cookie?: never;
|
|
30858
|
+
};
|
|
30859
|
+
requestBody?: never;
|
|
30860
|
+
responses: {
|
|
30861
|
+
/** @description Successful Response */
|
|
30862
|
+
200: {
|
|
30863
|
+
headers: {
|
|
30864
|
+
[name: string]: unknown;
|
|
30865
|
+
};
|
|
30866
|
+
content: {
|
|
30867
|
+
"application/json": components["schemas"]["NoteRollupResponse"];
|
|
30868
|
+
};
|
|
30869
|
+
};
|
|
30870
|
+
/** @description Validation Error */
|
|
30871
|
+
422: {
|
|
30872
|
+
headers: {
|
|
30873
|
+
[name: string]: unknown;
|
|
30874
|
+
};
|
|
30875
|
+
content: {
|
|
30876
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30877
|
+
};
|
|
30878
|
+
};
|
|
30879
|
+
};
|
|
30880
|
+
};
|
|
30025
30881
|
list_patient_topology_v1__workspace_id__m42_patient_topology_get: {
|
|
30026
30882
|
parameters: {
|
|
30027
30883
|
query?: {
|
|
@@ -30144,6 +31000,39 @@ export interface operations {
|
|
|
30144
31000
|
};
|
|
30145
31001
|
};
|
|
30146
31002
|
};
|
|
31003
|
+
list_stratified_fits_v1__workspace_id__m42_stratified_fits_get: {
|
|
31004
|
+
parameters: {
|
|
31005
|
+
query?: {
|
|
31006
|
+
outcome_key?: string | null;
|
|
31007
|
+
};
|
|
31008
|
+
header?: never;
|
|
31009
|
+
path: {
|
|
31010
|
+
workspace_id: string;
|
|
31011
|
+
};
|
|
31012
|
+
cookie?: never;
|
|
31013
|
+
};
|
|
31014
|
+
requestBody?: never;
|
|
31015
|
+
responses: {
|
|
31016
|
+
/** @description Successful Response */
|
|
31017
|
+
200: {
|
|
31018
|
+
headers: {
|
|
31019
|
+
[name: string]: unknown;
|
|
31020
|
+
};
|
|
31021
|
+
content: {
|
|
31022
|
+
"application/json": components["schemas"]["StratifiedFitsResponse"];
|
|
31023
|
+
};
|
|
31024
|
+
};
|
|
31025
|
+
/** @description Validation Error */
|
|
31026
|
+
422: {
|
|
31027
|
+
headers: {
|
|
31028
|
+
[name: string]: unknown;
|
|
31029
|
+
};
|
|
31030
|
+
content: {
|
|
31031
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
31032
|
+
};
|
|
31033
|
+
};
|
|
31034
|
+
};
|
|
31035
|
+
};
|
|
30147
31036
|
"get-memory-analytics": {
|
|
30148
31037
|
parameters: {
|
|
30149
31038
|
query?: never;
|