Update API specifications with fern api update (#3954)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Shuchang Zheng
2025-11-11 03:59:32 +08:00
committed by GitHub
parent 23ebd72d4a
commit af88a7912b

View File

@@ -5360,7 +5360,14 @@
"default": "ai_click" "default": "ai_click"
}, },
"selector": { "selector": {
"type": "string", "anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Selector", "title": "Selector",
"description": "CSS selector for the element", "description": "CSS selector for the element",
"default": "" "default": ""
@@ -8954,6 +8961,17 @@
} }
], ],
"title": "Is Date Related" "title": "Is Date Related"
},
"date_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Format"
} }
}, },
"type": "object", "type": "object",
@@ -8981,7 +8999,14 @@
"default": "" "default": ""
}, },
"value": { "value": {
"type": "string", "anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Value", "title": "Value",
"description": "Value to input", "description": "Value to input",
"default": "" "default": ""
@@ -10790,6 +10815,9 @@
{ {
"$ref": "#/components/schemas/SelectOptionAction" "$ref": "#/components/schemas/SelectOptionAction"
}, },
{
"$ref": "#/components/schemas/UploadFileAction"
},
{ {
"$ref": "#/components/schemas/ActAction" "$ref": "#/components/schemas/ActAction"
}, },
@@ -10806,6 +10834,7 @@
"ai_click": "#/components/schemas/ClickAction", "ai_click": "#/components/schemas/ClickAction",
"ai_input_text": "#/components/schemas/InputTextAction", "ai_input_text": "#/components/schemas/InputTextAction",
"ai_select_option": "#/components/schemas/SelectOptionAction", "ai_select_option": "#/components/schemas/SelectOptionAction",
"ai_upload_file": "#/components/schemas/UploadFileAction",
"extract": "#/components/schemas/ExtractAction" "extract": "#/components/schemas/ExtractAction"
} }
} }
@@ -11029,13 +11058,27 @@
"default": "ai_select_option" "default": "ai_select_option"
}, },
"selector": { "selector": {
"type": "string", "anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Selector", "title": "Selector",
"description": "CSS selector for the element", "description": "CSS selector for the element",
"default": "" "default": ""
}, },
"value": { "value": {
"type": "string", "anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Value", "title": "Value",
"description": "Value to select", "description": "Value to select",
"default": "" "default": ""
@@ -13202,6 +13245,73 @@
"title": "UpdateWorkflowFolderRequest", "title": "UpdateWorkflowFolderRequest",
"description": "Request model for updating a workflow's folder assignment" "description": "Request model for updating a workflow's folder assignment"
}, },
"UploadFileAction": {
"properties": {
"type": {
"type": "string",
"const": "ai_upload_file",
"title": "Type",
"default": "ai_upload_file"
},
"selector": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Selector",
"description": "CSS selector for the element",
"default": ""
},
"file_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "File Url",
"description": "File URL for upload",
"default": ""
},
"intention": {
"type": "string",
"title": "Intention",
"description": "The intention or goal of the upload",
"default": ""
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Data",
"description": "Additional context data"
},
"timeout": {
"type": "number",
"title": "Timeout",
"description": "Timeout in milliseconds",
"default": 10000
}
},
"type": "object",
"title": "UploadFileAction",
"description": "Upload file action parameters."
},
"UploadToS3Block": { "UploadToS3Block": {
"properties": { "properties": {
"label": { "label": {