Skip to content

Commit 152fff5

Browse files
committed
feat(openapi): add pciEnabled and hook fields to schemas
1 parent 6faf624 commit 152fff5

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

fern/apis/api/openapi.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11541,6 +11541,11 @@
1154111541
"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.",
1154211542
"example": false
1154311543
},
11544+
"pciEnabled": {
11545+
"type": "boolean",
11546+
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
11547+
"example": false
11548+
},
1154411549
"clientMessages": {
1154511550
"type": "array",
1154611551
"enum": [
@@ -12111,6 +12116,11 @@
1211112116
"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.",
1211212117
"example": false
1211312118
},
12119+
"pciEnabled": {
12120+
"type": "boolean",
12121+
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
12122+
"example": false
12123+
},
1211412124
"clientMessages": {
1211512125
"type": "array",
1211612126
"enum": [
@@ -13727,6 +13737,11 @@
1372713737
"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.",
1372813738
"example": false
1372913739
},
13740+
"pciEnabled": {
13741+
"type": "boolean",
13742+
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
13743+
"example": false
13744+
},
1373013745
"clientMessages": {
1373113746
"type": "array",
1373213747
"enum": [
@@ -14321,6 +14336,11 @@
1432114336
"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.",
1432214337
"example": false
1432314338
},
14339+
"pciEnabled": {
14340+
"type": "boolean",
14341+
"description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)",
14342+
"example": false
14343+
},
1432414344
"clientMessages": {
1432514345
"type": "array",
1432614346
"enum": [
@@ -19299,6 +19319,30 @@
1929919319
"name"
1930019320
]
1930119321
},
19322+
"Hook": {
19323+
"type": "object",
19324+
"properties": {
19325+
"on": {
19326+
"type": "string",
19327+
"enum": [
19328+
"task.start",
19329+
"task.output.confirmation",
19330+
"task.delayed"
19331+
],
19332+
"maxLength": 80
19333+
},
19334+
"do": {
19335+
"type": "array",
19336+
"items": {
19337+
"$ref": "#/components/schemas/Say"
19338+
}
19339+
}
19340+
},
19341+
"required": [
19342+
"on",
19343+
"do"
19344+
]
19345+
},
1930219346
"Gather": {
1930319347
"type": "object",
1930419348
"properties": {
@@ -19319,6 +19363,13 @@
1931919363
"type": "boolean",
1932019364
"description": "This is whether or not the workflow should read back the gathered data to the user, and ask about its correctness."
1932119365
},
19366+
"hooks": {
19367+
"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.",
19368+
"type": "array",
19369+
"items": {
19370+
"$ref": "#/components/schemas/Hook"
19371+
}
19372+
},
1932219373
"maxRetries": {
1932319374
"type": "number",
1932419375
"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"
@@ -19384,6 +19435,13 @@
1938419435
"background"
1938519436
]
1938619437
},
19438+
"hooks": {
19439+
"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.",
19440+
"type": "array",
19441+
"items": {
19442+
"$ref": "#/components/schemas/Hook"
19443+
}
19444+
},
1938719445
"startTaskMessage": {
1938819446
"type": "string"
1938919447
},

0 commit comments

Comments
 (0)