@amigo-ai/platform-sdk 0.6.1 → 0.7.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.
@@ -5009,7 +5009,7 @@ export interface paths {
5009
5009
  put?: never;
5010
5010
  /**
5011
5011
  * Approve review item
5012
- * @description Promotes event confidence to 0.95 (human-approved) and recomputes entity state.
5012
+ * @description Marks the review item approved and lets SDP projections rebuild entity state.
5013
5013
  */
5014
5014
  post: operations["approve_review_item_v1__workspace_id__review_queue__item_id__approve_post"];
5015
5015
  delete?: never;
@@ -5049,7 +5049,7 @@ export interface paths {
5049
5049
  put?: never;
5050
5050
  /**
5051
5051
  * Submit corrected data
5052
- * @description Creates a new event at confidence 1.0 that supersedes the original, and recomputes entity state.
5052
+ * @description Creates a corrected event and lets SDP projections rebuild entity state.
5053
5053
  */
5054
5054
  post: operations["correct_review_item_v1__workspace_id__review_queue__item_id__correct_post"];
5055
5055
  delete?: never;
@@ -5109,7 +5109,7 @@ export interface paths {
5109
5109
  put?: never;
5110
5110
  /**
5111
5111
  * Reject review item
5112
- * @description Demotes event confidence to 0.0 (rejected) and recomputes entity state.
5112
+ * @description Marks the review item rejected and lets SDP projections rebuild entity state.
5113
5113
  */
5114
5114
  post: operations["reject_review_item_v1__workspace_id__review_queue__item_id__reject_post"];
5115
5115
  delete?: never;
@@ -7111,6 +7111,74 @@ export interface paths {
7111
7111
  patch: operations["update-unification-rule"];
7112
7112
  trace?: never;
7113
7113
  };
7114
+ "/v1/{workspace_id}/use-cases": {
7115
+ parameters: {
7116
+ query?: never;
7117
+ header?: never;
7118
+ path?: never;
7119
+ cookie?: never;
7120
+ };
7121
+ /**
7122
+ * List channel use cases
7123
+ * @description List use cases with optional filters by entity_name, channel, setup_id. Requires Channel.view permission.
7124
+ */
7125
+ get: operations["list-use-cases"];
7126
+ put?: never;
7127
+ /**
7128
+ * Create a channel use case
7129
+ * @description Create a voice or email use case. Body is a discriminated union on the `channel` field. Requires Channel.create permission.
7130
+ */
7131
+ post: operations["create-use-case"];
7132
+ delete?: never;
7133
+ options?: never;
7134
+ head?: never;
7135
+ patch?: never;
7136
+ trace?: never;
7137
+ };
7138
+ "/v1/{workspace_id}/use-cases/{use_case_id}": {
7139
+ parameters: {
7140
+ query?: never;
7141
+ header?: never;
7142
+ path?: never;
7143
+ cookie?: never;
7144
+ };
7145
+ get?: never;
7146
+ put?: never;
7147
+ post?: never;
7148
+ /**
7149
+ * Delete a channel use case
7150
+ * @description Delete a use case. Fails if voice use case still has phone assignments. Requires Channel.delete permission.
7151
+ */
7152
+ delete: operations["delete-use-case"];
7153
+ options?: never;
7154
+ head?: never;
7155
+ patch?: never;
7156
+ trace?: never;
7157
+ };
7158
+ "/v1/{workspace_id}/voicemail": {
7159
+ parameters: {
7160
+ query?: never;
7161
+ header?: never;
7162
+ path?: never;
7163
+ cookie?: never;
7164
+ };
7165
+ /**
7166
+ * List voicemails
7167
+ * @description List voicemail records with optional filters. Requires Channel.view permission.
7168
+ */
7169
+ get: operations["list-voicemails"];
7170
+ put?: never;
7171
+ /**
7172
+ * Send a voicemail
7173
+ * @description Send a ringless voicemail. Accepts multipart form with use_case_id, recipient_phone_number (US E.164), and audio MP3 file (10-60s, max 8 MB). Requires Channel.send permission.
7174
+ */
7175
+ post: operations["send-voicemail"];
7176
+ delete?: never;
7177
+ options?: never;
7178
+ head?: never;
7179
+ patch?: never;
7180
+ trace?: never;
7181
+ };
7114
7182
  "/v1/{workspace_id}/voiceprints/enroll": {
7115
7183
  parameters: {
7116
7184
  query?: never;
@@ -8964,6 +9032,18 @@ export interface components {
8964
9032
  */
8965
9033
  sample_rate?: number;
8966
9034
  };
9035
+ /** Body_send-voicemail */
9036
+ "Body_send-voicemail": {
9037
+ /** Audio */
9038
+ audio: string;
9039
+ /** Recipient Phone Number */
9040
+ recipient_phone_number: string;
9041
+ /**
9042
+ * Use Case Id
9043
+ * Format: uuid
9044
+ */
9045
+ use_case_id: string;
9046
+ };
8967
9047
  /** Body_verify-voiceprint */
8968
9048
  "Body_verify-voiceprint": {
8969
9049
  /** Audio */
@@ -8991,6 +9071,36 @@ export interface components {
8991
9071
  */
8992
9072
  slot_id: string;
8993
9073
  };
9074
+ /** BooleanMetricValueResponse */
9075
+ BooleanMetricValueResponse: {
9076
+ /** Avg Confidence */
9077
+ avg_confidence?: number | null;
9078
+ /** Computed At */
9079
+ computed_at?: string | null;
9080
+ /** Event Count */
9081
+ event_count: number;
9082
+ /** Metric Key */
9083
+ metric_key: string;
9084
+ /**
9085
+ * @description discriminator enum property added by openapi-typescript
9086
+ * @enum {string}
9087
+ */
9088
+ metric_type: "boolean";
9089
+ /**
9090
+ * Period End
9091
+ * Format: date-time
9092
+ */
9093
+ period_end: string;
9094
+ /**
9095
+ * Period Start
9096
+ * Format: date-time
9097
+ */
9098
+ period_start: string;
9099
+ /** Unit */
9100
+ unit?: string | null;
9101
+ /** Value */
9102
+ value: boolean | null;
9103
+ };
8994
9104
  /**
8995
9105
  * BrandingConfig
8996
9106
  * @description Visual branding for patient-facing surfaces.
@@ -9678,6 +9788,36 @@ export interface components {
9678
9788
  */
9679
9789
  schema?: string;
9680
9790
  };
9791
+ /** CategoricalMetricValueResponse */
9792
+ CategoricalMetricValueResponse: {
9793
+ /** Avg Confidence */
9794
+ avg_confidence?: number | null;
9795
+ /** Computed At */
9796
+ computed_at?: string | null;
9797
+ /** Event Count */
9798
+ event_count: number;
9799
+ /** Metric Key */
9800
+ metric_key: string;
9801
+ /**
9802
+ * @description discriminator enum property added by openapi-typescript
9803
+ * @enum {string}
9804
+ */
9805
+ metric_type: "categorical";
9806
+ /**
9807
+ * Period End
9808
+ * Format: date-time
9809
+ */
9810
+ period_end: string;
9811
+ /**
9812
+ * Period Start
9813
+ * Format: date-time
9814
+ */
9815
+ period_start: string;
9816
+ /** Unit */
9817
+ unit?: string | null;
9818
+ /** Value */
9819
+ value: string | null;
9820
+ };
9681
9821
  /**
9682
9822
  * ChannelOverride
9683
9823
  * @description Per-channel behavior override for a state.
@@ -10211,6 +10351,17 @@ export interface components {
10211
10351
  * @description Server clock at query time (UTC).
10212
10352
  */
10213
10353
  as_of: string;
10354
+ /**
10355
+ * Read Model Status
10356
+ * @description ready = Lakebase projection returned rows; empty = no summary rows; unavailable = read failed.
10357
+ * @enum {string}
10358
+ */
10359
+ read_model_status: "ready" | "empty" | "unavailable";
10360
+ /**
10361
+ * Read Model Synced At
10362
+ * @description Most recent platform.connector_health_summary synced_at value in this response.
10363
+ */
10364
+ read_model_synced_at?: string | null;
10214
10365
  /** Sources */
10215
10366
  sources?: components["schemas"]["ConnectorHealthItem"][];
10216
10367
  };
@@ -10904,7 +11055,7 @@ export interface components {
10904
11055
  phone_from?: string | null;
10905
11056
  /**
10906
11057
  * Phone To
10907
- * @description Destination phone number in E.164 format (e.g. +18005551234)
11058
+ * @description Destination phone number in E.164 format.
10908
11059
  */
10909
11060
  phone_to: string;
10910
11061
  /**
@@ -12684,6 +12835,35 @@ export interface components {
12684
12835
  /** Region */
12685
12836
  region: string;
12686
12837
  };
12838
+ /** EmailUseCaseRequest */
12839
+ EmailUseCaseRequest: {
12840
+ /**
12841
+ * @description discriminator enum property added by openapi-typescript
12842
+ * @enum {string}
12843
+ */
12844
+ channel: "email";
12845
+ /** Description */
12846
+ description?: string | null;
12847
+ /**
12848
+ * Email Type
12849
+ * @enum {string}
12850
+ */
12851
+ email_type: "transactional" | "marketing";
12852
+ /** Entity Name */
12853
+ entity_name: string;
12854
+ /** Name */
12855
+ name: string;
12856
+ /**
12857
+ * Sender Email Address
12858
+ * Format: email
12859
+ */
12860
+ sender_email_address: string;
12861
+ /**
12862
+ * Setup Id
12863
+ * Format: uuid
12864
+ */
12865
+ setup_id: string;
12866
+ };
12687
12867
  /** EmotionBurst */
12688
12868
  EmotionBurst: {
12689
12869
  /** Score */
@@ -16454,7 +16634,7 @@ export interface components {
16454
16634
  /** MetricListResponse */
16455
16635
  MetricListResponse: {
16456
16636
  /** Metrics */
16457
- metrics: components["schemas"]["MetricValueResponse"][];
16637
+ metrics: (components["schemas"]["NumericalMetricValueResponse"] | components["schemas"]["CategoricalMetricValueResponse"] | components["schemas"]["BooleanMetricValueResponse"])[];
16458
16638
  };
16459
16639
  /**
16460
16640
  * MetricSettingsRequest
@@ -16474,27 +16654,6 @@ export interface components {
16474
16654
  /** Definitions */
16475
16655
  definitions: components["schemas"]["MetricDefinition"][];
16476
16656
  };
16477
- /** MetricValueResponse */
16478
- MetricValueResponse: {
16479
- /** Avg Confidence */
16480
- avg_confidence?: number | null;
16481
- /** Computed At */
16482
- computed_at?: string | null;
16483
- /** Event Count */
16484
- event_count: number;
16485
- /** Metric Key */
16486
- metric_key: string;
16487
- /** Metric Type */
16488
- metric_type: string;
16489
- /** Period End */
16490
- period_end: string;
16491
- /** Period Start */
16492
- period_start: string;
16493
- /** Unit */
16494
- unit?: string | null;
16495
- /** Value */
16496
- value: unknown;
16497
- };
16498
16657
  /** ModelRegistryResponse */
16499
16658
  ModelRegistryResponse: {
16500
16659
  /** Count */
@@ -16687,6 +16846,36 @@ export interface components {
16687
16846
  /** Smoking */
16688
16847
  smoking: components["schemas"]["NoteRollupCategoryEntry"][];
16689
16848
  };
16849
+ /** NumericalMetricValueResponse */
16850
+ NumericalMetricValueResponse: {
16851
+ /** Avg Confidence */
16852
+ avg_confidence?: number | null;
16853
+ /** Computed At */
16854
+ computed_at?: string | null;
16855
+ /** Event Count */
16856
+ event_count: number;
16857
+ /** Metric Key */
16858
+ metric_key: string;
16859
+ /**
16860
+ * @description discriminator enum property added by openapi-typescript
16861
+ * @enum {string}
16862
+ */
16863
+ metric_type: "numerical";
16864
+ /**
16865
+ * Period End
16866
+ * Format: date-time
16867
+ */
16868
+ period_end: string;
16869
+ /**
16870
+ * Period Start
16871
+ * Format: date-time
16872
+ */
16873
+ period_start: string;
16874
+ /** Unit */
16875
+ unit?: string | null;
16876
+ /** Value */
16877
+ value: number | null;
16878
+ };
16690
16879
  ObserverSSEEvent: 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"]["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"];
16691
16880
  /** OcrRequest */
16692
16881
  OcrRequest: {
@@ -18194,6 +18383,14 @@ export interface components {
18194
18383
  entity_resolution?: {
18195
18384
  [key: string]: unknown;
18196
18385
  } | null;
18386
+ /**
18387
+ * Event Read Model Status
18388
+ * @default empty
18389
+ * @enum {string}
18390
+ */
18391
+ event_read_model_status?: "ready" | "empty" | "unavailable";
18392
+ /** Event Read Model Synced At */
18393
+ event_read_model_synced_at?: string | null;
18197
18394
  /** Gap Scanner */
18198
18395
  gap_scanner?: {
18199
18396
  [key: string]: unknown;
@@ -23180,6 +23377,44 @@ export interface components {
23180
23377
  */
23181
23378
  value: number;
23182
23379
  };
23380
+ /** UseCaseListResponse */
23381
+ UseCaseListResponse: {
23382
+ /** Items */
23383
+ items: components["schemas"]["UseCaseResponse"][];
23384
+ };
23385
+ /** UseCaseResponse */
23386
+ UseCaseResponse: {
23387
+ /** Channel */
23388
+ channel: string;
23389
+ /** Configuration Set Name */
23390
+ configuration_set_name?: string | null;
23391
+ /**
23392
+ * Created At
23393
+ * Format: date-time
23394
+ */
23395
+ created_at: string;
23396
+ /** Description */
23397
+ description: string | null;
23398
+ /** Email Type */
23399
+ email_type?: string | null;
23400
+ /** Entity Name */
23401
+ entity_name: string;
23402
+ /** Id */
23403
+ id: string;
23404
+ /** Name */
23405
+ name: string;
23406
+ /** Sender Email Address */
23407
+ sender_email_address?: string | null;
23408
+ /** Setup Id */
23409
+ setup_id: string;
23410
+ /** Tier */
23411
+ tier?: string | null;
23412
+ /**
23413
+ * Updated At
23414
+ * Format: date-time
23415
+ */
23416
+ updated_at: string;
23417
+ };
23183
23418
  /** UserTranscriptEvent */
23184
23419
  UserTranscriptEvent: {
23185
23420
  /**
@@ -23470,6 +23705,60 @@ export interface components {
23470
23705
  /** Volume */
23471
23706
  volume: number | null;
23472
23707
  };
23708
+ /** VoiceUseCaseRequest */
23709
+ VoiceUseCaseRequest: {
23710
+ /**
23711
+ * @description discriminator enum property added by openapi-typescript
23712
+ * @enum {string}
23713
+ */
23714
+ channel: "inbound_voice" | "outbound_voice" | "ringless_voicemail";
23715
+ /** Description */
23716
+ description?: string | null;
23717
+ /** Entity Name */
23718
+ entity_name: string;
23719
+ /** Name */
23720
+ name: string;
23721
+ /**
23722
+ * Setup Id
23723
+ * Format: uuid
23724
+ */
23725
+ setup_id: string;
23726
+ };
23727
+ /** VoicemailListResponse */
23728
+ VoicemailListResponse: {
23729
+ /** Items */
23730
+ items: components["schemas"]["VoicemailResponse"][];
23731
+ };
23732
+ /** VoicemailResponse */
23733
+ VoicemailResponse: {
23734
+ /**
23735
+ * Created At
23736
+ * Format: date-time
23737
+ */
23738
+ created_at: string;
23739
+ /** Recipient Phone Number */
23740
+ recipient_phone_number: string;
23741
+ /** Setup Id */
23742
+ setup_id: string;
23743
+ /** Status */
23744
+ status: string;
23745
+ /**
23746
+ * Updated At
23747
+ * Format: date-time
23748
+ */
23749
+ updated_at: string;
23750
+ /** Use Case Id */
23751
+ use_case_id: string;
23752
+ /** Voicemail Id */
23753
+ voicemail_id: string;
23754
+ };
23755
+ /** VoicemailSentResponse */
23756
+ VoicemailSentResponse: {
23757
+ /** Sender Phone Number */
23758
+ sender_phone_number: string;
23759
+ /** Voicemail Id */
23760
+ voicemail_id: string;
23761
+ };
23473
23762
  /** VoiceprintEnrollResponse */
23474
23763
  VoiceprintEnrollResponse: {
23475
23764
  /**
@@ -23921,6 +24210,36 @@ export interface components {
23921
24210
  updated_at: string;
23922
24211
  };
23923
24212
  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"];
24213
+ /** WorldDashboardResponse */
24214
+ WorldDashboardResponse: {
24215
+ /** Avg Confidence */
24216
+ avg_confidence?: number | null;
24217
+ entity_counts: components["schemas"]["EntityStatsSummary"];
24218
+ /**
24219
+ * Event Read Model Status
24220
+ * @description ready = Lakebase projection returned a row; empty = no summary row; unavailable = read failed.
24221
+ * @default empty
24222
+ * @enum {string}
24223
+ */
24224
+ event_read_model_status?: "ready" | "empty" | "unavailable";
24225
+ /**
24226
+ * Event Read Model Synced At
24227
+ * @description platform.event_velocity_summary synced_at for this workspace.
24228
+ */
24229
+ event_read_model_synced_at?: string | null;
24230
+ /**
24231
+ * Events 24H
24232
+ * @default 0
24233
+ */
24234
+ events_24h?: number;
24235
+ /**
24236
+ * Events 7D
24237
+ * @default 0
24238
+ */
24239
+ events_7d?: number;
24240
+ /** Sources */
24241
+ sources?: components["schemas"]["SourceBreakdownItem"][];
24242
+ };
23924
24243
  /**
23925
24244
  * WrapUpRequest
23926
24245
  * @description Request to record operator intervention wrap-up.
@@ -27967,6 +28286,13 @@ export interface operations {
27967
28286
  };
27968
28287
  content?: never;
27969
28288
  };
28289
+ /** @description Channel manager phone selection timed out */
28290
+ 504: {
28291
+ headers: {
28292
+ [name: string]: unknown;
28293
+ };
28294
+ content?: never;
28295
+ };
27970
28296
  };
27971
28297
  };
27972
28298
  "get-phone-call-volume": {
@@ -40676,6 +41002,294 @@ export interface operations {
40676
41002
  };
40677
41003
  };
40678
41004
  };
41005
+ "list-use-cases": {
41006
+ parameters: {
41007
+ query?: {
41008
+ entity_name?: string | null;
41009
+ channel?: ("outbound_voice" | "inbound_voice" | "ringless_voicemail" | "email") | null;
41010
+ setup_id?: string | null;
41011
+ };
41012
+ header?: never;
41013
+ path: {
41014
+ workspace_id: string;
41015
+ };
41016
+ cookie?: never;
41017
+ };
41018
+ requestBody?: never;
41019
+ responses: {
41020
+ /** @description Successful Response */
41021
+ 200: {
41022
+ headers: {
41023
+ [name: string]: unknown;
41024
+ };
41025
+ content: {
41026
+ "application/json": components["schemas"]["UseCaseListResponse"];
41027
+ };
41028
+ };
41029
+ /** @description Insufficient permissions. */
41030
+ 403: {
41031
+ headers: {
41032
+ [name: string]: unknown;
41033
+ };
41034
+ content?: never;
41035
+ };
41036
+ /** @description Validation Error */
41037
+ 422: {
41038
+ headers: {
41039
+ [name: string]: unknown;
41040
+ };
41041
+ content: {
41042
+ "application/json": components["schemas"]["HTTPValidationError"];
41043
+ };
41044
+ };
41045
+ };
41046
+ };
41047
+ "create-use-case": {
41048
+ parameters: {
41049
+ query?: never;
41050
+ header?: never;
41051
+ path: {
41052
+ workspace_id: string;
41053
+ };
41054
+ cookie?: never;
41055
+ };
41056
+ requestBody: {
41057
+ content: {
41058
+ "application/json": components["schemas"]["VoiceUseCaseRequest"] | components["schemas"]["EmailUseCaseRequest"];
41059
+ };
41060
+ };
41061
+ responses: {
41062
+ /** @description Successful Response */
41063
+ 201: {
41064
+ headers: {
41065
+ [name: string]: unknown;
41066
+ };
41067
+ content: {
41068
+ "application/json": components["schemas"]["UseCaseResponse"];
41069
+ };
41070
+ };
41071
+ /** @description Insufficient permissions. */
41072
+ 403: {
41073
+ headers: {
41074
+ [name: string]: unknown;
41075
+ };
41076
+ content?: never;
41077
+ };
41078
+ /** @description Setup not found. */
41079
+ 404: {
41080
+ headers: {
41081
+ [name: string]: unknown;
41082
+ };
41083
+ content?: never;
41084
+ };
41085
+ /** @description Use case already exists or setup not approved. */
41086
+ 409: {
41087
+ headers: {
41088
+ [name: string]: unknown;
41089
+ };
41090
+ content?: never;
41091
+ };
41092
+ /** @description Validation Error */
41093
+ 422: {
41094
+ headers: {
41095
+ [name: string]: unknown;
41096
+ };
41097
+ content: {
41098
+ "application/json": components["schemas"]["HTTPValidationError"];
41099
+ };
41100
+ };
41101
+ /** @description Channel manager unavailable. */
41102
+ 502: {
41103
+ headers: {
41104
+ [name: string]: unknown;
41105
+ };
41106
+ content?: never;
41107
+ };
41108
+ /** @description Channel manager timed out. */
41109
+ 504: {
41110
+ headers: {
41111
+ [name: string]: unknown;
41112
+ };
41113
+ content?: never;
41114
+ };
41115
+ };
41116
+ };
41117
+ "delete-use-case": {
41118
+ parameters: {
41119
+ query?: never;
41120
+ header?: never;
41121
+ path: {
41122
+ use_case_id: string;
41123
+ workspace_id: string;
41124
+ };
41125
+ cookie?: never;
41126
+ };
41127
+ requestBody?: never;
41128
+ responses: {
41129
+ /** @description Successful Response */
41130
+ 204: {
41131
+ headers: {
41132
+ [name: string]: unknown;
41133
+ };
41134
+ content?: never;
41135
+ };
41136
+ /** @description Insufficient permissions. */
41137
+ 403: {
41138
+ headers: {
41139
+ [name: string]: unknown;
41140
+ };
41141
+ content?: never;
41142
+ };
41143
+ /** @description Use case not found. */
41144
+ 404: {
41145
+ headers: {
41146
+ [name: string]: unknown;
41147
+ };
41148
+ content?: never;
41149
+ };
41150
+ /** @description Use case has active phone assignments. */
41151
+ 409: {
41152
+ headers: {
41153
+ [name: string]: unknown;
41154
+ };
41155
+ content?: never;
41156
+ };
41157
+ /** @description Validation Error */
41158
+ 422: {
41159
+ headers: {
41160
+ [name: string]: unknown;
41161
+ };
41162
+ content: {
41163
+ "application/json": components["schemas"]["HTTPValidationError"];
41164
+ };
41165
+ };
41166
+ /** @description Channel manager unavailable. */
41167
+ 502: {
41168
+ headers: {
41169
+ [name: string]: unknown;
41170
+ };
41171
+ content?: never;
41172
+ };
41173
+ /** @description Channel manager timed out. */
41174
+ 504: {
41175
+ headers: {
41176
+ [name: string]: unknown;
41177
+ };
41178
+ content?: never;
41179
+ };
41180
+ };
41181
+ };
41182
+ "list-voicemails": {
41183
+ parameters: {
41184
+ query?: {
41185
+ use_case_id?: string | null;
41186
+ setup_id?: string | null;
41187
+ status?: string[] | null;
41188
+ recipient_phone_number?: string | null;
41189
+ };
41190
+ header?: never;
41191
+ path: {
41192
+ workspace_id: string;
41193
+ };
41194
+ cookie?: never;
41195
+ };
41196
+ requestBody?: never;
41197
+ responses: {
41198
+ /** @description Successful Response */
41199
+ 200: {
41200
+ headers: {
41201
+ [name: string]: unknown;
41202
+ };
41203
+ content: {
41204
+ "application/json": components["schemas"]["VoicemailListResponse"];
41205
+ };
41206
+ };
41207
+ /** @description Insufficient permissions. */
41208
+ 403: {
41209
+ headers: {
41210
+ [name: string]: unknown;
41211
+ };
41212
+ content?: never;
41213
+ };
41214
+ /** @description Validation Error */
41215
+ 422: {
41216
+ headers: {
41217
+ [name: string]: unknown;
41218
+ };
41219
+ content: {
41220
+ "application/json": components["schemas"]["HTTPValidationError"];
41221
+ };
41222
+ };
41223
+ };
41224
+ };
41225
+ "send-voicemail": {
41226
+ parameters: {
41227
+ query?: never;
41228
+ header?: never;
41229
+ path: {
41230
+ workspace_id: string;
41231
+ };
41232
+ cookie?: never;
41233
+ };
41234
+ requestBody: {
41235
+ content: {
41236
+ "multipart/form-data": components["schemas"]["Body_send-voicemail"];
41237
+ };
41238
+ };
41239
+ responses: {
41240
+ /** @description Successful Response */
41241
+ 201: {
41242
+ headers: {
41243
+ [name: string]: unknown;
41244
+ };
41245
+ content: {
41246
+ "application/json": components["schemas"]["VoicemailSentResponse"];
41247
+ };
41248
+ };
41249
+ /** @description Insufficient permissions. */
41250
+ 403: {
41251
+ headers: {
41252
+ [name: string]: unknown;
41253
+ };
41254
+ content?: never;
41255
+ };
41256
+ /** @description Use case not found or no phone assigned. */
41257
+ 404: {
41258
+ headers: {
41259
+ [name: string]: unknown;
41260
+ };
41261
+ content?: never;
41262
+ };
41263
+ /** @description Audio exceeds 8 MB. */
41264
+ 413: {
41265
+ headers: {
41266
+ [name: string]: unknown;
41267
+ };
41268
+ content?: never;
41269
+ };
41270
+ /** @description Invalid audio or configuration. */
41271
+ 422: {
41272
+ headers: {
41273
+ [name: string]: unknown;
41274
+ };
41275
+ content?: never;
41276
+ };
41277
+ /** @description Channel manager unavailable. */
41278
+ 502: {
41279
+ headers: {
41280
+ [name: string]: unknown;
41281
+ };
41282
+ content?: never;
41283
+ };
41284
+ /** @description Channel manager timed out. */
41285
+ 504: {
41286
+ headers: {
41287
+ [name: string]: unknown;
41288
+ };
41289
+ content?: never;
41290
+ };
41291
+ };
41292
+ };
40679
41293
  "enroll-voiceprint": {
40680
41294
  parameters: {
40681
41295
  query?: never;
@@ -41176,9 +41790,7 @@ export interface operations {
41176
41790
  [name: string]: unknown;
41177
41791
  };
41178
41792
  content: {
41179
- "application/json": {
41180
- [key: string]: unknown;
41181
- };
41793
+ "application/json": components["schemas"]["WorldDashboardResponse"];
41182
41794
  };
41183
41795
  };
41184
41796
  };