@amigo-ai/platform-sdk 0.97.0 → 0.98.1

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.
@@ -19,10 +19,13 @@ export class IntakeResource extends WorkspaceScopedResource {
19
19
  params: { path: { workspace_id: this.workspaceId, link_id: linkId } },
20
20
  })),
21
21
  /** List uploads received against a link */
22
- listUploads: async (linkId) => extractData(await this.client.GET('/v1/{workspace_id}/intake/links/{link_id}/uploads', {
23
- params: { path: { workspace_id: this.workspaceId, link_id: linkId } },
22
+ listUploads: async (linkId, params) => extractData(await this.client.GET('/v1/{workspace_id}/intake/links/{link_id}/uploads', {
23
+ params: {
24
+ path: { workspace_id: this.workspaceId, link_id: linkId },
25
+ query: params,
26
+ },
24
27
  })),
25
- /** Get a download URL/payload for a single upload */
28
+ /** Download the raw bytes for a single upload. */
26
29
  downloadUpload: async (linkId, uploadId) => extractData(await this.client.GET('/v1/{workspace_id}/intake/links/{link_id}/uploads/{upload_id}/download', {
27
30
  params: {
28
31
  path: {
@@ -31,6 +34,7 @@ export class IntakeResource extends WorkspaceScopedResource {
31
34
  upload_id: uploadId,
32
35
  },
33
36
  },
37
+ parseAs: 'blob',
34
38
  })),
35
39
  };
36
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"intake.js","sourceRoot":"","sources":["../../src/resources/intake.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAMhE;;;;;;GAMG;AACH,MAAM,OAAO,cAAe,SAAQ,uBAAuB;IAChD,KAAK,GAAG;QACf,IAAI,EAAE,KAAK,EAAE,MAA8B,EAAE,EAAE,CAC7C,WAAW,CACT,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,iCAAiC,EAAE;YACvD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SACp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xE,WAAW,CACT,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CACnB,wEAAwE,EACxE;YACE,MAAM,EAAE;gBACN,IAAI,EAAE;oBACJ,YAAY,EAAE,IAAI,CAAC,WAAW;oBAC9B,OAAO,EAAE,MAAM;oBACf,SAAS,EAAE,QAAQ;iBACpB;aACF;YACD,OAAO,EAAE,MAAM;SAChB,CACF,CACF;KACJ,CAAA;CACF;AAED,6EAA6E;AAC7E,kFAAkF;AAClF,+EAA+E;AAC/E,kFAAkF;AAClF,6DAA6D"}
@@ -72,6 +72,18 @@ export class SimulationsResource extends WorkspaceScopedResource {
72
72
  body,
73
73
  }));
74
74
  }
75
+ /**
76
+ * Promote a run-less (interactive playground) session into a coverage run so
77
+ * it can be forked/scored. Creates a run, binds the session to it, and writes
78
+ * the coverage session record. Idempotent: a session that already belongs to
79
+ * a run returns that run with `already_bound: true`. No request body —
80
+ * `session_id` travels in the path.
81
+ */
82
+ async promoteSession(sessionId) {
83
+ return extractData(await this.client.POST('/v1/{workspace_id}/simulations/sessions/{session_id}/promote', {
84
+ params: { path: { workspace_id: this.workspaceId, session_id: sessionId } },
85
+ }));
86
+ }
75
87
  /**
76
88
  * Multi-session simulation runs — orchestrate a batch of scenarios against
77
89
  * a service to compute coverage and surface regressions. Use this when you
@@ -1 +1 @@
1
- {"version":3,"file":"simulations.js","sourceRoot":"","sources":["../../src/resources/simulations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAQhE;;;;;;GAMG;AACH,MAAM,OAAO,mBAAoB,SAAQ,uBAAuB;IAC9D,qFAAqF;IACrF,KAAK,CAAC,aAAa,CAAC,IAAoC;QACtD,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,yCAAyC,EAAE;YAChE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD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AAC,GAAG,CAAC,4DAA4D,EAAE;YAClF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE;SAC5E,CAAC,CACH;KACJ,CAAA;CACF"}
@@ -5192,6 +5192,66 @@ export interface paths {
5192
5192
  patch?: never;
5193
5193
  trace?: never;
5194
5194
  };
5195
+ "/v1/{workspace_id}/runs/{run_id}/guidance": {
5196
+ parameters: {
5197
+ query?: never;
5198
+ header?: never;
5199
+ path?: never;
5200
+ cookie?: never;
5201
+ };
5202
+ get?: never;
5203
+ put?: never;
5204
+ /**
5205
+ * Send operator guidance to a live run
5206
+ * @description Send text guidance to the agent handling a LIVE run, addressed by the channel-neutral ``run_id``. The agent incorporates it into its next response without the operator taking over. Requires ``admin`` (Operator:Update) and is bound to the caller's own operator identity (no impersonation). 404 if the run is not a live run in this workspace; 409 if its channel has no live guidance transport yet.
5207
+ */
5208
+ post: operations["send_run_guidance_v1__workspace_id__runs__run_id__guidance_post"];
5209
+ delete?: never;
5210
+ options?: never;
5211
+ head?: never;
5212
+ patch?: never;
5213
+ trace?: never;
5214
+ };
5215
+ "/v1/{workspace_id}/runs/{run_id}/handback": {
5216
+ parameters: {
5217
+ query?: never;
5218
+ header?: never;
5219
+ path?: never;
5220
+ cookie?: never;
5221
+ };
5222
+ get?: never;
5223
+ put?: never;
5224
+ /**
5225
+ * Hand a taken-over run back to the agent
5226
+ * @description Release the caller's operator from a run they took over — the agent resumes. Addressed by ``run_id``. Requires ``admin`` (Operator:Update), bound to the caller's own operator identity. 404 if the run is not live in this workspace; 409 if its channel does not support live takeover yet.
5227
+ */
5228
+ post: operations["hand_back_run_v1__workspace_id__runs__run_id__handback_post"];
5229
+ delete?: never;
5230
+ options?: never;
5231
+ head?: never;
5232
+ patch?: never;
5233
+ trace?: never;
5234
+ };
5235
+ "/v1/{workspace_id}/runs/{run_id}/takeover": {
5236
+ parameters: {
5237
+ query?: never;
5238
+ header?: never;
5239
+ path?: never;
5240
+ cookie?: never;
5241
+ };
5242
+ get?: never;
5243
+ put?: never;
5244
+ /**
5245
+ * Take over a live run as operator
5246
+ * @description Register the caller's operator identity on a LIVE run and (in ``takeover`` mode) suspend the agent so the human drives; ``listen`` mode monitors without driving. Addressed by the channel-neutral ``run_id``. Requires ``admin`` (Operator:Update), bound to the caller's own operator identity (no impersonation). 404 if the run is not live in this workspace; 409 if its channel does not support live takeover yet. For voice, the response carries the conference/participant SIDs the console needs to attach browser audio.
5247
+ */
5248
+ post: operations["take_over_run_v1__workspace_id__runs__run_id__takeover_post"];
5249
+ delete?: never;
5250
+ options?: never;
5251
+ head?: never;
5252
+ patch?: never;
5253
+ trace?: never;
5254
+ };
5195
5255
  "/v1/{workspace_id}/scheduling-rule-sets": {
5196
5256
  parameters: {
5197
5257
  query?: never;
@@ -6398,6 +6458,35 @@ export interface paths {
6398
6458
  patch?: never;
6399
6459
  trace?: never;
6400
6460
  };
6461
+ "/v1/{workspace_id}/simulations/sessions/{session_id}/promote": {
6462
+ parameters: {
6463
+ query?: never;
6464
+ header?: never;
6465
+ path?: never;
6466
+ cookie?: never;
6467
+ };
6468
+ get?: never;
6469
+ put?: never;
6470
+ /**
6471
+ * Promote Simulation Session
6472
+ * @description Promote a run-less (interactive playground) session into a coverage run.
6473
+ *
6474
+ * Interactive text sessions are created run-less, so ``fork`` — which requires
6475
+ * a ``run_id`` — 404s on them. This creates a coverage run, binds the existing
6476
+ * agent-engine session to it (``adopt-run``, a Valkey meta update — the session
6477
+ * itself is not recreated), and writes the platform-api ``SimulationCoverageSession``
6478
+ * record that ``get_session_metadata`` returns, unblocking fork/score.
6479
+ *
6480
+ * Idempotent: a session that already has a coverage record returns its existing
6481
+ * run with ``already_bound=True``.
6482
+ */
6483
+ post: operations["promote-simulation-session"];
6484
+ delete?: never;
6485
+ options?: never;
6486
+ head?: never;
6487
+ patch?: never;
6488
+ trace?: never;
6489
+ };
6401
6490
  "/v1/{workspace_id}/simulations/sessions/{session_id}/score": {
6402
6491
  parameters: {
6403
6492
  query?: never;
@@ -6922,6 +7011,26 @@ export interface paths {
6922
7011
  patch: operations["update-workspace-table"];
6923
7012
  trace?: never;
6924
7013
  };
7014
+ "/v1/{workspace_id}/tools/catalog": {
7015
+ parameters: {
7016
+ query?: never;
7017
+ header?: never;
7018
+ path?: never;
7019
+ cookie?: never;
7020
+ };
7021
+ /**
7022
+ * List built-in tool catalog
7023
+ * @description List the platform's built-in world + surface tools (workspace-independent).
7024
+ */
7025
+ get: operations["list-tool-catalog"];
7026
+ put?: never;
7027
+ post?: never;
7028
+ delete?: never;
7029
+ options?: never;
7030
+ head?: never;
7031
+ patch?: never;
7032
+ trace?: never;
7033
+ };
6925
7034
  "/v1/{workspace_id}/tools/execute": {
6926
7035
  parameters: {
6927
7036
  query?: never;
@@ -19935,6 +20044,28 @@ export interface components {
19935
20044
  /** Trigger Delay Ms */
19936
20045
  trigger_delay_ms?: number | null;
19937
20046
  };
20047
+ /**
20048
+ * PromoteSessionResponse
20049
+ * @description Result of binding a run-less session to a (newly created) coverage run.
20050
+ */
20051
+ PromoteSessionResponse: {
20052
+ /**
20053
+ * Already Bound
20054
+ * @description True when the session was already run-scoped; the existing run is returned unchanged
20055
+ */
20056
+ already_bound: boolean;
20057
+ /**
20058
+ * Run Id
20059
+ * Format: uuid
20060
+ * @description The coverage run the session is now bound to
20061
+ */
20062
+ run_id: string;
20063
+ /**
20064
+ * Session Id
20065
+ * @description The promoted session id (unchanged)
20066
+ */
20067
+ session_id: string;
20068
+ };
19938
20069
  /**
19939
20070
  * PromptLogEntry
19940
20071
  * @description One ``prompt_log`` event projection — full LLM input + output for a turn.
@@ -20970,6 +21101,14 @@ export interface components {
20970
21101
  * @enum {string}
20971
21102
  */
20972
21103
  status: "running" | "paused" | "completed" | "failed" | "timed_out";
21104
+ /**
21105
+ * @description Channel-neutral takeover eligibility, derived from this run's own fields.
21106
+ *
21107
+ * A computed field (not a stored one) so eligibility is derived in ONE place and
21108
+ * can never drift across the reader's per-source builders — every ``Run``, however
21109
+ * constructed, exposes a consistent ``takeover`` on the wire + in OpenAPI.
21110
+ */
21111
+ readonly takeover: components["schemas"]["TakeoverEligibility"];
20973
21112
  /** Turn Count */
20974
21113
  turn_count?: number | null;
20975
21114
  /**
@@ -20978,6 +21117,54 @@ export interface components {
20978
21117
  */
20979
21118
  workspace_id: string;
20980
21119
  };
21120
+ /**
21121
+ * RunGuidanceRequest
21122
+ * @description Operator guidance for a live run. ``operator_id`` is in the body because this
21123
+ * router is not under ``/operators/{operator_id}`` — it is bound to the authenticated
21124
+ * caller by ``_enforce_operator_identity`` (no impersonation).
21125
+ */
21126
+ RunGuidanceRequest: {
21127
+ /** Message */
21128
+ message: string;
21129
+ /**
21130
+ * Operator Id
21131
+ * Format: uuid
21132
+ */
21133
+ operator_id: string;
21134
+ };
21135
+ /** RunGuidanceResponse */
21136
+ RunGuidanceResponse: {
21137
+ /**
21138
+ * Run Id
21139
+ * Format: uuid
21140
+ * @description Run the guidance was sent to
21141
+ */
21142
+ run_id: string;
21143
+ /**
21144
+ * Status
21145
+ * @description Delivery status
21146
+ * @enum {string}
21147
+ */
21148
+ status: "delivered" | "queued_no_subscriber" | "deduplicated" | "failed" | "unknown";
21149
+ };
21150
+ /** RunHandbackRequest */
21151
+ RunHandbackRequest: {
21152
+ /**
21153
+ * Operator Id
21154
+ * Format: uuid
21155
+ */
21156
+ operator_id: string;
21157
+ };
21158
+ /** RunHandbackResponse */
21159
+ RunHandbackResponse: {
21160
+ /**
21161
+ * Run Id
21162
+ * Format: uuid
21163
+ */
21164
+ run_id: string;
21165
+ /** Success */
21166
+ success: boolean;
21167
+ };
20981
21168
  /** RunSimulationBenchmarkRequest */
20982
21169
  RunSimulationBenchmarkRequest: {
20983
21170
  /** Branch Name */
@@ -21037,6 +21224,37 @@ export interface components {
21037
21224
  /** Tags */
21038
21225
  tags?: string[];
21039
21226
  };
21227
+ /** RunTakeoverRequest */
21228
+ RunTakeoverRequest: {
21229
+ /**
21230
+ * Mode
21231
+ * @default takeover
21232
+ * @enum {string}
21233
+ */
21234
+ mode?: "listen" | "takeover";
21235
+ /**
21236
+ * Operator Id
21237
+ * Format: uuid
21238
+ */
21239
+ operator_id: string;
21240
+ };
21241
+ /** RunTakeoverResponse */
21242
+ RunTakeoverResponse: {
21243
+ /** Conference Sid */
21244
+ conference_sid?: string | null;
21245
+ /**
21246
+ * Mode
21247
+ * @enum {string}
21248
+ */
21249
+ mode: "listen" | "takeover";
21250
+ /** Participant Call Sid */
21251
+ participant_call_sid?: string | null;
21252
+ /**
21253
+ * Run Id
21254
+ * Format: uuid
21255
+ */
21256
+ run_id: string;
21257
+ };
21040
21258
  /** RunsResponse */
21041
21259
  RunsResponse: {
21042
21260
  /** Continuation Token */
@@ -21312,7 +21530,7 @@ export interface components {
21312
21530
  * @description Delivery status
21313
21531
  * @enum {string}
21314
21532
  */
21315
- status: "delivered" | "failed";
21533
+ status: "delivered" | "queued_no_subscriber" | "deduplicated" | "failed" | "unknown";
21316
21534
  };
21317
21535
  /**
21318
21536
  * Service
@@ -22086,6 +22304,8 @@ export interface components {
22086
22304
  completed_at?: string | null;
22087
22305
  /** Created At */
22088
22306
  created_at?: string | null;
22307
+ /** Error */
22308
+ error?: string | null;
22089
22309
  /**
22090
22310
  * Fail Count
22091
22311
  * @default 0
@@ -22491,6 +22711,8 @@ export interface components {
22491
22711
  completed_at?: string | null;
22492
22712
  /** Created At */
22493
22713
  created_at?: string | null;
22714
+ /** Error */
22715
+ error?: string | null;
22494
22716
  /**
22495
22717
  * Eval Error Count
22496
22718
  * @default 0
@@ -22842,6 +23064,8 @@ export interface components {
22842
23064
  completed_at?: string | null;
22843
23065
  /** Created At */
22844
23066
  created_at?: string | null;
23067
+ /** Expected Case Count */
23068
+ expected_case_count?: number | null;
22845
23069
  /** Result Pointer */
22846
23070
  result_pointer?: {
22847
23071
  [key: string]: unknown;
@@ -24299,6 +24523,30 @@ export interface components {
24299
24523
  */
24300
24524
  rule_kind: "tms_session_grid";
24301
24525
  };
24526
+ /**
24527
+ * TakeoverEligibility
24528
+ * @description Whether an operator can take a run over, and how — the channel-neutral signal the
24529
+ * console keys on instead of a per-channel heuristic.
24530
+ *
24531
+ * ``eligible`` = an operator may take this run over right now. ``mode_options`` = the
24532
+ * takeover modes valid for the run's channel (voice exposes ``listen`` + ``takeover``;
24533
+ * other channels none yet). ``reason`` = a short, human-facing explanation when NOT
24534
+ * eligible (e.g. ``"run is not live"``, ``"channel not yet supported"``), so the
24535
+ * console can render an honest disabled-state tooltip rather than a bare greyed button.
24536
+ * Server-computed (see ``Run.takeover``) so eligibility rules live in one place and the
24537
+ * console never re-derives them.
24538
+ */
24539
+ TakeoverEligibility: {
24540
+ /** Eligible */
24541
+ eligible: boolean;
24542
+ /**
24543
+ * Mode Options
24544
+ * @default []
24545
+ */
24546
+ mode_options?: ("listen" | "takeover")[];
24547
+ /** Reason */
24548
+ reason?: string | null;
24549
+ };
24302
24550
  /** TargetSpec */
24303
24551
  TargetSpec: {
24304
24552
  completion_criteria?: components["schemas"]["CompletionCriteria"];
@@ -24965,6 +25213,11 @@ export interface components {
24965
25213
  */
24966
25214
  type: "tool_call_started";
24967
25215
  };
25216
+ /** ToolCatalogResponse */
25217
+ ToolCatalogResponse: {
25218
+ /** Tools */
25219
+ tools: components["schemas"]["ResolvedToolItem"][];
25220
+ };
24968
25221
  /** ToolDescriptor */
24969
25222
  ToolDescriptor: {
24970
25223
  /**
@@ -41070,6 +41323,114 @@ export interface operations {
41070
41323
  };
41071
41324
  };
41072
41325
  };
41326
+ send_run_guidance_v1__workspace_id__runs__run_id__guidance_post: {
41327
+ parameters: {
41328
+ query?: never;
41329
+ header?: never;
41330
+ path: {
41331
+ workspace_id: string;
41332
+ run_id: string;
41333
+ };
41334
+ cookie?: never;
41335
+ };
41336
+ requestBody: {
41337
+ content: {
41338
+ "application/json": components["schemas"]["RunGuidanceRequest"];
41339
+ };
41340
+ };
41341
+ responses: {
41342
+ /** @description Successful Response */
41343
+ 200: {
41344
+ headers: {
41345
+ [name: string]: unknown;
41346
+ };
41347
+ content: {
41348
+ "application/json": components["schemas"]["RunGuidanceResponse"];
41349
+ };
41350
+ };
41351
+ /** @description Validation Error */
41352
+ 422: {
41353
+ headers: {
41354
+ [name: string]: unknown;
41355
+ };
41356
+ content: {
41357
+ "application/json": components["schemas"]["HTTPValidationError"];
41358
+ };
41359
+ };
41360
+ };
41361
+ };
41362
+ hand_back_run_v1__workspace_id__runs__run_id__handback_post: {
41363
+ parameters: {
41364
+ query?: never;
41365
+ header?: never;
41366
+ path: {
41367
+ workspace_id: string;
41368
+ run_id: string;
41369
+ };
41370
+ cookie?: never;
41371
+ };
41372
+ requestBody: {
41373
+ content: {
41374
+ "application/json": components["schemas"]["RunHandbackRequest"];
41375
+ };
41376
+ };
41377
+ responses: {
41378
+ /** @description Successful Response */
41379
+ 200: {
41380
+ headers: {
41381
+ [name: string]: unknown;
41382
+ };
41383
+ content: {
41384
+ "application/json": components["schemas"]["RunHandbackResponse"];
41385
+ };
41386
+ };
41387
+ /** @description Validation Error */
41388
+ 422: {
41389
+ headers: {
41390
+ [name: string]: unknown;
41391
+ };
41392
+ content: {
41393
+ "application/json": components["schemas"]["HTTPValidationError"];
41394
+ };
41395
+ };
41396
+ };
41397
+ };
41398
+ take_over_run_v1__workspace_id__runs__run_id__takeover_post: {
41399
+ parameters: {
41400
+ query?: never;
41401
+ header?: never;
41402
+ path: {
41403
+ workspace_id: string;
41404
+ run_id: string;
41405
+ };
41406
+ cookie?: never;
41407
+ };
41408
+ requestBody: {
41409
+ content: {
41410
+ "application/json": components["schemas"]["RunTakeoverRequest"];
41411
+ };
41412
+ };
41413
+ responses: {
41414
+ /** @description Successful Response */
41415
+ 200: {
41416
+ headers: {
41417
+ [name: string]: unknown;
41418
+ };
41419
+ content: {
41420
+ "application/json": components["schemas"]["RunTakeoverResponse"];
41421
+ };
41422
+ };
41423
+ /** @description Validation Error */
41424
+ 422: {
41425
+ headers: {
41426
+ [name: string]: unknown;
41427
+ };
41428
+ content: {
41429
+ "application/json": components["schemas"]["HTTPValidationError"];
41430
+ };
41431
+ };
41432
+ };
41433
+ };
41073
41434
  "list-scheduling-rule-sets": {
41074
41435
  parameters: {
41075
41436
  query?: {
@@ -43951,6 +44312,38 @@ export interface operations {
43951
44312
  };
43952
44313
  };
43953
44314
  };
44315
+ "promote-simulation-session": {
44316
+ parameters: {
44317
+ query?: never;
44318
+ header?: never;
44319
+ path: {
44320
+ workspace_id: string;
44321
+ session_id: string;
44322
+ };
44323
+ cookie?: never;
44324
+ };
44325
+ requestBody?: never;
44326
+ responses: {
44327
+ /** @description Successful Response */
44328
+ 200: {
44329
+ headers: {
44330
+ [name: string]: unknown;
44331
+ };
44332
+ content: {
44333
+ "application/json": components["schemas"]["PromoteSessionResponse"];
44334
+ };
44335
+ };
44336
+ /** @description Validation Error */
44337
+ 422: {
44338
+ headers: {
44339
+ [name: string]: unknown;
44340
+ };
44341
+ content: {
44342
+ "application/json": components["schemas"]["HTTPValidationError"];
44343
+ };
44344
+ };
44345
+ };
44346
+ };
43954
44347
  "score-simulation-session": {
43955
44348
  parameters: {
43956
44349
  query?: never;
@@ -45449,6 +45842,49 @@ export interface operations {
45449
45842
  };
45450
45843
  };
45451
45844
  };
45845
+ "list-tool-catalog": {
45846
+ parameters: {
45847
+ query?: never;
45848
+ header?: never;
45849
+ path: {
45850
+ workspace_id: string;
45851
+ };
45852
+ cookie?: never;
45853
+ };
45854
+ requestBody?: never;
45855
+ responses: {
45856
+ /** @description Successful Response */
45857
+ 200: {
45858
+ headers: {
45859
+ [name: string]: unknown;
45860
+ };
45861
+ content: {
45862
+ "application/json": components["schemas"]["ToolCatalogResponse"];
45863
+ };
45864
+ };
45865
+ /** @description Missing or invalid credentials. */
45866
+ 401: {
45867
+ headers: {
45868
+ [name: string]: unknown;
45869
+ };
45870
+ content?: never;
45871
+ };
45872
+ /** @description Insufficient permissions. */
45873
+ 403: {
45874
+ headers: {
45875
+ [name: string]: unknown;
45876
+ };
45877
+ content?: never;
45878
+ };
45879
+ /** @description Voice agent service unavailable. */
45880
+ 503: {
45881
+ headers: {
45882
+ [name: string]: unknown;
45883
+ };
45884
+ content?: never;
45885
+ };
45886
+ };
45887
+ };
45452
45888
  "execute-tool-test": {
45453
45889
  parameters: {
45454
45890
  query?: never;