Update API specifications with fern api update (#4176)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -5180,7 +5180,62 @@
|
|||||||
"criteria": {
|
"criteria": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/BranchCriteria"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/JinjaBranchCriteria"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"discriminator": {
|
||||||
|
"propertyName": "criteria_type",
|
||||||
|
"mapping": {
|
||||||
|
"jinja2_template": "#/components/schemas/JinjaBranchCriteria"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Criteria"
|
||||||
|
},
|
||||||
|
"next_block_label": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Next Block Label"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Description"
|
||||||
|
},
|
||||||
|
"is_default": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Is Default",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object",
|
||||||
|
"title": "BranchCondition",
|
||||||
|
"description": "Represents a single conditional branch edge within a ConditionalBlock."
|
||||||
|
},
|
||||||
|
"BranchConditionYAML": {
|
||||||
|
"properties": {
|
||||||
|
"criteria": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/BranchCriteriaYAML"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "null"
|
"type": "null"
|
||||||
@@ -5216,14 +5271,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "BranchCondition",
|
"title": "BranchConditionYAML"
|
||||||
"description": "Represents a single conditional branch edge within a ConditionalBlock."
|
|
||||||
},
|
},
|
||||||
"BranchCriteria": {
|
"BranchCriteriaYAML": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"criteria_type": {
|
"criteria_type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"title": "Criteria Type"
|
"const": "jinja2_template",
|
||||||
|
"title": "Criteria Type",
|
||||||
|
"default": "jinja2_template"
|
||||||
},
|
},
|
||||||
"expression": {
|
"expression": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5243,11 +5299,9 @@
|
|||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"criteria_type",
|
|
||||||
"expression"
|
"expression"
|
||||||
],
|
],
|
||||||
"title": "BranchCriteria",
|
"title": "BranchCriteriaYAML"
|
||||||
"description": "Abstract interface describing how a branch condition should be evaluated."
|
|
||||||
},
|
},
|
||||||
"BrowserProfile": {
|
"BrowserProfile": {
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -5848,6 +5902,62 @@
|
|||||||
"title": "ConditionalBlock",
|
"title": "ConditionalBlock",
|
||||||
"description": "Branching block that selects the next block label based on list-ordered conditions."
|
"description": "Branching block that selects the next block label based on list-ordered conditions."
|
||||||
},
|
},
|
||||||
|
"ConditionalBlockYAML": {
|
||||||
|
"properties": {
|
||||||
|
"block_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "conditional",
|
||||||
|
"title": "Block Type",
|
||||||
|
"default": "conditional"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Label",
|
||||||
|
"description": "Author-facing identifier; must be unique per workflow."
|
||||||
|
},
|
||||||
|
"next_block_label": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Next Block Label",
|
||||||
|
"description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."
|
||||||
|
},
|
||||||
|
"continue_on_failure": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Continue On Failure",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"model": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"additionalProperties": true,
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Model"
|
||||||
|
},
|
||||||
|
"branch_conditions": {
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/BranchConditionYAML"
|
||||||
|
},
|
||||||
|
"type": "array",
|
||||||
|
"title": "Branch Conditions"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"label"
|
||||||
|
],
|
||||||
|
"title": "ConditionalBlockYAML"
|
||||||
|
},
|
||||||
"ContextParameter": {
|
"ContextParameter": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"parameter_type": {
|
"parameter_type": {
|
||||||
@@ -8573,6 +8683,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/HttpRequestBlockYAML"
|
"$ref": "#/components/schemas/HttpRequestBlockYAML"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ConditionalBlockYAML"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -9568,6 +9681,37 @@
|
|||||||
"title": "InputTextAction",
|
"title": "InputTextAction",
|
||||||
"description": "Input text action parameters."
|
"description": "Input text action parameters."
|
||||||
},
|
},
|
||||||
|
"JinjaBranchCriteria": {
|
||||||
|
"properties": {
|
||||||
|
"criteria_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "jinja2_template",
|
||||||
|
"title": "Criteria Type",
|
||||||
|
"default": "jinja2_template"
|
||||||
|
},
|
||||||
|
"expression": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Expression"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Description"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
"title": "JinjaBranchCriteria",
|
||||||
|
"description": "Jinja2-templated branch criteria (only supported criteria type for now)."
|
||||||
|
},
|
||||||
"LocateElementAction": {
|
"LocateElementAction": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"type": {
|
||||||
@@ -15879,6 +16023,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/HttpRequestBlockYAML"
|
"$ref": "#/components/schemas/HttpRequestBlockYAML"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ConditionalBlockYAML"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"discriminator": {
|
"discriminator": {
|
||||||
@@ -15886,6 +16033,7 @@
|
|||||||
"mapping": {
|
"mapping": {
|
||||||
"action": "#/components/schemas/ActionBlockYAML",
|
"action": "#/components/schemas/ActionBlockYAML",
|
||||||
"code": "#/components/schemas/CodeBlockYAML",
|
"code": "#/components/schemas/CodeBlockYAML",
|
||||||
|
"conditional": "#/components/schemas/ConditionalBlockYAML",
|
||||||
"download_to_s3": "#/components/schemas/DownloadToS3BlockYAML",
|
"download_to_s3": "#/components/schemas/DownloadToS3BlockYAML",
|
||||||
"extraction": "#/components/schemas/ExtractionBlockYAML",
|
"extraction": "#/components/schemas/ExtractionBlockYAML",
|
||||||
"file_download": "#/components/schemas/FileDownloadBlockYAML",
|
"file_download": "#/components/schemas/FileDownloadBlockYAML",
|
||||||
|
|||||||
Reference in New Issue
Block a user