From ee70389333e0a356f85aeb7603d238ce21a2883c Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 16 Jul 2025 00:28:52 +0000 Subject: [PATCH] Update API specifications with fern api update --- fern/apis/api/openapi.json | 417 +++++++++++++++++++++++++++---------- 1 file changed, 311 insertions(+), 106 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index b462fde1..f4492f80 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -5456,7 +5456,7 @@ "/provider/{provider}/{resourceName}": { "post": { "operationId": "ProviderResourceController_createProviderResource", - "summary": "Create provider resource", + "summary": "Create Provider Resource", "parameters": [ { "name": "content-type", @@ -5504,7 +5504,7 @@ } }, "tags": [ - "provider" + "Provider Resources" ], "security": [ { @@ -5514,7 +5514,7 @@ }, "get": { "operationId": "ProviderResourceController_getProviderResourcesPaginated", - "summary": "Get paginated list of provider resources", + "summary": "List Provider Resources", "parameters": [ { "name": "provider", @@ -5684,7 +5684,7 @@ } }, "tags": [ - "provider" + "Provider Resources" ], "security": [ { @@ -5696,7 +5696,7 @@ "/provider/{provider}/{resourceName}/{id}": { "get": { "operationId": "ProviderResourceController_getProviderResource", - "summary": "Get provider resource by ID", + "summary": "Get Provider Resource", "parameters": [ { "name": "provider", @@ -5748,7 +5748,7 @@ } }, "tags": [ - "provider" + "Provider Resources" ], "security": [ { @@ -5758,7 +5758,7 @@ }, "delete": { "operationId": "ProviderResourceController_deleteProviderResource", - "summary": "Delete provider resource by ID", + "summary": "Delete Provider Resource", "parameters": [ { "name": "provider", @@ -5810,7 +5810,7 @@ } }, "tags": [ - "provider" + "Provider Resources" ], "security": [ { @@ -5820,7 +5820,7 @@ }, "patch": { "operationId": "ProviderResourceController_updateProviderResource", - "summary": "Update provider resource by ID", + "summary": "Update Provider Resource", "parameters": [ { "name": "provider", @@ -5872,7 +5872,7 @@ } }, "tags": [ - "provider" + "Provider Resources" ], "security": [ { @@ -13034,13 +13034,10 @@ "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", - "gpt-4.5-preview", "chatgpt-4o-latest", "o3", "o3-mini", "o4-mini", - "o1-preview", - "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", @@ -13136,13 +13133,10 @@ "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", - "gpt-4.5-preview", "chatgpt-4o-latest", "o3", "o3-mini", "o4-mini", - "o1-preview", - "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", @@ -13240,13 +13234,10 @@ "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", - "gpt-4.5-preview", "chatgpt-4o-latest", "o3", "o3-mini", "o4-mini", - "o1-preview", - "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "gpt-4o-realtime-preview-2024-10-01", @@ -13869,13 +13860,10 @@ "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", - "gpt-4.5-preview", "chatgpt-4o-latest", "o3", "o3-mini", "o4-mini", - "o1-preview", - "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "gpt-4o-mini-2024-07-18", @@ -15229,6 +15217,30 @@ } } }, + "KeypadInputPlan": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "This keeps track of whether the user has enabled keypad input.\nBy default, it is off.\n\n@default false" + }, + "timeoutSeconds": { + "type": "number", + "description": "This is the time in seconds to wait before processing the input.\nIf the input is not received within this time, the input will be ignored.\nIf set to \"off\", the input will be processed when the user enters a delimiter or immediately if no delimiter is used.\n\n@default 2", + "minimum": 0, + "maximum": 10 + }, + "delimiters": { + "type": "string", + "description": "This is the delimiter(s) that will be used to process the input.\nCan be '#', '*', or an empty array.", + "enum": [ + "#", + "*", + "" + ] + } + } + }, "WorkflowUserEditable": { "type": "object", "properties": { @@ -15247,6 +15259,27 @@ ] } }, + "model": { + "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", + "oneOf": [ + { + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" + }, + { + "$ref": "#/components/schemas/WorkflowGoogleModel", + "title": "WorkflowGoogleModel" + }, + { + "$ref": "#/components/schemas/WorkflowCustomModel", + "title": "WorkflowCustomModel" + } + ] + }, "transcriber": { "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", "oneOf": [ @@ -15397,6 +15430,30 @@ } ] }, + "hooks": { + "type": "array", + "description": "This is a set of actions that will be performed on certain events.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" + }, + { + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" + } + ] + } + }, "credentials": { "type": "array", "description": "These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.", @@ -15739,6 +15796,14 @@ "items": { "type": "string" } + }, + "keypadInputPlan": { + "description": "This is the plan for keypad input handling during workflow calls.", + "allOf": [ + { + "$ref": "#/components/schemas/KeypadInputPlan" + } + ] } }, "required": [ @@ -20355,6 +20420,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] }, @@ -20417,6 +20483,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] }, @@ -21793,7 +21860,7 @@ "authorizationId" ] }, - "TransferAssistantHookAction": { + "TransferHookAction": { "type": "object", "properties": { "type": { @@ -21821,7 +21888,7 @@ "type" ] }, - "FunctionCallAssistantHookAction": { + "FunctionCallHookAction": { "type": "object", "properties": { "messages": { @@ -21881,7 +21948,7 @@ "type" ] }, - "SayAssistantHookAction": { + "SayHookAction": { "type": "object", "properties": { "type": { @@ -21946,7 +22013,7 @@ "type" ] }, - "AssistantHookFilter": { + "CallHookFilter": { "type": "object", "properties": { "type": { @@ -21977,7 +22044,7 @@ "oneOf" ] }, - "AssistantHookCallEnding": { + "CallHookCallEnding": { "type": "object", "properties": { "on": { @@ -21994,8 +22061,8 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/ToolCallAssistantHookAction", - "title": "ToolCallAssistantHookAction" + "$ref": "#/components/schemas/ToolCallHookAction", + "title": "ToolCallHookAction" } ] } @@ -22004,7 +22071,7 @@ "description": "This is the set of filters that must match for the hook to trigger", "type": "array", "items": { - "$ref": "#/components/schemas/AssistantHookFilter" + "$ref": "#/components/schemas/CallHookFilter" } } }, @@ -22013,7 +22080,7 @@ "do" ] }, - "AssistantHookAssistantSpeechInterrupted": { + "CallHookAssistantSpeechInterrupted": { "type": "object", "properties": { "on": { @@ -22030,12 +22097,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/SayAssistantHookAction", - "title": "SayAssistantHookAction" + "$ref": "#/components/schemas/SayHookAction", + "title": "SayHookAction" }, { - "$ref": "#/components/schemas/ToolCallAssistantHookAction", - "title": "ToolCallAssistantHookAction" + "$ref": "#/components/schemas/ToolCallHookAction", + "title": "ToolCallHookAction" } ] } @@ -22046,7 +22113,7 @@ "do" ] }, - "AssistantHookCustomerSpeechInterrupted": { + "CallHookCustomerSpeechInterrupted": { "type": "object", "properties": { "on": { @@ -22063,12 +22130,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/SayAssistantHookAction", - "title": "SayAssistantHookAction" + "$ref": "#/components/schemas/SayHookAction", + "title": "SayHookAction" }, { - "$ref": "#/components/schemas/ToolCallAssistantHookAction", - "title": "ToolCallAssistantHookAction" + "$ref": "#/components/schemas/ToolCallHookAction", + "title": "ToolCallHookAction" } ] } @@ -22079,7 +22146,7 @@ "do" ] }, - "ToolCallAssistantHookAction": { + "ToolCallHookAction": { "type": "object", "properties": { "type": { @@ -22203,7 +22270,7 @@ "timeoutSeconds" ] }, - "AssistantHookCustomerSpeechTimeout": { + "CallHookCustomerSpeechTimeout": { "type": "object", "properties": { "on": { @@ -22217,12 +22284,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/SayAssistantHookAction", - "title": "SayAssistantHookAction" + "$ref": "#/components/schemas/SayHookAction", + "title": "SayHookAction" }, { - "$ref": "#/components/schemas/ToolCallAssistantHookAction", - "title": "ToolCallAssistantHookAction" + "$ref": "#/components/schemas/ToolCallHookAction", + "title": "ToolCallHookAction" } ] } @@ -22466,30 +22533,6 @@ } } }, - "KeypadInputPlan": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "This keeps track of whether the user has enabled keypad input.\nBy default, it is off.\n\n@default false" - }, - "timeoutSeconds": { - "type": "number", - "description": "This is the time in seconds to wait before processing the input.\nIf the input is not received within this time, the input will be ignored.\nIf set to \"off\", the input will be processed when the user enters a delimiter or immediately if no delimiter is used.\n\n@default 2", - "minimum": 0, - "maximum": 10 - }, - "delimiters": { - "type": "string", - "description": "This is the delimiter(s) that will be used to process the input.\nCan be '#', '*', or an empty array.", - "enum": [ - "#", - "*", - "" - ] - } - } - }, "CreateAssistantDTO": { "type": "object", "properties": { @@ -23153,20 +23196,20 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/AssistantHookCallEnding", - "title": "AssistantHookCallEnding" + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" }, { - "$ref": "#/components/schemas/AssistantHookAssistantSpeechInterrupted", - "title": "AssistantHookAssistantSpeechInterrupted" + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechInterrupted", - "title": "AssistantHookCustomerSpeechInterrupted" + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechTimeout", - "title": "AssistantHookCustomerSpeechTimeout" + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" } ] } @@ -23942,20 +23985,20 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/AssistantHookCallEnding", - "title": "AssistantHookCallEnding" + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" }, { - "$ref": "#/components/schemas/AssistantHookAssistantSpeechInterrupted", - "title": "AssistantHookAssistantSpeechInterrupted" + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechInterrupted", - "title": "AssistantHookCustomerSpeechInterrupted" + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechTimeout", - "title": "AssistantHookCustomerSpeechTimeout" + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" } ] } @@ -24150,6 +24193,27 @@ ] } }, + "model": { + "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", + "oneOf": [ + { + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" + }, + { + "$ref": "#/components/schemas/WorkflowGoogleModel", + "title": "WorkflowGoogleModel" + }, + { + "$ref": "#/components/schemas/WorkflowCustomModel", + "title": "WorkflowCustomModel" + } + ] + }, "transcriber": { "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", "oneOf": [ @@ -24300,6 +24364,30 @@ } ] }, + "hooks": { + "type": "array", + "description": "This is a set of actions that will be performed on certain events.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" + }, + { + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" + } + ] + } + }, "credentials": { "type": "array", "description": "These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.", @@ -24642,6 +24730,14 @@ "items": { "type": "string" } + }, + "keypadInputPlan": { + "description": "This is the plan for keypad input handling during workflow calls.", + "allOf": [ + { + "$ref": "#/components/schemas/KeypadInputPlan" + } + ] } }, "required": [ @@ -28537,20 +28633,20 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/AssistantHookCallEnding", - "title": "AssistantHookCallEnding" + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" }, { - "$ref": "#/components/schemas/AssistantHookAssistantSpeechInterrupted", - "title": "AssistantHookAssistantSpeechInterrupted" + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechInterrupted", - "title": "AssistantHookCustomerSpeechInterrupted" + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechTimeout", - "title": "AssistantHookCustomerSpeechTimeout" + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" } ] } @@ -29386,20 +29482,20 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/AssistantHookCallEnding", - "title": "AssistantHookCallEnding" + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" }, { - "$ref": "#/components/schemas/AssistantHookAssistantSpeechInterrupted", - "title": "AssistantHookAssistantSpeechInterrupted" + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechInterrupted", - "title": "AssistantHookCustomerSpeechInterrupted" + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" }, { - "$ref": "#/components/schemas/AssistantHookCustomerSpeechTimeout", - "title": "AssistantHookCustomerSpeechTimeout" + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" } ] } @@ -31049,7 +31145,7 @@ ] }, "headers": { - "description": "These are the headers to send in the request.", + "description": "These are the headers to send with the request.", "allOf": [ { "$ref": "#/components/schemas/JsonSchema" @@ -32591,7 +32687,7 @@ ] }, "headers": { - "description": "These are the headers to send in the request.", + "description": "These are the headers to send with the request.", "allOf": [ { "$ref": "#/components/schemas/JsonSchema" @@ -32970,7 +33066,7 @@ ] }, "headers": { - "description": "These are the headers to send in the request.", + "description": "These are the headers to send with the request.", "allOf": [ { "$ref": "#/components/schemas/JsonSchema" @@ -34135,6 +34231,27 @@ ] } }, + "model": { + "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", + "oneOf": [ + { + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" + }, + { + "$ref": "#/components/schemas/WorkflowGoogleModel", + "title": "WorkflowGoogleModel" + }, + { + "$ref": "#/components/schemas/WorkflowCustomModel", + "title": "WorkflowCustomModel" + } + ] + }, "transcriber": { "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", "oneOf": [ @@ -34285,6 +34402,30 @@ } ] }, + "hooks": { + "type": "array", + "description": "This is a set of actions that will be performed on certain events.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" + }, + { + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" + } + ] + } + }, "credentials": { "type": "array", "description": "These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.", @@ -34641,6 +34782,14 @@ "items": { "type": "string" } + }, + "keypadInputPlan": { + "description": "This is the plan for keypad input handling during workflow calls.", + "allOf": [ + { + "$ref": "#/components/schemas/KeypadInputPlan" + } + ] } }, "required": [ @@ -34671,6 +34820,27 @@ ] } }, + "model": { + "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", + "oneOf": [ + { + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" + }, + { + "$ref": "#/components/schemas/WorkflowGoogleModel", + "title": "WorkflowGoogleModel" + }, + { + "$ref": "#/components/schemas/WorkflowCustomModel", + "title": "WorkflowCustomModel" + } + ] + }, "transcriber": { "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", "oneOf": [ @@ -34821,6 +34991,30 @@ } ] }, + "hooks": { + "type": "array", + "description": "This is a set of actions that will be performed on certain events.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" + }, + { + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" + } + ] + } + }, "credentials": { "type": "array", "description": "These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.", @@ -35163,6 +35357,14 @@ "items": { "type": "string" } + }, + "keypadInputPlan": { + "description": "This is the plan for keypad input handling during workflow calls.", + "allOf": [ + { + "$ref": "#/components/schemas/KeypadInputPlan" + } + ] } } }, @@ -36579,7 +36781,6 @@ "type": "string", "description": "This is the type / tier of the subscription.", "enum": [ - "trial", "pay-as-you-go", "enterprise", "agency", @@ -37357,6 +37558,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] }, @@ -37441,6 +37643,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] }, @@ -40168,6 +40371,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] }, @@ -40220,6 +40424,7 @@ "switzerland", "uk", "westus", + "westus2", "westus3" ] },