Skip to content
64 changes: 64 additions & 0 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4296,6 +4296,12 @@
],
"description": "This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used."
},
"blocking": {
"type": "boolean",
"description": "This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false",
"example": false,
"default": false
},
"content": {
"type": "string",
"description": "This is the content that the assistant says when this message is triggered.",
Expand Down Expand Up @@ -11541,6 +11547,11 @@
"description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.",
"example": false
},
"pciEnabled": {
"type": "boolean",
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
"example": false
},
"clientMessages": {
"type": "array",
"enum": [
Expand Down Expand Up @@ -12111,6 +12122,11 @@
"description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.",
"example": false
},
"pciEnabled": {
"type": "boolean",
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
"example": false
},
"clientMessages": {
"type": "array",
"enum": [
Expand Down Expand Up @@ -13727,6 +13743,11 @@
"description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.",
"example": false
},
"pciEnabled": {
"type": "boolean",
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
"example": false
},
"clientMessages": {
"type": "array",
"enum": [
Expand Down Expand Up @@ -14321,6 +14342,11 @@
"description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.",
"example": false
},
"pciEnabled": {
"type": "boolean",
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
"example": false
},
"clientMessages": {
"type": "array",
"enum": [
Expand Down Expand Up @@ -19299,6 +19325,30 @@
"name"
]
},
"Hook": {
"type": "object",
"properties": {
"on": {
"type": "string",
"enum": [
"task.start",
"task.output.confirmation",
"task.delayed"
],
"maxLength": 80
},
"do": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Say"
}
}
},
"required": [
"on",
"do"
]
},
"Gather": {
"type": "object",
"properties": {
Expand All @@ -19319,6 +19369,13 @@
"type": "boolean",
"description": "This is whether or not the workflow should read back the gathered data to the user, and ask about its correctness."
},
"hooks": {
"description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Hook"
}
},
"maxRetries": {
"type": "number",
"description": "This is the number of times we should try to gather the information from the user before we failover to the fail path. An example of this would be a user refusing to give their phone number for privacy reasons, and then going down a different path on account of this"
Expand Down Expand Up @@ -19384,6 +19441,13 @@
"background"
]
},
"hooks": {
"description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Hook"
}
},
"startTaskMessage": {
"type": "string"
},
Expand Down
Loading