diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 9ce13a7..c13eb1a 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -3075,6 +3075,50 @@ } ] } + }, + "/enterprise": { + "post": { + "operationId": "EnterpriseInfoController_createEnterprise", + "summary": "Create Enterprise", + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateEnterpriseInfoDTO" + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterpriseInfo" + } + } + } + }, + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateEnterpriseInfoDTO" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } } }, "info": { @@ -5567,7 +5611,6 @@ "llama3-70b-8192", "llama3-groq-8b-8192-tool-use-preview", "llama3-groq-70b-8192-tool-use-preview", - "gemma-7b-it", "gemma2-9b-it" ] }, @@ -5787,7 +5830,13 @@ "type": "string", "description": "This is the OpenAI model that will be used.", "enum": [ + "o1-preview", + "o1-preview-2024-09-12", + "o1-mini", + "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", + "gpt-4o-realtime-preview-2024-12-17", + "gpt-4o-mini-realtime-preview-2024-12-17", "gpt-4o-mini", "gpt-4o-mini-2024-07-18", "gpt-4o", @@ -5812,7 +5861,13 @@ "type": "array", "description": "These are the fallback models that will be used if the primary model fails. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest fallbacks that make sense.", "enum": [ + "o1-preview", + "o1-preview-2024-09-12", + "o1-mini", + "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", + "gpt-4o-realtime-preview-2024-12-17", + "gpt-4o-mini-realtime-preview-2024-12-17", "gpt-4o-mini", "gpt-4o-mini-2024-07-18", "gpt-4o", @@ -5839,7 +5894,13 @@ "items": { "type": "string", "enum": [ + "o1-preview", + "o1-preview-2024-09-12", + "o1-mini", + "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", + "gpt-4o-realtime-preview-2024-12-17", + "gpt-4o-mini-realtime-preview-2024-12-17", "gpt-4o-mini", "gpt-4o-mini-2024-07-18", "gpt-4o", @@ -6987,6 +7048,8 @@ "eleven_multilingual_v2", "eleven_turbo_v2", "eleven_turbo_v2_5", + "eleven_flash_v2", + "eleven_flash_v2_5", "eleven_monolingual_v1" ], "example": "eleven_turbo_v2_5" @@ -7133,7 +7196,7 @@ ] }, "voiceId": { - "description": "This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with the `gpt-4o-realtime-preview-2024-10-01` model.", + "description": "This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.", "enum": [ "alloy", "echo", @@ -7897,6 +7960,8 @@ "eleven_multilingual_v2", "eleven_turbo_v2", "eleven_turbo_v2_5", + "eleven_flash_v2", + "eleven_flash_v2_5", "eleven_monolingual_v1" ], "example": "eleven_turbo_v2_5" @@ -8019,7 +8084,7 @@ ] }, "voiceId": { - "description": "This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with the `gpt-4o-realtime-preview-2024-10-01` model.", + "description": "This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.", "enum": [ "alloy", "echo", @@ -8938,6 +9003,10 @@ "$ref": "#/components/schemas/AssemblyAITranscriber", "title": "AssemblyAI" }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "Azure" + }, { "$ref": "#/components/schemas/CustomTranscriber", "title": "CustomTranscriber" @@ -9350,6 +9419,10 @@ "$ref": "#/components/schemas/AssemblyAITranscriber", "title": "AssemblyAI" }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "Azure" + }, { "$ref": "#/components/schemas/CustomTranscriber", "title": "CustomTranscriber" @@ -9858,13 +9931,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -10793,6 +10866,10 @@ "$ref": "#/components/schemas/AssemblyAITranscriber", "title": "AssemblyAI" }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "Azure" + }, { "$ref": "#/components/schemas/CustomTranscriber", "title": "CustomTranscriber" @@ -11229,6 +11306,10 @@ "$ref": "#/components/schemas/AssemblyAITranscriber", "title": "AssemblyAI" }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "Azure" + }, { "$ref": "#/components/schemas/CustomTranscriber", "title": "CustomTranscriber" @@ -11690,13 +11771,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "number": { "type": "string", @@ -11772,13 +11853,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "number": { "type": "string", @@ -11858,13 +11939,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "number": { "type": "string", @@ -11964,13 +12045,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "sipUri": { "type": "string", @@ -12045,13 +12126,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12107,13 +12188,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12167,13 +12248,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12230,13 +12311,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12279,13 +12360,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12330,13 +12411,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } }, "required": [ @@ -12410,13 +12491,13 @@ "type": "string", "description": "This is the squad that will be used for incoming calls to this phone number.\n\nIf neither `assistantId` nor `squadId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected." }, - "serverUrl": { - "type": "string", - "description": "This is the server URL where messages will be sent for calls on this number. This includes the `assistant-request` message.\n\nYou can see the shape of the messages sent in `ServerMessage`.\n\nThis overrides the `org.serverUrl`. Order of precedence: tool.server.url > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret Vapi will send with every message to your server. It's sent as a header called x-vapi-secret.\n\nSame precedence logic as serverUrl." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] } } }, @@ -12526,7 +12607,7 @@ }, "stripeCustomerEmail": { "type": "string", - "description": "This is the stripe customer's email." + "description": "This is the customer's email on Stripe." }, "referredByEmail": { "type": "string", @@ -12598,6 +12679,15 @@ "concurrencyLimitPurchased" ] }, + "UpdateSubscriptionDTO": { + "type": "object", + "properties": { + "stripeCustomerEmail": { + "type": "string", + "description": "This is the customer's email on Stripe." + } + } + }, "Payment": { "type": "object", "properties": { @@ -15658,6 +15748,29 @@ "metadata" ] }, + "ChatDTO": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OpenAIMessage" + } + }, + "assistantId": { + "type": "string" + }, + "assistant": { + "$ref": "#/components/schemas/CreateAssistantDTO" + }, + "assistantOverrides": { + "$ref": "#/components/schemas/AssistantOverrides" + } + }, + "required": [ + "messages" + ] + }, "AnthropicCredential": { "type": "object", "properties": { @@ -15833,7 +15946,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -15902,7 +16015,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -17780,7 +17893,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -17827,7 +17940,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -18821,7 +18934,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -18868,7 +18981,7 @@ "northcentralus", "norway", "southcentralus", - "sweden", + "swedencentral", "switzerland", "uk", "westus", @@ -19755,13 +19868,13 @@ "minimum": 0, "maximum": 1000 }, - "serverUrl": { - "type": "string", - "description": "This is the URL Vapi will communicate with via HTTP GET and POST Requests. This is used for retrieving context, function calling, and end-of-call reports.\n\nAll requests will be sent with the call object among other things relevant to that message. You can find more details in the Server URL documentation." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret you can set that Vapi will send with every request to your server. Will be sent as a header called x-vapi-secret." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "concurrencyLimit": { "type": "number", @@ -19865,13 +19978,13 @@ "minimum": 0, "maximum": 1000 }, - "serverUrl": { - "type": "string", - "description": "This is the URL Vapi will communicate with via HTTP GET and POST Requests. This is used for retrieving context, function calling, and end-of-call reports.\n\nAll requests will be sent with the call object among other things relevant to that message. You can find more details in the Server URL documentation." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret you can set that Vapi will send with every request to your server. Will be sent as a header called x-vapi-secret." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "concurrencyLimit": { "type": "number", @@ -19917,13 +20030,13 @@ "minimum": 0, "maximum": 1000 }, - "serverUrl": { - "type": "string", - "description": "This is the URL Vapi will communicate with via HTTP GET and POST Requests. This is used for retrieving context, function calling, and end-of-call reports.\n\nAll requests will be sent with the call object among other things relevant to that message. You can find more details in the Server URL documentation." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret you can set that Vapi will send with every request to your server. Will be sent as a header called x-vapi-secret." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "concurrencyLimit": { "type": "number", @@ -20067,13 +20180,13 @@ "minimum": 0, "maximum": 1000 }, - "serverUrl": { - "type": "string", - "description": "This is the URL Vapi will communicate with via HTTP GET and POST Requests. This is used for retrieving context, function calling, and end-of-call reports.\n\nAll requests will be sent with the call object among other things relevant to that message. You can find more details in the Server URL documentation." - }, - "serverUrlSecret": { - "type": "string", - "description": "This is the secret you can set that Vapi will send with every request to your server. Will be sent as a header called x-vapi-secret." + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server\n2. phoneNumber.server\n3. org.server", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] }, "concurrencyLimit": { "type": "number", @@ -20873,6 +20986,97 @@ } } }, + "CreateEnterpriseInfoDTO": { + "type": "object", + "properties": { + "companySize": { + "type": "string", + "description": "The size of the company." + }, + "source": { + "type": "string", + "description": "How the company heard about us." + }, + "companyType": { + "type": "string", + "description": "The type of the company." + }, + "callVolume": { + "type": "string", + "description": "The call volume of the company." + }, + "orgId": { + "type": "string", + "description": "The optional ID of the organization." + }, + "email": { + "type": "string", + "description": "The optional email of the company." + }, + "useCase": { + "type": "string", + "description": "The use case of the company." + } + }, + "required": [ + "companySize", + "source", + "companyType", + "callVolume" + ] + }, + "EnterpriseInfo": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier for the enterprise info." + }, + "companySize": { + "type": "string", + "description": "The size of the company." + }, + "source": { + "type": "string", + "description": "How the company heard about us." + }, + "companyType": { + "type": "string", + "description": "The type of the company." + }, + "callVolume": { + "type": "string", + "description": "The call volume of the company." + }, + "orgId": { + "type": "string", + "description": "The optional ID of the organization." + }, + "email": { + "type": "string", + "description": "The optional email of the company." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "The ISO 8601 date-time string of when the enterprise info was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "The ISO 8601 date-time string of when the enterprise info was last updated." + } + }, + "required": [ + "id", + "companySize", + "source", + "companyType", + "callVolume", + "createdAt", + "updatedAt" + ] + }, "ClientMessageConversationUpdate": { "type": "object", "properties": {