@omnidim-ai/mcp-server 0.9.1 → 0.10.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.
- package/build/index.d.ts +1 -1
- package/build/index.js +58 -159
- package/build/index.js.map +1 -1
- package/build/procedures.js +8 -1
- package/build/procedures.js.map +1 -1
- package/build/tool-annotations.js +11 -13
- package/build/tool-annotations.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +58 -159
- package/src/procedures.ts +8 -1
- package/src/tool-annotations.ts +11 -13
package/build/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Server configuration
|
|
4
4
|
*/
|
|
5
5
|
export declare const SERVER_NAME = "OmniDimension";
|
|
6
|
-
export declare const SERVER_VERSION = "0.
|
|
6
|
+
export declare const SERVER_VERSION = "0.10.1";
|
|
7
7
|
export declare const API_BASE_URL = "https://backend.omnidim.io/api/v1";
|
|
8
8
|
/**
|
|
9
9
|
* Type definition for cached OAuth tokens
|
package/build/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import axios from 'axios';
|
|
|
18
18
|
* Server configuration
|
|
19
19
|
*/
|
|
20
20
|
export const SERVER_NAME = "OmniDimension";
|
|
21
|
-
export const SERVER_VERSION = "0.
|
|
21
|
+
export const SERVER_VERSION = "0.10.1";
|
|
22
22
|
// Base URL for the API. Pinned to production; not env-overridable.
|
|
23
23
|
export const API_BASE_URL = "https://backend.omnidim.io/api/v1";
|
|
24
24
|
/**
|
|
@@ -33,7 +33,6 @@ Surfaces:
|
|
|
33
33
|
- Knowledge base: upload PDFs and attach to agents.
|
|
34
34
|
- Phone numbers: list, attach to agents, import from Twilio, Exotel, or SIP.
|
|
35
35
|
- Providers: discover available LLMs, voices, STT, and TTS engines.
|
|
36
|
-
- Reseller: child organization management (requires partner-level credentials; non-reseller keys get 403).
|
|
37
36
|
|
|
38
37
|
Conventions:
|
|
39
38
|
- List endpoints accept pageno (>= 1) and pagesize (1-150). Use name to filter.
|
|
@@ -64,7 +63,7 @@ connect and talk, see "Connect the client and talk" below the
|
|
|
64
63
|
request details.
|
|
65
64
|
|
|
66
65
|
(Tags: Sessions)`,
|
|
67
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["agent_id", "type"], "properties": { "agent_id": { "type": "number", "description": "ID of the agent the session talks to." }, "type": { "type": "string", "enum": ["voice"], "description": "The session type. Only `voice` is supported." }, "custom_variables": { "type": "object", "additionalProperties": true, "description": "Per-session variables that personalize the conversation.\nSet server-side, so visitors cannot tamper with them.\n" } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
66
|
+
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["agent_id", "type"], "properties": { "agent_id": { "type": "number", "description": "ID of the agent the session talks to." }, "type": { "type": "string", "enum": ["voice"], "description": "The session type. Only `voice` is supported." }, "custom_variables": { "type": "object", "additionalProperties": true, "description": "Per-session variables that personalize the conversation.\nSet server-side, so visitors cannot tamper with them.\n" }, "metadata": { "type": "object", "additionalProperties": true, "description": "Key-value pairs stored on the session for your own\ntracking (e.g. CRM or lead IDs). Not shared with the\nagent; echoed back as `metadata` in the post-call\nwebhook so you can correlate results with your records.\n" } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
68
67
|
method: "post",
|
|
69
68
|
pathTemplate: "/sessions/create",
|
|
70
69
|
executionParameters: [],
|
|
@@ -99,7 +98,7 @@ account. If it isn't enabled for yours yet,
|
|
|
99
98
|
before configuring the \`voicemail\` object.
|
|
100
99
|
|
|
101
100
|
(Tags: Agents)`,
|
|
102
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "allOf": [{ "type": "object", "description": "Agent configuration.", "properties": { "name": { "type": "string", "description": "Name for the agent.", "example": "Customer Support Agent" }, "welcome_message": { "type": "string", "description": "Initial message the agent will say when answering a call.", "example": "Hello! How can I help you today?" }, "is_welcome_message_dynamic": { "type": "boolean", "description": "When true, the welcome message is treated as a directive the agent uses to generate a tailored greeting for each call, rather than being spoken word for word. When false, the welcome message is spoken exactly as written." }, "is_welcome_message_interruption": { "type": "boolean", "description": "Allow the caller to interrupt the welcome message. When false, the agent finishes speaking the welcome before listening." }, "is_interruption_allowed": { "type": "boolean", "description": "Global toggle for whether the caller can interrupt the agent mid-sentence at any point in the call." }, "dynamic_variables": { "type": "object", "description": "Key/value map used to substitute placeholders in the agent's\nprompt and welcome message at call time. Reference a variable\nin your prompt with `{{variable_name}}`. Useful for\npersonalising the same agent across many calls.\n", "additionalProperties": { "type": "string" }, "example": { "customer_name": "Jane Doe", "order_id": "ORD-12345" } }, "context_breakdown": { "type": "array", "description": "List of context breakdowns, each containing `title`, `body`, and optional `is_enabled`.", "items": { "type": "object", "required": ["title", "body"], "properties": { "title": { "type": "string", "description": "Title of the breakdown.", "example": "Purpose" }, "body": { "type": "string", "description": "Body of the breakdown, the detailed prompt content.", "example": "This agent helps customers with product inquiries and support issues." }, "is_enabled": { "type": "boolean", "default": true, "description": "Whether this section is included in the prompt." } } } }, "call_type": { "type": "string", "enum": ["Incoming", "Outgoing"], "description": "Call type of the assistant." }, "transcriber": { "type": "object", "description": "Configuration for the speech-to-text transcriber.", "properties": { "provider": { "type": "string", "enum": ["deepgram_stream", "cartesia", "sarvam", "azure_stream", "soniox"], "description": "The speech-to-text provider to use.", "example": "deepgram_stream" }, "model": { "type": "string", "enum": ["nova-3", "nova-2"], "description": "The model to use for transcription (required when provider is `deepgram_stream`).", "example": "nova-3" }, "language": { "type": "string", "description": "Language code for the transcriber. Format and supported\nvalues depend on the provider (e.g. `en-US` for Deepgram,\n`hi-IN` for Sarvam). Applies regardless of which\n`provider` is selected.\n", "example": "en-US" }, "silence_timeout_ms": { "type": "integer", "description": "Silence timeout in milliseconds.", "example": 400 }, "should_apply_noise_reduction": { "type": "boolean", "description": "Reduce background noise on the inbound audio stream before transcription." }, "interruption_min_words": { "type": "integer", "minimum": 1, "description": "Minimum number of words the caller must say before their speech is treated as an interruption.", "example": 2 }, "max_call_duration_in_sec": { "type": "integer", "minimum": 1, "description": "Hard upper bound on call length in seconds. The agent will end the call once this is reached.", "example": 600 }, "first_ideal_message": { "type": "string", "description": "First nudge spoken when the caller goes silent past the\nidle threshold. Set `is_first_ideal_message_dynamic` to\n`true` to have the LLM regenerate this each time.\n" }, "is_first_ideal_message_dynamic": { "type": "boolean", "description": "When true, `first_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "second_ideal_message": { "type": "string", "description": "Second nudge spoken if silence continues after the first." }, "is_second_ideal_message_dynamic": { "type": "boolean", "description": "When true, `second_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "numerals": { "type": "boolean", "description": "Convert numbers from words to digits." }, "punctuate": { "type": "boolean", "description": "Add punctuation to the transcript." }, "smart_format": { "type": "boolean", "description": "Apply smart formatting to the transcript." }, "diarize": { "type": "boolean", "description": "Identify different speakers in the transcript." } } }, "model": { "type": "object", "description": "Configuration for the language model.", "properties": { "model": { "type": "string", "enum": ["azure-gpt-4.1-mini", "azure-gpt-4.1-nano", "azure-gpt-4o", "azure-gpt-4o-mini", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gpt-3.5-turbo", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "gpt-5.1", "llama-3.3-70b-versatile"], "description": "The language model to use. The current catalog is returned by the LLM providers list.", "example": "gpt-4.1-mini" }, "temperature": { "type": "number", "minimum": 0, "maximum": 1, "description": "Controls randomness in the model's output (0.0 to 1.0).", "example": 0.7 } } }, "voice": { "type": "object", "description": "Configuration for the text-to-speech voice.", "properties": { "provider": { "type": "string", "enum": ["eleven_labs", "google", "cartesia", "sarvam"], "description": "The voice provider to use. The current catalog is returned by the TTS providers list.", "example": "eleven_labs" }, "voice_id": { "type": "string", "description": "The provider's voice identifier, returned in the `name` field of the voices list (not the numeric `id`).", "example": "JBFqnCBsd6RMkjVDRZzb" }, "model": { "type": "string", "description": "TTS model identifier. Only consumed when `provider` is\n`cartesia` (e.g. `sonic-3.5`). For ElevenLabs and other\nproviders the model is implied by `voice_id` and this\nfield is ignored.\n", "example": "sonic-3.5" }, "speech_speed": { "type": "number", "minimum": 0.5, "maximum": 2, "default": 1, "description": "Playback speed multiplier for the agent's voice. 1.0 is normal speed." } } }, "web_search": { "type": "object", "description": "Configuration for web search capabilities.", "properties": { "enabled": { "type": "boolean", "description": "Enable or disable web search functionality." }, "provider": { "type": "string", "enum": ["DuckDuckGo"], "description": "The search provider to use.", "example": "DuckDuckGo" } } }, "post_call_actions": { "type": "object", "description": "Side effects that fire once the call ends. Configure email, webhook, or both.", "properties": { "email": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "recipients": { "type": "array", "description": "Email addresses that should receive the notification.", "items": { "type": "string", "format": "email" }, "example": ["support@example.com"] }, "include": { "type": "array", "description": "Which sections to include in the email body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the email.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload.", "example": "customer_issue" }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation.", "example": "Identify the main issue the customer is experiencing." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this action. Omit to\nuse the default (`completed`, `voicemail_detected`).\nPass an explicit list to also include failed calls,\nno-answers, busy signals, etc.\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] }, "example": ["completed", "voicemail_detected"] } } }, "webhook": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string", "format": "uri", "description": "Endpoint that receives a POST with the call payload.", "example": "https://your-webhook-endpoint.com/omnidim-callback" }, "include": { "type": "array", "description": "Which sections to include in the webhook body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the webhook.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload.", "example": "customer_issue" }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation.", "example": "Identify the main issue the customer is experiencing." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this webhook. Omit to\nuse the default (`completed`, `voicemail_detected`).\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] }, "example": ["completed", "failed"] } } } } }, "transfer": { "type": "object", "description": "Conditional call transfer to a human agent or another number.", "properties": { "enabled": { "type": "boolean" }, "transfer_options": { "type": "array", "description": "Where to transfer the call and under what condition. The first matching condition wins.", "items": { "type": "object", "required": ["number", "transfer_condition", "transfer_message"], "properties": { "number": { "type": "string", "description": "Primary phone number to transfer to. Include country code with leading `+`.", "example": "+15551234567" }, "type": { "type": "string", "enum": ["static", "dynamic"], "default": "static", "description": "`static` transfers to `number`. `dynamic` lets the agent\npick a number at runtime based on the conversation.\n" }, "backup_numbers": { "type": "array", "description": "Fallback numbers tried if the primary is unreachable.", "items": { "type": "string" } }, "transfer_condition": { "type": "string", "description": "Natural-language condition that triggers this transfer option.", "example": "Transfer if the customer asks to speak with a human." }, "transfer_message": { "type": "string", "description": "Message the agent says to the caller before executing the transfer.", "example": "Please hold while I connect you to one of our agents." } } } } } }, "end_call": { "type": "object", "description": "Hang up automatically when a condition is met.", "properties": { "enabled": { "type": "boolean" }, "condition": { "type": "string", "description": "Natural-language condition that triggers ending the call. Only evaluated when `enabled` is true.", "example": "End the call once the customer's issue is resolved." }, "message": { "type": "string", "description": "What the agent says before hanging up.", "example": "Thank you for contacting us. Have a great day!" }, "message_type": { "type": "string", "enum": ["static", "prompt"], "description": "`static` speaks `message` verbatim. `prompt` treats\n`message_prompt` as an LLM instruction and generates a\nfresh closing line each call (useful for matching the\ncaller's language and tone).\n" }, "message_prompt": { "type": "string", "description": "LLM prompt used to generate the closing line when `message_type` is `prompt`.", "example": "End the call politely in the same language the user is speaking." } } }, "background_track": { "type": "object", "description": "Ambient background noise that plays under the agent's voice.", "properties": { "enabled": { "type": "boolean", "description": "Whether to mix the ambient track under the agent's audio." }, "name": { "type": "string", "enum": ["call_center", "filler", "office", "office_1", "restaurant"], "description": "Ambient track to mix under the agent." }, "volume": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2, "description": "Volume level on a 0–1 scale. Default 0.2." }, "tts_volume_reduction": { "type": "number", "minimum": 0, "maximum": 1, "description": "Amount to drop the agent's TTS volume while the ambient track plays, on a 0–1 scale. Helps the voice cut through without raising the overall mix." } } }, "initial_ringing_sound_enabled": { "type": "boolean", "description": "Plays a ringing tone after the call is picked up, until the agent starts speaking." }, "voicemail": { "type": "object", "description": "Voicemail / answering-machine handling for outbound calls. Set this with the nested object shown here; the agent object returns these values as the flat fields `voicemail_enabled` and `voicemail_message`. Voicemail detection is an access-gated feature. If it isn't enabled for your account, [request access](https://omnidim.io/contact-us?reason=product&lock=1).", "properties": { "enabled": { "type": "boolean", "description": "Detect voicemail and leave your message instead of speaking to a machine." }, "message": { "type": "string", "description": "Message to leave when voicemail is detected." } } }, "languages": { "type": "array", "description": "Languages the agent should support. Pass each language as a display-name string exactly as it appears in the dashboard's language picker. Unrecognized names are skipped.", "items": { "type": "string" }, "example": ["English (India)", "Hindi"] } } }, { "type": "object", "required": ["name", "welcome_message", "context_breakdown"] }], "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
101
|
+
inputSchema: { "type": "object", "properties": { "requestBody": { "allOf": [{ "type": "object", "description": "Agent configuration.", "properties": { "name": { "type": "string", "description": "Name for the agent.", "example": "Customer Support Agent" }, "welcome_message": { "type": "string", "description": "Initial message the agent will say when answering a call.", "example": "Hello! How can I help you today?" }, "is_welcome_message_dynamic": { "type": "boolean", "description": "When true, the welcome message is treated as a directive the agent uses to generate a tailored greeting for each call, rather than being spoken word for word. When false, the welcome message is spoken exactly as written." }, "is_welcome_message_interruption": { "type": "boolean", "description": "Allow the caller to interrupt the welcome message. When false, the agent finishes speaking the welcome before listening." }, "is_interruption_allowed": { "type": "boolean", "description": "Global toggle for whether the caller can interrupt the agent mid-sentence at any point in the call." }, "dynamic_variables": { "type": "object", "description": "Key/value map used to substitute placeholders in the agent's\nprompt and welcome message at call time. Reference a variable\nin your prompt with `{{variable_name}}`. Useful for\npersonalising the same agent across many calls.\n", "additionalProperties": { "type": "string" }, "example": { "customer_name": "Jane Doe", "order_id": "ORD-12345" } }, "context_breakdown": { "type": "array", "description": "List of context breakdowns, each containing `title`, `body`, and optional `is_enabled`.", "items": { "type": "object", "required": ["title", "body"], "properties": { "title": { "type": "string", "description": "Title of the breakdown.", "example": "Purpose" }, "body": { "type": "string", "description": "Body of the breakdown, the detailed prompt content.", "example": "This agent helps customers with product inquiries and support issues." }, "is_enabled": { "type": "boolean", "default": true, "description": "Whether this section is included in the prompt." } } } }, "call_type": { "type": "string", "enum": ["Incoming", "Outgoing"], "description": "Call type of the assistant." }, "transcriber": { "type": "object", "description": "Configuration for the speech-to-text transcriber.", "properties": { "provider": { "type": "string", "enum": ["deepgram_stream", "cartesia", "sarvam", "azure_stream", "soniox"], "description": "The speech-to-text provider to use.", "example": "deepgram_stream" }, "model": { "type": "string", "enum": ["nova-3", "nova-2"], "description": "The model to use for transcription (required when provider is `deepgram_stream`).", "example": "nova-3" }, "language": { "type": "string", "description": "Language code for the transcriber. Format and supported\nvalues depend on the provider (e.g. `en-US` for Deepgram,\n`hi-IN` for Sarvam). Applies regardless of which\n`provider` is selected.\n", "example": "en-US" }, "silence_timeout_ms": { "type": "integer", "description": "Silence timeout in milliseconds.", "example": 400 }, "should_apply_noise_reduction": { "type": "boolean", "description": "Reduce background noise on the inbound audio stream before transcription." }, "interruption_min_words": { "type": "integer", "minimum": 1, "description": "Minimum number of words the caller must say before their speech is treated as an interruption.", "example": 2 }, "max_call_duration_in_sec": { "type": "integer", "minimum": 1, "description": "Hard upper bound on call length in seconds. The agent will end the call once this is reached.", "example": 600 }, "first_ideal_message": { "type": "string", "description": "First nudge spoken when the caller goes silent past the\nidle threshold. Set `is_first_ideal_message_dynamic` to\n`true` to have the LLM regenerate this each time.\n" }, "is_first_ideal_message_dynamic": { "type": "boolean", "description": "When true, `first_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "second_ideal_message": { "type": "string", "description": "Second nudge spoken if silence continues after the first." }, "is_second_ideal_message_dynamic": { "type": "boolean", "description": "When true, `second_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "numerals": { "type": "boolean", "description": "Convert numbers from words to digits." }, "punctuate": { "type": "boolean", "description": "Add punctuation to the transcript." }, "smart_format": { "type": "boolean", "description": "Apply smart formatting to the transcript." }, "diarize": { "type": "boolean", "description": "Identify different speakers in the transcript." } } }, "model": { "type": "object", "description": "Configuration for the language model.", "properties": { "model": { "type": "string", "enum": ["azure-gpt-4.1-mini", "azure-gpt-4.1-nano", "azure-gpt-4o", "azure-gpt-4o-mini", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gpt-3.5-turbo", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "gpt-5.1", "llama-3.3-70b-versatile"], "description": "The language model to use. The current catalog is returned by the LLM providers list.", "example": "gpt-4.1-mini" }, "temperature": { "type": "number", "minimum": 0, "maximum": 1, "description": "Controls randomness in the model's output (0.0 to 1.0).", "example": 0.7 } } }, "voice": { "type": "object", "description": "Configuration for the text-to-speech voice. `provider` and `voice_id` identify the voice together, so send both to change it. `provider` on its own is not accepted, and a `voice_id` on its own leaves the voice as it was. The other fields here apply independently.", "dependentRequired": { "provider": ["voice_id"] }, "properties": { "provider": { "type": "string", "enum": ["eleven_labs", "google", "cartesia", "sarvam"], "description": "The voice provider to use. The current catalog is returned by the TTS providers list. Send `voice_id` alongside it.", "example": "eleven_labs" }, "voice_id": { "type": "string", "description": "The provider's voice identifier, returned in the `name` field of the voices list (not the numeric `id`). Takes effect when `provider` is sent alongside it.", "example": "JBFqnCBsd6RMkjVDRZzb" }, "model": { "type": "string", "description": "TTS model identifier. Only consumed when `provider` is\n`cartesia` (e.g. `sonic-3.5`). For ElevenLabs and other\nproviders the model is implied by `voice_id` and this\nfield is ignored.\n", "example": "sonic-3.5" }, "speech_speed": { "type": "number", "minimum": 0.5, "maximum": 2, "default": 1, "description": "Playback speed multiplier for the agent's voice. 1.0 is normal speed." } } }, "web_search": { "type": "object", "description": "Configuration for web search capabilities.", "properties": { "enabled": { "type": "boolean", "description": "Enable or disable web search functionality." }, "provider": { "type": "string", "enum": ["DuckDuckGo"], "description": "The search provider to use.", "example": "DuckDuckGo" } } }, "post_call_actions": { "type": "object", "description": "Side effects that fire once the call ends. Configure email, webhook, or both.", "properties": { "email": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "recipients": { "type": "array", "description": "Email addresses that should receive the notification.", "items": { "type": "string", "format": "email" }, "example": ["support@example.com"] }, "include": { "type": "array", "description": "Which sections to include in the email body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the email.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload.", "example": "customer_issue" }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation.", "example": "Identify the main issue the customer is experiencing." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this action. Omit to\nuse the default (`completed`, `voicemail_detected`).\nPass an explicit list to also include failed calls,\nno-answers, busy signals, etc.\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] }, "example": ["completed", "voicemail_detected"] } } }, "webhook": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string", "format": "uri", "description": "Endpoint that receives a POST with the call payload.", "example": "https://your-webhook-endpoint.com/omnidim-callback" }, "include": { "type": "array", "description": "Which sections to include in the webhook body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the webhook.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload.", "example": "customer_issue" }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation.", "example": "Identify the main issue the customer is experiencing." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this webhook. Omit to\nuse the default (`completed`, `voicemail_detected`).\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] }, "example": ["completed", "failed"] } } } } }, "transfer": { "type": "object", "description": "Conditional call transfer to a human agent or another number.", "properties": { "enabled": { "type": "boolean" }, "transfer_options": { "type": "array", "description": "Where to transfer the call and under what condition. The first matching condition wins. In an agent update, sending this list replaces all saved options. Omit it to keep them unchanged, or send an empty array to clear them.", "items": { "type": "object", "required": ["number", "transfer_condition", "transfer_message"], "properties": { "number": { "type": "string", "description": "Primary phone number to transfer to. Include country code with leading `+`.", "example": "+15551234567" }, "type": { "type": "string", "enum": ["static", "dynamic"], "default": "static", "description": "`static` transfers to `number`. `dynamic` lets the agent\npick a number at runtime based on the conversation.\n" }, "backup_numbers": { "type": "array", "description": "Fallback numbers tried if the primary is unreachable.", "items": { "type": "string" } }, "transfer_condition": { "type": "string", "description": "Natural-language condition that triggers this transfer option.", "example": "Transfer if the customer asks to speak with a human." }, "transfer_message": { "type": "string", "description": "Message the agent says to the caller before executing the transfer.", "example": "Please hold while I connect you to one of our agents." } } } } } }, "end_call": { "type": "object", "description": "Hang up automatically when a condition is met.", "properties": { "enabled": { "type": "boolean" }, "condition": { "type": "string", "description": "Natural-language condition that triggers ending the call. Only evaluated when `enabled` is true.", "example": "End the call once the customer's issue is resolved." }, "message": { "type": "string", "description": "What the agent says before hanging up.", "example": "Thank you for contacting us. Have a great day!" }, "message_type": { "type": "string", "enum": ["static", "prompt"], "description": "`static` speaks `message` verbatim. `prompt` treats\n`message_prompt` as an LLM instruction and generates a\nfresh closing line each call (useful for matching the\ncaller's language and tone).\n" }, "message_prompt": { "type": "string", "description": "LLM prompt used to generate the closing line when `message_type` is `prompt`.", "example": "End the call politely in the same language the user is speaking." } } }, "background_track": { "type": "object", "description": "Ambient background noise that plays under the agent's voice.", "properties": { "enabled": { "type": "boolean", "description": "Whether to mix the ambient track under the agent's audio." }, "name": { "type": "string", "enum": ["call_center", "filler", "office", "office_1", "restaurant"], "description": "Ambient track to mix under the agent." }, "volume": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2, "description": "Volume level on a 0–1 scale. Default 0.2." }, "tts_volume_reduction": { "type": "number", "minimum": 0, "maximum": 1, "description": "Amount to drop the agent's TTS volume while the ambient track plays, on a 0–1 scale. Helps the voice cut through without raising the overall mix." } } }, "initial_ringing_sound_enabled": { "type": "boolean", "description": "Plays a ringing tone after the call is picked up, until the agent starts speaking." }, "voicemail": { "type": "object", "description": "Voicemail / answering-machine handling for outbound calls. Set this with the nested object shown here; the agent object returns these values as the flat fields `voicemail_enabled` and `voicemail_message`. Voicemail detection is an access-gated feature. If it isn't enabled for your account, [request access](https://omnidim.io/contact-us?reason=product&lock=1).", "properties": { "enabled": { "type": "boolean", "description": "Detect voicemail and leave your message instead of speaking to a machine." }, "message": { "type": "string", "description": "Message to leave when voicemail is detected." } } }, "languages": { "type": "array", "description": "Languages the agent should support. Pass each language as a display-name string exactly as it appears in the dashboard's language picker. Unrecognized names are skipped.", "items": { "type": "string" }, "example": ["English (India)", "Hindi"] } } }, { "type": "object", "required": ["name", "welcome_message", "context_breakdown"] }], "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
103
102
|
method: "post",
|
|
104
103
|
pathTemplate: "/agents/create",
|
|
105
104
|
executionParameters: [],
|
|
@@ -110,7 +109,7 @@ before configuring the \`voicemail\` object.
|
|
|
110
109
|
}],
|
|
111
110
|
["getAgent", {
|
|
112
111
|
name: "getAgent",
|
|
113
|
-
description: `Get details of a specific agent by ID. The response also includes a \`version_history_enabled\` boolean showing whether [version history](/docs/api-reference/
|
|
112
|
+
description: `Get details of a specific agent by ID. The response also includes a \`version_history_enabled\` boolean showing whether [version history](/docs/api-reference/agents/listAgentVersions) is turned on for the agent's organization.
|
|
114
113
|
(Tags: Agents)`,
|
|
115
114
|
inputSchema: { "type": "object", "properties": { "agent_id": { "type": "number", "description": "The ID of the agent." } }, "required": ["agent_id"] },
|
|
116
115
|
method: "get",
|
|
@@ -127,7 +126,7 @@ before configuring the \`voicemail\` object.
|
|
|
127
126
|
|
|
128
127
|
> **Voicemail detection is an access-gated feature** that we turn on per account. If it isn't enabled for yours yet, [request access](https://omnidim.io/contact-us?reason=product&lock=1) before configuring the \`voicemail\` object below.
|
|
129
128
|
(Tags: Agents)`,
|
|
130
|
-
inputSchema: { "type": "object", "properties": { "agent_id": { "type": "number", "description": "The ID of the agent." }, "requestBody": { "type": "object", "description": "Agent configuration.", "properties": { "name": { "type": "string", "description": "Name for the agent." }, "welcome_message": { "type": "string", "description": "Initial message the agent will say when answering a call." }, "is_welcome_message_dynamic": { "type": "boolean", "description": "When true, the welcome message is treated as a directive the agent uses to generate a tailored greeting for each call, rather than being spoken word for word. When false, the welcome message is spoken exactly as written." }, "is_welcome_message_interruption": { "type": "boolean", "description": "Allow the caller to interrupt the welcome message. When false, the agent finishes speaking the welcome before listening." }, "is_interruption_allowed": { "type": "boolean", "description": "Global toggle for whether the caller can interrupt the agent mid-sentence at any point in the call." }, "dynamic_variables": { "type": "object", "description": "Key/value map used to substitute placeholders in the agent's\nprompt and welcome message at call time. Reference a variable\nin your prompt with `{{variable_name}}`. Useful for\npersonalising the same agent across many calls.\n", "additionalProperties": { "type": "string" } }, "context_breakdown": { "type": "array", "description": "List of context breakdowns, each containing `title`, `body`, and optional `is_enabled`.", "items": { "type": "object", "required": ["title", "body"], "properties": { "title": { "type": "string", "description": "Title of the breakdown." }, "body": { "type": "string", "description": "Body of the breakdown, the detailed prompt content." }, "is_enabled": { "type": "boolean", "default": true, "description": "Whether this section is included in the prompt." } } } }, "call_type": { "type": "string", "enum": ["Incoming", "Outgoing"], "description": "Call type of the assistant." }, "transcriber": { "type": "object", "description": "Configuration for the speech-to-text transcriber.", "properties": { "provider": { "type": "string", "enum": ["deepgram_stream", "cartesia", "sarvam", "azure_stream", "soniox"], "description": "The speech-to-text provider to use." }, "model": { "type": "string", "enum": ["nova-3", "nova-2"], "description": "The model to use for transcription (required when provider is `deepgram_stream`)." }, "language": { "type": "string", "description": "Language code for the transcriber. Format and supported\nvalues depend on the provider (e.g. `en-US` for Deepgram,\n`hi-IN` for Sarvam). Applies regardless of which\n`provider` is selected.\n" }, "silence_timeout_ms": { "type": "number", "description": "Silence timeout in milliseconds." }, "should_apply_noise_reduction": { "type": "boolean", "description": "Reduce background noise on the inbound audio stream before transcription." }, "interruption_min_words": { "type": "number", "minimum": 1, "description": "Minimum number of words the caller must say before their speech is treated as an interruption." }, "max_call_duration_in_sec": { "type": "number", "minimum": 1, "description": "Hard upper bound on call length in seconds. The agent will end the call once this is reached." }, "first_ideal_message": { "type": "string", "description": "First nudge spoken when the caller goes silent past the\nidle threshold. Set `is_first_ideal_message_dynamic` to\n`true` to have the LLM regenerate this each time.\n" }, "is_first_ideal_message_dynamic": { "type": "boolean", "description": "When true, `first_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "second_ideal_message": { "type": "string", "description": "Second nudge spoken if silence continues after the first." }, "is_second_ideal_message_dynamic": { "type": "boolean", "description": "When true, `second_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "numerals": { "type": "boolean", "description": "Convert numbers from words to digits." }, "punctuate": { "type": "boolean", "description": "Add punctuation to the transcript." }, "smart_format": { "type": "boolean", "description": "Apply smart formatting to the transcript." }, "diarize": { "type": "boolean", "description": "Identify different speakers in the transcript." } } }, "model": { "type": "object", "description": "Configuration for the language model.", "properties": { "model": { "type": "string", "enum": ["azure-gpt-4.1-mini", "azure-gpt-4.1-nano", "azure-gpt-4o", "azure-gpt-4o-mini", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gpt-3.5-turbo", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "gpt-5.1", "llama-3.3-70b-versatile"], "description": "The language model to use. The current catalog is returned by the LLM providers list." }, "temperature": { "type": "number", "minimum": 0, "maximum": 1, "description": "Controls randomness in the model's output (0.0 to 1.0)." } } }, "voice": { "type": "object", "description": "Configuration for the text-to-speech voice.", "properties": { "provider": { "type": "string", "enum": ["eleven_labs", "google", "cartesia", "sarvam"], "description": "The voice provider to use. The current catalog is returned by the TTS providers list." }, "voice_id": { "type": "string", "description": "The provider's voice identifier, returned in the `name` field of the voices list (not the numeric `id`)." }, "model": { "type": "string", "description": "TTS model identifier. Only consumed when `provider` is\n`cartesia` (e.g. `sonic-3.5`). For ElevenLabs and other\nproviders the model is implied by `voice_id` and this\nfield is ignored.\n" }, "speech_speed": { "type": "number", "minimum": 0.5, "maximum": 2, "default": 1, "description": "Playback speed multiplier for the agent's voice. 1.0 is normal speed." } } }, "web_search": { "type": "object", "description": "Configuration for web search capabilities.", "properties": { "enabled": { "type": "boolean", "description": "Enable or disable web search functionality." }, "provider": { "type": "string", "enum": ["DuckDuckGo"], "description": "The search provider to use." } } }, "post_call_actions": { "type": "object", "description": "Side effects that fire once the call ends. Configure email, webhook, or both.", "properties": { "email": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "recipients": { "type": "array", "description": "Email addresses that should receive the notification.", "items": { "type": "string", "format": "email" } }, "include": { "type": "array", "description": "Which sections to include in the email body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the email.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload." }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this action. Omit to\nuse the default (`completed`, `voicemail_detected`).\nPass an explicit list to also include failed calls,\nno-answers, busy signals, etc.\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] } } } }, "webhook": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string", "format": "uri", "description": "Endpoint that receives a POST with the call payload." }, "include": { "type": "array", "description": "Which sections to include in the webhook body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the webhook.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload." }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this webhook. Omit to\nuse the default (`completed`, `voicemail_detected`).\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] } } } } } }, "transfer": { "type": "object", "description": "Conditional call transfer to a human agent or another number.", "properties": { "enabled": { "type": "boolean" }, "transfer_options": { "type": "array", "description": "Where to transfer the call and under what condition. The first matching condition wins.", "items": { "type": "object", "required": ["number", "transfer_condition", "transfer_message"], "properties": { "number": { "type": "string", "description": "Primary phone number to transfer to. Include country code with leading `+`." }, "type": { "type": "string", "enum": ["static", "dynamic"], "default": "static", "description": "`static` transfers to `number`. `dynamic` lets the agent\npick a number at runtime based on the conversation.\n" }, "backup_numbers": { "type": "array", "description": "Fallback numbers tried if the primary is unreachable.", "items": { "type": "string" } }, "transfer_condition": { "type": "string", "description": "Natural-language condition that triggers this transfer option." }, "transfer_message": { "type": "string", "description": "Message the agent says to the caller before executing the transfer." } } } } } }, "end_call": { "type": "object", "description": "Hang up automatically when a condition is met.", "properties": { "enabled": { "type": "boolean" }, "condition": { "type": "string", "description": "Natural-language condition that triggers ending the call. Only evaluated when `enabled` is true." }, "message": { "type": "string", "description": "What the agent says before hanging up." }, "message_type": { "type": "string", "enum": ["static", "prompt"], "description": "`static` speaks `message` verbatim. `prompt` treats\n`message_prompt` as an LLM instruction and generates a\nfresh closing line each call (useful for matching the\ncaller's language and tone).\n" }, "message_prompt": { "type": "string", "description": "LLM prompt used to generate the closing line when `message_type` is `prompt`." } } }, "background_track": { "type": "object", "description": "Ambient background noise that plays under the agent's voice.", "properties": { "enabled": { "type": "boolean", "description": "Whether to mix the ambient track under the agent's audio." }, "name": { "type": "string", "enum": ["call_center", "filler", "office", "office_1", "restaurant"], "description": "Ambient track to mix under the agent." }, "volume": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2, "description": "Volume level on a 0–1 scale. Default 0.2." }, "tts_volume_reduction": { "type": "number", "minimum": 0, "maximum": 1, "description": "Amount to drop the agent's TTS volume while the ambient track plays, on a 0–1 scale. Helps the voice cut through without raising the overall mix." } } }, "initial_ringing_sound_enabled": { "type": "boolean", "description": "Plays a ringing tone after the call is picked up, until the agent starts speaking." }, "voicemail": { "type": "object", "description": "Voicemail / answering-machine handling for outbound calls. Set this with the nested object shown here; the agent object returns these values as the flat fields `voicemail_enabled` and `voicemail_message`. Voicemail detection is an access-gated feature. If it isn't enabled for your account, [request access](https://omnidim.io/contact-us?reason=product&lock=1).", "properties": { "enabled": { "type": "boolean", "description": "Detect voicemail and leave your message instead of speaking to a machine." }, "message": { "type": "string", "description": "Message to leave when voicemail is detected." } } }, "languages": { "type": "array", "description": "Languages the agent should support. Pass each language as a display-name string exactly as it appears in the dashboard's language picker. Unrecognized names are skipped.", "items": { "type": "string" } } } } }, "required": ["agent_id", "requestBody"] },
|
|
129
|
+
inputSchema: { "type": "object", "properties": { "agent_id": { "type": "number", "description": "The ID of the agent." }, "requestBody": { "type": "object", "description": "Agent configuration.", "properties": { "name": { "type": "string", "description": "Name for the agent." }, "welcome_message": { "type": "string", "description": "Initial message the agent will say when answering a call." }, "is_welcome_message_dynamic": { "type": "boolean", "description": "When true, the welcome message is treated as a directive the agent uses to generate a tailored greeting for each call, rather than being spoken word for word. When false, the welcome message is spoken exactly as written." }, "is_welcome_message_interruption": { "type": "boolean", "description": "Allow the caller to interrupt the welcome message. When false, the agent finishes speaking the welcome before listening." }, "is_interruption_allowed": { "type": "boolean", "description": "Global toggle for whether the caller can interrupt the agent mid-sentence at any point in the call." }, "dynamic_variables": { "type": "object", "description": "Key/value map used to substitute placeholders in the agent's\nprompt and welcome message at call time. Reference a variable\nin your prompt with `{{variable_name}}`. Useful for\npersonalising the same agent across many calls.\n", "additionalProperties": { "type": "string" } }, "context_breakdown": { "type": "array", "description": "List of context breakdowns, each containing `title`, `body`, and optional `is_enabled`.", "items": { "type": "object", "required": ["title", "body"], "properties": { "title": { "type": "string", "description": "Title of the breakdown." }, "body": { "type": "string", "description": "Body of the breakdown, the detailed prompt content." }, "is_enabled": { "type": "boolean", "default": true, "description": "Whether this section is included in the prompt." } } } }, "call_type": { "type": "string", "enum": ["Incoming", "Outgoing"], "description": "Call type of the assistant." }, "transcriber": { "type": "object", "description": "Configuration for the speech-to-text transcriber.", "properties": { "provider": { "type": "string", "enum": ["deepgram_stream", "cartesia", "sarvam", "azure_stream", "soniox"], "description": "The speech-to-text provider to use." }, "model": { "type": "string", "enum": ["nova-3", "nova-2"], "description": "The model to use for transcription (required when provider is `deepgram_stream`)." }, "language": { "type": "string", "description": "Language code for the transcriber. Format and supported\nvalues depend on the provider (e.g. `en-US` for Deepgram,\n`hi-IN` for Sarvam). Applies regardless of which\n`provider` is selected.\n" }, "silence_timeout_ms": { "type": "number", "description": "Silence timeout in milliseconds." }, "should_apply_noise_reduction": { "type": "boolean", "description": "Reduce background noise on the inbound audio stream before transcription." }, "interruption_min_words": { "type": "number", "minimum": 1, "description": "Minimum number of words the caller must say before their speech is treated as an interruption." }, "max_call_duration_in_sec": { "type": "number", "minimum": 1, "description": "Hard upper bound on call length in seconds. The agent will end the call once this is reached." }, "first_ideal_message": { "type": "string", "description": "First nudge spoken when the caller goes silent past the\nidle threshold. Set `is_first_ideal_message_dynamic` to\n`true` to have the LLM regenerate this each time.\n" }, "is_first_ideal_message_dynamic": { "type": "boolean", "description": "When true, `first_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "second_ideal_message": { "type": "string", "description": "Second nudge spoken if silence continues after the first." }, "is_second_ideal_message_dynamic": { "type": "boolean", "description": "When true, `second_ideal_message` is treated as a prompt and the LLM generates a fresh nudge each call." }, "numerals": { "type": "boolean", "description": "Convert numbers from words to digits." }, "punctuate": { "type": "boolean", "description": "Add punctuation to the transcript." }, "smart_format": { "type": "boolean", "description": "Apply smart formatting to the transcript." }, "diarize": { "type": "boolean", "description": "Identify different speakers in the transcript." } } }, "model": { "type": "object", "description": "Configuration for the language model.", "properties": { "model": { "type": "string", "enum": ["azure-gpt-4.1-mini", "azure-gpt-4.1-nano", "azure-gpt-4o", "azure-gpt-4o-mini", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gpt-3.5-turbo", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "gpt-5.1", "llama-3.3-70b-versatile"], "description": "The language model to use. The current catalog is returned by the LLM providers list." }, "temperature": { "type": "number", "minimum": 0, "maximum": 1, "description": "Controls randomness in the model's output (0.0 to 1.0)." } } }, "voice": { "type": "object", "description": "Configuration for the text-to-speech voice. `provider` and `voice_id` identify the voice together, so send both to change it. `provider` on its own is not accepted, and a `voice_id` on its own leaves the voice as it was. The other fields here apply independently.", "dependentRequired": { "provider": ["voice_id"] }, "properties": { "provider": { "type": "string", "enum": ["eleven_labs", "google", "cartesia", "sarvam"], "description": "The voice provider to use. The current catalog is returned by the TTS providers list. Send `voice_id` alongside it." }, "voice_id": { "type": "string", "description": "The provider's voice identifier, returned in the `name` field of the voices list (not the numeric `id`). Takes effect when `provider` is sent alongside it." }, "model": { "type": "string", "description": "TTS model identifier. Only consumed when `provider` is\n`cartesia` (e.g. `sonic-3.5`). For ElevenLabs and other\nproviders the model is implied by `voice_id` and this\nfield is ignored.\n" }, "speech_speed": { "type": "number", "minimum": 0.5, "maximum": 2, "default": 1, "description": "Playback speed multiplier for the agent's voice. 1.0 is normal speed." } } }, "web_search": { "type": "object", "description": "Configuration for web search capabilities.", "properties": { "enabled": { "type": "boolean", "description": "Enable or disable web search functionality." }, "provider": { "type": "string", "enum": ["DuckDuckGo"], "description": "The search provider to use." } } }, "post_call_actions": { "type": "object", "description": "Side effects that fire once the call ends. Configure email, webhook, or both.", "properties": { "email": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "recipients": { "type": "array", "description": "Email addresses that should receive the notification.", "items": { "type": "string", "format": "email" } }, "include": { "type": "array", "description": "Which sections to include in the email body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the email.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload." }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this action. Omit to\nuse the default (`completed`, `voicemail_detected`).\nPass an explicit list to also include failed calls,\nno-answers, busy signals, etc.\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] } } } }, "webhook": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string", "format": "uri", "description": "Endpoint that receives a POST with the call payload." }, "include": { "type": "array", "description": "Which sections to include in the webhook body.", "items": { "type": "string", "enum": ["summary", "extracted_variables", "fullConversation", "sentiment"] } }, "extracted_variables": { "type": "array", "description": "Variables the model should pull out of the conversation for the webhook.", "items": { "type": "object", "required": ["key", "prompt"], "properties": { "key": { "type": "string", "description": "Unique identifier for the variable in the post-call payload." }, "prompt": { "type": "string", "description": "Instruction for the model on what to pull out of the conversation." } } } }, "trigger_call_statuses": { "type": "array", "description": "Call outcomes that should fire this webhook. Omit to\nuse the default (`completed`, `voicemail_detected`).\n", "items": { "type": "string", "enum": ["completed", "voicemail_detected", "failed", "no_answer", "busy", "cancelled"] } } } } } }, "transfer": { "type": "object", "description": "Conditional call transfer to a human agent or another number.", "properties": { "enabled": { "type": "boolean" }, "transfer_options": { "type": "array", "description": "Where to transfer the call and under what condition. The first matching condition wins. In an agent update, sending this list replaces all saved options. Omit it to keep them unchanged, or send an empty array to clear them.", "items": { "type": "object", "required": ["number", "transfer_condition", "transfer_message"], "properties": { "number": { "type": "string", "description": "Primary phone number to transfer to. Include country code with leading `+`." }, "type": { "type": "string", "enum": ["static", "dynamic"], "default": "static", "description": "`static` transfers to `number`. `dynamic` lets the agent\npick a number at runtime based on the conversation.\n" }, "backup_numbers": { "type": "array", "description": "Fallback numbers tried if the primary is unreachable.", "items": { "type": "string" } }, "transfer_condition": { "type": "string", "description": "Natural-language condition that triggers this transfer option." }, "transfer_message": { "type": "string", "description": "Message the agent says to the caller before executing the transfer." } } } } } }, "end_call": { "type": "object", "description": "Hang up automatically when a condition is met.", "properties": { "enabled": { "type": "boolean" }, "condition": { "type": "string", "description": "Natural-language condition that triggers ending the call. Only evaluated when `enabled` is true." }, "message": { "type": "string", "description": "What the agent says before hanging up." }, "message_type": { "type": "string", "enum": ["static", "prompt"], "description": "`static` speaks `message` verbatim. `prompt` treats\n`message_prompt` as an LLM instruction and generates a\nfresh closing line each call (useful for matching the\ncaller's language and tone).\n" }, "message_prompt": { "type": "string", "description": "LLM prompt used to generate the closing line when `message_type` is `prompt`." } } }, "background_track": { "type": "object", "description": "Ambient background noise that plays under the agent's voice.", "properties": { "enabled": { "type": "boolean", "description": "Whether to mix the ambient track under the agent's audio." }, "name": { "type": "string", "enum": ["call_center", "filler", "office", "office_1", "restaurant"], "description": "Ambient track to mix under the agent." }, "volume": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2, "description": "Volume level on a 0–1 scale. Default 0.2." }, "tts_volume_reduction": { "type": "number", "minimum": 0, "maximum": 1, "description": "Amount to drop the agent's TTS volume while the ambient track plays, on a 0–1 scale. Helps the voice cut through without raising the overall mix." } } }, "initial_ringing_sound_enabled": { "type": "boolean", "description": "Plays a ringing tone after the call is picked up, until the agent starts speaking." }, "voicemail": { "type": "object", "description": "Voicemail / answering-machine handling for outbound calls. Set this with the nested object shown here; the agent object returns these values as the flat fields `voicemail_enabled` and `voicemail_message`. Voicemail detection is an access-gated feature. If it isn't enabled for your account, [request access](https://omnidim.io/contact-us?reason=product&lock=1).", "properties": { "enabled": { "type": "boolean", "description": "Detect voicemail and leave your message instead of speaking to a machine." }, "message": { "type": "string", "description": "Message to leave when voicemail is detected." } } }, "languages": { "type": "array", "description": "Languages the agent should support. Pass each language as a display-name string exactly as it appears in the dashboard's language picker. Unrecognized names are skipped.", "items": { "type": "string" } } } } }, "required": ["agent_id", "requestBody"] },
|
|
131
130
|
method: "put",
|
|
132
131
|
pathTemplate: "/agents/{agent_id}",
|
|
133
132
|
executionParameters: [{ "name": "agent_id", "in": "path" }],
|
|
@@ -233,7 +232,7 @@ before configuring the \`voicemail\` object.
|
|
|
233
232
|
phone number must include a country code with a leading plus.
|
|
234
233
|
|
|
235
234
|
(Tags: Calls)`,
|
|
236
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["agent_id", "to_number"], "properties": { "agent_id": { "type": "number", "description": "The ID of the agent that will handle the call." }, "to_number": { "type": "string", "description": "The phone number to call. Must include country code (e.g., +15551234567)." }, "from_number_id": { "type": "number", "description": "Id of a phone number on your account to place the call from (see the phone number list endpoint). Omit to use the platform's default number." }, "call_context": { "type": "object", "description": "Optional context information as key-value pairs to be passed to the agent during the call. Can contain any custom fields relevant to your use case.", "additionalProperties": true } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
235
|
+
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["agent_id", "to_number"], "properties": { "agent_id": { "type": "number", "description": "The ID of the agent that will handle the call." }, "to_number": { "type": "string", "description": "The phone number to call. Must include country code (e.g., +15551234567)." }, "from_number_id": { "type": "number", "description": "Id of a phone number on your account to place the call from (see the phone number list endpoint). Omit to use the platform's default number." }, "call_context": { "type": "object", "description": "Optional context information as key-value pairs to be passed to the agent during the call. Can contain any custom fields relevant to your use case.", "additionalProperties": true }, "metadata": { "type": "object", "additionalProperties": true, "description": "Key-value pairs stored on the call for your own tracking\n(e.g. CRM or lead IDs). Not shared with the agent; echoed\nback as `metadata` in the post-call webhook so you can\ncorrelate results with your records.\n" } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
237
236
|
method: "post",
|
|
238
237
|
pathTemplate: "/calls/dispatch",
|
|
239
238
|
executionParameters: [],
|
|
@@ -459,7 +458,9 @@ operating hours.
|
|
|
459
458
|
}],
|
|
460
459
|
["listPhoneNumbers", {
|
|
461
460
|
name: "listPhoneNumbers",
|
|
462
|
-
description: `Retrieve
|
|
461
|
+
description: `Retrieve the phone numbers on your account, whether you bought them
|
|
462
|
+
from the OmniDimension number shop or imported your own.
|
|
463
|
+
|
|
463
464
|
(Tags: Phone numbers)`,
|
|
464
465
|
inputSchema: { "type": "object", "properties": { "pageno": { "type": "integer", "minimum": 1, "default": 1, "description": "Page number for pagination." }, "pagesize": { "type": "integer", "minimum": 1, "default": 30, "maximum": 150, "description": "Items per page (max 150)." } } },
|
|
465
466
|
method: "get",
|
|
@@ -470,6 +471,55 @@ operating hours.
|
|
|
470
471
|
tags: ["Phone numbers"],
|
|
471
472
|
deprecated: false
|
|
472
473
|
}],
|
|
474
|
+
["searchPhoneNumbers", {
|
|
475
|
+
name: "searchPhoneNumbers",
|
|
476
|
+
description: `Search the OmniDimension number shop for phone numbers available to buy
|
|
477
|
+
in a region. Price and validity are flat per region, so every result
|
|
478
|
+
shows the same \`monthly_rental_usd\` and \`validity_days\`, and that is the
|
|
479
|
+
exact amount a purchase will charge.
|
|
480
|
+
|
|
481
|
+
(Tags: Phone numbers)`,
|
|
482
|
+
inputSchema: { "type": "object", "properties": { "region": { "type": "string", "enum": ["IN", "US"], "description": "Region to search in." }, "pattern": { "type": "string", "description": "Digits or prefix to match within the number." }, "page": { "type": "number", "minimum": 1, "default": 1, "description": "Page of results to return." }, "limit": { "type": "number", "minimum": 1, "maximum": 150, "default": 20, "description": "Results per page." } }, "required": ["region"] },
|
|
483
|
+
method: "get",
|
|
484
|
+
pathTemplate: "/phone_number/search",
|
|
485
|
+
executionParameters: [{ "name": "region", "in": "query" }, { "name": "pattern", "in": "query" }, { "name": "page", "in": "query" }, { "name": "limit", "in": "query" }],
|
|
486
|
+
requestBodyContentType: undefined,
|
|
487
|
+
securityRequirements: [{ "BearerAuth": [] }],
|
|
488
|
+
tags: ["Phone numbers"],
|
|
489
|
+
deprecated: false
|
|
490
|
+
}],
|
|
491
|
+
["purchasePhoneNumber", {
|
|
492
|
+
name: "purchasePhoneNumber",
|
|
493
|
+
description: `Buy a phone number from the OmniDimension number shop. The monthly
|
|
494
|
+
rental comes out of your wallet and the number is added to your
|
|
495
|
+
account, ready to attach to an agent.
|
|
496
|
+
|
|
497
|
+
(Tags: Phone numbers)`,
|
|
498
|
+
inputSchema: { "type": "object", "properties": { "Idempotency-Key": { "type": "string", "description": "Your own unique key for this purchase, for example a\nfresh UUID. Strongly recommended: it is what makes a\nretry safe.\n" }, "requestBody": { "type": "object", "required": ["region", "phone_number"], "properties": { "region": { "type": "string", "enum": ["IN", "US"], "description": "Region the number belongs to." }, "phone_number": { "type": "string", "description": "The number to buy, as returned by the search operation." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
499
|
+
method: "post",
|
|
500
|
+
pathTemplate: "/phone_number/purchase",
|
|
501
|
+
executionParameters: [{ "name": "Idempotency-Key", "in": "header" }],
|
|
502
|
+
requestBodyContentType: "application/json",
|
|
503
|
+
securityRequirements: [{ "BearerAuth": [] }],
|
|
504
|
+
tags: ["Phone numbers"],
|
|
505
|
+
deprecated: false
|
|
506
|
+
}],
|
|
507
|
+
["releasePhoneNumber", {
|
|
508
|
+
name: "releasePhoneNumber",
|
|
509
|
+
description: `Give up a phone number and stop its rental, so it is not charged at the
|
|
510
|
+
next renewal. Only a number currently allocated to the account can be
|
|
511
|
+
released.
|
|
512
|
+
|
|
513
|
+
(Tags: Phone numbers)`,
|
|
514
|
+
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["phone_number"], "properties": { "phone_number": { "type": "string", "description": "The number to release." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
515
|
+
method: "post",
|
|
516
|
+
pathTemplate: "/phone_number/release",
|
|
517
|
+
executionParameters: [],
|
|
518
|
+
requestBodyContentType: "application/json",
|
|
519
|
+
securityRequirements: [{ "BearerAuth": [] }],
|
|
520
|
+
tags: ["Phone numbers"],
|
|
521
|
+
deprecated: false
|
|
522
|
+
}],
|
|
473
523
|
["attachPhoneNumber", {
|
|
474
524
|
name: "attachPhoneNumber",
|
|
475
525
|
description: `Attach an account-owned phone number to an existing agent.
|
|
@@ -616,157 +666,6 @@ Other providers support basic pagination only.
|
|
|
616
666
|
tags: ["Providers"],
|
|
617
667
|
deprecated: false
|
|
618
668
|
}],
|
|
619
|
-
["listChildOrganizations", {
|
|
620
|
-
name: "listChildOrganizations",
|
|
621
|
-
description: `List all child organizations and their users under the reseller
|
|
622
|
-
account. Returns each organization's balance, cost-per-minute
|
|
623
|
-
rate, and concurrency limit, plus the dashboard menu access
|
|
624
|
-
flags scoped to your reseller's permissions for every user.
|
|
625
|
-
|
|
626
|
-
(Tags: Reseller)`,
|
|
627
|
-
inputSchema: { "type": "object", "properties": {} },
|
|
628
|
-
method: "get",
|
|
629
|
-
pathTemplate: "/reseller/organizations",
|
|
630
|
-
executionParameters: [],
|
|
631
|
-
requestBodyContentType: undefined,
|
|
632
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
633
|
-
tags: ["Reseller"],
|
|
634
|
-
deprecated: false
|
|
635
|
-
}],
|
|
636
|
-
["addUser", {
|
|
637
|
-
name: "addUser",
|
|
638
|
-
description: `Create a new child user and organization under the reseller.
|
|
639
|
-
The new organization is linked to your reseller account
|
|
640
|
-
automatically.
|
|
641
|
-
|
|
642
|
-
(Tags: Reseller)`,
|
|
643
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["name", "email", "phone", "password"], "properties": { "name": { "type": "string", "description": "Full name of the new user." }, "email": { "type": "string", "format": "email", "description": "Email address. Also used as the login." }, "phone": { "type": "string", "description": "Phone number including country code (e.g. `+15551234567`)." }, "password": { "type": "string", "format": "password", "description": "Account password for the new user." }, "welcome_minutes_to_credit": { "type": "number", "description": "Minutes to credit to the new account on signup." }, "cost_per_min": { "type": "number", "description": "Cost per minute charged to this user (e.g. `0.20`). Must be at least the reseller's premium model rate." }, "concurrent_call_limit": { "type": "number", "description": "Maximum number of concurrent calls allowed for this account." }, "expiry_date": { "type": "string", "format": "date", "description": "Account expiry date in `YYYY-MM-DD` format (e.g. `2026-12-31`)." }, "user_currency": { "type": "string", "description": "ISO 4217 currency code for the account (e.g. `USD`, `INR`). Defaults to the reseller's currency." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
644
|
-
method: "post",
|
|
645
|
-
pathTemplate: "/reseller/users/add",
|
|
646
|
-
executionParameters: [],
|
|
647
|
-
requestBodyContentType: "application/json",
|
|
648
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
649
|
-
tags: ["Reseller"],
|
|
650
|
-
deprecated: false
|
|
651
|
-
}],
|
|
652
|
-
["setUserAccessControl", {
|
|
653
|
-
name: "setUserAccessControl",
|
|
654
|
-
description: `Enable or disable dashboard menu access flags for a child user.
|
|
655
|
-
Only the flags you pass are changed. Flags outside your
|
|
656
|
-
reseller's permissions are silently ignored.
|
|
657
|
-
|
|
658
|
-
(Tags: Reseller)`,
|
|
659
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["user_id", "dashboard_menu_access"], "properties": { "user_id": { "type": "number", "description": "ID of the child user to update." }, "dashboard_menu_access": { "allOf": [{ "type": "object", "description": "Reseller-managed dashboard menu access flags. Each property is\na boolean toggle for a feature area in the child user's\ndashboard. On read endpoints, only flags the reseller\nthemselves has enabled are returned (so a child cannot have a\nflag the reseller doesn't have).\n", "properties": { "is_bots_menu_access": { "type": "boolean" }, "is_leads_access": { "type": "boolean" }, "is_voice_cloning_access": { "type": "boolean" }, "is_workflow_access": { "type": "boolean" }, "is_asr_evaluation_menu_access": { "type": "boolean" }, "is_train_with_call_recording_menu_access": { "type": "boolean" }, "is_call_logs_menu_access": { "type": "boolean" }, "is_call_simulation_menu_access": { "type": "boolean" }, "is_omni_crm_access": { "type": "boolean" }, "access_to_monitor_live_call": { "type": "boolean" }, "is_whatsapp_flow_enabled": { "type": "boolean" }, "is_billing_menu_access": { "type": "boolean" }, "is_knowledge_base_access": { "type": "boolean" }, "is_integration_access": { "type": "boolean" }, "is_phone_number_access": { "type": "boolean" }, "is_bulk_call_access": { "type": "boolean" }, "is_analytics_access": { "type": "boolean" } } }], "description": "Flags to update. Only pass the flags you want to\nchange. Others are left untouched. Flags outside\nyour reseller's permissions are silently dropped.\n" } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
660
|
-
method: "post",
|
|
661
|
-
pathTemplate: "/reseller/users/access-control",
|
|
662
|
-
executionParameters: [],
|
|
663
|
-
requestBodyContentType: "application/json",
|
|
664
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
665
|
-
tags: ["Reseller"],
|
|
666
|
-
deprecated: false
|
|
667
|
-
}],
|
|
668
|
-
["setUserExpiry", {
|
|
669
|
-
name: "setUserExpiry",
|
|
670
|
-
description: `Set or remove the expiry date on a child user. The user must
|
|
671
|
-
belong to a child organization of your reseller.
|
|
672
|
-
|
|
673
|
-
(Tags: Reseller)`,
|
|
674
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["user_id"], "properties": { "user_id": { "type": "number", "description": "ID of the child user to update." }, "expiry_date": { "type": ["string", "null"], "format": "date", "description": "Expiry date in `YYYY-MM-DD` format. Omit or pass `null` to remove the expiry." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
675
|
-
method: "post",
|
|
676
|
-
pathTemplate: "/reseller/users/expiry",
|
|
677
|
-
executionParameters: [],
|
|
678
|
-
requestBodyContentType: "application/json",
|
|
679
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
680
|
-
tags: ["Reseller"],
|
|
681
|
-
deprecated: false
|
|
682
|
-
}],
|
|
683
|
-
["setChildConcurrency", {
|
|
684
|
-
name: "setChildConcurrency",
|
|
685
|
-
description: `Set the maximum number of simultaneous calls a child
|
|
686
|
-
organization can run. Slots come from the reseller's shared
|
|
687
|
-
pool. Increasing the limit deducts the delta from your pool
|
|
688
|
-
and fails if you don't have enough slots. Decreasing the
|
|
689
|
-
limit returns the delta to your pool immediately.
|
|
690
|
-
|
|
691
|
-
(Tags: Reseller)`,
|
|
692
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["child_organization_id", "new_limit"], "properties": { "child_organization_id": { "type": "number", "description": "ID of the child organization to update." }, "new_limit": { "type": "number", "description": "The desired absolute concurrent call limit (must be `>= 0`)." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
693
|
-
method: "post",
|
|
694
|
-
pathTemplate: "/reseller/concurrency",
|
|
695
|
-
executionParameters: [],
|
|
696
|
-
requestBodyContentType: "application/json",
|
|
697
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
698
|
-
tags: ["Reseller"],
|
|
699
|
-
deprecated: false
|
|
700
|
-
}],
|
|
701
|
-
["calculateCreditOperation", {
|
|
702
|
-
name: "calculateCreditOperation",
|
|
703
|
-
description: `Preview the cost of a transfer or revert without moving any
|
|
704
|
-
credits. Use this to confirm amounts before calling the
|
|
705
|
-
transfer or revert endpoints. The response shape differs
|
|
706
|
-
between forward transfers and reverts. See the examples.
|
|
707
|
-
|
|
708
|
-
(Tags: Reseller)`,
|
|
709
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["minutes"], "properties": { "minutes": { "type": "number", "description": "Number of minutes to calculate for." }, "cost_per_min": { "type": "number", "description": "Rate per minute for a forward transfer (e.g. `0.20`). Not required when `is_revert` is `true`." }, "is_revert": { "type": "boolean", "description": "Set to `true` to calculate a revert instead of a forward transfer.", "default": false }, "child_organization_id": { "type": "number", "description": "ID of the child organization to revert credits from. Required when `is_revert` is `true`." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
710
|
-
method: "post",
|
|
711
|
-
pathTemplate: "/reseller/credits/calculate",
|
|
712
|
-
executionParameters: [],
|
|
713
|
-
requestBodyContentType: "application/json",
|
|
714
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
715
|
-
tags: ["Reseller"],
|
|
716
|
-
deprecated: false
|
|
717
|
-
}],
|
|
718
|
-
["transferCreditsToChild", {
|
|
719
|
-
name: "transferCreditsToChild",
|
|
720
|
-
description: `Transfer minutes from the reseller balance to a child
|
|
721
|
-
organization. Credits are deducted from your balance
|
|
722
|
-
immediately on success. The target organization must be a
|
|
723
|
-
direct child of your reseller. Use the calculate endpoint
|
|
724
|
-
first to preview the cost.
|
|
725
|
-
|
|
726
|
-
(Tags: Reseller)`,
|
|
727
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["to_organization_id", "minutes", "cost_per_min"], "properties": { "to_organization_id": { "type": "number", "description": "ID of the child organization to transfer credits to." }, "minutes": { "type": "number", "description": "Number of minutes to transfer." }, "cost_per_min": { "type": "number", "description": "Rate per minute to charge the child organization (e.g. `0.20`)." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
728
|
-
method: "post",
|
|
729
|
-
pathTemplate: "/reseller/credits/transfer",
|
|
730
|
-
executionParameters: [],
|
|
731
|
-
requestBodyContentType: "application/json",
|
|
732
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
733
|
-
tags: ["Reseller"],
|
|
734
|
-
deprecated: false
|
|
735
|
-
}],
|
|
736
|
-
["revertCreditsFromChild", {
|
|
737
|
-
name: "revertCreditsFromChild",
|
|
738
|
-
description: `Take back unused minutes from a child organization to the
|
|
739
|
-
reseller balance. The refund is calculated at the child's
|
|
740
|
-
current rate, so you don't pass one. This matches exactly
|
|
741
|
-
what was originally charged. Use the calculate endpoint
|
|
742
|
-
first to preview the refund.
|
|
743
|
-
|
|
744
|
-
(Tags: Reseller)`,
|
|
745
|
-
inputSchema: { "type": "object", "properties": { "requestBody": { "type": "object", "required": ["from_organization_id", "minutes"], "properties": { "from_organization_id": { "type": "number", "description": "ID of the child organization to revert credits from." }, "minutes": { "type": "number", "description": "Number of minutes to revert." } }, "description": "The JSON request body." } }, "required": ["requestBody"] },
|
|
746
|
-
method: "post",
|
|
747
|
-
pathTemplate: "/reseller/credits/revert",
|
|
748
|
-
executionParameters: [],
|
|
749
|
-
requestBodyContentType: "application/json",
|
|
750
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
751
|
-
tags: ["Reseller"],
|
|
752
|
-
deprecated: false
|
|
753
|
-
}],
|
|
754
|
-
["getResellerCreditLogs", {
|
|
755
|
-
name: "getResellerCreditLogs",
|
|
756
|
-
description: `Paginated history of all credit transfers and reverts for the
|
|
757
|
-
reseller account. Returns reverse-chronological order by
|
|
758
|
-
default. Date filters are inclusive.
|
|
759
|
-
|
|
760
|
-
(Tags: Reseller)`,
|
|
761
|
-
inputSchema: { "type": "object", "properties": { "page": { "type": "integer", "minimum": 1, "default": 1, "description": "Page number for pagination." }, "page_size": { "type": "number", "default": 20, "description": "Number of records per page (max 100)." }, "date_from": { "type": "string", "format": "date", "description": "Filter logs from this date in `YYYY-MM-DD` format (e.g. `2026-01-01`)." }, "date_to": { "type": "string", "format": "date", "description": "Filter logs up to and including this date in `YYYY-MM-DD` format (e.g. `2026-03-31`)." } } },
|
|
762
|
-
method: "get",
|
|
763
|
-
pathTemplate: "/reseller/credits/logs",
|
|
764
|
-
executionParameters: [{ "name": "page", "in": "query" }, { "name": "page_size", "in": "query" }, { "name": "date_from", "in": "query" }, { "name": "date_to", "in": "query" }],
|
|
765
|
-
requestBodyContentType: undefined,
|
|
766
|
-
securityRequirements: [{ "BearerAuth": [] }],
|
|
767
|
-
tags: ["Reseller"],
|
|
768
|
-
deprecated: false
|
|
769
|
-
}],
|
|
770
669
|
]);
|
|
771
670
|
/**
|
|
772
671
|
* Security schemes from the OpenAPI spec
|