@skyvern/client 1.0.24 → 1.0.56
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 +606 -170
- package/dist/cjs/Client.js +2543 -673
- 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 +52 -2
- 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/ExtendBrowserSessionRequest.d.ts +10 -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/ListTagValuesRequest.js +3 -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/TotpCodeCreate.d.ts +1 -1
- 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 +22 -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 +137 -0
- package/dist/cjs/api/resources/schedules/client/Client.js +618 -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 +13 -0
- package/dist/cjs/api/types/ArtifactType.js +13 -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/ClickContext.d.ts +1 -0
- package/dist/cjs/api/types/CodeBlock.d.ts +11 -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 +12 -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 +14 -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 +7 -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 +5 -4
- 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/OneTimeDispatchStatus.d.ts +7 -0
- package/dist/cjs/api/types/OneTimeDispatchStatus.js +10 -0
- package/dist/cjs/api/types/OrganizationScheduleItem.d.ts +29 -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 +2 -0
- package/dist/cjs/api/types/RunEngine.js +2 -0
- package/dist/cjs/api/types/RunStatus.d.ts +1 -0
- package/dist/cjs/api/types/RunStatus.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 +11 -0
- package/dist/cjs/api/types/RunType.js +14 -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 +5 -0
- package/dist/cjs/api/types/SendEmailBlockYaml.d.ts +9 -4
- 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/TotpCode.d.ts +1 -1
- package/dist/cjs/api/types/TotpType.d.ts +1 -0
- package/dist/cjs/api/types/TotpType.js +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 +21 -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 +14 -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 +64 -8
- package/dist/cjs/api/types/index.js +64 -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 +606 -170
- package/dist/esm/Client.mjs +2541 -671
- 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 +52 -2
- 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/ExtendBrowserSessionRequest.d.mts +10 -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/ListTagValuesRequest.mjs +2 -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/TotpCodeCreate.d.mts +1 -1
- 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 +22 -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 +137 -0
- package/dist/esm/api/resources/schedules/client/Client.mjs +581 -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 +13 -0
- package/dist/esm/api/types/ArtifactType.mjs +13 -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/ClickContext.d.mts +1 -0
- package/dist/esm/api/types/CodeBlock.d.mts +11 -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 +12 -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 +14 -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 +7 -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 +5 -4
- 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/OneTimeDispatchStatus.d.mts +7 -0
- package/dist/esm/api/types/OneTimeDispatchStatus.mjs +7 -0
- package/dist/esm/api/types/OrganizationScheduleItem.d.mts +29 -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 +2 -0
- package/dist/esm/api/types/RunEngine.mjs +2 -0
- package/dist/esm/api/types/RunStatus.d.mts +1 -0
- package/dist/esm/api/types/RunStatus.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 +11 -0
- package/dist/esm/api/types/RunType.mjs +11 -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 +5 -0
- package/dist/esm/api/types/SendEmailBlockYaml.d.mts +9 -4
- 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/TotpCode.d.mts +1 -1
- package/dist/esm/api/types/TotpType.d.mts +1 -0
- package/dist/esm/api/types/TotpType.mjs +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 +21 -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 +14 -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 +64 -8
- package/dist/esm/api/types/index.mjs +64 -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 +12 -2
- package/reference.md +706 -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/ExtendBrowserSessionRequest.js} +0 -0
- /package/dist/cjs/api/{types/CheckoutSessionResponse.js → client/requests/GetRunTagHistoryRequest.js} +0 -0
- /package/dist/cjs/api/{types/PortalSessionResponse.js → client/requests/GetRunsV2Request.js} +0 -0
- /package/dist/cjs/api/{types/TaskRunRequest.js → client/requests/GetWorkflowRunsByIdRequest.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowRunRequest.js → client/requests/GetWorkflowTagHistoryRequest.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/ExtendBrowserSessionRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CheckoutSessionResponse.mjs → client/requests/GetRunTagHistoryRequest.mjs} +0 -0
- /package/dist/esm/api/{types/PortalSessionResponse.mjs → client/requests/GetRunsV2Request.mjs} +0 -0
- /package/dist/esm/api/{types/TaskRunRequest.mjs → client/requests/GetWorkflowRunsByIdRequest.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowRunRequest.mjs → client/requests/GetWorkflowTagHistoryRequest.mjs} +0 -0
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as Skyvern from "./api/index.mjs";
|
|
2
|
+
import { Agents } from "./api/resources/agents/client/Client.mjs";
|
|
3
|
+
import { Artifacts } from "./api/resources/artifacts/client/Client.mjs";
|
|
4
|
+
import { Schedules } from "./api/resources/schedules/client/Client.mjs";
|
|
2
5
|
import { Scripts } from "./api/resources/scripts/client/Client.mjs";
|
|
3
6
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
4
7
|
import * as core from "./core/index.mjs";
|
|
@@ -10,13 +13,19 @@ export declare namespace SkyvernClient {
|
|
|
10
13
|
}
|
|
11
14
|
export declare class SkyvernClient {
|
|
12
15
|
protected readonly _options: SkyvernClient.Options;
|
|
16
|
+
protected _artifacts: Artifacts | undefined;
|
|
13
17
|
protected _scripts: Scripts | undefined;
|
|
18
|
+
protected _schedules: Schedules | undefined;
|
|
19
|
+
protected _agents: Agents | undefined;
|
|
14
20
|
constructor(_options?: SkyvernClient.Options);
|
|
21
|
+
get artifacts(): Artifacts;
|
|
15
22
|
get scripts(): Scripts;
|
|
23
|
+
get schedules(): Schedules;
|
|
24
|
+
get agents(): Agents;
|
|
16
25
|
/**
|
|
17
26
|
* Run a task
|
|
18
27
|
*
|
|
19
|
-
* @param {Skyvern.
|
|
28
|
+
* @param {Skyvern.TaskRunRequestInput} request
|
|
20
29
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
30
|
*
|
|
22
31
|
* @throws {@link Skyvern.BadRequestError}
|
|
@@ -25,17 +34,15 @@ export declare class SkyvernClient {
|
|
|
25
34
|
* @example
|
|
26
35
|
* await client.runTask({
|
|
27
36
|
* "x-user-agent": "x-user-agent",
|
|
28
|
-
*
|
|
29
|
-
* prompt: "Find the top 3 posts on Hacker News."
|
|
30
|
-
* }
|
|
37
|
+
* prompt: "Find the top 3 posts on Hacker News."
|
|
31
38
|
* })
|
|
32
39
|
*/
|
|
33
|
-
runTask(request: Skyvern.
|
|
40
|
+
runTask(request: Skyvern.TaskRunRequestInput, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TaskRunResponse>;
|
|
34
41
|
private __runTask;
|
|
35
42
|
/**
|
|
36
|
-
* Run
|
|
43
|
+
* Run an agent
|
|
37
44
|
*
|
|
38
|
-
* @param {Skyvern.
|
|
45
|
+
* @param {Skyvern.WorkflowRunRequestInput} request
|
|
39
46
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
47
|
*
|
|
41
48
|
* @throws {@link Skyvern.BadRequestError}
|
|
@@ -46,12 +53,10 @@ export declare class SkyvernClient {
|
|
|
46
53
|
* "x-max-steps-override": 1,
|
|
47
54
|
* "x-user-agent": "x-user-agent",
|
|
48
55
|
* template: true,
|
|
49
|
-
*
|
|
50
|
-
* workflow_id: "wpid_123"
|
|
51
|
-
* }
|
|
56
|
+
* agent_id: "wpid_123"
|
|
52
57
|
* })
|
|
53
58
|
*/
|
|
54
|
-
runWorkflow(request: Skyvern.
|
|
59
|
+
runWorkflow(request: Skyvern.WorkflowRunRequestInput, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowRunResponse>;
|
|
55
60
|
private __runWorkflow;
|
|
56
61
|
/**
|
|
57
62
|
* Get run information (task run, workflow run)
|
|
@@ -80,6 +85,21 @@ export declare class SkyvernClient {
|
|
|
80
85
|
*/
|
|
81
86
|
cancelRun(runId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
82
87
|
private __cancelRun;
|
|
88
|
+
/**
|
|
89
|
+
* Cancel multiple runs (tasks or workflows) in a single request
|
|
90
|
+
*
|
|
91
|
+
* @param {Skyvern.BulkCancelRunsRequest} request
|
|
92
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* await client.bulkCancelRuns({
|
|
98
|
+
* run_ids: ["run_ids"]
|
|
99
|
+
* })
|
|
100
|
+
*/
|
|
101
|
+
bulkCancelRuns(request: Skyvern.BulkCancelRunsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BulkCancelRunsResponse>;
|
|
102
|
+
private __bulkCancelRuns;
|
|
83
103
|
/**
|
|
84
104
|
* Get all workflows with the latest version for the organization.
|
|
85
105
|
*
|
|
@@ -111,7 +131,7 @@ export declare class SkyvernClient {
|
|
|
111
131
|
getWorkflows(request?: Skyvern.GetWorkflowsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow[]>;
|
|
112
132
|
private __getWorkflows;
|
|
113
133
|
/**
|
|
114
|
-
* Create a new
|
|
134
|
+
* Create a new agent
|
|
115
135
|
*
|
|
116
136
|
* @param {Skyvern.CreateWorkflowRequest} request
|
|
117
137
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -127,9 +147,9 @@ export declare class SkyvernClient {
|
|
|
127
147
|
createWorkflow(request: Skyvern.CreateWorkflowRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
|
|
128
148
|
private __createWorkflow;
|
|
129
149
|
/**
|
|
130
|
-
* Update
|
|
150
|
+
* Update an agent
|
|
131
151
|
*
|
|
132
|
-
* @param {string} workflowId - The ID of the
|
|
152
|
+
* @param {string} workflowId - The ID of the agent to update. Starts with `wpid_`.
|
|
133
153
|
* @param {Skyvern.WorkflowRequest} request
|
|
134
154
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
155
|
*
|
|
@@ -141,9 +161,9 @@ export declare class SkyvernClient {
|
|
|
141
161
|
updateWorkflow(workflowId: string, request: Skyvern.WorkflowRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
|
|
142
162
|
private __updateWorkflow;
|
|
143
163
|
/**
|
|
144
|
-
* Delete
|
|
164
|
+
* Delete an agent
|
|
145
165
|
*
|
|
146
|
-
* @param {string} workflowId - The ID of the
|
|
166
|
+
* @param {string} workflowId - The ID of the agent to delete. Starts with `wpid_`.
|
|
147
167
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
148
168
|
*
|
|
149
169
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
@@ -154,138 +174,385 @@ export declare class SkyvernClient {
|
|
|
154
174
|
deleteWorkflow(workflowId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
155
175
|
private __deleteWorkflow;
|
|
156
176
|
/**
|
|
157
|
-
* Get
|
|
177
|
+
* Get all folders for the organization
|
|
178
|
+
*
|
|
179
|
+
* @param {Skyvern.GetFoldersRequest} request
|
|
180
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* await client.getFolders({
|
|
186
|
+
* page: 1,
|
|
187
|
+
* page_size: 1,
|
|
188
|
+
* search: "search"
|
|
189
|
+
* })
|
|
190
|
+
*/
|
|
191
|
+
getFolders(request?: Skyvern.GetFoldersRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Folder[]>;
|
|
192
|
+
private __getFolders;
|
|
193
|
+
/**
|
|
194
|
+
* Create a new folder to organize workflows
|
|
195
|
+
*
|
|
196
|
+
* @param {Skyvern.FolderCreate} request
|
|
197
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
200
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* await client.createFolder({
|
|
204
|
+
* title: "title"
|
|
205
|
+
* })
|
|
206
|
+
*/
|
|
207
|
+
createFolder(request: Skyvern.FolderCreate, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Folder>;
|
|
208
|
+
private __createFolder;
|
|
209
|
+
/**
|
|
210
|
+
* Get a specific folder by ID
|
|
158
211
|
*
|
|
159
|
-
* @param {string}
|
|
212
|
+
* @param {string} folderId - Folder ID
|
|
160
213
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
161
214
|
*
|
|
162
215
|
* @throws {@link Skyvern.NotFoundError}
|
|
163
216
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
164
217
|
*
|
|
165
218
|
* @example
|
|
166
|
-
* await client.
|
|
219
|
+
* await client.getFolder("fld_123")
|
|
167
220
|
*/
|
|
168
|
-
|
|
169
|
-
private
|
|
221
|
+
getFolder(folderId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Folder>;
|
|
222
|
+
private __getFolder;
|
|
170
223
|
/**
|
|
171
|
-
*
|
|
224
|
+
* Update a folder's title or description
|
|
172
225
|
*
|
|
173
|
-
* @param {string}
|
|
174
|
-
* @param {Skyvern.
|
|
226
|
+
* @param {string} folderId - Folder ID
|
|
227
|
+
* @param {Skyvern.FolderUpdate} request
|
|
175
228
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
176
229
|
*
|
|
230
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
177
231
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
178
232
|
*
|
|
179
233
|
* @example
|
|
180
|
-
* await client.
|
|
234
|
+
* await client.updateFolder("fld_123")
|
|
181
235
|
*/
|
|
182
|
-
|
|
183
|
-
private
|
|
236
|
+
updateFolder(folderId: string, request?: Skyvern.FolderUpdate, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Folder>;
|
|
237
|
+
private __updateFolder;
|
|
184
238
|
/**
|
|
185
|
-
*
|
|
239
|
+
* Delete a folder. Optionally delete all workflows in the folder.
|
|
186
240
|
*
|
|
187
|
-
* @param {string}
|
|
188
|
-
* @param {Skyvern.
|
|
241
|
+
* @param {string} folderId - Folder ID
|
|
242
|
+
* @param {Skyvern.DeleteFolderRequest} request
|
|
189
243
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
190
244
|
*
|
|
245
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
191
246
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
192
247
|
*
|
|
193
248
|
* @example
|
|
194
|
-
* await client.
|
|
249
|
+
* await client.deleteFolder("fld_123", {
|
|
250
|
+
* delete_workflows: true
|
|
251
|
+
* })
|
|
195
252
|
*/
|
|
196
|
-
|
|
197
|
-
private
|
|
253
|
+
deleteFolder(folderId: string, request?: Skyvern.DeleteFolderRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
254
|
+
private __deleteFolder;
|
|
198
255
|
/**
|
|
199
|
-
* Get
|
|
256
|
+
* Get the current tag state for a workflow run.
|
|
200
257
|
*
|
|
201
|
-
* @param {string}
|
|
258
|
+
* @param {string} workflowRunId - Workflow run ID
|
|
202
259
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
203
260
|
*
|
|
204
|
-
* @throws {@link Skyvern.BadRequestError}
|
|
205
261
|
* @throws {@link Skyvern.NotFoundError}
|
|
206
262
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
207
263
|
*
|
|
208
264
|
* @example
|
|
209
|
-
* await client.
|
|
265
|
+
* await client.getRunTags("wr_123")
|
|
210
266
|
*/
|
|
211
|
-
|
|
212
|
-
private
|
|
267
|
+
getRunTags(workflowRunId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagsResponse>;
|
|
268
|
+
private __getRunTags;
|
|
213
269
|
/**
|
|
214
|
-
*
|
|
270
|
+
* Atomically apply tag changes to a workflow run. Sets and deletes happen in one transaction; same-key collisions resolve set-wins.
|
|
215
271
|
*
|
|
216
|
-
*
|
|
272
|
+
* @param {string} workflowRunId - Workflow run ID
|
|
273
|
+
* @param {Skyvern.TagApplyRequest} request
|
|
274
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
217
275
|
*
|
|
218
|
-
*
|
|
276
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
277
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
219
278
|
*
|
|
220
|
-
*
|
|
279
|
+
* @example
|
|
280
|
+
* await client.applyRunTags("wr_123", {})
|
|
281
|
+
*/
|
|
282
|
+
applyRunTags(workflowRunId: string, request: Skyvern.TagApplyRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagsResponse>;
|
|
283
|
+
private __applyRunTags;
|
|
284
|
+
/**
|
|
285
|
+
* Soft-delete a single grouped tag from a workflow run. Writes a DELETE event row.
|
|
221
286
|
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* | Parameter **key** | The `key` of any workflow parameter definition associated with the run |
|
|
226
|
-
* | Parameter **description** | The `description` of any workflow parameter definition |
|
|
227
|
-
* | Run parameter **value** | The actual value supplied for any parameter when the run was created |
|
|
228
|
-
* | `extra_http_headers` | Extra HTTP headers attached to the run (searched as raw JSON text) |
|
|
287
|
+
* @param {string} workflowRunId - Workflow run ID
|
|
288
|
+
* @param {string} key - Tag key to delete
|
|
289
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
290
|
*
|
|
230
|
-
*
|
|
291
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
292
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
231
293
|
*
|
|
232
|
-
*
|
|
294
|
+
* @example
|
|
295
|
+
* await client.deleteRunTag("wr_123", "env")
|
|
296
|
+
*/
|
|
297
|
+
deleteRunTag(workflowRunId: string, key: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagsResponse>;
|
|
298
|
+
private __deleteRunTag;
|
|
299
|
+
/**
|
|
300
|
+
* Chronological tag-event log for a workflow run (newest first). Includes SET and DELETE events.
|
|
233
301
|
*
|
|
234
|
-
*
|
|
302
|
+
* @param {string} workflowRunId - Workflow run ID
|
|
303
|
+
* @param {Skyvern.GetRunTagHistoryRequest} request
|
|
304
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
235
305
|
*
|
|
236
|
-
*
|
|
306
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
307
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
237
308
|
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* -
|
|
309
|
+
* @example
|
|
310
|
+
* await client.getRunTagHistory("wr_123", {
|
|
311
|
+
* limit: 1,
|
|
312
|
+
* since: "2024-01-15T09:30:00Z",
|
|
313
|
+
* key: "key"
|
|
314
|
+
* })
|
|
315
|
+
*/
|
|
316
|
+
getRunTagHistory(workflowRunId: string, request?: Skyvern.GetRunTagHistoryRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagHistoryResponse>;
|
|
317
|
+
private __getRunTagHistory;
|
|
318
|
+
/**
|
|
319
|
+
* List all tag keys registered for the organization with their descriptions.
|
|
242
320
|
*
|
|
243
|
-
* @param {Skyvern.GetWorkflowRunsRequest} request
|
|
244
321
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
245
322
|
*
|
|
246
323
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
247
324
|
*
|
|
248
325
|
* @example
|
|
249
|
-
* await client.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
326
|
+
* await client.listTagKeys()
|
|
327
|
+
*/
|
|
328
|
+
listTagKeys(requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagKey[]>;
|
|
329
|
+
private __listTagKeys;
|
|
330
|
+
/**
|
|
331
|
+
* Delete a tag key from the organization registry and remove that tag from every workflow that currently has it (cascade). Returns how many workflows the tag was removed from.
|
|
332
|
+
*
|
|
333
|
+
* @param {string} key - Tag key to delete
|
|
334
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
335
|
+
*
|
|
336
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
337
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* await client.deleteTagKey("env")
|
|
341
|
+
*/
|
|
342
|
+
deleteTagKey(key: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagKeyDeleteResponse>;
|
|
343
|
+
private __deleteTagKey;
|
|
344
|
+
/**
|
|
345
|
+
* Update the description for a tag key.
|
|
346
|
+
*
|
|
347
|
+
* @param {string} key - Tag key to update
|
|
348
|
+
* @param {Skyvern.TagKeyUpdate} request
|
|
349
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
350
|
+
*
|
|
351
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
352
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* await client.updateTagKey("key")
|
|
356
|
+
*/
|
|
357
|
+
updateTagKey(key: string, request?: Skyvern.TagKeyUpdate, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagKey>;
|
|
358
|
+
private __updateTagKey;
|
|
359
|
+
/**
|
|
360
|
+
* List the palette color and current workflow usage count for each grouped tag (key, value) for the organization. The frontend joins these onto tags by (key, value); workflow_count is the number of non-deleted workflows carrying the label and powers the per-label usage and delete blast-radius warnings.
|
|
361
|
+
*
|
|
362
|
+
* @param {Skyvern.ListTagValuesRequest} request
|
|
363
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
364
|
+
*
|
|
365
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* await client.listTagValues({
|
|
369
|
+
* key: "key"
|
|
254
370
|
* })
|
|
255
371
|
*/
|
|
256
|
-
|
|
257
|
-
private
|
|
372
|
+
listTagValues(request?: Skyvern.ListTagValuesRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagValue[]>;
|
|
373
|
+
private __listTagValues;
|
|
258
374
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
375
|
+
* Soft-delete a grouped tag (key, value) and remove that label from every workflow carrying it (cascade). The value rides in the body so values containing '/' stay addressable. Returns how many workflows the label was removed from.
|
|
376
|
+
*
|
|
377
|
+
* @param {string} key - Tag key (group)
|
|
378
|
+
* @param {Skyvern.TagValueDelete} request
|
|
261
379
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
262
380
|
*
|
|
381
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
263
382
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
264
383
|
*
|
|
265
384
|
* @example
|
|
266
|
-
* await client.
|
|
267
|
-
*
|
|
268
|
-
* template: true
|
|
385
|
+
* await client.deleteTagValue("env", {
|
|
386
|
+
* value: "value"
|
|
269
387
|
* })
|
|
270
388
|
*/
|
|
271
|
-
|
|
272
|
-
private
|
|
389
|
+
deleteTagValue(key: string, request: Skyvern.TagValueDelete, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagValueDeleteResponse>;
|
|
390
|
+
private __deleteTagValue;
|
|
273
391
|
/**
|
|
274
|
-
*
|
|
392
|
+
* Recolor a grouped tag (key, value). The value is supplied in the body so values containing '/' stay addressable. The new color must be a palette name.
|
|
275
393
|
*
|
|
276
|
-
* @param {string}
|
|
277
|
-
* @param {Skyvern.
|
|
394
|
+
* @param {string} key - Tag key (group)
|
|
395
|
+
* @param {Skyvern.TagValueUpdate} request
|
|
278
396
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
279
397
|
*
|
|
398
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
280
399
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
281
400
|
*
|
|
282
401
|
* @example
|
|
283
|
-
* await client.
|
|
284
|
-
*
|
|
402
|
+
* await client.updateTagValue("env", {
|
|
403
|
+
* value: "value",
|
|
404
|
+
* color: "color"
|
|
285
405
|
* })
|
|
286
406
|
*/
|
|
287
|
-
|
|
288
|
-
private
|
|
407
|
+
updateTagValue(key: string, request: Skyvern.TagValueUpdate, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagValue>;
|
|
408
|
+
private __updateTagValue;
|
|
409
|
+
/**
|
|
410
|
+
* Rename a grouped tag (key, value) to (key, new_value). The cascade re-tags every workflow carrying the old label; the new label inherits the old color. Both values ride in the body so values containing '/' stay addressable. Rejects with 409 when the new value already exists for the key.
|
|
411
|
+
*
|
|
412
|
+
* @param {string} key - Tag key (group)
|
|
413
|
+
* @param {Skyvern.TagValueRename} request
|
|
414
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
415
|
+
*
|
|
416
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
417
|
+
* @throws {@link Skyvern.ConflictError}
|
|
418
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
419
|
+
*
|
|
420
|
+
* @example
|
|
421
|
+
* await client.renameTagValue("env", {
|
|
422
|
+
* value: "value",
|
|
423
|
+
* new_value: "new_value"
|
|
424
|
+
* })
|
|
425
|
+
*/
|
|
426
|
+
renameTagValue(key: string, request: Skyvern.TagValueRename, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagValueRenameResponse>;
|
|
427
|
+
private __renameTagValue;
|
|
428
|
+
/**
|
|
429
|
+
* Batch fetch current tags for many workflows. Avoids N+1 on the workflows-list page.
|
|
430
|
+
*
|
|
431
|
+
* @param {Skyvern.BatchGetWorkflowTagsRequest} request
|
|
432
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
433
|
+
*
|
|
434
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
435
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
436
|
+
*
|
|
437
|
+
* @example
|
|
438
|
+
* await client.batchGetWorkflowTags({
|
|
439
|
+
* workflow_permanent_ids: "workflow_permanent_ids"
|
|
440
|
+
* })
|
|
441
|
+
*/
|
|
442
|
+
batchGetWorkflowTags(request?: Skyvern.BatchGetWorkflowTagsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowTagsBatchResponse>;
|
|
443
|
+
private __batchGetWorkflowTags;
|
|
444
|
+
/**
|
|
445
|
+
* Batch fetch current tags for many workflows (POST variant for id lists exceeding URL length).
|
|
446
|
+
*
|
|
447
|
+
* @param {Skyvern.WorkflowTagsBatchRequest} request
|
|
448
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
449
|
+
*
|
|
450
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
451
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
452
|
+
*
|
|
453
|
+
* @example
|
|
454
|
+
* await client.batchGetWorkflowTagsPost()
|
|
455
|
+
*/
|
|
456
|
+
batchGetWorkflowTagsPost(request?: Skyvern.WorkflowTagsBatchRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowTagsBatchResponse>;
|
|
457
|
+
private __batchGetWorkflowTagsPost;
|
|
458
|
+
/**
|
|
459
|
+
* Batch fetch current tags for many workflow runs. Avoids N+1 on run-list pages.
|
|
460
|
+
*
|
|
461
|
+
* @param {Skyvern.BatchGetRunTagsRequest} request
|
|
462
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
463
|
+
*
|
|
464
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
465
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
466
|
+
*
|
|
467
|
+
* @example
|
|
468
|
+
* await client.batchGetRunTags({
|
|
469
|
+
* workflow_run_ids: "workflow_run_ids"
|
|
470
|
+
* })
|
|
471
|
+
*/
|
|
472
|
+
batchGetRunTags(request?: Skyvern.BatchGetRunTagsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagsBatchResponse>;
|
|
473
|
+
private __batchGetRunTags;
|
|
474
|
+
/**
|
|
475
|
+
* Batch fetch current tags for many workflow runs (POST variant for id lists exceeding URL length).
|
|
476
|
+
*
|
|
477
|
+
* @param {Skyvern.RunTagsBatchRequest} request
|
|
478
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
479
|
+
*
|
|
480
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
481
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
482
|
+
*
|
|
483
|
+
* @example
|
|
484
|
+
* await client.batchGetRunTagsPost()
|
|
485
|
+
*/
|
|
486
|
+
batchGetRunTagsPost(request?: Skyvern.RunTagsBatchRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunTagsBatchResponse>;
|
|
487
|
+
private __batchGetRunTagsPost;
|
|
488
|
+
/**
|
|
489
|
+
* Get artifacts for a run
|
|
490
|
+
*
|
|
491
|
+
* @param {string} runId - The id of the task run or the workflow run.
|
|
492
|
+
* @param {Skyvern.GetRunArtifactsRequest} request
|
|
493
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
494
|
+
*
|
|
495
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
496
|
+
*
|
|
497
|
+
* @example
|
|
498
|
+
* await client.getRunArtifacts("run_id")
|
|
499
|
+
*/
|
|
500
|
+
getRunArtifacts(runId: string, request?: Skyvern.GetRunArtifactsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Artifact[]>;
|
|
501
|
+
private __getRunArtifacts;
|
|
502
|
+
/**
|
|
503
|
+
* Retry sending the webhook for a run
|
|
504
|
+
*
|
|
505
|
+
* @param {string} runId - The id of the task run or the workflow run.
|
|
506
|
+
* @param {Skyvern.RetryRunWebhookRequest} request
|
|
507
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
508
|
+
*
|
|
509
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
510
|
+
*
|
|
511
|
+
* @example
|
|
512
|
+
* await client.retryRunWebhook("tsk_123")
|
|
513
|
+
*/
|
|
514
|
+
retryRunWebhook(runId: string, request?: Skyvern.RetryRunWebhookRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunWebhookReplayResponse>;
|
|
515
|
+
private __retryRunWebhook;
|
|
516
|
+
/**
|
|
517
|
+
* Get timeline for a run (workflow run or task_v2 run)
|
|
518
|
+
*
|
|
519
|
+
* @param {string} runId - The id of the workflow run or task_v2 run.
|
|
520
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
521
|
+
*
|
|
522
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
523
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
524
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
525
|
+
*
|
|
526
|
+
* @example
|
|
527
|
+
* await client.getRunTimeline("wr_123")
|
|
528
|
+
*/
|
|
529
|
+
getRunTimeline(runId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowRunTimeline[]>;
|
|
530
|
+
private __getRunTimeline;
|
|
531
|
+
/**
|
|
532
|
+
* Returns the current Skyvern server version (git SHA for official builds).
|
|
533
|
+
*
|
|
534
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
535
|
+
*
|
|
536
|
+
* @example
|
|
537
|
+
* await client.getVersion()
|
|
538
|
+
*/
|
|
539
|
+
getVersion(requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Record<string, string>>;
|
|
540
|
+
private __getVersion;
|
|
541
|
+
/**
|
|
542
|
+
* @param {Skyvern.GetRunsV2Request} request
|
|
543
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
544
|
+
*
|
|
545
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
546
|
+
*
|
|
547
|
+
* @example
|
|
548
|
+
* await client.getRunsV2({
|
|
549
|
+
* page: 1,
|
|
550
|
+
* page_size: 1,
|
|
551
|
+
* search_key: "search_key"
|
|
552
|
+
* })
|
|
553
|
+
*/
|
|
554
|
+
getRunsV2(request?: Skyvern.GetRunsV2Request, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TaskRunListItem[]>;
|
|
555
|
+
private __getRunsV2;
|
|
289
556
|
/**
|
|
290
557
|
* @param {Skyvern.BodyUploadFileV1UploadFilePost} request
|
|
291
558
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -295,7 +562,7 @@ export declare class SkyvernClient {
|
|
|
295
562
|
* @example
|
|
296
563
|
* import { createReadStream } from "fs";
|
|
297
564
|
* await client.uploadFile({
|
|
298
|
-
* file:
|
|
565
|
+
* file: "file"
|
|
299
566
|
* })
|
|
300
567
|
*/
|
|
301
568
|
uploadFile(request: Skyvern.BodyUploadFileV1UploadFilePost, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.UploadFileResponse>;
|
|
@@ -310,13 +577,17 @@ export declare class SkyvernClient {
|
|
|
310
577
|
*
|
|
311
578
|
* @example
|
|
312
579
|
* await client.listBrowserProfiles({
|
|
313
|
-
*
|
|
580
|
+
* page: 1,
|
|
581
|
+
* page_size: 1,
|
|
582
|
+
* include_deleted: true,
|
|
583
|
+
* search_key: "search_key",
|
|
584
|
+
* managed: true
|
|
314
585
|
* })
|
|
315
586
|
*/
|
|
316
587
|
listBrowserProfiles(request?: Skyvern.ListBrowserProfilesRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BrowserProfile[]>;
|
|
317
588
|
private __listBrowserProfiles;
|
|
318
589
|
/**
|
|
319
|
-
* Create a browser profile from a persistent browser session or workflow run.
|
|
590
|
+
* Create a blank browser profile, or create one from a persistent browser session or workflow run.
|
|
320
591
|
*
|
|
321
592
|
* @param {Skyvern.CreateBrowserProfileRequest} request
|
|
322
593
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -360,6 +631,22 @@ export declare class SkyvernClient {
|
|
|
360
631
|
*/
|
|
361
632
|
deleteBrowserProfile(profileId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
362
633
|
private __deleteBrowserProfile;
|
|
634
|
+
/**
|
|
635
|
+
* Update a browser profile's name and/or description
|
|
636
|
+
*
|
|
637
|
+
* @param {string} profileId - The ID of the browser profile to update. browser_profile_id starts with `bp_`
|
|
638
|
+
* @param {Skyvern.UpdateBrowserProfileRequest} request
|
|
639
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
640
|
+
*
|
|
641
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
642
|
+
* @throws {@link Skyvern.ConflictError}
|
|
643
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
644
|
+
*
|
|
645
|
+
* @example
|
|
646
|
+
* await client.updateBrowserProfile("bp_123456")
|
|
647
|
+
*/
|
|
648
|
+
updateBrowserProfile(profileId: string, request?: Skyvern.UpdateBrowserProfileRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BrowserProfile>;
|
|
649
|
+
private __updateBrowserProfile;
|
|
363
650
|
/**
|
|
364
651
|
* Get all active browser sessions for the organization
|
|
365
652
|
*
|
|
@@ -395,6 +682,7 @@ export declare class SkyvernClient {
|
|
|
395
682
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
396
683
|
*
|
|
397
684
|
* @throws {@link Skyvern.ForbiddenError}
|
|
685
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
398
686
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
399
687
|
*
|
|
400
688
|
* @example
|
|
@@ -402,6 +690,25 @@ export declare class SkyvernClient {
|
|
|
402
690
|
*/
|
|
403
691
|
closeBrowserSession(browserSessionId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
404
692
|
private __closeBrowserSession;
|
|
693
|
+
/**
|
|
694
|
+
* Extend a live browser session by a number of minutes. Sessions are created with a timeout of at most 240 minutes and can be extended, one or more times, up to a total lifetime of 360 minutes (6 hours). The minutes are added to the session's current deadline. A request for more than the remaining headroom is granted the remainder, and the response carries a warning. The response's `timeout` is the session's new total budget in minutes, counted from when the session started.
|
|
695
|
+
*
|
|
696
|
+
* @param {string} browserSessionId - The ID of the browser session. browser_session_id starts with `pbs_`
|
|
697
|
+
* @param {Skyvern.ExtendBrowserSessionRequest} request
|
|
698
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
699
|
+
*
|
|
700
|
+
* @throws {@link Skyvern.ForbiddenError}
|
|
701
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
702
|
+
* @throws {@link Skyvern.ConflictError}
|
|
703
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
704
|
+
*
|
|
705
|
+
* @example
|
|
706
|
+
* await client.extendBrowserSession("pbs_123456", {
|
|
707
|
+
* additional_minutes: 1
|
|
708
|
+
* })
|
|
709
|
+
*/
|
|
710
|
+
extendBrowserSession(browserSessionId: string, request: Skyvern.ExtendBrowserSessionRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BrowserSessionResponse>;
|
|
711
|
+
private __extendBrowserSession;
|
|
405
712
|
/**
|
|
406
713
|
* Get details about a specific browser session, including the browser address for cdp connection.
|
|
407
714
|
*
|
|
@@ -417,6 +724,25 @@ export declare class SkyvernClient {
|
|
|
417
724
|
*/
|
|
418
725
|
getBrowserSession(browserSessionId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BrowserSessionResponse>;
|
|
419
726
|
private __getBrowserSession;
|
|
727
|
+
/**
|
|
728
|
+
* Update a live browser session. Currently supports toggling generate_browser_profile, which is read when the session ends to decide whether to save its browser profile.
|
|
729
|
+
*
|
|
730
|
+
* @param {string} browserSessionId - The ID of the browser session. browser_session_id starts with `pbs_`
|
|
731
|
+
* @param {Skyvern.UpdateBrowserSessionRequest} request
|
|
732
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
733
|
+
*
|
|
734
|
+
* @throws {@link Skyvern.ForbiddenError}
|
|
735
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
736
|
+
* @throws {@link Skyvern.ConflictError}
|
|
737
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* await client.updateBrowserSession("pbs_123456", {
|
|
741
|
+
* generate_browser_profile: true
|
|
742
|
+
* })
|
|
743
|
+
*/
|
|
744
|
+
updateBrowserSession(browserSessionId: string, request: Skyvern.UpdateBrowserSessionRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.BrowserSessionResponse>;
|
|
745
|
+
private __updateBrowserSession;
|
|
420
746
|
/**
|
|
421
747
|
* Forward a TOTP (2FA, MFA) email or sms message containing the code to Skyvern. This endpoint stores the code in database so that Skyvern can use it while running tasks/workflows.
|
|
422
748
|
*
|
|
@@ -444,7 +770,10 @@ export declare class SkyvernClient {
|
|
|
444
770
|
* @example
|
|
445
771
|
* await client.getCredentials({
|
|
446
772
|
* page: 1,
|
|
447
|
-
* page_size: 10
|
|
773
|
+
* page_size: 10,
|
|
774
|
+
* vault_type: "skyvern",
|
|
775
|
+
* credential_type: "password",
|
|
776
|
+
* search: "search"
|
|
448
777
|
* })
|
|
449
778
|
*/
|
|
450
779
|
getCredentials(request?: Skyvern.GetCredentialsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CredentialResponse[]>;
|
|
@@ -459,12 +788,11 @@ export declare class SkyvernClient {
|
|
|
459
788
|
*
|
|
460
789
|
* @example
|
|
461
790
|
* await client.createCredential({
|
|
462
|
-
* name: "
|
|
791
|
+
* name: "Amazon Login",
|
|
463
792
|
* credential_type: "password",
|
|
464
793
|
* credential: {
|
|
465
794
|
* password: "securepassword123",
|
|
466
|
-
* username: "user@example.com"
|
|
467
|
-
* totp: "JBSWY3DPEHPK3PXP"
|
|
795
|
+
* username: "user@example.com"
|
|
468
796
|
* }
|
|
469
797
|
* })
|
|
470
798
|
*/
|
|
@@ -481,10 +809,10 @@ export declare class SkyvernClient {
|
|
|
481
809
|
*
|
|
482
810
|
* @example
|
|
483
811
|
* await client.updateCredential("cred_1234567890", {
|
|
484
|
-
* name: "
|
|
812
|
+
* name: "Amazon Login",
|
|
485
813
|
* credential_type: "password",
|
|
486
814
|
* credential: {
|
|
487
|
-
* password: "
|
|
815
|
+
* password: "securepassword123",
|
|
488
816
|
* username: "user@example.com"
|
|
489
817
|
* }
|
|
490
818
|
* })
|
|
@@ -517,6 +845,70 @@ export declare class SkyvernClient {
|
|
|
517
845
|
*/
|
|
518
846
|
getCredential(credentialId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CredentialResponse>;
|
|
519
847
|
private __getCredential;
|
|
848
|
+
/**
|
|
849
|
+
* List the custom LLM configurations available to the current organization.
|
|
850
|
+
*
|
|
851
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
852
|
+
*
|
|
853
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
854
|
+
*
|
|
855
|
+
* @example
|
|
856
|
+
* await client.listCustomLlms()
|
|
857
|
+
*/
|
|
858
|
+
listCustomLlms(requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CustomLlmListResponse>;
|
|
859
|
+
private __listCustomLlms;
|
|
860
|
+
/**
|
|
861
|
+
* Create a custom LLM configuration for the current organization.
|
|
862
|
+
*
|
|
863
|
+
* @param {Skyvern.CustomLlmCreateRequest} request
|
|
864
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
865
|
+
*
|
|
866
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
867
|
+
*
|
|
868
|
+
* @example
|
|
869
|
+
* await client.createCustomLlm({
|
|
870
|
+
* config: {
|
|
871
|
+
* display_name: "display_name",
|
|
872
|
+
* provider: "openai_compatible",
|
|
873
|
+
* model_name: "model_name"
|
|
874
|
+
* }
|
|
875
|
+
* })
|
|
876
|
+
*/
|
|
877
|
+
createCustomLlm(request: Skyvern.CustomLlmCreateRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CustomLlmResponse>;
|
|
878
|
+
private __createCustomLlm;
|
|
879
|
+
/**
|
|
880
|
+
* Update a custom LLM configuration for the current organization.
|
|
881
|
+
*
|
|
882
|
+
* @param {string} customLlmId - The custom LLM id.
|
|
883
|
+
* @param {Skyvern.CustomLlmUpdateRequest} request
|
|
884
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
885
|
+
*
|
|
886
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
887
|
+
*
|
|
888
|
+
* @example
|
|
889
|
+
* await client.updateCustomLlm("custom_llm_id", {
|
|
890
|
+
* config: {
|
|
891
|
+
* display_name: "display_name",
|
|
892
|
+
* provider: "openai_compatible",
|
|
893
|
+
* model_name: "model_name"
|
|
894
|
+
* }
|
|
895
|
+
* })
|
|
896
|
+
*/
|
|
897
|
+
updateCustomLlm(customLlmId: string, request: Skyvern.CustomLlmUpdateRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CustomLlmResponse>;
|
|
898
|
+
private __updateCustomLlm;
|
|
899
|
+
/**
|
|
900
|
+
* Delete a custom LLM configuration for the current organization.
|
|
901
|
+
*
|
|
902
|
+
* @param {string} customLlmId - The custom LLM id.
|
|
903
|
+
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
904
|
+
*
|
|
905
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
906
|
+
*
|
|
907
|
+
* @example
|
|
908
|
+
* await client.deleteCustomLlm("custom_llm_id")
|
|
909
|
+
*/
|
|
910
|
+
deleteCustomLlm(customLlmId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.ClearOrganizationAuthTokenResponse>;
|
|
911
|
+
private __deleteCustomLlm;
|
|
520
912
|
/**
|
|
521
913
|
* Log in to a website using either credential stored in Skyvern, Bitwarden, 1Password, or Azure Vault
|
|
522
914
|
*
|
|
@@ -527,6 +919,7 @@ export declare class SkyvernClient {
|
|
|
527
919
|
*
|
|
528
920
|
* @example
|
|
529
921
|
* await client.login({
|
|
922
|
+
* "x-user-agent": "x-user-agent",
|
|
530
923
|
* credential_type: "skyvern"
|
|
531
924
|
* })
|
|
532
925
|
*/
|
|
@@ -542,6 +935,7 @@ export declare class SkyvernClient {
|
|
|
542
935
|
*
|
|
543
936
|
* @example
|
|
544
937
|
* await client.downloadFiles({
|
|
938
|
+
* "x-user-agent": "x-user-agent",
|
|
545
939
|
* navigation_goal: "navigation_goal"
|
|
546
940
|
* })
|
|
547
941
|
*/
|
|
@@ -627,166 +1021,208 @@ export declare class SkyvernClient {
|
|
|
627
1021
|
runSdkAction(request: Skyvern.RunSdkActionRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunSdkActionResponse>;
|
|
628
1022
|
private __runSdkAction;
|
|
629
1023
|
/**
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
* Frontend should redirect the user to the returned URL.
|
|
633
|
-
* After successful checkout, Stripe will send a webhook that we handle
|
|
634
|
-
* to store the subscription and initialize billing state.
|
|
635
|
-
*
|
|
636
|
-
* Returns 400 if org already has an active subscription (use portal instead).
|
|
1024
|
+
* Update a workflow's folder assignment for the latest version
|
|
637
1025
|
*
|
|
638
|
-
* @param {
|
|
1026
|
+
* @param {string} workflowPermanentId - Workflow permanent ID
|
|
1027
|
+
* @param {Skyvern.UpdateWorkflowFolderRequest} request
|
|
639
1028
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
640
1029
|
*
|
|
1030
|
+
* @throws {@link Skyvern.BadRequestError}
|
|
1031
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
641
1032
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
642
1033
|
*
|
|
643
1034
|
* @example
|
|
644
|
-
* await client.
|
|
645
|
-
* tier: "free"
|
|
646
|
-
* })
|
|
1035
|
+
* await client.updateWorkflowFolder("wpid_123")
|
|
647
1036
|
*/
|
|
648
|
-
|
|
649
|
-
private
|
|
1037
|
+
updateWorkflowFolder(workflowPermanentId: string, request?: Skyvern.UpdateWorkflowFolderRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
|
|
1038
|
+
private __updateWorkflowFolder;
|
|
650
1039
|
/**
|
|
651
|
-
*
|
|
652
|
-
*
|
|
653
|
-
* Frontend should redirect the user to the returned URL.
|
|
654
|
-
* The portal allows users to:
|
|
655
|
-
* - Update payment methods
|
|
656
|
-
* - Upgrade/downgrade plans
|
|
657
|
-
* - Cancel subscription
|
|
658
|
-
* - View invoices
|
|
1040
|
+
* Get the current tag state for a workflow.
|
|
659
1041
|
*
|
|
1042
|
+
* @param {string} workflowPermanentId - Workflow permanent ID
|
|
660
1043
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
661
1044
|
*
|
|
1045
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
662
1046
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
663
1047
|
*
|
|
664
1048
|
* @example
|
|
665
|
-
* await client.
|
|
1049
|
+
* await client.getWorkflowTags("wpid_123")
|
|
666
1050
|
*/
|
|
667
|
-
|
|
668
|
-
private
|
|
1051
|
+
getWorkflowTags(workflowPermanentId: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagsResponse>;
|
|
1052
|
+
private __getWorkflowTags;
|
|
669
1053
|
/**
|
|
1054
|
+
* Atomically apply tag changes to a workflow. Sets and deletes happen in one transaction; same-key collisions resolve set-wins.
|
|
1055
|
+
*
|
|
1056
|
+
* @param {string} workflowPermanentId - Workflow permanent ID
|
|
1057
|
+
* @param {Skyvern.TagApplyRequest} request
|
|
670
1058
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
671
1059
|
*
|
|
1060
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
672
1061
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
673
1062
|
*
|
|
674
1063
|
* @example
|
|
675
|
-
* await client.
|
|
1064
|
+
* await client.applyWorkflowTags("wpid_123", {})
|
|
676
1065
|
*/
|
|
677
|
-
|
|
678
|
-
private
|
|
1066
|
+
applyWorkflowTags(workflowPermanentId: string, request: Skyvern.TagApplyRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagsResponse>;
|
|
1067
|
+
private __applyWorkflowTags;
|
|
679
1068
|
/**
|
|
680
|
-
*
|
|
681
|
-
* Portal handles proration based on configured settings:
|
|
682
|
-
* - Upgrades: Immediate proration charge
|
|
683
|
-
* - Downgrades: Apply at end of billing period
|
|
1069
|
+
* Soft-delete a single tag from a workflow. Writes a DELETE event row.
|
|
684
1070
|
*
|
|
685
|
-
* @param {
|
|
1071
|
+
* @param {string} workflowPermanentId - Workflow permanent ID
|
|
1072
|
+
* @param {string} key - Tag key to delete
|
|
686
1073
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
687
1074
|
*
|
|
1075
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
688
1076
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
689
1077
|
*
|
|
690
1078
|
* @example
|
|
691
|
-
* await client.
|
|
692
|
-
* tier: "free"
|
|
693
|
-
* })
|
|
1079
|
+
* await client.deleteWorkflowTag("wpid_123", "env")
|
|
694
1080
|
*/
|
|
695
|
-
|
|
696
|
-
private
|
|
1081
|
+
deleteWorkflowTag(workflowPermanentId: string, key: string, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagsResponse>;
|
|
1082
|
+
private __deleteWorkflowTag;
|
|
697
1083
|
/**
|
|
698
|
-
*
|
|
1084
|
+
* Chronological tag-event log for a workflow (newest first). Includes SET and DELETE events.
|
|
699
1085
|
*
|
|
700
|
-
* @param {
|
|
1086
|
+
* @param {string} workflowPermanentId - Workflow permanent ID
|
|
1087
|
+
* @param {Skyvern.GetWorkflowTagHistoryRequest} request
|
|
701
1088
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
702
1089
|
*
|
|
1090
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
703
1091
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
704
1092
|
*
|
|
705
1093
|
* @example
|
|
706
|
-
* await client.
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
1094
|
+
* await client.getWorkflowTagHistory("wpid_123", {
|
|
1095
|
+
* limit: 1,
|
|
1096
|
+
* since: "2024-01-15T09:30:00Z",
|
|
1097
|
+
* key: "key"
|
|
710
1098
|
* })
|
|
711
1099
|
*/
|
|
712
|
-
|
|
713
|
-
private
|
|
1100
|
+
getWorkflowTagHistory(workflowPermanentId: string, request?: Skyvern.GetWorkflowTagHistoryRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.TagHistoryResponse>;
|
|
1101
|
+
private __getWorkflowTagHistory;
|
|
714
1102
|
/**
|
|
715
|
-
*
|
|
1103
|
+
* Retry a workflow run using the original run parameters.
|
|
716
1104
|
*
|
|
717
|
-
* @param {
|
|
1105
|
+
* @param {string} workflowRunId - The id of the workflow run to retry.
|
|
1106
|
+
* @param {Skyvern.RetryWorkflowRunRequest} request
|
|
718
1107
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
719
1108
|
*
|
|
720
1109
|
* @throws {@link Skyvern.BadRequestError}
|
|
1110
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
721
1111
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
722
1112
|
*
|
|
723
1113
|
* @example
|
|
724
|
-
* await client.
|
|
725
|
-
*
|
|
1114
|
+
* await client.retryWorkflowRun("wr_123", {
|
|
1115
|
+
* "x-max-steps-override": 1,
|
|
1116
|
+
* "x-user-agent": "x-user-agent"
|
|
726
1117
|
* })
|
|
727
1118
|
*/
|
|
728
|
-
|
|
729
|
-
private
|
|
1119
|
+
retryWorkflowRun(workflowRunId: string, request?: Skyvern.RetryWorkflowRunRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowRunResponse>;
|
|
1120
|
+
private __retryWorkflowRun;
|
|
730
1121
|
/**
|
|
731
|
-
*
|
|
1122
|
+
* List workflow runs across all workflows for the current organization.
|
|
732
1123
|
*
|
|
733
|
-
*
|
|
1124
|
+
* Results are paginated and can be filtered by **status**, **search_key**, and **error_code**. All filters are combined with **AND** logic — a run must match every supplied filter to be returned.
|
|
1125
|
+
*
|
|
1126
|
+
* ### search_key
|
|
1127
|
+
*
|
|
1128
|
+
* A case-insensitive substring search that matches against **any** of the following fields:
|
|
1129
|
+
*
|
|
1130
|
+
* | Searched field | Description |
|
|
1131
|
+
* |---|---|
|
|
1132
|
+
* | `workflow_run_id` | The unique run identifier (e.g. `wr_123…`) |
|
|
1133
|
+
* | Parameter **key** | The `key` of any workflow parameter definition associated with the run |
|
|
1134
|
+
* | Parameter **description** | The `description` of any workflow parameter definition |
|
|
1135
|
+
* | Run parameter **value** | The actual value supplied for any parameter when the run was created |
|
|
1136
|
+
* | `extra_http_headers` | Extra HTTP headers attached to the run (searched as raw JSON text) |
|
|
1137
|
+
*
|
|
1138
|
+
* Soft-deleted parameter definitions are excluded from key/description matching. A run is returned if **any** of the fields above contain the search term.
|
|
1139
|
+
*
|
|
1140
|
+
* ### error_code
|
|
1141
|
+
*
|
|
1142
|
+
* An **exact-match** filter against the `error_code` field inside each task's `errors` JSON array. A run matches if **any** of its tasks contains an error object with a matching `error_code` value. Error codes are user-defined strings set during workflow execution (e.g. `INVALID_CREDENTIALS`, `LOGIN_FAILED`, `CAPTCHA_DETECTED`).
|
|
1143
|
+
*
|
|
1144
|
+
* ### Combining filters
|
|
1145
|
+
*
|
|
1146
|
+
* All query parameters use AND logic:
|
|
1147
|
+
* - `?status=failed` — only failed runs
|
|
1148
|
+
* - `?status=failed&error_code=LOGIN_FAILED` — failed runs **and** have a LOGIN_FAILED error
|
|
1149
|
+
* - `?status=failed&error_code=LOGIN_FAILED&search_key=prod_credential` — all three conditions must match
|
|
1150
|
+
*
|
|
1151
|
+
* @param {Skyvern.GetWorkflowRunsRequest} request
|
|
734
1152
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
735
1153
|
*
|
|
736
|
-
* @throws {@link Skyvern.NotFoundError}
|
|
737
1154
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
738
1155
|
*
|
|
739
1156
|
* @example
|
|
740
|
-
* await client.
|
|
1157
|
+
* await client.getWorkflowRuns({
|
|
1158
|
+
* page: 1,
|
|
1159
|
+
* page_size: 1,
|
|
1160
|
+
* search_key: "search_key",
|
|
1161
|
+
* error_code: "error_code"
|
|
1162
|
+
* })
|
|
741
1163
|
*/
|
|
742
|
-
|
|
743
|
-
private
|
|
1164
|
+
getWorkflowRuns(request?: Skyvern.GetWorkflowRunsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowRun[]>;
|
|
1165
|
+
private __getWorkflowRuns;
|
|
744
1166
|
/**
|
|
745
|
-
*
|
|
1167
|
+
* List runs for a specific workflow.
|
|
746
1168
|
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
1169
|
+
* Supports filtering by **status**, **search_key**, and **error_code**. All filters are combined with **AND** logic.
|
|
1170
|
+
*
|
|
1171
|
+
* ### search_key
|
|
1172
|
+
*
|
|
1173
|
+
* Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. Soft-deleted parameter definitions are excluded.
|
|
1174
|
+
*
|
|
1175
|
+
* ### error_code
|
|
1176
|
+
*
|
|
1177
|
+
* 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`.
|
|
1178
|
+
*
|
|
1179
|
+
* @param {string} workflowId
|
|
1180
|
+
* @param {Skyvern.GetWorkflowRunsByIdRequest} request
|
|
749
1181
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
750
1182
|
*
|
|
751
|
-
* @throws {@link Skyvern.NotFoundError}
|
|
752
1183
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
753
1184
|
*
|
|
754
1185
|
* @example
|
|
755
|
-
* await client.
|
|
1186
|
+
* await client.getWorkflowRunsById("workflow_id", {
|
|
1187
|
+
* page: 1,
|
|
1188
|
+
* page_size: 1,
|
|
1189
|
+
* search_key: "search_key",
|
|
1190
|
+
* error_code: "error_code",
|
|
1191
|
+
* created_at_start: "2024-01-15T09:30:00Z",
|
|
1192
|
+
* created_at_end: "2024-01-15T09:30:00Z"
|
|
1193
|
+
* })
|
|
756
1194
|
*/
|
|
757
|
-
|
|
758
|
-
private
|
|
1195
|
+
getWorkflowRunsById(workflowId: string, request?: Skyvern.GetWorkflowRunsByIdRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.WorkflowRun[]>;
|
|
1196
|
+
private __getWorkflowRunsById;
|
|
759
1197
|
/**
|
|
760
|
-
*
|
|
761
|
-
*
|
|
762
|
-
* @param {string} folderId - Folder ID
|
|
763
|
-
* @param {Skyvern.DeleteFolderRequest} request
|
|
1198
|
+
* @param {string} workflowPermanentId
|
|
1199
|
+
* @param {Skyvern.GetWorkflowRequest} request
|
|
764
1200
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
765
1201
|
*
|
|
766
|
-
* @throws {@link Skyvern.NotFoundError}
|
|
767
1202
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
768
1203
|
*
|
|
769
1204
|
* @example
|
|
770
|
-
* await client.
|
|
771
|
-
*
|
|
1205
|
+
* await client.getWorkflow("workflow_permanent_id", {
|
|
1206
|
+
* version: 1,
|
|
1207
|
+
* template: true
|
|
772
1208
|
* })
|
|
773
1209
|
*/
|
|
774
|
-
|
|
775
|
-
private
|
|
1210
|
+
getWorkflow(workflowPermanentId: string, request?: Skyvern.GetWorkflowRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
|
|
1211
|
+
private __getWorkflow;
|
|
776
1212
|
/**
|
|
777
|
-
*
|
|
1213
|
+
* Get all versions of a workflow by its permanent ID.
|
|
778
1214
|
*
|
|
779
|
-
* @param {string} workflowPermanentId
|
|
780
|
-
* @param {Skyvern.
|
|
1215
|
+
* @param {string} workflowPermanentId
|
|
1216
|
+
* @param {Skyvern.GetWorkflowVersionsRequest} request
|
|
781
1217
|
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
782
1218
|
*
|
|
783
|
-
* @throws {@link Skyvern.BadRequestError}
|
|
784
|
-
* @throws {@link Skyvern.NotFoundError}
|
|
785
1219
|
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
786
1220
|
*
|
|
787
1221
|
* @example
|
|
788
|
-
* await client.
|
|
1222
|
+
* await client.getWorkflowVersions("workflow_permanent_id", {
|
|
1223
|
+
* template: true
|
|
1224
|
+
* })
|
|
789
1225
|
*/
|
|
790
|
-
|
|
791
|
-
private
|
|
1226
|
+
getWorkflowVersions(workflowPermanentId: string, request?: Skyvern.GetWorkflowVersionsRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow[]>;
|
|
1227
|
+
private __getWorkflowVersions;
|
|
792
1228
|
}
|