Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Update API specifications with fern api update (#4176)
Shuchang Zheng0ed512e4b88c
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.jsonindex 1b8f34361..59900a37d 100644--- a/fern/openapi/skyvern_openapi.json+++ b/fern/openapi/skyvern_openapi.json@@ -5180,12 +5180,23 @@"criteria": {"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": [@@ -5219,11 +5230,56 @@"title": "BranchCondition","description": "Represents a single conditional branch edge within a ConditionalBlock."},- "BranchCriteria": {+ "BranchConditionYAML": {+ "properties": {+ "criteria": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/BranchCriteriaYAML"+ },+ {+ "type": "null"+ }+ ]+ },+ "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": "BranchConditionYAML"+ },+ "BranchCriteriaYAML": {"properties": {"criteria_type": {"type": "string",- "title": "Criteria Type"+ "const": "jinja2_template",+ "title": "Criteria Type",+ "default": "jinja2_template"},"expression": {"type": "string",@@ -5243,11 +5299,9 @@},"type": "object","required": [- "criteria_type","expression"],- "title": "BranchCriteria",- "description": "Abstract interface describing how a branch condition should be evaluated."+ "title": "BranchCriteriaYAML"},"BrowserProfile": {"properties": {@@ -5848,6 +5902,62 @@"title": "ConditionalBlock","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": {"properties": {"parameter_type": {@@ -8573,6 +8683,9 @@},{"$ref": "#/components/schemas/HttpRequestBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ConditionalBlockYAML"}]},@@ -9568,6 +9681,37 @@"title": "InputTextAction","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": {"properties": {"type": {@@ -15879,6 +16023,9 @@},{"$ref": "#/components/schemas/HttpRequestBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ConditionalBlockYAML"}],"discriminator": {@@ -15886,6 +16033,7 @@"mapping": {"action": "#/components/schemas/ActionBlockYAML","code": "#/components/schemas/CodeBlockYAML",+ "conditional": "#/components/schemas/ConditionalBlockYAML","download_to_s3": "#/components/schemas/DownloadToS3BlockYAML","extraction": "#/components/schemas/ExtractionBlockYAML","file_download": "#/components/schemas/FileDownloadBlockYAML",