@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/reference.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Reference
|
|
2
|
-
<details><summary><code>client.<a href="/src/Client.ts">
|
|
2
|
+
<details><summary><code>client.<a href="/src/Client.ts">getWorkflowVersions</a>(workflowPermanentId, { ...params }) -> Skyvern.Workflow[]</code></summary>
|
|
3
3
|
<dl>
|
|
4
4
|
<dd>
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<dl>
|
|
12
12
|
<dd>
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Get all versions of a workflow by its permanent ID.
|
|
15
15
|
</dd>
|
|
16
16
|
</dl>
|
|
17
17
|
</dd>
|
|
@@ -26,7 +26,9 @@ Update a workflow's folder assignment for the latest version
|
|
|
26
26
|
<dd>
|
|
27
27
|
|
|
28
28
|
```typescript
|
|
29
|
-
await client.
|
|
29
|
+
await client.getWorkflowVersions("workflow_permanent_id", {
|
|
30
|
+
template: true
|
|
31
|
+
});
|
|
30
32
|
|
|
31
33
|
```
|
|
32
34
|
</dd>
|
|
@@ -42,7 +44,7 @@ await client.updateWorkflowFolder("wpid_123");
|
|
|
42
44
|
<dl>
|
|
43
45
|
<dd>
|
|
44
46
|
|
|
45
|
-
**workflowPermanentId:** `string`
|
|
47
|
+
**workflowPermanentId:** `string`
|
|
46
48
|
|
|
47
49
|
</dd>
|
|
48
50
|
</dl>
|
|
@@ -50,7 +52,7 @@ await client.updateWorkflowFolder("wpid_123");
|
|
|
50
52
|
<dl>
|
|
51
53
|
<dd>
|
|
52
54
|
|
|
53
|
-
**request:** `Skyvern.
|
|
55
|
+
**request:** `Skyvern.GetWorkflowVersionsRequest`
|
|
54
56
|
|
|
55
57
|
</dd>
|
|
56
58
|
</dl>
|
|
@@ -71,6 +73,70 @@ await client.updateWorkflowFolder("wpid_123");
|
|
|
71
73
|
</details>
|
|
72
74
|
|
|
73
75
|
##
|
|
76
|
+
## Artifacts
|
|
77
|
+
<details><summary><code>client.artifacts.<a href="/src/api/resources/artifacts/client/Client.ts">getArtifactContent</a>(artifactId) -> unknown</code></summary>
|
|
78
|
+
<dl>
|
|
79
|
+
<dd>
|
|
80
|
+
|
|
81
|
+
#### 📝 Description
|
|
82
|
+
|
|
83
|
+
<dl>
|
|
84
|
+
<dd>
|
|
85
|
+
|
|
86
|
+
<dl>
|
|
87
|
+
<dd>
|
|
88
|
+
|
|
89
|
+
Download the raw content of an artifact (supports bundled artifacts).
|
|
90
|
+
</dd>
|
|
91
|
+
</dl>
|
|
92
|
+
</dd>
|
|
93
|
+
</dl>
|
|
94
|
+
|
|
95
|
+
#### 🔌 Usage
|
|
96
|
+
|
|
97
|
+
<dl>
|
|
98
|
+
<dd>
|
|
99
|
+
|
|
100
|
+
<dl>
|
|
101
|
+
<dd>
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
await client.artifacts.getArtifactContent("artifact_id");
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
</dd>
|
|
108
|
+
</dl>
|
|
109
|
+
</dd>
|
|
110
|
+
</dl>
|
|
111
|
+
|
|
112
|
+
#### ⚙️ Parameters
|
|
113
|
+
|
|
114
|
+
<dl>
|
|
115
|
+
<dd>
|
|
116
|
+
|
|
117
|
+
<dl>
|
|
118
|
+
<dd>
|
|
119
|
+
|
|
120
|
+
**artifactId:** `string`
|
|
121
|
+
|
|
122
|
+
</dd>
|
|
123
|
+
</dl>
|
|
124
|
+
|
|
125
|
+
<dl>
|
|
126
|
+
<dd>
|
|
127
|
+
|
|
128
|
+
**requestOptions:** `Artifacts.RequestOptions`
|
|
129
|
+
|
|
130
|
+
</dd>
|
|
131
|
+
</dl>
|
|
132
|
+
</dd>
|
|
133
|
+
</dl>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</dd>
|
|
137
|
+
</dl>
|
|
138
|
+
</details>
|
|
139
|
+
|
|
74
140
|
## Scripts
|
|
75
141
|
<details><summary><code>client.scripts.<a href="/src/api/resources/scripts/client/Client.ts">runScript</a>(scriptId) -> unknown</code></summary>
|
|
76
142
|
<dl>
|
|
@@ -131,6 +197,641 @@ await client.scripts.runScript("s_abc123");
|
|
|
131
197
|
</dl>
|
|
132
198
|
|
|
133
199
|
|
|
200
|
+
</dd>
|
|
201
|
+
</dl>
|
|
202
|
+
</details>
|
|
203
|
+
|
|
204
|
+
## Schedules
|
|
205
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">listAll</a>({ ...params }) -> Skyvern.OrganizationScheduleListResponse</code></summary>
|
|
206
|
+
<dl>
|
|
207
|
+
<dd>
|
|
208
|
+
|
|
209
|
+
#### 🔌 Usage
|
|
210
|
+
|
|
211
|
+
<dl>
|
|
212
|
+
<dd>
|
|
213
|
+
|
|
214
|
+
<dl>
|
|
215
|
+
<dd>
|
|
216
|
+
|
|
217
|
+
```typescript
|
|
218
|
+
await client.schedules.listAll({
|
|
219
|
+
page: 1,
|
|
220
|
+
page_size: 1,
|
|
221
|
+
status: "active",
|
|
222
|
+
search: "search"
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
</dd>
|
|
227
|
+
</dl>
|
|
228
|
+
</dd>
|
|
229
|
+
</dl>
|
|
230
|
+
|
|
231
|
+
#### ⚙️ Parameters
|
|
232
|
+
|
|
233
|
+
<dl>
|
|
234
|
+
<dd>
|
|
235
|
+
|
|
236
|
+
<dl>
|
|
237
|
+
<dd>
|
|
238
|
+
|
|
239
|
+
**request:** `Skyvern.SchedulesListAllRequest`
|
|
240
|
+
|
|
241
|
+
</dd>
|
|
242
|
+
</dl>
|
|
243
|
+
|
|
244
|
+
<dl>
|
|
245
|
+
<dd>
|
|
246
|
+
|
|
247
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
248
|
+
|
|
249
|
+
</dd>
|
|
250
|
+
</dl>
|
|
251
|
+
</dd>
|
|
252
|
+
</dl>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
</dd>
|
|
256
|
+
</dl>
|
|
257
|
+
</details>
|
|
258
|
+
|
|
259
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">list</a>(workflowPermanentId) -> Skyvern.WorkflowScheduleListResponse</code></summary>
|
|
260
|
+
<dl>
|
|
261
|
+
<dd>
|
|
262
|
+
|
|
263
|
+
#### 🔌 Usage
|
|
264
|
+
|
|
265
|
+
<dl>
|
|
266
|
+
<dd>
|
|
267
|
+
|
|
268
|
+
<dl>
|
|
269
|
+
<dd>
|
|
270
|
+
|
|
271
|
+
```typescript
|
|
272
|
+
await client.schedules.list("workflow_permanent_id");
|
|
273
|
+
|
|
274
|
+
```
|
|
275
|
+
</dd>
|
|
276
|
+
</dl>
|
|
277
|
+
</dd>
|
|
278
|
+
</dl>
|
|
279
|
+
|
|
280
|
+
#### ⚙️ Parameters
|
|
281
|
+
|
|
282
|
+
<dl>
|
|
283
|
+
<dd>
|
|
284
|
+
|
|
285
|
+
<dl>
|
|
286
|
+
<dd>
|
|
287
|
+
|
|
288
|
+
**workflowPermanentId:** `string`
|
|
289
|
+
|
|
290
|
+
</dd>
|
|
291
|
+
</dl>
|
|
292
|
+
|
|
293
|
+
<dl>
|
|
294
|
+
<dd>
|
|
295
|
+
|
|
296
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
297
|
+
|
|
298
|
+
</dd>
|
|
299
|
+
</dl>
|
|
300
|
+
</dd>
|
|
301
|
+
</dl>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
</dd>
|
|
305
|
+
</dl>
|
|
306
|
+
</details>
|
|
307
|
+
|
|
308
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">create</a>(workflowPermanentId, { ...params }) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
309
|
+
<dl>
|
|
310
|
+
<dd>
|
|
311
|
+
|
|
312
|
+
#### 📝 Description
|
|
313
|
+
|
|
314
|
+
<dl>
|
|
315
|
+
<dd>
|
|
316
|
+
|
|
317
|
+
<dl>
|
|
318
|
+
<dd>
|
|
319
|
+
|
|
320
|
+
Create a cron, fixed-interval or one-time schedule that runs the given agent automatically with a fixed set of parameters. An interval schedule first runs at first_fire_at, or one interval after creation. A one-time schedule runs once at run_at. Returns the stored schedule and its next upcoming run times.
|
|
321
|
+
</dd>
|
|
322
|
+
</dl>
|
|
323
|
+
</dd>
|
|
324
|
+
</dl>
|
|
325
|
+
|
|
326
|
+
#### 🔌 Usage
|
|
327
|
+
|
|
328
|
+
<dl>
|
|
329
|
+
<dd>
|
|
330
|
+
|
|
331
|
+
<dl>
|
|
332
|
+
<dd>
|
|
333
|
+
|
|
334
|
+
```typescript
|
|
335
|
+
await client.schedules.create("workflow_permanent_id", {
|
|
336
|
+
timezone: "timezone"
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
```
|
|
340
|
+
</dd>
|
|
341
|
+
</dl>
|
|
342
|
+
</dd>
|
|
343
|
+
</dl>
|
|
344
|
+
|
|
345
|
+
#### ⚙️ Parameters
|
|
346
|
+
|
|
347
|
+
<dl>
|
|
348
|
+
<dd>
|
|
349
|
+
|
|
350
|
+
<dl>
|
|
351
|
+
<dd>
|
|
352
|
+
|
|
353
|
+
**workflowPermanentId:** `string`
|
|
354
|
+
|
|
355
|
+
</dd>
|
|
356
|
+
</dl>
|
|
357
|
+
|
|
358
|
+
<dl>
|
|
359
|
+
<dd>
|
|
360
|
+
|
|
361
|
+
**request:** `Skyvern.WorkflowScheduleUpsertRequest`
|
|
362
|
+
|
|
363
|
+
</dd>
|
|
364
|
+
</dl>
|
|
365
|
+
|
|
366
|
+
<dl>
|
|
367
|
+
<dd>
|
|
368
|
+
|
|
369
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
370
|
+
|
|
371
|
+
</dd>
|
|
372
|
+
</dl>
|
|
373
|
+
</dd>
|
|
374
|
+
</dl>
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
</dd>
|
|
378
|
+
</dl>
|
|
379
|
+
</details>
|
|
380
|
+
|
|
381
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">get</a>(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
382
|
+
<dl>
|
|
383
|
+
<dd>
|
|
384
|
+
|
|
385
|
+
#### 📝 Description
|
|
386
|
+
|
|
387
|
+
<dl>
|
|
388
|
+
<dd>
|
|
389
|
+
|
|
390
|
+
<dl>
|
|
391
|
+
<dd>
|
|
392
|
+
|
|
393
|
+
Fetch one schedule belonging to an agent. Returns the schedule's cron expression or interval, timezone, parameters, enabled state, and next upcoming run times.
|
|
394
|
+
</dd>
|
|
395
|
+
</dl>
|
|
396
|
+
</dd>
|
|
397
|
+
</dl>
|
|
398
|
+
|
|
399
|
+
#### 🔌 Usage
|
|
400
|
+
|
|
401
|
+
<dl>
|
|
402
|
+
<dd>
|
|
403
|
+
|
|
404
|
+
<dl>
|
|
405
|
+
<dd>
|
|
406
|
+
|
|
407
|
+
```typescript
|
|
408
|
+
await client.schedules.get("workflow_permanent_id", "workflow_schedule_id");
|
|
409
|
+
|
|
410
|
+
```
|
|
411
|
+
</dd>
|
|
412
|
+
</dl>
|
|
413
|
+
</dd>
|
|
414
|
+
</dl>
|
|
415
|
+
|
|
416
|
+
#### ⚙️ Parameters
|
|
417
|
+
|
|
418
|
+
<dl>
|
|
419
|
+
<dd>
|
|
420
|
+
|
|
421
|
+
<dl>
|
|
422
|
+
<dd>
|
|
423
|
+
|
|
424
|
+
**workflowPermanentId:** `string`
|
|
425
|
+
|
|
426
|
+
</dd>
|
|
427
|
+
</dl>
|
|
428
|
+
|
|
429
|
+
<dl>
|
|
430
|
+
<dd>
|
|
431
|
+
|
|
432
|
+
**workflowScheduleId:** `string`
|
|
433
|
+
|
|
434
|
+
</dd>
|
|
435
|
+
</dl>
|
|
436
|
+
|
|
437
|
+
<dl>
|
|
438
|
+
<dd>
|
|
439
|
+
|
|
440
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
441
|
+
|
|
442
|
+
</dd>
|
|
443
|
+
</dl>
|
|
444
|
+
</dd>
|
|
445
|
+
</dl>
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
</dd>
|
|
449
|
+
</dl>
|
|
450
|
+
</details>
|
|
451
|
+
|
|
452
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">update</a>(workflowPermanentId, workflowScheduleId, { ...params }) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
453
|
+
<dl>
|
|
454
|
+
<dd>
|
|
455
|
+
|
|
456
|
+
#### 📝 Description
|
|
457
|
+
|
|
458
|
+
<dl>
|
|
459
|
+
<dd>
|
|
460
|
+
|
|
461
|
+
<dl>
|
|
462
|
+
<dd>
|
|
463
|
+
|
|
464
|
+
Replace a schedule's cron expression, interval or one-time run_at, timezone, run parameters, and enabled state. A one-time schedule stays one-time and can change only until it fires; afterwards this returns 409. Returns the updated schedule and its next upcoming run times.
|
|
465
|
+
</dd>
|
|
466
|
+
</dl>
|
|
467
|
+
</dd>
|
|
468
|
+
</dl>
|
|
469
|
+
|
|
470
|
+
#### 🔌 Usage
|
|
471
|
+
|
|
472
|
+
<dl>
|
|
473
|
+
<dd>
|
|
474
|
+
|
|
475
|
+
<dl>
|
|
476
|
+
<dd>
|
|
477
|
+
|
|
478
|
+
```typescript
|
|
479
|
+
await client.schedules.update("workflow_permanent_id", "workflow_schedule_id", {
|
|
480
|
+
timezone: "timezone"
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
```
|
|
484
|
+
</dd>
|
|
485
|
+
</dl>
|
|
486
|
+
</dd>
|
|
487
|
+
</dl>
|
|
488
|
+
|
|
489
|
+
#### ⚙️ Parameters
|
|
490
|
+
|
|
491
|
+
<dl>
|
|
492
|
+
<dd>
|
|
493
|
+
|
|
494
|
+
<dl>
|
|
495
|
+
<dd>
|
|
496
|
+
|
|
497
|
+
**workflowPermanentId:** `string`
|
|
498
|
+
|
|
499
|
+
</dd>
|
|
500
|
+
</dl>
|
|
501
|
+
|
|
502
|
+
<dl>
|
|
503
|
+
<dd>
|
|
504
|
+
|
|
505
|
+
**workflowScheduleId:** `string`
|
|
506
|
+
|
|
507
|
+
</dd>
|
|
508
|
+
</dl>
|
|
509
|
+
|
|
510
|
+
<dl>
|
|
511
|
+
<dd>
|
|
512
|
+
|
|
513
|
+
**request:** `Skyvern.WorkflowScheduleUpsertRequest`
|
|
514
|
+
|
|
515
|
+
</dd>
|
|
516
|
+
</dl>
|
|
517
|
+
|
|
518
|
+
<dl>
|
|
519
|
+
<dd>
|
|
520
|
+
|
|
521
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
522
|
+
|
|
523
|
+
</dd>
|
|
524
|
+
</dl>
|
|
525
|
+
</dd>
|
|
526
|
+
</dl>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
</dd>
|
|
530
|
+
</dl>
|
|
531
|
+
</details>
|
|
532
|
+
|
|
533
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">delete</a>(workflowPermanentId, workflowScheduleId) -> Skyvern.DeleteScheduleResponse</code></summary>
|
|
534
|
+
<dl>
|
|
535
|
+
<dd>
|
|
536
|
+
|
|
537
|
+
#### 🔌 Usage
|
|
538
|
+
|
|
539
|
+
<dl>
|
|
540
|
+
<dd>
|
|
541
|
+
|
|
542
|
+
<dl>
|
|
543
|
+
<dd>
|
|
544
|
+
|
|
545
|
+
```typescript
|
|
546
|
+
await client.schedules.delete("workflow_permanent_id", "workflow_schedule_id");
|
|
547
|
+
|
|
548
|
+
```
|
|
549
|
+
</dd>
|
|
550
|
+
</dl>
|
|
551
|
+
</dd>
|
|
552
|
+
</dl>
|
|
553
|
+
|
|
554
|
+
#### ⚙️ Parameters
|
|
555
|
+
|
|
556
|
+
<dl>
|
|
557
|
+
<dd>
|
|
558
|
+
|
|
559
|
+
<dl>
|
|
560
|
+
<dd>
|
|
561
|
+
|
|
562
|
+
**workflowPermanentId:** `string`
|
|
563
|
+
|
|
564
|
+
</dd>
|
|
565
|
+
</dl>
|
|
566
|
+
|
|
567
|
+
<dl>
|
|
568
|
+
<dd>
|
|
569
|
+
|
|
570
|
+
**workflowScheduleId:** `string`
|
|
571
|
+
|
|
572
|
+
</dd>
|
|
573
|
+
</dl>
|
|
574
|
+
|
|
575
|
+
<dl>
|
|
576
|
+
<dd>
|
|
577
|
+
|
|
578
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
579
|
+
|
|
580
|
+
</dd>
|
|
581
|
+
</dl>
|
|
582
|
+
</dd>
|
|
583
|
+
</dl>
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
</dd>
|
|
587
|
+
</dl>
|
|
588
|
+
</details>
|
|
589
|
+
|
|
590
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">enable</a>(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
591
|
+
<dl>
|
|
592
|
+
<dd>
|
|
593
|
+
|
|
594
|
+
#### 🔌 Usage
|
|
595
|
+
|
|
596
|
+
<dl>
|
|
597
|
+
<dd>
|
|
598
|
+
|
|
599
|
+
<dl>
|
|
600
|
+
<dd>
|
|
601
|
+
|
|
602
|
+
```typescript
|
|
603
|
+
await client.schedules.enable("workflow_permanent_id", "workflow_schedule_id");
|
|
604
|
+
|
|
605
|
+
```
|
|
606
|
+
</dd>
|
|
607
|
+
</dl>
|
|
608
|
+
</dd>
|
|
609
|
+
</dl>
|
|
610
|
+
|
|
611
|
+
#### ⚙️ Parameters
|
|
612
|
+
|
|
613
|
+
<dl>
|
|
614
|
+
<dd>
|
|
615
|
+
|
|
616
|
+
<dl>
|
|
617
|
+
<dd>
|
|
618
|
+
|
|
619
|
+
**workflowPermanentId:** `string`
|
|
620
|
+
|
|
621
|
+
</dd>
|
|
622
|
+
</dl>
|
|
623
|
+
|
|
624
|
+
<dl>
|
|
625
|
+
<dd>
|
|
626
|
+
|
|
627
|
+
**workflowScheduleId:** `string`
|
|
628
|
+
|
|
629
|
+
</dd>
|
|
630
|
+
</dl>
|
|
631
|
+
|
|
632
|
+
<dl>
|
|
633
|
+
<dd>
|
|
634
|
+
|
|
635
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
636
|
+
|
|
637
|
+
</dd>
|
|
638
|
+
</dl>
|
|
639
|
+
</dd>
|
|
640
|
+
</dl>
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
</dd>
|
|
644
|
+
</dl>
|
|
645
|
+
</details>
|
|
646
|
+
|
|
647
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">disable</a>(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
648
|
+
<dl>
|
|
649
|
+
<dd>
|
|
650
|
+
|
|
651
|
+
#### 🔌 Usage
|
|
652
|
+
|
|
653
|
+
<dl>
|
|
654
|
+
<dd>
|
|
655
|
+
|
|
656
|
+
<dl>
|
|
657
|
+
<dd>
|
|
658
|
+
|
|
659
|
+
```typescript
|
|
660
|
+
await client.schedules.disable("workflow_permanent_id", "workflow_schedule_id");
|
|
661
|
+
|
|
662
|
+
```
|
|
663
|
+
</dd>
|
|
664
|
+
</dl>
|
|
665
|
+
</dd>
|
|
666
|
+
</dl>
|
|
667
|
+
|
|
668
|
+
#### ⚙️ Parameters
|
|
669
|
+
|
|
670
|
+
<dl>
|
|
671
|
+
<dd>
|
|
672
|
+
|
|
673
|
+
<dl>
|
|
674
|
+
<dd>
|
|
675
|
+
|
|
676
|
+
**workflowPermanentId:** `string`
|
|
677
|
+
|
|
678
|
+
</dd>
|
|
679
|
+
</dl>
|
|
680
|
+
|
|
681
|
+
<dl>
|
|
682
|
+
<dd>
|
|
683
|
+
|
|
684
|
+
**workflowScheduleId:** `string`
|
|
685
|
+
|
|
686
|
+
</dd>
|
|
687
|
+
</dl>
|
|
688
|
+
|
|
689
|
+
<dl>
|
|
690
|
+
<dd>
|
|
691
|
+
|
|
692
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
693
|
+
|
|
694
|
+
</dd>
|
|
695
|
+
</dl>
|
|
696
|
+
</dd>
|
|
697
|
+
</dl>
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
</dd>
|
|
701
|
+
</dl>
|
|
702
|
+
</details>
|
|
703
|
+
|
|
704
|
+
<details><summary><code>client.schedules.<a href="/src/api/resources/schedules/client/Client.ts">cancel</a>(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse</code></summary>
|
|
705
|
+
<dl>
|
|
706
|
+
<dd>
|
|
707
|
+
|
|
708
|
+
#### 📝 Description
|
|
709
|
+
|
|
710
|
+
<dl>
|
|
711
|
+
<dd>
|
|
712
|
+
|
|
713
|
+
<dl>
|
|
714
|
+
<dd>
|
|
715
|
+
|
|
716
|
+
Cancel a one-time schedule that has not fired yet. The schedule stays readable with dispatch_status canceled. Returns 409 once it has fired or was already canceled, and 422 for a recurring schedule.
|
|
717
|
+
</dd>
|
|
718
|
+
</dl>
|
|
719
|
+
</dd>
|
|
720
|
+
</dl>
|
|
721
|
+
|
|
722
|
+
#### 🔌 Usage
|
|
723
|
+
|
|
724
|
+
<dl>
|
|
725
|
+
<dd>
|
|
726
|
+
|
|
727
|
+
<dl>
|
|
728
|
+
<dd>
|
|
729
|
+
|
|
730
|
+
```typescript
|
|
731
|
+
await client.schedules.cancel("workflow_permanent_id", "workflow_schedule_id");
|
|
732
|
+
|
|
733
|
+
```
|
|
734
|
+
</dd>
|
|
735
|
+
</dl>
|
|
736
|
+
</dd>
|
|
737
|
+
</dl>
|
|
738
|
+
|
|
739
|
+
#### ⚙️ Parameters
|
|
740
|
+
|
|
741
|
+
<dl>
|
|
742
|
+
<dd>
|
|
743
|
+
|
|
744
|
+
<dl>
|
|
745
|
+
<dd>
|
|
746
|
+
|
|
747
|
+
**workflowPermanentId:** `string`
|
|
748
|
+
|
|
749
|
+
</dd>
|
|
750
|
+
</dl>
|
|
751
|
+
|
|
752
|
+
<dl>
|
|
753
|
+
<dd>
|
|
754
|
+
|
|
755
|
+
**workflowScheduleId:** `string`
|
|
756
|
+
|
|
757
|
+
</dd>
|
|
758
|
+
</dl>
|
|
759
|
+
|
|
760
|
+
<dl>
|
|
761
|
+
<dd>
|
|
762
|
+
|
|
763
|
+
**requestOptions:** `Schedules.RequestOptions`
|
|
764
|
+
|
|
765
|
+
</dd>
|
|
766
|
+
</dl>
|
|
767
|
+
</dd>
|
|
768
|
+
</dl>
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
</dd>
|
|
772
|
+
</dl>
|
|
773
|
+
</details>
|
|
774
|
+
|
|
775
|
+
## Agents
|
|
776
|
+
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">resetWorkflowBrowserProfile</a>(workflowPermanentId) -> void</code></summary>
|
|
777
|
+
<dl>
|
|
778
|
+
<dd>
|
|
779
|
+
|
|
780
|
+
#### 📝 Description
|
|
781
|
+
|
|
782
|
+
<dl>
|
|
783
|
+
<dd>
|
|
784
|
+
|
|
785
|
+
<dl>
|
|
786
|
+
<dd>
|
|
787
|
+
|
|
788
|
+
Clear the persisted browser profile for a workflow that uses `Save & Reuse Session`. The next run will start from a fresh browser state. Use when a saved profile is corrupted.
|
|
789
|
+
</dd>
|
|
790
|
+
</dl>
|
|
791
|
+
</dd>
|
|
792
|
+
</dl>
|
|
793
|
+
|
|
794
|
+
#### 🔌 Usage
|
|
795
|
+
|
|
796
|
+
<dl>
|
|
797
|
+
<dd>
|
|
798
|
+
|
|
799
|
+
<dl>
|
|
800
|
+
<dd>
|
|
801
|
+
|
|
802
|
+
```typescript
|
|
803
|
+
await client.agents.resetWorkflowBrowserProfile("wpid_123");
|
|
804
|
+
|
|
805
|
+
```
|
|
806
|
+
</dd>
|
|
807
|
+
</dl>
|
|
808
|
+
</dd>
|
|
809
|
+
</dl>
|
|
810
|
+
|
|
811
|
+
#### ⚙️ Parameters
|
|
812
|
+
|
|
813
|
+
<dl>
|
|
814
|
+
<dd>
|
|
815
|
+
|
|
816
|
+
<dl>
|
|
817
|
+
<dd>
|
|
818
|
+
|
|
819
|
+
**workflowPermanentId:** `string` — The permanent ID of the workflow. Starts with `wpid_`.
|
|
820
|
+
|
|
821
|
+
</dd>
|
|
822
|
+
</dl>
|
|
823
|
+
|
|
824
|
+
<dl>
|
|
825
|
+
<dd>
|
|
826
|
+
|
|
827
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
828
|
+
|
|
829
|
+
</dd>
|
|
830
|
+
</dl>
|
|
831
|
+
</dd>
|
|
832
|
+
</dl>
|
|
833
|
+
|
|
834
|
+
|
|
134
835
|
</dd>
|
|
135
836
|
</dl>
|
|
136
837
|
</details>
|