@skyvern/client 1.0.24 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -49
- package/dist/cjs/Client.d.ts +587 -170
- package/dist/cjs/Client.js +2478 -682
- package/dist/cjs/api/client/requests/BatchGetRunTagsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/BatchGetWorkflowTagsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/BodyUploadFileV1UploadFilePost.d.ts +2 -3
- package/dist/cjs/api/client/requests/BulkCancelRunsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/CreateBrowserProfileRequest.d.ts +13 -2
- package/dist/cjs/api/client/requests/CreateBrowserSessionRequest.d.ts +51 -1
- package/dist/cjs/api/client/requests/CustomLlmCreateRequest.d.ts +14 -0
- package/dist/cjs/api/client/requests/CustomLlmUpdateRequest.d.ts +14 -0
- package/dist/cjs/api/client/requests/DownloadFilesRequest.d.ts +4 -0
- package/dist/cjs/api/client/requests/GetCredentialsRequest.d.ts +11 -1
- package/dist/cjs/api/client/requests/GetRunTagHistoryRequest.d.ts +16 -0
- package/dist/cjs/api/client/requests/GetRunsV2Request.d.ts +17 -0
- package/dist/cjs/api/client/requests/GetWorkflowRunsByIdRequest.d.ts +28 -0
- package/dist/cjs/api/client/requests/GetWorkflowTagHistoryRequest.d.ts +16 -0
- package/dist/cjs/api/client/requests/GetWorkflowsRequest.d.ts +2 -0
- package/dist/cjs/api/client/requests/ListBrowserProfilesRequest.d.ts +11 -1
- package/dist/cjs/api/client/requests/ListTagValuesRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/LoginRequest.d.ts +5 -1
- package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.d.ts +11 -0
- package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.js +3 -0
- package/dist/cjs/api/client/requests/RunTagsBatchRequest.d.ts +8 -0
- package/dist/cjs/api/client/requests/RunTagsBatchRequest.js +3 -0
- package/dist/cjs/api/client/requests/TagKeyUpdate.d.ts +8 -0
- package/dist/cjs/api/client/requests/TagKeyUpdate.js +3 -0
- package/dist/cjs/api/client/requests/TagValueDelete.d.ts +10 -0
- package/dist/cjs/api/client/requests/TagValueDelete.js +3 -0
- package/dist/cjs/api/client/requests/TagValueRename.d.ts +13 -0
- package/dist/cjs/api/client/requests/TagValueRename.js +3 -0
- package/dist/cjs/api/client/requests/TagValueUpdate.d.ts +13 -0
- package/dist/cjs/api/client/requests/TagValueUpdate.js +3 -0
- package/dist/cjs/api/client/requests/TaskRunRequestInput.d.ts +153 -0
- package/dist/cjs/api/client/requests/TaskRunRequestInput.js +3 -0
- package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.d.ts +23 -0
- package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.js +3 -0
- package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.js +3 -0
- package/dist/cjs/api/client/requests/WorkflowRunRequestInput.d.ts +128 -0
- package/dist/cjs/api/client/requests/WorkflowRunRequestInput.js +3 -0
- package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.d.ts +8 -0
- package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.js +3 -0
- package/dist/cjs/api/client/requests/index.d.ts +21 -4
- package/dist/cjs/api/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/errors/InternalServerError.js +50 -0
- package/dist/cjs/api/errors/RangeNotSatisfiableError.d.ts +5 -0
- package/dist/cjs/api/errors/RangeNotSatisfiableError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +2 -0
- package/dist/cjs/api/errors/index.js +2 -0
- package/dist/cjs/api/resources/agents/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/agents/client/Client.js +122 -0
- package/dist/cjs/api/resources/agents/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agents/client/index.js +2 -0
- package/dist/cjs/api/resources/agents/index.d.ts +1 -0
- package/dist/cjs/api/resources/agents/index.js +17 -0
- package/dist/cjs/api/resources/artifacts/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/artifacts/client/Client.js +125 -0
- package/dist/cjs/api/resources/artifacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/artifacts/client/index.js +2 -0
- package/dist/cjs/api/resources/artifacts/index.d.ts +1 -0
- package/dist/cjs/api/resources/artifacts/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +9 -1
- package/dist/cjs/api/resources/schedules/client/Client.d.ts +119 -0
- package/dist/cjs/api/resources/schedules/client/Client.js +554 -0
- package/dist/cjs/api/resources/schedules/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/client/index.js +17 -0
- package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.d.ts +18 -0
- package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.js +3 -0
- package/dist/cjs/api/resources/schedules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/schedules/index.d.ts +2 -0
- package/dist/cjs/api/resources/schedules/index.js +18 -0
- package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.js +8 -0
- package/dist/cjs/api/resources/schedules/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/types/index.js +17 -0
- package/dist/cjs/api/types/Action.d.ts +5 -0
- package/dist/cjs/api/types/ActionBlock.d.ts +4 -0
- package/dist/cjs/api/types/ActionBlockYaml.d.ts +3 -0
- package/dist/cjs/api/types/ActionType.d.ts +5 -0
- package/dist/cjs/api/types/ActionType.js +5 -0
- package/dist/cjs/api/types/AiFallbackMode.d.ts +14 -0
- package/dist/cjs/api/types/AiFallbackMode.js +17 -0
- package/dist/cjs/api/types/Artifact.d.ts +5 -0
- package/dist/cjs/api/types/ArtifactType.d.ts +5 -0
- package/dist/cjs/api/types/ArtifactType.js +5 -0
- package/dist/cjs/api/types/BlockType.d.ts +6 -0
- package/dist/cjs/api/types/BlockType.js +6 -0
- package/dist/cjs/api/types/BrowserProfile.d.ts +10 -0
- package/dist/cjs/api/types/BrowserSessionResponse.d.ts +2 -0
- package/dist/cjs/api/types/BulkCancelRunsResponse.d.ts +6 -0
- package/dist/cjs/api/types/BulkCancelRunsResponse.js +3 -0
- package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.d.ts +7 -0
- package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.js +3 -0
- package/dist/cjs/api/types/CodeBlock.d.ts +3 -0
- package/dist/cjs/api/types/CodeBlockStep.d.ts +8 -0
- package/dist/cjs/api/types/CodeBlockStep.js +3 -0
- package/dist/cjs/api/types/CodeBlockStepYaml.d.ts +7 -0
- package/dist/cjs/api/types/CodeBlockStepYaml.js +3 -0
- package/dist/cjs/api/types/CodeBlockYaml.d.ts +4 -0
- package/dist/cjs/api/types/ConditionalBlock.d.ts +1 -0
- package/dist/cjs/api/types/ConditionalBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/CreateCredentialRequest.d.ts +12 -0
- package/dist/cjs/api/types/CredentialParameter.d.ts +2 -0
- package/dist/cjs/api/types/CredentialParameterYaml.d.ts +2 -0
- package/dist/cjs/api/types/CredentialResponse.d.ts +16 -0
- package/dist/cjs/api/types/CredentialVaultType.d.ts +8 -0
- package/dist/cjs/api/types/CredentialVaultType.js +11 -0
- package/dist/cjs/api/types/CreditCardBillingAddress.d.ts +21 -0
- package/dist/cjs/api/types/CreditCardBillingAddress.js +3 -0
- package/dist/cjs/api/types/CreditCardCredentialResponse.d.ts +2 -1
- package/dist/cjs/api/types/CustomLlm.d.ts +9 -0
- package/dist/cjs/api/types/CustomLlm.js +3 -0
- package/dist/cjs/api/types/CustomLlmConfig.d.ts +14 -0
- package/dist/cjs/api/types/CustomLlmConfig.js +3 -0
- package/dist/cjs/api/types/CustomLlmListResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomLlmListResponse.js +3 -0
- package/dist/cjs/api/types/CustomLlmProvider.d.ts +6 -0
- package/dist/cjs/api/types/CustomLlmProvider.js +9 -0
- package/dist/cjs/api/types/CustomLlmResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomLlmResponse.js +3 -0
- package/dist/cjs/api/types/DeleteScheduleResponse.d.ts +3 -0
- package/dist/cjs/api/types/DeleteScheduleResponse.js +3 -0
- package/dist/cjs/api/types/DownloadToS3Block.d.ts +1 -0
- package/dist/cjs/api/types/DownloadToS3BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/EmailInboxBlock.d.ts +30 -0
- package/dist/cjs/api/types/EmailInboxBlock.js +11 -0
- package/dist/cjs/api/types/EmailInboxBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/EmailInboxBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/EmailInboxBlockYaml.d.ts +27 -0
- package/dist/cjs/api/types/EmailInboxBlockYaml.js +11 -0
- package/dist/cjs/api/types/ExtractionBlock.d.ts +2 -0
- package/dist/cjs/api/types/ExtractionBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/FileDownloadBlock.d.ts +2 -0
- package/dist/cjs/api/types/FileDownloadBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/FileInfo.d.ts +4 -0
- package/dist/cjs/api/types/FileParserBlock.d.ts +2 -1
- package/dist/cjs/api/types/FileParserBlockYaml.d.ts +2 -1
- package/dist/cjs/api/types/FileStorageType.d.ts +2 -0
- package/dist/cjs/api/types/FileStorageType.js +2 -0
- package/dist/cjs/api/types/FileType.d.ts +2 -0
- package/dist/cjs/api/types/FileType.js +2 -0
- package/dist/cjs/api/types/FileUploadBlock.d.ts +15 -0
- package/dist/cjs/api/types/FileUploadBlockYaml.d.ts +13 -0
- package/dist/cjs/api/types/ForLoopBlock.d.ts +1 -0
- package/dist/cjs/api/types/ForLoopBlockLoopBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/ForLoopBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/ForLoopBlockYamlLoopBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/GeoTarget.d.ts +1 -11
- package/dist/cjs/api/types/GetRunResponse.d.ts +4 -1
- package/dist/cjs/api/types/GoogleSheetsReadBlock.d.ts +19 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlock.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.d.ts +16 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlock.d.ts +29 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlock.js +11 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.d.ts +26 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.js +11 -0
- package/dist/cjs/api/types/HttpRequestBlock.d.ts +2 -0
- package/dist/cjs/api/types/HttpRequestBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/HumanInteractionBlock.d.ts +2 -0
- package/dist/cjs/api/types/HumanInteractionBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/LoginBlock.d.ts +3 -0
- package/dist/cjs/api/types/LoginBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/NavigationBlock.d.ts +2 -0
- package/dist/cjs/api/types/NavigationBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/NonEmptyCreditCardCredential.d.ts +9 -0
- package/dist/cjs/api/types/OrganizationScheduleItem.d.ts +23 -0
- package/dist/cjs/api/types/OrganizationScheduleItem.js +3 -0
- package/dist/cjs/api/types/OrganizationScheduleListResponse.d.ts +7 -0
- package/dist/cjs/api/types/OrganizationScheduleListResponse.js +3 -0
- package/dist/cjs/api/types/PasswordCredentialResponse.d.ts +1 -1
- package/dist/cjs/api/types/PdfFillBlock.d.ts +21 -0
- package/dist/cjs/api/types/PdfFillBlock.js +3 -0
- package/dist/cjs/api/types/PdfFillBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/PdfFillBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/PdfFillBlockYaml.d.ts +18 -0
- package/dist/cjs/api/types/PdfFillBlockYaml.js +3 -0
- package/dist/cjs/api/types/PdfParserBlock.d.ts +1 -0
- package/dist/cjs/api/types/PdfParserBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/PersistentBrowserType.d.ts +1 -0
- package/dist/cjs/api/types/PersistentBrowserType.js +1 -0
- package/dist/cjs/api/types/PrintPageBlock.d.ts +1 -0
- package/dist/cjs/api/types/PrintPageBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/ProxyLocation.d.ts +1 -0
- package/dist/cjs/api/types/ProxyLocation.js +1 -0
- package/dist/cjs/api/types/RunEngine.d.ts +1 -0
- package/dist/cjs/api/types/RunEngine.js +1 -0
- package/dist/cjs/api/types/RunTagHistoryResponse.d.ts +5 -0
- package/dist/cjs/api/types/RunTagHistoryResponse.js +3 -0
- package/dist/cjs/api/types/RunTagsBatchResponse.d.ts +11 -0
- package/dist/cjs/api/types/RunTagsBatchResponse.js +3 -0
- package/dist/cjs/api/types/RunTagsResponse.d.ts +8 -0
- package/dist/cjs/api/types/RunTagsResponse.js +3 -0
- package/dist/cjs/api/types/RunType.d.ts +10 -0
- package/dist/cjs/api/types/RunType.js +13 -0
- package/dist/cjs/api/types/RunWebhookReplayResponse.d.ts +22 -0
- package/dist/cjs/api/types/RunWebhookReplayResponse.js +3 -0
- package/dist/cjs/api/types/ScriptRunResponse.d.ts +2 -0
- package/dist/cjs/api/types/SendEmailBlock.d.ts +1 -0
- package/dist/cjs/api/types/SendEmailBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/SkyvernSchemasCredentialTypeCredentialType.d.ts +7 -0
- package/dist/cjs/api/types/{SkyvernSchemasRunBlocksCredentialType.js → SkyvernSchemasCredentialTypeCredentialType.js} +2 -2
- package/dist/cjs/api/types/SplitPdfBlock.d.ts +17 -0
- package/dist/cjs/api/types/SplitPdfBlock.js +3 -0
- package/dist/cjs/api/types/SplitPdfBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/SplitPdfBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/SplitPdfBlockYaml.d.ts +14 -0
- package/dist/cjs/api/types/SplitPdfBlockYaml.js +3 -0
- package/dist/cjs/api/types/TagApplyRequest.d.ts +13 -0
- package/dist/cjs/api/types/TagApplyRequest.js +3 -0
- package/dist/cjs/api/types/TagDeleteInput.d.ts +10 -0
- package/dist/cjs/api/types/TagDeleteInput.js +3 -0
- package/dist/cjs/api/types/TagHistoryItem.d.ts +13 -0
- package/dist/cjs/api/types/TagHistoryItem.js +3 -0
- package/dist/cjs/api/types/TagHistoryResponse.d.ts +5 -0
- package/dist/cjs/api/types/TagHistoryResponse.js +3 -0
- package/dist/cjs/api/types/TagInput.d.ts +10 -0
- package/dist/cjs/api/types/TagInput.js +3 -0
- package/dist/cjs/api/types/TagItem.d.ts +8 -0
- package/dist/cjs/api/types/TagItem.js +3 -0
- package/dist/cjs/api/types/TagKey.d.ts +8 -0
- package/dist/cjs/api/types/TagKey.js +3 -0
- package/dist/cjs/api/types/TagKeyDeleteResponse.d.ts +9 -0
- package/dist/cjs/api/types/TagKeyDeleteResponse.js +3 -0
- package/dist/cjs/api/types/TagResponse.d.ts +11 -0
- package/dist/cjs/api/types/TagResponse.js +3 -0
- package/dist/cjs/api/types/TagValue.d.ts +11 -0
- package/dist/cjs/api/types/TagValue.js +3 -0
- package/dist/cjs/api/types/TagValueDeleteResponse.d.ts +10 -0
- package/dist/cjs/api/types/TagValueDeleteResponse.js +3 -0
- package/dist/cjs/api/types/TagValueRenameResponse.d.ts +10 -0
- package/dist/cjs/api/types/TagValueRenameResponse.js +3 -0
- package/dist/cjs/api/types/TagsResponse.d.ts +9 -0
- package/dist/cjs/api/types/TagsResponse.js +3 -0
- package/dist/cjs/api/types/TaskBlock.d.ts +2 -0
- package/dist/cjs/api/types/TaskBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/TaskRunListItem.d.ts +18 -0
- package/dist/cjs/api/types/TaskRunListItem.js +3 -0
- package/dist/cjs/api/types/{TaskRunRequest.d.ts → TaskRunRequestOutput.d.ts} +15 -7
- package/dist/cjs/api/types/TaskRunRequestOutput.js +3 -0
- package/dist/cjs/api/types/TaskRunResponse.d.ts +3 -1
- package/dist/cjs/api/types/TaskV2Block.d.ts +1 -0
- package/dist/cjs/api/types/TaskV2BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/TextPromptBlock.d.ts +1 -0
- package/dist/cjs/api/types/TextPromptBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/Thought.d.ts +1 -0
- package/dist/cjs/api/types/UploadToS3Block.d.ts +1 -0
- package/dist/cjs/api/types/UploadToS3BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/UrlBlock.d.ts +2 -0
- package/dist/cjs/api/types/UrlBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/UserDefinedError.d.ts +1 -0
- package/dist/cjs/api/types/ValidationBlock.d.ts +3 -0
- package/dist/cjs/api/types/ValidationBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/WaitBlock.d.ts +1 -0
- package/dist/cjs/api/types/WaitBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/WhileLoopBlock.d.ts +25 -0
- package/dist/cjs/api/types/WhileLoopBlock.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockCondition.d.ts +10 -0
- package/dist/cjs/api/types/WhileLoopBlockCondition.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.d.ts +94 -0
- package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockYaml.d.ts +13 -0
- package/dist/cjs/api/types/WhileLoopBlockYaml.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.d.ts +94 -0
- package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.js +3 -0
- package/dist/cjs/api/types/Workflow.d.ts +12 -0
- package/dist/cjs/api/types/WorkflowCreateYamlRequest.d.ts +7 -0
- package/dist/cjs/api/types/WorkflowDefinition.d.ts +2 -0
- package/dist/cjs/api/types/WorkflowDefinitionBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/WorkflowDefinitionYaml.d.ts +2 -0
- package/dist/cjs/api/types/WorkflowDefinitionYamlBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/WorkflowRun.d.ts +9 -0
- package/dist/cjs/api/types/WorkflowRunBlock.d.ts +5 -0
- package/dist/cjs/api/types/{WorkflowRunRequest.d.ts → WorkflowRunRequestOutput.d.ts} +17 -5
- package/dist/cjs/api/types/WorkflowRunRequestOutput.js +3 -0
- package/dist/cjs/api/types/WorkflowRunResponse.d.ts +6 -2
- package/dist/cjs/api/types/WorkflowRunTriggerType.d.ts +17 -0
- package/dist/cjs/api/types/WorkflowRunTriggerType.js +20 -0
- package/dist/cjs/api/types/WorkflowSchedule.d.ts +15 -0
- package/dist/cjs/api/types/WorkflowSchedule.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleListResponse.d.ts +4 -0
- package/dist/cjs/api/types/WorkflowScheduleListResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleResponse.d.ts +5 -0
- package/dist/cjs/api/types/WorkflowScheduleResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.d.ts +8 -0
- package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.js +3 -0
- package/dist/cjs/api/types/WorkflowTagsBatchResponse.d.ts +11 -0
- package/dist/cjs/api/types/WorkflowTagsBatchResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowTriggerBlock.d.ts +1 -0
- package/dist/cjs/api/types/WorkflowTriggerBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +63 -8
- package/dist/cjs/api/types/index.js +63 -8
- package/dist/cjs/library/Skyvern.d.ts +2 -2
- package/dist/cjs/library/SkyvernBrowserPageAgent.js +21 -25
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +587 -170
- package/dist/esm/Client.mjs +2476 -680
- package/dist/esm/api/client/requests/BatchGetRunTagsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/BatchGetWorkflowTagsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/BodyUploadFileV1UploadFilePost.d.mts +2 -3
- package/dist/esm/api/client/requests/BulkCancelRunsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/CreateBrowserProfileRequest.d.mts +13 -2
- package/dist/esm/api/client/requests/CreateBrowserSessionRequest.d.mts +51 -1
- package/dist/esm/api/client/requests/CustomLlmCreateRequest.d.mts +14 -0
- package/dist/esm/api/client/requests/CustomLlmUpdateRequest.d.mts +14 -0
- package/dist/esm/api/client/requests/DownloadFilesRequest.d.mts +4 -0
- package/dist/esm/api/client/requests/GetCredentialsRequest.d.mts +11 -1
- package/dist/esm/api/client/requests/GetRunTagHistoryRequest.d.mts +16 -0
- package/dist/esm/api/client/requests/GetRunsV2Request.d.mts +17 -0
- package/dist/esm/api/client/requests/GetWorkflowRunsByIdRequest.d.mts +28 -0
- package/dist/esm/api/client/requests/GetWorkflowTagHistoryRequest.d.mts +16 -0
- package/dist/esm/api/client/requests/GetWorkflowsRequest.d.mts +2 -0
- package/dist/esm/api/client/requests/ListBrowserProfilesRequest.d.mts +11 -1
- package/dist/esm/api/client/requests/ListTagValuesRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/LoginRequest.d.mts +5 -1
- package/dist/esm/api/client/requests/RetryWorkflowRunRequest.d.mts +11 -0
- package/dist/esm/api/client/requests/RetryWorkflowRunRequest.mjs +2 -0
- package/dist/esm/api/client/requests/RunTagsBatchRequest.d.mts +8 -0
- package/dist/esm/api/client/requests/RunTagsBatchRequest.mjs +2 -0
- package/dist/esm/api/client/requests/TagKeyUpdate.d.mts +8 -0
- package/dist/esm/api/client/requests/TagKeyUpdate.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueDelete.d.mts +10 -0
- package/dist/esm/api/client/requests/TagValueDelete.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueRename.d.mts +13 -0
- package/dist/esm/api/client/requests/TagValueRename.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueUpdate.d.mts +13 -0
- package/dist/esm/api/client/requests/TagValueUpdate.mjs +2 -0
- package/dist/esm/api/client/requests/TaskRunRequestInput.d.mts +153 -0
- package/dist/esm/api/client/requests/TaskRunRequestInput.mjs +2 -0
- package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.d.mts +23 -0
- package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.mjs +2 -0
- package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.mjs +2 -0
- package/dist/esm/api/client/requests/WorkflowRunRequestInput.d.mts +128 -0
- package/dist/esm/api/client/requests/WorkflowRunRequestInput.mjs +2 -0
- package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.d.mts +8 -0
- package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.mjs +2 -0
- package/dist/esm/api/client/requests/index.d.mts +21 -4
- package/dist/esm/api/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/errors/InternalServerError.mjs +13 -0
- package/dist/esm/api/errors/RangeNotSatisfiableError.d.mts +5 -0
- package/dist/esm/api/errors/RangeNotSatisfiableError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +2 -0
- package/dist/esm/api/errors/index.mjs +2 -0
- package/dist/esm/api/resources/agents/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/agents/client/Client.mjs +85 -0
- package/dist/esm/api/resources/agents/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agents/client/index.mjs +1 -0
- package/dist/esm/api/resources/agents/index.d.mts +1 -0
- package/dist/esm/api/resources/agents/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/artifacts/client/Client.mjs +88 -0
- package/dist/esm/api/resources/artifacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/artifacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/index.d.mts +1 -0
- package/dist/esm/api/resources/artifacts/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -0
- package/dist/esm/api/resources/schedules/client/Client.d.mts +119 -0
- package/dist/esm/api/resources/schedules/client/Client.mjs +517 -0
- package/dist/esm/api/resources/schedules/client/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/client/index.mjs +1 -0
- package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.d.mts +18 -0
- package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.mjs +2 -0
- package/dist/esm/api/resources/schedules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/schedules/index.d.mts +2 -0
- package/dist/esm/api/resources/schedules/index.mjs +2 -0
- package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/schedules/types/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/types/index.mjs +1 -0
- package/dist/esm/api/types/Action.d.mts +5 -0
- package/dist/esm/api/types/ActionBlock.d.mts +4 -0
- package/dist/esm/api/types/ActionBlockYaml.d.mts +3 -0
- package/dist/esm/api/types/ActionType.d.mts +5 -0
- package/dist/esm/api/types/ActionType.mjs +5 -0
- package/dist/esm/api/types/AiFallbackMode.d.mts +14 -0
- package/dist/esm/api/types/AiFallbackMode.mjs +14 -0
- package/dist/esm/api/types/Artifact.d.mts +5 -0
- package/dist/esm/api/types/ArtifactType.d.mts +5 -0
- package/dist/esm/api/types/ArtifactType.mjs +5 -0
- package/dist/esm/api/types/BlockType.d.mts +6 -0
- package/dist/esm/api/types/BlockType.mjs +6 -0
- package/dist/esm/api/types/BrowserProfile.d.mts +10 -0
- package/dist/esm/api/types/BrowserSessionResponse.d.mts +2 -0
- package/dist/esm/api/types/BulkCancelRunsResponse.d.mts +6 -0
- package/dist/esm/api/types/BulkCancelRunsResponse.mjs +2 -0
- package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.d.mts +7 -0
- package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.mjs +2 -0
- package/dist/esm/api/types/CodeBlock.d.mts +3 -0
- package/dist/esm/api/types/CodeBlockStep.d.mts +8 -0
- package/dist/esm/api/types/CodeBlockStep.mjs +2 -0
- package/dist/esm/api/types/CodeBlockStepYaml.d.mts +7 -0
- package/dist/esm/api/types/CodeBlockStepYaml.mjs +2 -0
- package/dist/esm/api/types/CodeBlockYaml.d.mts +4 -0
- package/dist/esm/api/types/ConditionalBlock.d.mts +1 -0
- package/dist/esm/api/types/ConditionalBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/CreateCredentialRequest.d.mts +12 -0
- package/dist/esm/api/types/CredentialParameter.d.mts +2 -0
- package/dist/esm/api/types/CredentialParameterYaml.d.mts +2 -0
- package/dist/esm/api/types/CredentialResponse.d.mts +16 -0
- package/dist/esm/api/types/CredentialVaultType.d.mts +8 -0
- package/dist/esm/api/types/CredentialVaultType.mjs +8 -0
- package/dist/esm/api/types/CreditCardBillingAddress.d.mts +21 -0
- package/dist/esm/api/types/CreditCardBillingAddress.mjs +2 -0
- package/dist/esm/api/types/CreditCardCredentialResponse.d.mts +2 -1
- package/dist/esm/api/types/CustomLlm.d.mts +9 -0
- package/dist/esm/api/types/CustomLlm.mjs +2 -0
- package/dist/esm/api/types/CustomLlmConfig.d.mts +14 -0
- package/dist/esm/api/types/CustomLlmConfig.mjs +2 -0
- package/dist/esm/api/types/CustomLlmListResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomLlmListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomLlmProvider.d.mts +6 -0
- package/dist/esm/api/types/CustomLlmProvider.mjs +6 -0
- package/dist/esm/api/types/CustomLlmResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomLlmResponse.mjs +2 -0
- package/dist/esm/api/types/DeleteScheduleResponse.d.mts +3 -0
- package/dist/esm/api/types/DeleteScheduleResponse.mjs +2 -0
- package/dist/esm/api/types/DownloadToS3Block.d.mts +1 -0
- package/dist/esm/api/types/DownloadToS3BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/EmailInboxBlock.d.mts +30 -0
- package/dist/esm/api/types/EmailInboxBlock.mjs +8 -0
- package/dist/esm/api/types/EmailInboxBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/EmailInboxBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/EmailInboxBlockYaml.d.mts +27 -0
- package/dist/esm/api/types/EmailInboxBlockYaml.mjs +8 -0
- package/dist/esm/api/types/ExtractionBlock.d.mts +2 -0
- package/dist/esm/api/types/ExtractionBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/FileDownloadBlock.d.mts +2 -0
- package/dist/esm/api/types/FileDownloadBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/FileInfo.d.mts +4 -0
- package/dist/esm/api/types/FileParserBlock.d.mts +2 -1
- package/dist/esm/api/types/FileParserBlockYaml.d.mts +2 -1
- package/dist/esm/api/types/FileStorageType.d.mts +2 -0
- package/dist/esm/api/types/FileStorageType.mjs +2 -0
- package/dist/esm/api/types/FileType.d.mts +2 -0
- package/dist/esm/api/types/FileType.mjs +2 -0
- package/dist/esm/api/types/FileUploadBlock.d.mts +15 -0
- package/dist/esm/api/types/FileUploadBlockYaml.d.mts +13 -0
- package/dist/esm/api/types/ForLoopBlock.d.mts +1 -0
- package/dist/esm/api/types/ForLoopBlockLoopBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/ForLoopBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/ForLoopBlockYamlLoopBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/GeoTarget.d.mts +1 -11
- package/dist/esm/api/types/GetRunResponse.d.mts +4 -1
- package/dist/esm/api/types/GoogleSheetsReadBlock.d.mts +19 -0
- package/dist/esm/api/types/GoogleSheetsReadBlock.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockYaml.d.mts +16 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockYaml.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlock.d.mts +29 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlock.mjs +8 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.d.mts +26 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.mjs +8 -0
- package/dist/esm/api/types/HttpRequestBlock.d.mts +2 -0
- package/dist/esm/api/types/HttpRequestBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/HumanInteractionBlock.d.mts +2 -0
- package/dist/esm/api/types/HumanInteractionBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/LoginBlock.d.mts +3 -0
- package/dist/esm/api/types/LoginBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/NavigationBlock.d.mts +2 -0
- package/dist/esm/api/types/NavigationBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/NonEmptyCreditCardCredential.d.mts +9 -0
- package/dist/esm/api/types/OrganizationScheduleItem.d.mts +23 -0
- package/dist/esm/api/types/OrganizationScheduleItem.mjs +2 -0
- package/dist/esm/api/types/OrganizationScheduleListResponse.d.mts +7 -0
- package/dist/esm/api/types/OrganizationScheduleListResponse.mjs +2 -0
- package/dist/esm/api/types/PasswordCredentialResponse.d.mts +1 -1
- package/dist/esm/api/types/PdfFillBlock.d.mts +21 -0
- package/dist/esm/api/types/PdfFillBlock.mjs +2 -0
- package/dist/esm/api/types/PdfFillBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/PdfFillBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/PdfFillBlockYaml.d.mts +18 -0
- package/dist/esm/api/types/PdfFillBlockYaml.mjs +2 -0
- package/dist/esm/api/types/PdfParserBlock.d.mts +1 -0
- package/dist/esm/api/types/PdfParserBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/PersistentBrowserType.d.mts +1 -0
- package/dist/esm/api/types/PersistentBrowserType.mjs +1 -0
- package/dist/esm/api/types/PrintPageBlock.d.mts +1 -0
- package/dist/esm/api/types/PrintPageBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/ProxyLocation.d.mts +1 -0
- package/dist/esm/api/types/ProxyLocation.mjs +1 -0
- package/dist/esm/api/types/RunEngine.d.mts +1 -0
- package/dist/esm/api/types/RunEngine.mjs +1 -0
- package/dist/esm/api/types/RunTagHistoryResponse.d.mts +5 -0
- package/dist/esm/api/types/RunTagHistoryResponse.mjs +2 -0
- package/dist/esm/api/types/RunTagsBatchResponse.d.mts +11 -0
- package/dist/esm/api/types/RunTagsBatchResponse.mjs +2 -0
- package/dist/esm/api/types/RunTagsResponse.d.mts +8 -0
- package/dist/esm/api/types/RunTagsResponse.mjs +2 -0
- package/dist/esm/api/types/RunType.d.mts +10 -0
- package/dist/esm/api/types/RunType.mjs +10 -0
- package/dist/esm/api/types/RunWebhookReplayResponse.d.mts +22 -0
- package/dist/esm/api/types/RunWebhookReplayResponse.mjs +2 -0
- package/dist/esm/api/types/ScriptRunResponse.d.mts +2 -0
- package/dist/esm/api/types/SendEmailBlock.d.mts +1 -0
- package/dist/esm/api/types/SendEmailBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/SkyvernSchemasCredentialTypeCredentialType.d.mts +7 -0
- package/dist/esm/api/types/{SkyvernSchemasRunBlocksCredentialType.mjs → SkyvernSchemasCredentialTypeCredentialType.mjs} +1 -1
- package/dist/esm/api/types/SplitPdfBlock.d.mts +17 -0
- package/dist/esm/api/types/SplitPdfBlock.mjs +2 -0
- package/dist/esm/api/types/SplitPdfBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/SplitPdfBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/SplitPdfBlockYaml.d.mts +14 -0
- package/dist/esm/api/types/SplitPdfBlockYaml.mjs +2 -0
- package/dist/esm/api/types/TagApplyRequest.d.mts +13 -0
- package/dist/esm/api/types/TagApplyRequest.mjs +2 -0
- package/dist/esm/api/types/TagDeleteInput.d.mts +10 -0
- package/dist/esm/api/types/TagDeleteInput.mjs +2 -0
- package/dist/esm/api/types/TagHistoryItem.d.mts +13 -0
- package/dist/esm/api/types/TagHistoryItem.mjs +2 -0
- package/dist/esm/api/types/TagHistoryResponse.d.mts +5 -0
- package/dist/esm/api/types/TagHistoryResponse.mjs +2 -0
- package/dist/esm/api/types/TagInput.d.mts +10 -0
- package/dist/esm/api/types/TagInput.mjs +2 -0
- package/dist/esm/api/types/TagItem.d.mts +8 -0
- package/dist/esm/api/types/TagItem.mjs +2 -0
- package/dist/esm/api/types/TagKey.d.mts +8 -0
- package/dist/esm/api/types/TagKey.mjs +2 -0
- package/dist/esm/api/types/TagKeyDeleteResponse.d.mts +9 -0
- package/dist/esm/api/types/TagKeyDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/TagResponse.d.mts +11 -0
- package/dist/esm/api/types/TagResponse.mjs +2 -0
- package/dist/esm/api/types/TagValue.d.mts +11 -0
- package/dist/esm/api/types/TagValue.mjs +2 -0
- package/dist/esm/api/types/TagValueDeleteResponse.d.mts +10 -0
- package/dist/esm/api/types/TagValueDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/TagValueRenameResponse.d.mts +10 -0
- package/dist/esm/api/types/TagValueRenameResponse.mjs +2 -0
- package/dist/esm/api/types/TagsResponse.d.mts +9 -0
- package/dist/esm/api/types/TagsResponse.mjs +2 -0
- package/dist/esm/api/types/TaskBlock.d.mts +2 -0
- package/dist/esm/api/types/TaskBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/TaskRunListItem.d.mts +18 -0
- package/dist/esm/api/types/TaskRunListItem.mjs +2 -0
- package/dist/esm/api/types/{TaskRunRequest.d.mts → TaskRunRequestOutput.d.mts} +15 -7
- package/dist/esm/api/types/TaskRunRequestOutput.mjs +2 -0
- package/dist/esm/api/types/TaskRunResponse.d.mts +3 -1
- package/dist/esm/api/types/TaskV2Block.d.mts +1 -0
- package/dist/esm/api/types/TaskV2BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/TextPromptBlock.d.mts +1 -0
- package/dist/esm/api/types/TextPromptBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/Thought.d.mts +1 -0
- package/dist/esm/api/types/UploadToS3Block.d.mts +1 -0
- package/dist/esm/api/types/UploadToS3BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/UrlBlock.d.mts +2 -0
- package/dist/esm/api/types/UrlBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/UserDefinedError.d.mts +1 -0
- package/dist/esm/api/types/ValidationBlock.d.mts +3 -0
- package/dist/esm/api/types/ValidationBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/WaitBlock.d.mts +1 -0
- package/dist/esm/api/types/WaitBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/WhileLoopBlock.d.mts +25 -0
- package/dist/esm/api/types/WhileLoopBlock.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockCondition.d.mts +10 -0
- package/dist/esm/api/types/WhileLoopBlockCondition.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.d.mts +94 -0
- package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockYaml.d.mts +13 -0
- package/dist/esm/api/types/WhileLoopBlockYaml.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.d.mts +94 -0
- package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.mjs +2 -0
- package/dist/esm/api/types/Workflow.d.mts +12 -0
- package/dist/esm/api/types/WorkflowCreateYamlRequest.d.mts +7 -0
- package/dist/esm/api/types/WorkflowDefinition.d.mts +2 -0
- package/dist/esm/api/types/WorkflowDefinitionBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/WorkflowDefinitionYaml.d.mts +2 -0
- package/dist/esm/api/types/WorkflowDefinitionYamlBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/WorkflowRun.d.mts +9 -0
- package/dist/esm/api/types/WorkflowRunBlock.d.mts +5 -0
- package/dist/esm/api/types/{WorkflowRunRequest.d.mts → WorkflowRunRequestOutput.d.mts} +17 -5
- package/dist/esm/api/types/WorkflowRunRequestOutput.mjs +2 -0
- package/dist/esm/api/types/WorkflowRunResponse.d.mts +6 -2
- package/dist/esm/api/types/WorkflowRunTriggerType.d.mts +17 -0
- package/dist/esm/api/types/WorkflowRunTriggerType.mjs +17 -0
- package/dist/esm/api/types/WorkflowSchedule.d.mts +15 -0
- package/dist/esm/api/types/WorkflowSchedule.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleListResponse.d.mts +4 -0
- package/dist/esm/api/types/WorkflowScheduleListResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleResponse.d.mts +5 -0
- package/dist/esm/api/types/WorkflowScheduleResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleUpsertRequest.d.mts +8 -0
- package/dist/esm/api/types/WorkflowScheduleUpsertRequest.mjs +2 -0
- package/dist/esm/api/types/WorkflowTagsBatchResponse.d.mts +11 -0
- package/dist/esm/api/types/WorkflowTagsBatchResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowTriggerBlock.d.mts +1 -0
- package/dist/esm/api/types/WorkflowTriggerBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +63 -8
- package/dist/esm/api/types/index.mjs +63 -8
- package/dist/esm/library/Skyvern.d.mts +2 -2
- package/dist/esm/library/SkyvernBrowserPageAgent.mjs +21 -25
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +11 -2
- package/reference.md +595 -5
- package/dist/cjs/api/client/requests/ChangeTierRequest.d.ts +0 -10
- package/dist/cjs/api/client/requests/CheckoutSubscriptionRequest.d.ts +0 -10
- package/dist/cjs/api/client/requests/RunTaskRequest.d.ts +0 -14
- package/dist/cjs/api/client/requests/RunWorkflowRequest.d.ts +0 -18
- package/dist/cjs/api/types/BillingStateResponse.d.ts +0 -20
- package/dist/cjs/api/types/ChangeTierResponse.d.ts +0 -5
- package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -4
- package/dist/cjs/api/types/PlanTier.d.ts +0 -7
- package/dist/cjs/api/types/PlanTier.js +0 -10
- package/dist/cjs/api/types/PortalSessionResponse.d.ts +0 -3
- package/dist/cjs/api/types/SkyvernSchemasRunBlocksCredentialType.d.ts +0 -7
- package/dist/esm/api/client/requests/ChangeTierRequest.d.mts +0 -10
- package/dist/esm/api/client/requests/CheckoutSubscriptionRequest.d.mts +0 -10
- package/dist/esm/api/client/requests/RunTaskRequest.d.mts +0 -14
- package/dist/esm/api/client/requests/RunWorkflowRequest.d.mts +0 -18
- package/dist/esm/api/types/BillingStateResponse.d.mts +0 -20
- package/dist/esm/api/types/ChangeTierResponse.d.mts +0 -5
- package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -4
- package/dist/esm/api/types/PlanTier.d.mts +0 -7
- package/dist/esm/api/types/PlanTier.mjs +0 -7
- package/dist/esm/api/types/PortalSessionResponse.d.mts +0 -3
- package/dist/esm/api/types/SkyvernSchemasRunBlocksCredentialType.d.mts +0 -7
- /package/dist/cjs/api/client/requests/{ChangeTierRequest.js → BatchGetRunTagsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{CheckoutSubscriptionRequest.js → BatchGetWorkflowTagsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{RunTaskRequest.js → BulkCancelRunsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{RunWorkflowRequest.js → CustomLlmCreateRequest.js} +0 -0
- /package/dist/cjs/api/{types/BillingStateResponse.js → client/requests/CustomLlmUpdateRequest.js} +0 -0
- /package/dist/cjs/api/{types/ChangeTierResponse.js → client/requests/GetRunTagHistoryRequest.js} +0 -0
- /package/dist/cjs/api/{types/CheckoutSessionResponse.js → client/requests/GetRunsV2Request.js} +0 -0
- /package/dist/cjs/api/{types/PortalSessionResponse.js → client/requests/GetWorkflowRunsByIdRequest.js} +0 -0
- /package/dist/cjs/api/{types/TaskRunRequest.js → client/requests/GetWorkflowTagHistoryRequest.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowRunRequest.js → client/requests/ListTagValuesRequest.js} +0 -0
- /package/dist/esm/api/client/requests/{ChangeTierRequest.mjs → BatchGetRunTagsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{CheckoutSubscriptionRequest.mjs → BatchGetWorkflowTagsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{RunTaskRequest.mjs → BulkCancelRunsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{RunWorkflowRequest.mjs → CustomLlmCreateRequest.mjs} +0 -0
- /package/dist/esm/api/{types/BillingStateResponse.mjs → client/requests/CustomLlmUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/{types/ChangeTierResponse.mjs → client/requests/GetRunTagHistoryRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CheckoutSessionResponse.mjs → client/requests/GetRunsV2Request.mjs} +0 -0
- /package/dist/esm/api/{types/PortalSessionResponse.mjs → client/requests/GetWorkflowRunsByIdRequest.mjs} +0 -0
- /package/dist/esm/api/{types/TaskRunRequest.mjs → client/requests/GetWorkflowTagHistoryRequest.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowRunRequest.mjs → client/requests/ListTagValuesRequest.mjs} +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type * as core from "../../../core/index.mjs";
|
|
2
1
|
/**
|
|
3
2
|
* @example
|
|
4
3
|
* {
|
|
5
|
-
* file:
|
|
4
|
+
* file: "file"
|
|
6
5
|
* }
|
|
7
6
|
*/
|
|
8
7
|
export interface BodyUploadFileV1UploadFilePost {
|
|
9
|
-
file:
|
|
8
|
+
file: string;
|
|
10
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -9,8 +10,18 @@ export interface CreateBrowserProfileRequest {
|
|
|
9
10
|
name: string;
|
|
10
11
|
/** Optional profile description */
|
|
11
12
|
description?: string;
|
|
12
|
-
/** Persistent browser session to convert into a profile */
|
|
13
|
+
/** Persistent browser session to convert into a profile. Omit for a blank profile. */
|
|
13
14
|
browser_session_id?: string;
|
|
14
|
-
/** Workflow run whose persisted session should be captured */
|
|
15
|
+
/** Workflow run whose persisted session should be captured. Omit for a blank profile. */
|
|
15
16
|
workflow_run_id?: string;
|
|
17
|
+
/** Optional proxy location for this profile's pinned proxy identity. */
|
|
18
|
+
proxy_location?: CreateBrowserProfileRequest.ProxyLocation;
|
|
19
|
+
/** Explicit sticky-session id for this profile's pinned proxy identity. */
|
|
20
|
+
proxy_session_id?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace CreateBrowserProfileRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Optional proxy location for this profile's pinned proxy identity.
|
|
25
|
+
*/
|
|
26
|
+
type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
|
16
27
|
}
|
|
@@ -4,6 +4,8 @@ import type * as Skyvern from "../../index.mjs";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface CreateBrowserSessionRequest {
|
|
7
|
+
/** Optional URL to open when the standalone browser session starts. */
|
|
8
|
+
url?: string;
|
|
7
9
|
/** Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 1440. Defaults to 60. */
|
|
8
10
|
timeout?: number;
|
|
9
11
|
/**
|
|
@@ -21,6 +23,7 @@ export interface CreateBrowserSessionRequest {
|
|
|
21
23
|
* - RESIDENTIAL_NZ: New Zealand
|
|
22
24
|
* - RESIDENTIAL_PH: Philippines
|
|
23
25
|
* - RESIDENTIAL_KR: South Korea
|
|
26
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
24
27
|
* - RESIDENTIAL_ZA: South Africa
|
|
25
28
|
* - RESIDENTIAL_AR: Argentina
|
|
26
29
|
* - RESIDENTIAL_AU: Australia
|
|
@@ -37,12 +40,59 @@ export interface CreateBrowserSessionRequest {
|
|
|
37
40
|
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
38
41
|
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
39
42
|
* - NONE: No proxy
|
|
43
|
+
*
|
|
44
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
45
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}, or a custom proxy URL dict for self-hosted deployments: {"url": "http://user:password@proxy.example.com:8080"}
|
|
40
46
|
*/
|
|
41
|
-
proxy_location?:
|
|
47
|
+
proxy_location?: CreateBrowserSessionRequest.ProxyLocation;
|
|
48
|
+
/** Opaque Skyvern-managed proxy sticky-session id for pinned Residential ISP sessions. */
|
|
49
|
+
proxy_session_id?: string;
|
|
42
50
|
/** A list of extensions to install in the browser session. */
|
|
43
51
|
extensions?: Skyvern.Extensions[];
|
|
44
52
|
/** The type of browser to use for the session. */
|
|
45
53
|
browser_type?: Skyvern.PersistentBrowserType;
|
|
46
54
|
/** ID of a browser profile to load into this session (restores cookies, localStorage, etc.). browser_profile_id starts with `bp_`. */
|
|
47
55
|
browser_profile_id?: string;
|
|
56
|
+
/** When true, the session's browser profile (cookies, localStorage, etc.) is saved to storage when the session ends so it can be turned into a reusable browser profile. Defaults to false to avoid storing profiles for sessions that never need them. Sessions started with a browser_profile_id always persist their profile regardless of this flag. */
|
|
57
|
+
generate_browser_profile?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace CreateBrowserSessionRequest {
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
|
63
|
+
*
|
|
64
|
+
* Available geotargeting options:
|
|
65
|
+
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
|
66
|
+
* - RESIDENTIAL_ES: Spain
|
|
67
|
+
* - RESIDENTIAL_IE: Ireland
|
|
68
|
+
* - RESIDENTIAL_GB: United Kingdom
|
|
69
|
+
* - RESIDENTIAL_IN: India
|
|
70
|
+
* - RESIDENTIAL_JP: Japan
|
|
71
|
+
* - RESIDENTIAL_FR: France
|
|
72
|
+
* - RESIDENTIAL_DE: Germany
|
|
73
|
+
* - RESIDENTIAL_NZ: New Zealand
|
|
74
|
+
* - RESIDENTIAL_PH: Philippines
|
|
75
|
+
* - RESIDENTIAL_KR: South Korea
|
|
76
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
77
|
+
* - RESIDENTIAL_ZA: South Africa
|
|
78
|
+
* - RESIDENTIAL_AR: Argentina
|
|
79
|
+
* - RESIDENTIAL_AU: Australia
|
|
80
|
+
* - RESIDENTIAL_BR: Brazil
|
|
81
|
+
* - RESIDENTIAL_TR: Turkey
|
|
82
|
+
* - RESIDENTIAL_CA: Canada
|
|
83
|
+
* - RESIDENTIAL_MX: Mexico
|
|
84
|
+
* - RESIDENTIAL_IT: Italy
|
|
85
|
+
* - RESIDENTIAL_NL: Netherlands
|
|
86
|
+
* - RESIDENTIAL_ISP: ISP proxy
|
|
87
|
+
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
|
88
|
+
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
|
89
|
+
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
|
90
|
+
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
91
|
+
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
92
|
+
* - NONE: No proxy
|
|
93
|
+
*
|
|
94
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
95
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}, or a custom proxy URL dict for self-hosted deployments: {"url": "http://user:password@proxy.example.com:8080"}
|
|
96
|
+
*/
|
|
97
|
+
type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
|
48
98
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* config: {
|
|
6
|
+
* display_name: "display_name",
|
|
7
|
+
* provider: "openai_compatible",
|
|
8
|
+
* model_name: "model_name"
|
|
9
|
+
* }
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CustomLlmCreateRequest {
|
|
13
|
+
config: Skyvern.CustomLlmConfig;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* config: {
|
|
6
|
+
* display_name: "display_name",
|
|
7
|
+
* provider: "openai_compatible",
|
|
8
|
+
* model_name: "model_name"
|
|
9
|
+
* }
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CustomLlmUpdateRequest {
|
|
13
|
+
config: Skyvern.CustomLlmConfig;
|
|
14
|
+
}
|
|
@@ -2,10 +2,12 @@ import type * as Skyvern from "../../index.mjs";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* "x-user-agent": "x-user-agent",
|
|
5
6
|
* navigation_goal: "navigation_goal"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface DownloadFilesRequest {
|
|
10
|
+
"x-user-agent"?: string;
|
|
9
11
|
/** Website URL */
|
|
10
12
|
url?: string;
|
|
11
13
|
/** Webhook URL to send status updates */
|
|
@@ -24,6 +26,8 @@ export interface DownloadFilesRequest {
|
|
|
24
26
|
browser_address?: string;
|
|
25
27
|
/** Additional HTTP headers to include in requests */
|
|
26
28
|
extra_http_headers?: Record<string, string | undefined>;
|
|
29
|
+
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites. */
|
|
30
|
+
cdp_connect_headers?: Record<string, string | undefined>;
|
|
27
31
|
/** Maximum number of times to scroll for screenshots */
|
|
28
32
|
max_screenshot_scrolling_times?: number;
|
|
29
33
|
/** Instructions for navigating to and downloading the file */
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
4
5
|
* page: 1,
|
|
5
|
-
* page_size: 10
|
|
6
|
+
* page_size: 10,
|
|
7
|
+
* vault_type: "skyvern",
|
|
8
|
+
* credential_type: "password",
|
|
9
|
+
* search: "search"
|
|
6
10
|
* }
|
|
7
11
|
*/
|
|
8
12
|
export interface GetCredentialsRequest {
|
|
@@ -10,4 +14,10 @@ export interface GetCredentialsRequest {
|
|
|
10
14
|
page?: number;
|
|
11
15
|
/** Number of items per page */
|
|
12
16
|
page_size?: number;
|
|
17
|
+
/** Filter credentials by vault type (e.g. 'skyvern', 'custom', 'bitwarden', 'azure_vault') */
|
|
18
|
+
vault_type?: Skyvern.CredentialVaultType;
|
|
19
|
+
/** Filter credentials by type (e.g. 'password', 'credit_card', 'secret') */
|
|
20
|
+
credential_type?: Skyvern.SkyvernForgeSdkSchemasCredentialsCredentialType;
|
|
21
|
+
/** Case-insensitive search across credential name, username, secret label, and card details */
|
|
22
|
+
search?: string;
|
|
13
23
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* limit: 1,
|
|
5
|
+
* since: "2024-01-15T09:30:00Z",
|
|
6
|
+
* key: "key"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRunTagHistoryRequest {
|
|
10
|
+
/** Max events to return */
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** Only return events at or after this timestamp */
|
|
13
|
+
since?: string;
|
|
14
|
+
/** Filter to events for a single tag key */
|
|
15
|
+
key?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* page: 1,
|
|
6
|
+
* page_size: 1,
|
|
7
|
+
* search_key: "search_key"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface GetRunsV2Request {
|
|
11
|
+
page?: number;
|
|
12
|
+
page_size?: number;
|
|
13
|
+
status?: Skyvern.RunStatus | Skyvern.RunStatus[];
|
|
14
|
+
/** Case-insensitive substring search (min 3 chars for trigram index). */
|
|
15
|
+
search_key?: string;
|
|
16
|
+
run_type?: Skyvern.RunType | Skyvern.RunType[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* page: 1,
|
|
6
|
+
* page_size: 1,
|
|
7
|
+
* search_key: "search_key",
|
|
8
|
+
* error_code: "error_code",
|
|
9
|
+
* created_at_start: "2024-01-15T09:30:00Z",
|
|
10
|
+
* created_at_end: "2024-01-15T09:30:00Z"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface GetWorkflowRunsByIdRequest {
|
|
14
|
+
/** Page number for pagination. */
|
|
15
|
+
page?: number;
|
|
16
|
+
/** Number of runs to return per page. */
|
|
17
|
+
page_size?: number;
|
|
18
|
+
/** Filter by one or more run statuses. */
|
|
19
|
+
status?: Skyvern.WorkflowRunStatus | Skyvern.WorkflowRunStatus[];
|
|
20
|
+
/** Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching. */
|
|
21
|
+
search_key?: string;
|
|
22
|
+
/** Exact-match filter on the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error with a matching error_code. Error codes are user-defined strings set during workflow execution. */
|
|
23
|
+
error_code?: string;
|
|
24
|
+
/** Only include runs created at or after this UTC timestamp (ISO 8601). */
|
|
25
|
+
created_at_start?: string;
|
|
26
|
+
/** Only include runs created strictly before this UTC timestamp (ISO 8601). */
|
|
27
|
+
created_at_end?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* limit: 1,
|
|
5
|
+
* since: "2024-01-15T09:30:00Z",
|
|
6
|
+
* key: "key"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface GetWorkflowTagHistoryRequest {
|
|
10
|
+
/** Max events to return */
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** Only return events at or after this timestamp */
|
|
13
|
+
since?: string;
|
|
14
|
+
/** Filter to events for a single tag key */
|
|
15
|
+
key?: string;
|
|
16
|
+
}
|
|
@@ -26,5 +26,7 @@ export interface GetWorkflowsRequest {
|
|
|
26
26
|
/** Filter workflows by folder ID */
|
|
27
27
|
folder_id?: string;
|
|
28
28
|
status?: Skyvern.WorkflowStatus | Skyvern.WorkflowStatus[];
|
|
29
|
+
/** Filter by tags. Each term is a label (`production`), a group (`env:*`), or a group:label (`env:prod`). Repeat the param or comma-separate (`?tags=env:prod,env:staging`). AND across distinct terms, OR within a group's labels (`?tags=customer:acme,env:prod,env:staging` -> customer=acme AND env in (prod, staging)). A label term matches the value across any/no group. Matches current tag values only. Not supported with `template=true`. */
|
|
30
|
+
tags?: string | string[];
|
|
29
31
|
template?: boolean;
|
|
30
32
|
}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
*
|
|
4
|
+
* page: 1,
|
|
5
|
+
* page_size: 1,
|
|
6
|
+
* include_deleted: true,
|
|
7
|
+
* search_key: "search_key",
|
|
8
|
+
* managed: true
|
|
5
9
|
* }
|
|
6
10
|
*/
|
|
7
11
|
export interface ListBrowserProfilesRequest {
|
|
12
|
+
page?: number;
|
|
13
|
+
page_size?: number;
|
|
8
14
|
/** Include deleted browser profiles */
|
|
9
15
|
include_deleted?: boolean;
|
|
16
|
+
/** Case-insensitive substring search across: browser profile name and description. A profile is returned if either field matches. */
|
|
17
|
+
search_key?: string;
|
|
18
|
+
/** Omit to return all profiles; false returns only user-created profiles; true returns only auto-managed profiles. */
|
|
19
|
+
managed?: boolean;
|
|
10
20
|
}
|
|
@@ -2,10 +2,12 @@ import type * as Skyvern from "../../index.mjs";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* "x-user-agent": "x-user-agent",
|
|
5
6
|
* credential_type: "skyvern"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface LoginRequest {
|
|
10
|
+
"x-user-agent"?: string;
|
|
9
11
|
/** Website URL */
|
|
10
12
|
url?: string;
|
|
11
13
|
/** Webhook URL to send status updates */
|
|
@@ -24,10 +26,12 @@ export interface LoginRequest {
|
|
|
24
26
|
browser_address?: string;
|
|
25
27
|
/** Additional HTTP headers to include in requests */
|
|
26
28
|
extra_http_headers?: Record<string, string | undefined>;
|
|
29
|
+
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites. */
|
|
30
|
+
cdp_connect_headers?: Record<string, string | undefined>;
|
|
27
31
|
/** Maximum number of times to scroll for screenshots */
|
|
28
32
|
max_screenshot_scrolling_times?: number;
|
|
29
33
|
/** Where to get the credential from */
|
|
30
|
-
credential_type: Skyvern.
|
|
34
|
+
credential_type: Skyvern.SkyvernSchemasCredentialTypeCredentialType;
|
|
31
35
|
/** Login instructions. Skyvern has default prompt/instruction for login if this field is not provided. */
|
|
32
36
|
prompt?: string;
|
|
33
37
|
/** ID of the Skyvern credential to use for login. */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* value: "value",
|
|
5
|
+
* new_value: "new_value"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface TagValueRename {
|
|
9
|
+
/** Current tag value (label) under the key to rename. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** New tag value (label) to rename it to. */
|
|
12
|
+
new_value: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* value: "value",
|
|
5
|
+
* color: "color"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface TagValueUpdate {
|
|
9
|
+
/** Tag value (label) under the key to recolor. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Palette color name to assign to this (key, value). */
|
|
12
|
+
color: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* "x-user-agent": "x-user-agent",
|
|
6
|
+
* prompt: "Find the top 3 posts on Hacker News."
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface TaskRunRequestInput {
|
|
10
|
+
"x-user-agent"?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The goal or task description for Skyvern to accomplish
|
|
13
|
+
*/
|
|
14
|
+
prompt: string;
|
|
15
|
+
/**
|
|
16
|
+
* The starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL
|
|
17
|
+
*/
|
|
18
|
+
url?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` remains available for existing V2 workflows and explicitly requested V2 task runs. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
|
|
21
|
+
*/
|
|
22
|
+
engine?: Skyvern.RunEngine;
|
|
23
|
+
/** The title for the task */
|
|
24
|
+
title?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
|
27
|
+
*
|
|
28
|
+
* Available geotargeting options:
|
|
29
|
+
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
|
30
|
+
* - RESIDENTIAL_ES: Spain
|
|
31
|
+
* - RESIDENTIAL_IE: Ireland
|
|
32
|
+
* - RESIDENTIAL_GB: United Kingdom
|
|
33
|
+
* - RESIDENTIAL_IN: India
|
|
34
|
+
* - RESIDENTIAL_JP: Japan
|
|
35
|
+
* - RESIDENTIAL_FR: France
|
|
36
|
+
* - RESIDENTIAL_DE: Germany
|
|
37
|
+
* - RESIDENTIAL_NZ: New Zealand
|
|
38
|
+
* - RESIDENTIAL_PH: Philippines
|
|
39
|
+
* - RESIDENTIAL_KR: South Korea
|
|
40
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
41
|
+
* - RESIDENTIAL_ZA: South Africa
|
|
42
|
+
* - RESIDENTIAL_AR: Argentina
|
|
43
|
+
* - RESIDENTIAL_AU: Australia
|
|
44
|
+
* - RESIDENTIAL_BR: Brazil
|
|
45
|
+
* - RESIDENTIAL_TR: Turkey
|
|
46
|
+
* - RESIDENTIAL_CA: Canada
|
|
47
|
+
* - RESIDENTIAL_MX: Mexico
|
|
48
|
+
* - RESIDENTIAL_IT: Italy
|
|
49
|
+
* - RESIDENTIAL_NL: Netherlands
|
|
50
|
+
* - RESIDENTIAL_ISP: ISP proxy
|
|
51
|
+
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
|
52
|
+
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
|
53
|
+
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
|
54
|
+
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
55
|
+
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
56
|
+
* - NONE: No proxy
|
|
57
|
+
*
|
|
58
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
59
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
|
60
|
+
*/
|
|
61
|
+
proxy_location?: TaskRunRequestInput.ProxyLocation;
|
|
62
|
+
/**
|
|
63
|
+
* The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
|
|
64
|
+
*/
|
|
65
|
+
data_extraction_schema?: TaskRunRequestInput.DataExtractionSchema;
|
|
66
|
+
/**
|
|
67
|
+
* Custom mapping of error codes to error messages if Skyvern encounters an error.
|
|
68
|
+
*/
|
|
69
|
+
error_code_mapping?: Record<string, string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Maximum number of steps the task can take. Task will fail if it exceeds this number. Cautions: you are charged per step so please set this number to a reasonable value. Contact sales@skyvern.com for custom pricing.
|
|
72
|
+
*/
|
|
73
|
+
max_steps?: number;
|
|
74
|
+
/**
|
|
75
|
+
* After a run is finished, send an update to this URL. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for more details.
|
|
76
|
+
*/
|
|
77
|
+
webhook_url?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.
|
|
80
|
+
*/
|
|
81
|
+
totp_identifier?: string;
|
|
82
|
+
/**
|
|
83
|
+
* URL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.
|
|
84
|
+
*/
|
|
85
|
+
totp_url?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Run the task or workflow in the specific Skyvern browser session. Having a browser session can persist the real-time state of the browser, so that the next run can continue from where the previous run left off.
|
|
88
|
+
*/
|
|
89
|
+
browser_session_id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Optional model configuration.
|
|
92
|
+
*/
|
|
93
|
+
model?: Record<string, unknown>;
|
|
94
|
+
/** The extra HTTP headers for the requests in browser. */
|
|
95
|
+
extra_http_headers?: Record<string, string | undefined>;
|
|
96
|
+
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites. */
|
|
97
|
+
cdp_connect_headers?: Record<string, string | undefined>;
|
|
98
|
+
/** Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs. */
|
|
99
|
+
publish_workflow?: boolean;
|
|
100
|
+
/** Whether to include action history when verifying that the task is complete */
|
|
101
|
+
include_action_history_in_verification?: boolean;
|
|
102
|
+
/** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot. */
|
|
103
|
+
max_screenshot_scrolls?: number;
|
|
104
|
+
/** The CDP address for the task. */
|
|
105
|
+
browser_address?: string;
|
|
106
|
+
/** Whether to run the task with agent or code. Null means use the default. */
|
|
107
|
+
run_with?: string;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace TaskRunRequestInput {
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
|
113
|
+
*
|
|
114
|
+
* Available geotargeting options:
|
|
115
|
+
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
|
116
|
+
* - RESIDENTIAL_ES: Spain
|
|
117
|
+
* - RESIDENTIAL_IE: Ireland
|
|
118
|
+
* - RESIDENTIAL_GB: United Kingdom
|
|
119
|
+
* - RESIDENTIAL_IN: India
|
|
120
|
+
* - RESIDENTIAL_JP: Japan
|
|
121
|
+
* - RESIDENTIAL_FR: France
|
|
122
|
+
* - RESIDENTIAL_DE: Germany
|
|
123
|
+
* - RESIDENTIAL_NZ: New Zealand
|
|
124
|
+
* - RESIDENTIAL_PH: Philippines
|
|
125
|
+
* - RESIDENTIAL_KR: South Korea
|
|
126
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
127
|
+
* - RESIDENTIAL_ZA: South Africa
|
|
128
|
+
* - RESIDENTIAL_AR: Argentina
|
|
129
|
+
* - RESIDENTIAL_AU: Australia
|
|
130
|
+
* - RESIDENTIAL_BR: Brazil
|
|
131
|
+
* - RESIDENTIAL_TR: Turkey
|
|
132
|
+
* - RESIDENTIAL_CA: Canada
|
|
133
|
+
* - RESIDENTIAL_MX: Mexico
|
|
134
|
+
* - RESIDENTIAL_IT: Italy
|
|
135
|
+
* - RESIDENTIAL_NL: Netherlands
|
|
136
|
+
* - RESIDENTIAL_ISP: ISP proxy
|
|
137
|
+
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
|
138
|
+
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
|
139
|
+
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
|
140
|
+
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
141
|
+
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
142
|
+
* - NONE: No proxy
|
|
143
|
+
*
|
|
144
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
145
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
|
146
|
+
*/
|
|
147
|
+
type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
|
|
151
|
+
*/
|
|
152
|
+
type DataExtractionSchema = Record<string, unknown> | unknown[] | string;
|
|
153
|
+
}
|