@skyvern/client 1.0.24 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -49
- package/dist/cjs/Client.d.ts +587 -170
- package/dist/cjs/Client.js +2478 -682
- package/dist/cjs/api/client/requests/BatchGetRunTagsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/BatchGetWorkflowTagsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/BodyUploadFileV1UploadFilePost.d.ts +2 -3
- package/dist/cjs/api/client/requests/BulkCancelRunsRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/CreateBrowserProfileRequest.d.ts +13 -2
- package/dist/cjs/api/client/requests/CreateBrowserSessionRequest.d.ts +51 -1
- package/dist/cjs/api/client/requests/CustomLlmCreateRequest.d.ts +14 -0
- package/dist/cjs/api/client/requests/CustomLlmUpdateRequest.d.ts +14 -0
- package/dist/cjs/api/client/requests/DownloadFilesRequest.d.ts +4 -0
- package/dist/cjs/api/client/requests/GetCredentialsRequest.d.ts +11 -1
- package/dist/cjs/api/client/requests/GetRunTagHistoryRequest.d.ts +16 -0
- package/dist/cjs/api/client/requests/GetRunsV2Request.d.ts +17 -0
- package/dist/cjs/api/client/requests/GetWorkflowRunsByIdRequest.d.ts +28 -0
- package/dist/cjs/api/client/requests/GetWorkflowTagHistoryRequest.d.ts +16 -0
- package/dist/cjs/api/client/requests/GetWorkflowsRequest.d.ts +2 -0
- package/dist/cjs/api/client/requests/ListBrowserProfilesRequest.d.ts +11 -1
- package/dist/cjs/api/client/requests/ListTagValuesRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/LoginRequest.d.ts +5 -1
- package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.d.ts +11 -0
- package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.js +3 -0
- package/dist/cjs/api/client/requests/RunTagsBatchRequest.d.ts +8 -0
- package/dist/cjs/api/client/requests/RunTagsBatchRequest.js +3 -0
- package/dist/cjs/api/client/requests/TagKeyUpdate.d.ts +8 -0
- package/dist/cjs/api/client/requests/TagKeyUpdate.js +3 -0
- package/dist/cjs/api/client/requests/TagValueDelete.d.ts +10 -0
- package/dist/cjs/api/client/requests/TagValueDelete.js +3 -0
- package/dist/cjs/api/client/requests/TagValueRename.d.ts +13 -0
- package/dist/cjs/api/client/requests/TagValueRename.js +3 -0
- package/dist/cjs/api/client/requests/TagValueUpdate.d.ts +13 -0
- package/dist/cjs/api/client/requests/TagValueUpdate.js +3 -0
- package/dist/cjs/api/client/requests/TaskRunRequestInput.d.ts +153 -0
- package/dist/cjs/api/client/requests/TaskRunRequestInput.js +3 -0
- package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.d.ts +23 -0
- package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.js +3 -0
- package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.d.ts +10 -0
- package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.js +3 -0
- package/dist/cjs/api/client/requests/WorkflowRunRequestInput.d.ts +128 -0
- package/dist/cjs/api/client/requests/WorkflowRunRequestInput.js +3 -0
- package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.d.ts +8 -0
- package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.js +3 -0
- package/dist/cjs/api/client/requests/index.d.ts +21 -4
- package/dist/cjs/api/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/errors/InternalServerError.js +50 -0
- package/dist/cjs/api/errors/RangeNotSatisfiableError.d.ts +5 -0
- package/dist/cjs/api/errors/RangeNotSatisfiableError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +2 -0
- package/dist/cjs/api/errors/index.js +2 -0
- package/dist/cjs/api/resources/agents/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/agents/client/Client.js +122 -0
- package/dist/cjs/api/resources/agents/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agents/client/index.js +2 -0
- package/dist/cjs/api/resources/agents/index.d.ts +1 -0
- package/dist/cjs/api/resources/agents/index.js +17 -0
- package/dist/cjs/api/resources/artifacts/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/artifacts/client/Client.js +125 -0
- package/dist/cjs/api/resources/artifacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/artifacts/client/index.js +2 -0
- package/dist/cjs/api/resources/artifacts/index.d.ts +1 -0
- package/dist/cjs/api/resources/artifacts/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +9 -1
- package/dist/cjs/api/resources/schedules/client/Client.d.ts +119 -0
- package/dist/cjs/api/resources/schedules/client/Client.js +554 -0
- package/dist/cjs/api/resources/schedules/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/client/index.js +17 -0
- package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.d.ts +18 -0
- package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.js +3 -0
- package/dist/cjs/api/resources/schedules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/schedules/index.d.ts +2 -0
- package/dist/cjs/api/resources/schedules/index.js +18 -0
- package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.js +8 -0
- package/dist/cjs/api/resources/schedules/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/schedules/types/index.js +17 -0
- package/dist/cjs/api/types/Action.d.ts +5 -0
- package/dist/cjs/api/types/ActionBlock.d.ts +4 -0
- package/dist/cjs/api/types/ActionBlockYaml.d.ts +3 -0
- package/dist/cjs/api/types/ActionType.d.ts +5 -0
- package/dist/cjs/api/types/ActionType.js +5 -0
- package/dist/cjs/api/types/AiFallbackMode.d.ts +14 -0
- package/dist/cjs/api/types/AiFallbackMode.js +17 -0
- package/dist/cjs/api/types/Artifact.d.ts +5 -0
- package/dist/cjs/api/types/ArtifactType.d.ts +5 -0
- package/dist/cjs/api/types/ArtifactType.js +5 -0
- package/dist/cjs/api/types/BlockType.d.ts +6 -0
- package/dist/cjs/api/types/BlockType.js +6 -0
- package/dist/cjs/api/types/BrowserProfile.d.ts +10 -0
- package/dist/cjs/api/types/BrowserSessionResponse.d.ts +2 -0
- package/dist/cjs/api/types/BulkCancelRunsResponse.d.ts +6 -0
- package/dist/cjs/api/types/BulkCancelRunsResponse.js +3 -0
- package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.d.ts +7 -0
- package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.js +3 -0
- package/dist/cjs/api/types/CodeBlock.d.ts +3 -0
- package/dist/cjs/api/types/CodeBlockStep.d.ts +8 -0
- package/dist/cjs/api/types/CodeBlockStep.js +3 -0
- package/dist/cjs/api/types/CodeBlockStepYaml.d.ts +7 -0
- package/dist/cjs/api/types/CodeBlockStepYaml.js +3 -0
- package/dist/cjs/api/types/CodeBlockYaml.d.ts +4 -0
- package/dist/cjs/api/types/ConditionalBlock.d.ts +1 -0
- package/dist/cjs/api/types/ConditionalBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/CreateCredentialRequest.d.ts +12 -0
- package/dist/cjs/api/types/CredentialParameter.d.ts +2 -0
- package/dist/cjs/api/types/CredentialParameterYaml.d.ts +2 -0
- package/dist/cjs/api/types/CredentialResponse.d.ts +16 -0
- package/dist/cjs/api/types/CredentialVaultType.d.ts +8 -0
- package/dist/cjs/api/types/CredentialVaultType.js +11 -0
- package/dist/cjs/api/types/CreditCardBillingAddress.d.ts +21 -0
- package/dist/cjs/api/types/CreditCardBillingAddress.js +3 -0
- package/dist/cjs/api/types/CreditCardCredentialResponse.d.ts +2 -1
- package/dist/cjs/api/types/CustomLlm.d.ts +9 -0
- package/dist/cjs/api/types/CustomLlm.js +3 -0
- package/dist/cjs/api/types/CustomLlmConfig.d.ts +14 -0
- package/dist/cjs/api/types/CustomLlmConfig.js +3 -0
- package/dist/cjs/api/types/CustomLlmListResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomLlmListResponse.js +3 -0
- package/dist/cjs/api/types/CustomLlmProvider.d.ts +6 -0
- package/dist/cjs/api/types/CustomLlmProvider.js +9 -0
- package/dist/cjs/api/types/CustomLlmResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomLlmResponse.js +3 -0
- package/dist/cjs/api/types/DeleteScheduleResponse.d.ts +3 -0
- package/dist/cjs/api/types/DeleteScheduleResponse.js +3 -0
- package/dist/cjs/api/types/DownloadToS3Block.d.ts +1 -0
- package/dist/cjs/api/types/DownloadToS3BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/EmailInboxBlock.d.ts +30 -0
- package/dist/cjs/api/types/EmailInboxBlock.js +11 -0
- package/dist/cjs/api/types/EmailInboxBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/EmailInboxBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/EmailInboxBlockYaml.d.ts +27 -0
- package/dist/cjs/api/types/EmailInboxBlockYaml.js +11 -0
- package/dist/cjs/api/types/ExtractionBlock.d.ts +2 -0
- package/dist/cjs/api/types/ExtractionBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/FileDownloadBlock.d.ts +2 -0
- package/dist/cjs/api/types/FileDownloadBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/FileInfo.d.ts +4 -0
- package/dist/cjs/api/types/FileParserBlock.d.ts +2 -1
- package/dist/cjs/api/types/FileParserBlockYaml.d.ts +2 -1
- package/dist/cjs/api/types/FileStorageType.d.ts +2 -0
- package/dist/cjs/api/types/FileStorageType.js +2 -0
- package/dist/cjs/api/types/FileType.d.ts +2 -0
- package/dist/cjs/api/types/FileType.js +2 -0
- package/dist/cjs/api/types/FileUploadBlock.d.ts +15 -0
- package/dist/cjs/api/types/FileUploadBlockYaml.d.ts +13 -0
- package/dist/cjs/api/types/ForLoopBlock.d.ts +1 -0
- package/dist/cjs/api/types/ForLoopBlockLoopBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/ForLoopBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/ForLoopBlockYamlLoopBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/GeoTarget.d.ts +1 -11
- package/dist/cjs/api/types/GetRunResponse.d.ts +4 -1
- package/dist/cjs/api/types/GoogleSheetsReadBlock.d.ts +19 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlock.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.d.ts +16 -0
- package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlock.d.ts +29 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlock.js +11 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.d.ts +26 -0
- package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.js +11 -0
- package/dist/cjs/api/types/HttpRequestBlock.d.ts +2 -0
- package/dist/cjs/api/types/HttpRequestBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/HumanInteractionBlock.d.ts +2 -0
- package/dist/cjs/api/types/HumanInteractionBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/LoginBlock.d.ts +3 -0
- package/dist/cjs/api/types/LoginBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/NavigationBlock.d.ts +2 -0
- package/dist/cjs/api/types/NavigationBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/NonEmptyCreditCardCredential.d.ts +9 -0
- package/dist/cjs/api/types/OrganizationScheduleItem.d.ts +23 -0
- package/dist/cjs/api/types/OrganizationScheduleItem.js +3 -0
- package/dist/cjs/api/types/OrganizationScheduleListResponse.d.ts +7 -0
- package/dist/cjs/api/types/OrganizationScheduleListResponse.js +3 -0
- package/dist/cjs/api/types/PasswordCredentialResponse.d.ts +1 -1
- package/dist/cjs/api/types/PdfFillBlock.d.ts +21 -0
- package/dist/cjs/api/types/PdfFillBlock.js +3 -0
- package/dist/cjs/api/types/PdfFillBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/PdfFillBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/PdfFillBlockYaml.d.ts +18 -0
- package/dist/cjs/api/types/PdfFillBlockYaml.js +3 -0
- package/dist/cjs/api/types/PdfParserBlock.d.ts +1 -0
- package/dist/cjs/api/types/PdfParserBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/PersistentBrowserType.d.ts +1 -0
- package/dist/cjs/api/types/PersistentBrowserType.js +1 -0
- package/dist/cjs/api/types/PrintPageBlock.d.ts +1 -0
- package/dist/cjs/api/types/PrintPageBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/ProxyLocation.d.ts +1 -0
- package/dist/cjs/api/types/ProxyLocation.js +1 -0
- package/dist/cjs/api/types/RunEngine.d.ts +1 -0
- package/dist/cjs/api/types/RunEngine.js +1 -0
- package/dist/cjs/api/types/RunTagHistoryResponse.d.ts +5 -0
- package/dist/cjs/api/types/RunTagHistoryResponse.js +3 -0
- package/dist/cjs/api/types/RunTagsBatchResponse.d.ts +11 -0
- package/dist/cjs/api/types/RunTagsBatchResponse.js +3 -0
- package/dist/cjs/api/types/RunTagsResponse.d.ts +8 -0
- package/dist/cjs/api/types/RunTagsResponse.js +3 -0
- package/dist/cjs/api/types/RunType.d.ts +10 -0
- package/dist/cjs/api/types/RunType.js +13 -0
- package/dist/cjs/api/types/RunWebhookReplayResponse.d.ts +22 -0
- package/dist/cjs/api/types/RunWebhookReplayResponse.js +3 -0
- package/dist/cjs/api/types/ScriptRunResponse.d.ts +2 -0
- package/dist/cjs/api/types/SendEmailBlock.d.ts +1 -0
- package/dist/cjs/api/types/SendEmailBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/SkyvernSchemasCredentialTypeCredentialType.d.ts +7 -0
- package/dist/cjs/api/types/{SkyvernSchemasRunBlocksCredentialType.js → SkyvernSchemasCredentialTypeCredentialType.js} +2 -2
- package/dist/cjs/api/types/SplitPdfBlock.d.ts +17 -0
- package/dist/cjs/api/types/SplitPdfBlock.js +3 -0
- package/dist/cjs/api/types/SplitPdfBlockParametersItem.d.ts +37 -0
- package/dist/cjs/api/types/SplitPdfBlockParametersItem.js +3 -0
- package/dist/cjs/api/types/SplitPdfBlockYaml.d.ts +14 -0
- package/dist/cjs/api/types/SplitPdfBlockYaml.js +3 -0
- package/dist/cjs/api/types/TagApplyRequest.d.ts +13 -0
- package/dist/cjs/api/types/TagApplyRequest.js +3 -0
- package/dist/cjs/api/types/TagDeleteInput.d.ts +10 -0
- package/dist/cjs/api/types/TagDeleteInput.js +3 -0
- package/dist/cjs/api/types/TagHistoryItem.d.ts +13 -0
- package/dist/cjs/api/types/TagHistoryItem.js +3 -0
- package/dist/cjs/api/types/TagHistoryResponse.d.ts +5 -0
- package/dist/cjs/api/types/TagHistoryResponse.js +3 -0
- package/dist/cjs/api/types/TagInput.d.ts +10 -0
- package/dist/cjs/api/types/TagInput.js +3 -0
- package/dist/cjs/api/types/TagItem.d.ts +8 -0
- package/dist/cjs/api/types/TagItem.js +3 -0
- package/dist/cjs/api/types/TagKey.d.ts +8 -0
- package/dist/cjs/api/types/TagKey.js +3 -0
- package/dist/cjs/api/types/TagKeyDeleteResponse.d.ts +9 -0
- package/dist/cjs/api/types/TagKeyDeleteResponse.js +3 -0
- package/dist/cjs/api/types/TagResponse.d.ts +11 -0
- package/dist/cjs/api/types/TagResponse.js +3 -0
- package/dist/cjs/api/types/TagValue.d.ts +11 -0
- package/dist/cjs/api/types/TagValue.js +3 -0
- package/dist/cjs/api/types/TagValueDeleteResponse.d.ts +10 -0
- package/dist/cjs/api/types/TagValueDeleteResponse.js +3 -0
- package/dist/cjs/api/types/TagValueRenameResponse.d.ts +10 -0
- package/dist/cjs/api/types/TagValueRenameResponse.js +3 -0
- package/dist/cjs/api/types/TagsResponse.d.ts +9 -0
- package/dist/cjs/api/types/TagsResponse.js +3 -0
- package/dist/cjs/api/types/TaskBlock.d.ts +2 -0
- package/dist/cjs/api/types/TaskBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/TaskRunListItem.d.ts +18 -0
- package/dist/cjs/api/types/TaskRunListItem.js +3 -0
- package/dist/cjs/api/types/{TaskRunRequest.d.ts → TaskRunRequestOutput.d.ts} +15 -7
- package/dist/cjs/api/types/TaskRunRequestOutput.js +3 -0
- package/dist/cjs/api/types/TaskRunResponse.d.ts +3 -1
- package/dist/cjs/api/types/TaskV2Block.d.ts +1 -0
- package/dist/cjs/api/types/TaskV2BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/TextPromptBlock.d.ts +1 -0
- package/dist/cjs/api/types/TextPromptBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/Thought.d.ts +1 -0
- package/dist/cjs/api/types/UploadToS3Block.d.ts +1 -0
- package/dist/cjs/api/types/UploadToS3BlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/UrlBlock.d.ts +2 -0
- package/dist/cjs/api/types/UrlBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/UserDefinedError.d.ts +1 -0
- package/dist/cjs/api/types/ValidationBlock.d.ts +3 -0
- package/dist/cjs/api/types/ValidationBlockYaml.d.ts +2 -0
- package/dist/cjs/api/types/WaitBlock.d.ts +1 -0
- package/dist/cjs/api/types/WaitBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/WhileLoopBlock.d.ts +25 -0
- package/dist/cjs/api/types/WhileLoopBlock.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockCondition.d.ts +10 -0
- package/dist/cjs/api/types/WhileLoopBlockCondition.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.d.ts +94 -0
- package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockYaml.d.ts +13 -0
- package/dist/cjs/api/types/WhileLoopBlockYaml.js +3 -0
- package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.d.ts +94 -0
- package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.js +3 -0
- package/dist/cjs/api/types/Workflow.d.ts +12 -0
- package/dist/cjs/api/types/WorkflowCreateYamlRequest.d.ts +7 -0
- package/dist/cjs/api/types/WorkflowDefinition.d.ts +2 -0
- package/dist/cjs/api/types/WorkflowDefinitionBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/WorkflowDefinitionYaml.d.ts +2 -0
- package/dist/cjs/api/types/WorkflowDefinitionYamlBlocksItem.d.ts +19 -1
- package/dist/cjs/api/types/WorkflowRun.d.ts +9 -0
- package/dist/cjs/api/types/WorkflowRunBlock.d.ts +5 -0
- package/dist/cjs/api/types/{WorkflowRunRequest.d.ts → WorkflowRunRequestOutput.d.ts} +17 -5
- package/dist/cjs/api/types/WorkflowRunRequestOutput.js +3 -0
- package/dist/cjs/api/types/WorkflowRunResponse.d.ts +6 -2
- package/dist/cjs/api/types/WorkflowRunTriggerType.d.ts +17 -0
- package/dist/cjs/api/types/WorkflowRunTriggerType.js +20 -0
- package/dist/cjs/api/types/WorkflowSchedule.d.ts +15 -0
- package/dist/cjs/api/types/WorkflowSchedule.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleListResponse.d.ts +4 -0
- package/dist/cjs/api/types/WorkflowScheduleListResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleResponse.d.ts +5 -0
- package/dist/cjs/api/types/WorkflowScheduleResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.d.ts +8 -0
- package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.js +3 -0
- package/dist/cjs/api/types/WorkflowTagsBatchResponse.d.ts +11 -0
- package/dist/cjs/api/types/WorkflowTagsBatchResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowTriggerBlock.d.ts +1 -0
- package/dist/cjs/api/types/WorkflowTriggerBlockYaml.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +63 -8
- package/dist/cjs/api/types/index.js +63 -8
- package/dist/cjs/library/Skyvern.d.ts +2 -2
- package/dist/cjs/library/SkyvernBrowserPageAgent.js +21 -25
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +587 -170
- package/dist/esm/Client.mjs +2476 -680
- package/dist/esm/api/client/requests/BatchGetRunTagsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/BatchGetWorkflowTagsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/BodyUploadFileV1UploadFilePost.d.mts +2 -3
- package/dist/esm/api/client/requests/BulkCancelRunsRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/CreateBrowserProfileRequest.d.mts +13 -2
- package/dist/esm/api/client/requests/CreateBrowserSessionRequest.d.mts +51 -1
- package/dist/esm/api/client/requests/CustomLlmCreateRequest.d.mts +14 -0
- package/dist/esm/api/client/requests/CustomLlmUpdateRequest.d.mts +14 -0
- package/dist/esm/api/client/requests/DownloadFilesRequest.d.mts +4 -0
- package/dist/esm/api/client/requests/GetCredentialsRequest.d.mts +11 -1
- package/dist/esm/api/client/requests/GetRunTagHistoryRequest.d.mts +16 -0
- package/dist/esm/api/client/requests/GetRunsV2Request.d.mts +17 -0
- package/dist/esm/api/client/requests/GetWorkflowRunsByIdRequest.d.mts +28 -0
- package/dist/esm/api/client/requests/GetWorkflowTagHistoryRequest.d.mts +16 -0
- package/dist/esm/api/client/requests/GetWorkflowsRequest.d.mts +2 -0
- package/dist/esm/api/client/requests/ListBrowserProfilesRequest.d.mts +11 -1
- package/dist/esm/api/client/requests/ListTagValuesRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/LoginRequest.d.mts +5 -1
- package/dist/esm/api/client/requests/RetryWorkflowRunRequest.d.mts +11 -0
- package/dist/esm/api/client/requests/RetryWorkflowRunRequest.mjs +2 -0
- package/dist/esm/api/client/requests/RunTagsBatchRequest.d.mts +8 -0
- package/dist/esm/api/client/requests/RunTagsBatchRequest.mjs +2 -0
- package/dist/esm/api/client/requests/TagKeyUpdate.d.mts +8 -0
- package/dist/esm/api/client/requests/TagKeyUpdate.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueDelete.d.mts +10 -0
- package/dist/esm/api/client/requests/TagValueDelete.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueRename.d.mts +13 -0
- package/dist/esm/api/client/requests/TagValueRename.mjs +2 -0
- package/dist/esm/api/client/requests/TagValueUpdate.d.mts +13 -0
- package/dist/esm/api/client/requests/TagValueUpdate.mjs +2 -0
- package/dist/esm/api/client/requests/TaskRunRequestInput.d.mts +153 -0
- package/dist/esm/api/client/requests/TaskRunRequestInput.mjs +2 -0
- package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.d.mts +23 -0
- package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.mjs +2 -0
- package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.d.mts +10 -0
- package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.mjs +2 -0
- package/dist/esm/api/client/requests/WorkflowRunRequestInput.d.mts +128 -0
- package/dist/esm/api/client/requests/WorkflowRunRequestInput.mjs +2 -0
- package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.d.mts +8 -0
- package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.mjs +2 -0
- package/dist/esm/api/client/requests/index.d.mts +21 -4
- package/dist/esm/api/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/errors/InternalServerError.mjs +13 -0
- package/dist/esm/api/errors/RangeNotSatisfiableError.d.mts +5 -0
- package/dist/esm/api/errors/RangeNotSatisfiableError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +2 -0
- package/dist/esm/api/errors/index.mjs +2 -0
- package/dist/esm/api/resources/agents/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/agents/client/Client.mjs +85 -0
- package/dist/esm/api/resources/agents/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agents/client/index.mjs +1 -0
- package/dist/esm/api/resources/agents/index.d.mts +1 -0
- package/dist/esm/api/resources/agents/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/artifacts/client/Client.mjs +88 -0
- package/dist/esm/api/resources/artifacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/artifacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/index.d.mts +1 -0
- package/dist/esm/api/resources/artifacts/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -0
- package/dist/esm/api/resources/schedules/client/Client.d.mts +119 -0
- package/dist/esm/api/resources/schedules/client/Client.mjs +517 -0
- package/dist/esm/api/resources/schedules/client/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/client/index.mjs +1 -0
- package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.d.mts +18 -0
- package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.mjs +2 -0
- package/dist/esm/api/resources/schedules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/schedules/index.d.mts +2 -0
- package/dist/esm/api/resources/schedules/index.mjs +2 -0
- package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/schedules/types/index.d.mts +1 -0
- package/dist/esm/api/resources/schedules/types/index.mjs +1 -0
- package/dist/esm/api/types/Action.d.mts +5 -0
- package/dist/esm/api/types/ActionBlock.d.mts +4 -0
- package/dist/esm/api/types/ActionBlockYaml.d.mts +3 -0
- package/dist/esm/api/types/ActionType.d.mts +5 -0
- package/dist/esm/api/types/ActionType.mjs +5 -0
- package/dist/esm/api/types/AiFallbackMode.d.mts +14 -0
- package/dist/esm/api/types/AiFallbackMode.mjs +14 -0
- package/dist/esm/api/types/Artifact.d.mts +5 -0
- package/dist/esm/api/types/ArtifactType.d.mts +5 -0
- package/dist/esm/api/types/ArtifactType.mjs +5 -0
- package/dist/esm/api/types/BlockType.d.mts +6 -0
- package/dist/esm/api/types/BlockType.mjs +6 -0
- package/dist/esm/api/types/BrowserProfile.d.mts +10 -0
- package/dist/esm/api/types/BrowserSessionResponse.d.mts +2 -0
- package/dist/esm/api/types/BulkCancelRunsResponse.d.mts +6 -0
- package/dist/esm/api/types/BulkCancelRunsResponse.mjs +2 -0
- package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.d.mts +7 -0
- package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.mjs +2 -0
- package/dist/esm/api/types/CodeBlock.d.mts +3 -0
- package/dist/esm/api/types/CodeBlockStep.d.mts +8 -0
- package/dist/esm/api/types/CodeBlockStep.mjs +2 -0
- package/dist/esm/api/types/CodeBlockStepYaml.d.mts +7 -0
- package/dist/esm/api/types/CodeBlockStepYaml.mjs +2 -0
- package/dist/esm/api/types/CodeBlockYaml.d.mts +4 -0
- package/dist/esm/api/types/ConditionalBlock.d.mts +1 -0
- package/dist/esm/api/types/ConditionalBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/CreateCredentialRequest.d.mts +12 -0
- package/dist/esm/api/types/CredentialParameter.d.mts +2 -0
- package/dist/esm/api/types/CredentialParameterYaml.d.mts +2 -0
- package/dist/esm/api/types/CredentialResponse.d.mts +16 -0
- package/dist/esm/api/types/CredentialVaultType.d.mts +8 -0
- package/dist/esm/api/types/CredentialVaultType.mjs +8 -0
- package/dist/esm/api/types/CreditCardBillingAddress.d.mts +21 -0
- package/dist/esm/api/types/CreditCardBillingAddress.mjs +2 -0
- package/dist/esm/api/types/CreditCardCredentialResponse.d.mts +2 -1
- package/dist/esm/api/types/CustomLlm.d.mts +9 -0
- package/dist/esm/api/types/CustomLlm.mjs +2 -0
- package/dist/esm/api/types/CustomLlmConfig.d.mts +14 -0
- package/dist/esm/api/types/CustomLlmConfig.mjs +2 -0
- package/dist/esm/api/types/CustomLlmListResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomLlmListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomLlmProvider.d.mts +6 -0
- package/dist/esm/api/types/CustomLlmProvider.mjs +6 -0
- package/dist/esm/api/types/CustomLlmResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomLlmResponse.mjs +2 -0
- package/dist/esm/api/types/DeleteScheduleResponse.d.mts +3 -0
- package/dist/esm/api/types/DeleteScheduleResponse.mjs +2 -0
- package/dist/esm/api/types/DownloadToS3Block.d.mts +1 -0
- package/dist/esm/api/types/DownloadToS3BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/EmailInboxBlock.d.mts +30 -0
- package/dist/esm/api/types/EmailInboxBlock.mjs +8 -0
- package/dist/esm/api/types/EmailInboxBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/EmailInboxBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/EmailInboxBlockYaml.d.mts +27 -0
- package/dist/esm/api/types/EmailInboxBlockYaml.mjs +8 -0
- package/dist/esm/api/types/ExtractionBlock.d.mts +2 -0
- package/dist/esm/api/types/ExtractionBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/FileDownloadBlock.d.mts +2 -0
- package/dist/esm/api/types/FileDownloadBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/FileInfo.d.mts +4 -0
- package/dist/esm/api/types/FileParserBlock.d.mts +2 -1
- package/dist/esm/api/types/FileParserBlockYaml.d.mts +2 -1
- package/dist/esm/api/types/FileStorageType.d.mts +2 -0
- package/dist/esm/api/types/FileStorageType.mjs +2 -0
- package/dist/esm/api/types/FileType.d.mts +2 -0
- package/dist/esm/api/types/FileType.mjs +2 -0
- package/dist/esm/api/types/FileUploadBlock.d.mts +15 -0
- package/dist/esm/api/types/FileUploadBlockYaml.d.mts +13 -0
- package/dist/esm/api/types/ForLoopBlock.d.mts +1 -0
- package/dist/esm/api/types/ForLoopBlockLoopBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/ForLoopBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/ForLoopBlockYamlLoopBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/GeoTarget.d.mts +1 -11
- package/dist/esm/api/types/GetRunResponse.d.mts +4 -1
- package/dist/esm/api/types/GoogleSheetsReadBlock.d.mts +19 -0
- package/dist/esm/api/types/GoogleSheetsReadBlock.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockYaml.d.mts +16 -0
- package/dist/esm/api/types/GoogleSheetsReadBlockYaml.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlock.d.mts +29 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlock.mjs +8 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.d.mts +26 -0
- package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.mjs +8 -0
- package/dist/esm/api/types/HttpRequestBlock.d.mts +2 -0
- package/dist/esm/api/types/HttpRequestBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/HumanInteractionBlock.d.mts +2 -0
- package/dist/esm/api/types/HumanInteractionBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/LoginBlock.d.mts +3 -0
- package/dist/esm/api/types/LoginBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/NavigationBlock.d.mts +2 -0
- package/dist/esm/api/types/NavigationBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/NonEmptyCreditCardCredential.d.mts +9 -0
- package/dist/esm/api/types/OrganizationScheduleItem.d.mts +23 -0
- package/dist/esm/api/types/OrganizationScheduleItem.mjs +2 -0
- package/dist/esm/api/types/OrganizationScheduleListResponse.d.mts +7 -0
- package/dist/esm/api/types/OrganizationScheduleListResponse.mjs +2 -0
- package/dist/esm/api/types/PasswordCredentialResponse.d.mts +1 -1
- package/dist/esm/api/types/PdfFillBlock.d.mts +21 -0
- package/dist/esm/api/types/PdfFillBlock.mjs +2 -0
- package/dist/esm/api/types/PdfFillBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/PdfFillBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/PdfFillBlockYaml.d.mts +18 -0
- package/dist/esm/api/types/PdfFillBlockYaml.mjs +2 -0
- package/dist/esm/api/types/PdfParserBlock.d.mts +1 -0
- package/dist/esm/api/types/PdfParserBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/PersistentBrowserType.d.mts +1 -0
- package/dist/esm/api/types/PersistentBrowserType.mjs +1 -0
- package/dist/esm/api/types/PrintPageBlock.d.mts +1 -0
- package/dist/esm/api/types/PrintPageBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/ProxyLocation.d.mts +1 -0
- package/dist/esm/api/types/ProxyLocation.mjs +1 -0
- package/dist/esm/api/types/RunEngine.d.mts +1 -0
- package/dist/esm/api/types/RunEngine.mjs +1 -0
- package/dist/esm/api/types/RunTagHistoryResponse.d.mts +5 -0
- package/dist/esm/api/types/RunTagHistoryResponse.mjs +2 -0
- package/dist/esm/api/types/RunTagsBatchResponse.d.mts +11 -0
- package/dist/esm/api/types/RunTagsBatchResponse.mjs +2 -0
- package/dist/esm/api/types/RunTagsResponse.d.mts +8 -0
- package/dist/esm/api/types/RunTagsResponse.mjs +2 -0
- package/dist/esm/api/types/RunType.d.mts +10 -0
- package/dist/esm/api/types/RunType.mjs +10 -0
- package/dist/esm/api/types/RunWebhookReplayResponse.d.mts +22 -0
- package/dist/esm/api/types/RunWebhookReplayResponse.mjs +2 -0
- package/dist/esm/api/types/ScriptRunResponse.d.mts +2 -0
- package/dist/esm/api/types/SendEmailBlock.d.mts +1 -0
- package/dist/esm/api/types/SendEmailBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/SkyvernSchemasCredentialTypeCredentialType.d.mts +7 -0
- package/dist/esm/api/types/{SkyvernSchemasRunBlocksCredentialType.mjs → SkyvernSchemasCredentialTypeCredentialType.mjs} +1 -1
- package/dist/esm/api/types/SplitPdfBlock.d.mts +17 -0
- package/dist/esm/api/types/SplitPdfBlock.mjs +2 -0
- package/dist/esm/api/types/SplitPdfBlockParametersItem.d.mts +37 -0
- package/dist/esm/api/types/SplitPdfBlockParametersItem.mjs +2 -0
- package/dist/esm/api/types/SplitPdfBlockYaml.d.mts +14 -0
- package/dist/esm/api/types/SplitPdfBlockYaml.mjs +2 -0
- package/dist/esm/api/types/TagApplyRequest.d.mts +13 -0
- package/dist/esm/api/types/TagApplyRequest.mjs +2 -0
- package/dist/esm/api/types/TagDeleteInput.d.mts +10 -0
- package/dist/esm/api/types/TagDeleteInput.mjs +2 -0
- package/dist/esm/api/types/TagHistoryItem.d.mts +13 -0
- package/dist/esm/api/types/TagHistoryItem.mjs +2 -0
- package/dist/esm/api/types/TagHistoryResponse.d.mts +5 -0
- package/dist/esm/api/types/TagHistoryResponse.mjs +2 -0
- package/dist/esm/api/types/TagInput.d.mts +10 -0
- package/dist/esm/api/types/TagInput.mjs +2 -0
- package/dist/esm/api/types/TagItem.d.mts +8 -0
- package/dist/esm/api/types/TagItem.mjs +2 -0
- package/dist/esm/api/types/TagKey.d.mts +8 -0
- package/dist/esm/api/types/TagKey.mjs +2 -0
- package/dist/esm/api/types/TagKeyDeleteResponse.d.mts +9 -0
- package/dist/esm/api/types/TagKeyDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/TagResponse.d.mts +11 -0
- package/dist/esm/api/types/TagResponse.mjs +2 -0
- package/dist/esm/api/types/TagValue.d.mts +11 -0
- package/dist/esm/api/types/TagValue.mjs +2 -0
- package/dist/esm/api/types/TagValueDeleteResponse.d.mts +10 -0
- package/dist/esm/api/types/TagValueDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/TagValueRenameResponse.d.mts +10 -0
- package/dist/esm/api/types/TagValueRenameResponse.mjs +2 -0
- package/dist/esm/api/types/TagsResponse.d.mts +9 -0
- package/dist/esm/api/types/TagsResponse.mjs +2 -0
- package/dist/esm/api/types/TaskBlock.d.mts +2 -0
- package/dist/esm/api/types/TaskBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/TaskRunListItem.d.mts +18 -0
- package/dist/esm/api/types/TaskRunListItem.mjs +2 -0
- package/dist/esm/api/types/{TaskRunRequest.d.mts → TaskRunRequestOutput.d.mts} +15 -7
- package/dist/esm/api/types/TaskRunRequestOutput.mjs +2 -0
- package/dist/esm/api/types/TaskRunResponse.d.mts +3 -1
- package/dist/esm/api/types/TaskV2Block.d.mts +1 -0
- package/dist/esm/api/types/TaskV2BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/TextPromptBlock.d.mts +1 -0
- package/dist/esm/api/types/TextPromptBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/Thought.d.mts +1 -0
- package/dist/esm/api/types/UploadToS3Block.d.mts +1 -0
- package/dist/esm/api/types/UploadToS3BlockYaml.d.mts +1 -0
- package/dist/esm/api/types/UrlBlock.d.mts +2 -0
- package/dist/esm/api/types/UrlBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/UserDefinedError.d.mts +1 -0
- package/dist/esm/api/types/ValidationBlock.d.mts +3 -0
- package/dist/esm/api/types/ValidationBlockYaml.d.mts +2 -0
- package/dist/esm/api/types/WaitBlock.d.mts +1 -0
- package/dist/esm/api/types/WaitBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/WhileLoopBlock.d.mts +25 -0
- package/dist/esm/api/types/WhileLoopBlock.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockCondition.d.mts +10 -0
- package/dist/esm/api/types/WhileLoopBlockCondition.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.d.mts +94 -0
- package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockYaml.d.mts +13 -0
- package/dist/esm/api/types/WhileLoopBlockYaml.mjs +2 -0
- package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.d.mts +94 -0
- package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.mjs +2 -0
- package/dist/esm/api/types/Workflow.d.mts +12 -0
- package/dist/esm/api/types/WorkflowCreateYamlRequest.d.mts +7 -0
- package/dist/esm/api/types/WorkflowDefinition.d.mts +2 -0
- package/dist/esm/api/types/WorkflowDefinitionBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/WorkflowDefinitionYaml.d.mts +2 -0
- package/dist/esm/api/types/WorkflowDefinitionYamlBlocksItem.d.mts +19 -1
- package/dist/esm/api/types/WorkflowRun.d.mts +9 -0
- package/dist/esm/api/types/WorkflowRunBlock.d.mts +5 -0
- package/dist/esm/api/types/{WorkflowRunRequest.d.mts → WorkflowRunRequestOutput.d.mts} +17 -5
- package/dist/esm/api/types/WorkflowRunRequestOutput.mjs +2 -0
- package/dist/esm/api/types/WorkflowRunResponse.d.mts +6 -2
- package/dist/esm/api/types/WorkflowRunTriggerType.d.mts +17 -0
- package/dist/esm/api/types/WorkflowRunTriggerType.mjs +17 -0
- package/dist/esm/api/types/WorkflowSchedule.d.mts +15 -0
- package/dist/esm/api/types/WorkflowSchedule.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleListResponse.d.mts +4 -0
- package/dist/esm/api/types/WorkflowScheduleListResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleResponse.d.mts +5 -0
- package/dist/esm/api/types/WorkflowScheduleResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowScheduleUpsertRequest.d.mts +8 -0
- package/dist/esm/api/types/WorkflowScheduleUpsertRequest.mjs +2 -0
- package/dist/esm/api/types/WorkflowTagsBatchResponse.d.mts +11 -0
- package/dist/esm/api/types/WorkflowTagsBatchResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowTriggerBlock.d.mts +1 -0
- package/dist/esm/api/types/WorkflowTriggerBlockYaml.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +63 -8
- package/dist/esm/api/types/index.mjs +63 -8
- package/dist/esm/library/Skyvern.d.mts +2 -2
- package/dist/esm/library/SkyvernBrowserPageAgent.mjs +21 -25
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +11 -2
- package/reference.md +595 -5
- package/dist/cjs/api/client/requests/ChangeTierRequest.d.ts +0 -10
- package/dist/cjs/api/client/requests/CheckoutSubscriptionRequest.d.ts +0 -10
- package/dist/cjs/api/client/requests/RunTaskRequest.d.ts +0 -14
- package/dist/cjs/api/client/requests/RunWorkflowRequest.d.ts +0 -18
- package/dist/cjs/api/types/BillingStateResponse.d.ts +0 -20
- package/dist/cjs/api/types/ChangeTierResponse.d.ts +0 -5
- package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -4
- package/dist/cjs/api/types/PlanTier.d.ts +0 -7
- package/dist/cjs/api/types/PlanTier.js +0 -10
- package/dist/cjs/api/types/PortalSessionResponse.d.ts +0 -3
- package/dist/cjs/api/types/SkyvernSchemasRunBlocksCredentialType.d.ts +0 -7
- package/dist/esm/api/client/requests/ChangeTierRequest.d.mts +0 -10
- package/dist/esm/api/client/requests/CheckoutSubscriptionRequest.d.mts +0 -10
- package/dist/esm/api/client/requests/RunTaskRequest.d.mts +0 -14
- package/dist/esm/api/client/requests/RunWorkflowRequest.d.mts +0 -18
- package/dist/esm/api/types/BillingStateResponse.d.mts +0 -20
- package/dist/esm/api/types/ChangeTierResponse.d.mts +0 -5
- package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -4
- package/dist/esm/api/types/PlanTier.d.mts +0 -7
- package/dist/esm/api/types/PlanTier.mjs +0 -7
- package/dist/esm/api/types/PortalSessionResponse.d.mts +0 -3
- package/dist/esm/api/types/SkyvernSchemasRunBlocksCredentialType.d.mts +0 -7
- /package/dist/cjs/api/client/requests/{ChangeTierRequest.js → BatchGetRunTagsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{CheckoutSubscriptionRequest.js → BatchGetWorkflowTagsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{RunTaskRequest.js → BulkCancelRunsRequest.js} +0 -0
- /package/dist/cjs/api/client/requests/{RunWorkflowRequest.js → CustomLlmCreateRequest.js} +0 -0
- /package/dist/cjs/api/{types/BillingStateResponse.js → client/requests/CustomLlmUpdateRequest.js} +0 -0
- /package/dist/cjs/api/{types/ChangeTierResponse.js → client/requests/GetRunTagHistoryRequest.js} +0 -0
- /package/dist/cjs/api/{types/CheckoutSessionResponse.js → client/requests/GetRunsV2Request.js} +0 -0
- /package/dist/cjs/api/{types/PortalSessionResponse.js → client/requests/GetWorkflowRunsByIdRequest.js} +0 -0
- /package/dist/cjs/api/{types/TaskRunRequest.js → client/requests/GetWorkflowTagHistoryRequest.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowRunRequest.js → client/requests/ListTagValuesRequest.js} +0 -0
- /package/dist/esm/api/client/requests/{ChangeTierRequest.mjs → BatchGetRunTagsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{CheckoutSubscriptionRequest.mjs → BatchGetWorkflowTagsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{RunTaskRequest.mjs → BulkCancelRunsRequest.mjs} +0 -0
- /package/dist/esm/api/client/requests/{RunWorkflowRequest.mjs → CustomLlmCreateRequest.mjs} +0 -0
- /package/dist/esm/api/{types/BillingStateResponse.mjs → client/requests/CustomLlmUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/{types/ChangeTierResponse.mjs → client/requests/GetRunTagHistoryRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CheckoutSessionResponse.mjs → client/requests/GetRunsV2Request.mjs} +0 -0
- /package/dist/esm/api/{types/PortalSessionResponse.mjs → client/requests/GetWorkflowRunsByIdRequest.mjs} +0 -0
- /package/dist/esm/api/{types/TaskRunRequest.mjs → client/requests/GetWorkflowTagHistoryRequest.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowRunRequest.mjs → client/requests/ListTagValuesRequest.mjs} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateBrowserProfileRequest {
|
|
7
|
+
/** New name for the browser profile */
|
|
8
|
+
name?: string;
|
|
9
|
+
/** New description for the browser profile */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** Optional proxy location for this profile's pinned proxy identity. */
|
|
12
|
+
proxy_location?: UpdateBrowserProfileRequest.ProxyLocation;
|
|
13
|
+
/** Opaque Skyvern-managed proxy sticky-session id. */
|
|
14
|
+
proxy_session_id?: string;
|
|
15
|
+
/** Rotate the Skyvern-managed proxy sticky-session id for this profile. */
|
|
16
|
+
rotate_proxy_session_id?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace UpdateBrowserProfileRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Optional proxy location for this profile's pinned proxy identity.
|
|
21
|
+
*/
|
|
22
|
+
type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* generate_browser_profile: true
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateBrowserSessionRequest {
|
|
8
|
+
/** Enable or disable saving this session's browser profile when it ends. Can be toggled while the session is still alive; the value is read at session teardown. */
|
|
9
|
+
generate_browser_profile: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type * as Skyvern from "../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* "x-max-steps-override": 1,
|
|
6
|
+
* "x-user-agent": "x-user-agent",
|
|
7
|
+
* template: true,
|
|
8
|
+
* agent_id: "wpid_123"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface WorkflowRunRequestInput {
|
|
12
|
+
template?: boolean;
|
|
13
|
+
"x-max-steps-override"?: number;
|
|
14
|
+
"x-user-agent"?: string;
|
|
15
|
+
/** ID of the agent to run. Starts with `wpid_`. `workflow_id` is accepted as an alias. */
|
|
16
|
+
agent_id: string;
|
|
17
|
+
/** Parameters to pass to the workflow */
|
|
18
|
+
parameters?: Record<string, unknown>;
|
|
19
|
+
/** The title for this workflow run */
|
|
20
|
+
title?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
|
23
|
+
*
|
|
24
|
+
* Available geotargeting options:
|
|
25
|
+
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
|
26
|
+
* - RESIDENTIAL_ES: Spain
|
|
27
|
+
* - RESIDENTIAL_IE: Ireland
|
|
28
|
+
* - RESIDENTIAL_GB: United Kingdom
|
|
29
|
+
* - RESIDENTIAL_IN: India
|
|
30
|
+
* - RESIDENTIAL_JP: Japan
|
|
31
|
+
* - RESIDENTIAL_FR: France
|
|
32
|
+
* - RESIDENTIAL_DE: Germany
|
|
33
|
+
* - RESIDENTIAL_NZ: New Zealand
|
|
34
|
+
* - RESIDENTIAL_PH: Philippines
|
|
35
|
+
* - RESIDENTIAL_KR: South Korea
|
|
36
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
37
|
+
* - RESIDENTIAL_ZA: South Africa
|
|
38
|
+
* - RESIDENTIAL_AR: Argentina
|
|
39
|
+
* - RESIDENTIAL_AU: Australia
|
|
40
|
+
* - RESIDENTIAL_BR: Brazil
|
|
41
|
+
* - RESIDENTIAL_TR: Turkey
|
|
42
|
+
* - RESIDENTIAL_CA: Canada
|
|
43
|
+
* - RESIDENTIAL_MX: Mexico
|
|
44
|
+
* - RESIDENTIAL_IT: Italy
|
|
45
|
+
* - RESIDENTIAL_NL: Netherlands
|
|
46
|
+
* - RESIDENTIAL_ISP: ISP proxy
|
|
47
|
+
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
|
48
|
+
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
|
49
|
+
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
|
50
|
+
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
51
|
+
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
52
|
+
* - NONE: No proxy
|
|
53
|
+
*
|
|
54
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
55
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
|
56
|
+
*/
|
|
57
|
+
proxy_location?: WorkflowRunRequestInput.ProxyLocation;
|
|
58
|
+
/** URL to send workflow status updates to after a run is finished. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for webhook questions. */
|
|
59
|
+
webhook_url?: string;
|
|
60
|
+
/**
|
|
61
|
+
* URL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.
|
|
62
|
+
*/
|
|
63
|
+
totp_url?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Identifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.
|
|
66
|
+
*/
|
|
67
|
+
totp_identifier?: string;
|
|
68
|
+
/** ID of a Skyvern browser session to reuse, having it continue from the current screen state */
|
|
69
|
+
browser_session_id?: string;
|
|
70
|
+
/** ID of a browser profile to reuse for this workflow run */
|
|
71
|
+
browser_profile_id?: string;
|
|
72
|
+
/** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot. */
|
|
73
|
+
max_screenshot_scrolls?: number;
|
|
74
|
+
/** Timeout this workflow run after the configured elapsed runtime in minutes. When omitted, the platform default is 240 minutes. The maximum configurable value is 480 minutes. */
|
|
75
|
+
max_elapsed_time_minutes?: number;
|
|
76
|
+
/** The extra HTTP headers for the requests in browser. */
|
|
77
|
+
extra_http_headers?: Record<string, string | undefined>;
|
|
78
|
+
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites. */
|
|
79
|
+
cdp_connect_headers?: Record<string, string | undefined>;
|
|
80
|
+
/** The CDP address for the workflow run. */
|
|
81
|
+
browser_address?: string;
|
|
82
|
+
/** Whether to fallback to AI if the workflow run fails. */
|
|
83
|
+
ai_fallback?: boolean;
|
|
84
|
+
/** Whether to run the workflow with agent or code. Null inherits from the workflow setting. */
|
|
85
|
+
run_with?: string;
|
|
86
|
+
/** String key/value metadata to attach to this workflow run for analytics tag filtering. */
|
|
87
|
+
run_metadata?: Record<string, string | undefined>;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace WorkflowRunRequestInput {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
|
93
|
+
*
|
|
94
|
+
* Available geotargeting options:
|
|
95
|
+
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
|
96
|
+
* - RESIDENTIAL_ES: Spain
|
|
97
|
+
* - RESIDENTIAL_IE: Ireland
|
|
98
|
+
* - RESIDENTIAL_GB: United Kingdom
|
|
99
|
+
* - RESIDENTIAL_IN: India
|
|
100
|
+
* - RESIDENTIAL_JP: Japan
|
|
101
|
+
* - RESIDENTIAL_FR: France
|
|
102
|
+
* - RESIDENTIAL_DE: Germany
|
|
103
|
+
* - RESIDENTIAL_NZ: New Zealand
|
|
104
|
+
* - RESIDENTIAL_PH: Philippines
|
|
105
|
+
* - RESIDENTIAL_KR: South Korea
|
|
106
|
+
* - RESIDENTIAL_SA: Saudi Arabia
|
|
107
|
+
* - RESIDENTIAL_ZA: South Africa
|
|
108
|
+
* - RESIDENTIAL_AR: Argentina
|
|
109
|
+
* - RESIDENTIAL_AU: Australia
|
|
110
|
+
* - RESIDENTIAL_BR: Brazil
|
|
111
|
+
* - RESIDENTIAL_TR: Turkey
|
|
112
|
+
* - RESIDENTIAL_CA: Canada
|
|
113
|
+
* - RESIDENTIAL_MX: Mexico
|
|
114
|
+
* - RESIDENTIAL_IT: Italy
|
|
115
|
+
* - RESIDENTIAL_NL: Netherlands
|
|
116
|
+
* - RESIDENTIAL_ISP: ISP proxy
|
|
117
|
+
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
|
118
|
+
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
|
119
|
+
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
|
120
|
+
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
|
121
|
+
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
|
122
|
+
* - NONE: No proxy
|
|
123
|
+
*
|
|
124
|
+
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
|
125
|
+
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
|
126
|
+
*/
|
|
127
|
+
type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
|
128
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
export type { BatchGetRunTagsRequest } from "./BatchGetRunTagsRequest.js";
|
|
2
|
+
export type { BatchGetWorkflowTagsRequest } from "./BatchGetWorkflowTagsRequest.js";
|
|
1
3
|
export type { BodyUploadFileV1UploadFilePost } from "./BodyUploadFileV1UploadFilePost.js";
|
|
2
|
-
export type {
|
|
3
|
-
export type { CheckoutSubscriptionRequest } from "./CheckoutSubscriptionRequest.js";
|
|
4
|
+
export type { BulkCancelRunsRequest } from "./BulkCancelRunsRequest.js";
|
|
4
5
|
export type { CreateBrowserProfileRequest } from "./CreateBrowserProfileRequest.js";
|
|
5
6
|
export type { CreateBrowserSessionRequest } from "./CreateBrowserSessionRequest.js";
|
|
6
7
|
export type { CreateScriptRequest } from "./CreateScriptRequest.js";
|
|
7
8
|
export type { CreateWorkflowRequest } from "./CreateWorkflowRequest.js";
|
|
9
|
+
export type { CustomLlmCreateRequest } from "./CustomLlmCreateRequest.js";
|
|
10
|
+
export type { CustomLlmUpdateRequest } from "./CustomLlmUpdateRequest.js";
|
|
8
11
|
export type { DeleteFolderRequest } from "./DeleteFolderRequest.js";
|
|
9
12
|
export type { DeployScriptRequest } from "./DeployScriptRequest.js";
|
|
10
13
|
export type { DownloadFilesRequest } from "./DownloadFilesRequest.js";
|
|
@@ -13,15 +16,29 @@ export type { FolderUpdate } from "./FolderUpdate.js";
|
|
|
13
16
|
export type { GetCredentialsRequest } from "./GetCredentialsRequest.js";
|
|
14
17
|
export type { GetFoldersRequest } from "./GetFoldersRequest.js";
|
|
15
18
|
export type { GetRunArtifactsRequest } from "./GetRunArtifactsRequest.js";
|
|
19
|
+
export type { GetRunsV2Request } from "./GetRunsV2Request.js";
|
|
20
|
+
export type { GetRunTagHistoryRequest } from "./GetRunTagHistoryRequest.js";
|
|
16
21
|
export type { GetScriptsRequest } from "./GetScriptsRequest.js";
|
|
17
22
|
export type { GetWorkflowRequest } from "./GetWorkflowRequest.js";
|
|
23
|
+
export type { GetWorkflowRunsByIdRequest } from "./GetWorkflowRunsByIdRequest.js";
|
|
18
24
|
export type { GetWorkflowRunsRequest } from "./GetWorkflowRunsRequest.js";
|
|
19
25
|
export type { GetWorkflowsRequest } from "./GetWorkflowsRequest.js";
|
|
26
|
+
export type { GetWorkflowTagHistoryRequest } from "./GetWorkflowTagHistoryRequest.js";
|
|
20
27
|
export type { GetWorkflowVersionsRequest } from "./GetWorkflowVersionsRequest.js";
|
|
21
28
|
export type { ListBrowserProfilesRequest } from "./ListBrowserProfilesRequest.js";
|
|
29
|
+
export type { ListTagValuesRequest } from "./ListTagValuesRequest.js";
|
|
22
30
|
export type { LoginRequest } from "./LoginRequest.js";
|
|
31
|
+
export type { RetryWorkflowRunRequest } from "./RetryWorkflowRunRequest.js";
|
|
23
32
|
export type { RunSdkActionRequest } from "./RunSdkActionRequest.js";
|
|
24
|
-
export type {
|
|
25
|
-
export type {
|
|
33
|
+
export type { RunTagsBatchRequest } from "./RunTagsBatchRequest.js";
|
|
34
|
+
export type { TagKeyUpdate } from "./TagKeyUpdate.js";
|
|
35
|
+
export type { TagValueDelete } from "./TagValueDelete.js";
|
|
36
|
+
export type { TagValueRename } from "./TagValueRename.js";
|
|
37
|
+
export type { TagValueUpdate } from "./TagValueUpdate.js";
|
|
38
|
+
export type { TaskRunRequestInput } from "./TaskRunRequestInput.js";
|
|
26
39
|
export type { TotpCodeCreate } from "./TotpCodeCreate.js";
|
|
40
|
+
export type { UpdateBrowserProfileRequest } from "./UpdateBrowserProfileRequest.js";
|
|
41
|
+
export type { UpdateBrowserSessionRequest } from "./UpdateBrowserSessionRequest.js";
|
|
27
42
|
export type { UpdateWorkflowFolderRequest } from "./UpdateWorkflowFolderRequest.js";
|
|
43
|
+
export type { WorkflowRunRequestInput } from "./WorkflowRunRequestInput.js";
|
|
44
|
+
export type { WorkflowTagsBatchRequest } from "./WorkflowTagsBatchRequest.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.InternalServerError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class InternalServerError extends errors.SkyvernError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "InternalServerError",
|
|
43
|
+
statusCode: 500,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.InternalServerError = InternalServerError;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.RangeNotSatisfiableError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class RangeNotSatisfiableError extends errors.SkyvernError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "RangeNotSatisfiableError",
|
|
43
|
+
statusCode: 416,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, RangeNotSatisfiableError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.RangeNotSatisfiableError = RangeNotSatisfiableError;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./BadRequestError.js";
|
|
2
2
|
export * from "./ConflictError.js";
|
|
3
3
|
export * from "./ForbiddenError.js";
|
|
4
|
+
export * from "./InternalServerError.js";
|
|
4
5
|
export * from "./NotFoundError.js";
|
|
6
|
+
export * from "./RangeNotSatisfiableError.js";
|
|
5
7
|
export * from "./UnprocessableEntityError.js";
|
|
@@ -17,5 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./BadRequestError.js"), exports);
|
|
18
18
|
__exportStar(require("./ConflictError.js"), exports);
|
|
19
19
|
__exportStar(require("./ForbiddenError.js"), exports);
|
|
20
|
+
__exportStar(require("./InternalServerError.js"), exports);
|
|
20
21
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
22
|
+
__exportStar(require("./RangeNotSatisfiableError.js"), exports);
|
|
21
23
|
__exportStar(require("./UnprocessableEntityError.js"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
export declare namespace Agents {
|
|
4
|
+
interface Options extends BaseClientOptions {
|
|
5
|
+
}
|
|
6
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare class Agents {
|
|
10
|
+
protected readonly _options: Agents.Options;
|
|
11
|
+
constructor(_options?: Agents.Options);
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} workflowPermanentId - The permanent ID of the workflow. Starts with `wpid_`.
|
|
16
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
19
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
20
|
+
* @throws {@link Skyvern.InternalServerError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.agents.resetWorkflowBrowserProfile("wpid_123")
|
|
24
|
+
*/
|
|
25
|
+
resetWorkflowBrowserProfile(workflowPermanentId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<void>;
|
|
26
|
+
private __resetWorkflowBrowserProfile;
|
|
27
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.Agents = void 0;
|
|
47
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
48
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
49
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
50
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
51
|
+
const Skyvern = __importStar(require("../../../index.js"));
|
|
52
|
+
class Agents {
|
|
53
|
+
constructor(_options = {}) {
|
|
54
|
+
this._options = _options;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
*
|
|
59
|
+
* @param {string} workflowPermanentId - The permanent ID of the workflow. Starts with `wpid_`.
|
|
60
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
63
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
64
|
+
* @throws {@link Skyvern.InternalServerError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.agents.resetWorkflowBrowserProfile("wpid_123")
|
|
68
|
+
*/
|
|
69
|
+
resetWorkflowBrowserProfile(workflowPermanentId, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__resetWorkflowBrowserProfile(workflowPermanentId, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__resetWorkflowBrowserProfile(workflowPermanentId, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
75
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "x-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
76
|
+
const _response = yield core.fetcher({
|
|
77
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.SkyvernEnvironment.Cloud, `v1/agents/${core.url.encodePathParam(workflowPermanentId)}/browser_session/reset_profile`),
|
|
78
|
+
method: "POST",
|
|
79
|
+
headers: _headers,
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
81
|
+
timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
|
|
82
|
+
maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
|
|
83
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
84
|
+
});
|
|
85
|
+
if (_response.ok) {
|
|
86
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
87
|
+
}
|
|
88
|
+
if (_response.error.reason === "status-code") {
|
|
89
|
+
switch (_response.error.statusCode) {
|
|
90
|
+
case 404:
|
|
91
|
+
throw new Skyvern.NotFoundError(_response.error.body, _response.rawResponse);
|
|
92
|
+
case 422:
|
|
93
|
+
throw new Skyvern.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
94
|
+
case 500:
|
|
95
|
+
throw new Skyvern.InternalServerError(_response.error.body, _response.rawResponse);
|
|
96
|
+
default:
|
|
97
|
+
throw new errors.SkyvernError({
|
|
98
|
+
statusCode: _response.error.statusCode,
|
|
99
|
+
body: _response.error.body,
|
|
100
|
+
rawResponse: _response.rawResponse,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
switch (_response.error.reason) {
|
|
105
|
+
case "non-json":
|
|
106
|
+
throw new errors.SkyvernError({
|
|
107
|
+
statusCode: _response.error.statusCode,
|
|
108
|
+
body: _response.error.rawBody,
|
|
109
|
+
rawResponse: _response.rawResponse,
|
|
110
|
+
});
|
|
111
|
+
case "timeout":
|
|
112
|
+
throw new errors.SkyvernTimeoutError("Timeout exceeded when calling POST /v1/agents/{workflow_permanent_id}/browser_session/reset_profile.");
|
|
113
|
+
case "unknown":
|
|
114
|
+
throw new errors.SkyvernError({
|
|
115
|
+
message: _response.error.errorMessage,
|
|
116
|
+
rawResponse: _response.rawResponse,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.Agents = Agents;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
export declare namespace Artifacts {
|
|
4
|
+
interface Options extends BaseClientOptions {
|
|
5
|
+
}
|
|
6
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare class Artifacts {
|
|
10
|
+
protected readonly _options: Artifacts.Options;
|
|
11
|
+
constructor(_options?: Artifacts.Options);
|
|
12
|
+
/**
|
|
13
|
+
* Download the raw content of an artifact (supports bundled artifacts).
|
|
14
|
+
*
|
|
15
|
+
* @param {string} artifactId
|
|
16
|
+
* @param {Artifacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Skyvern.ForbiddenError}
|
|
19
|
+
* @throws {@link Skyvern.NotFoundError}
|
|
20
|
+
* @throws {@link Skyvern.RangeNotSatisfiableError}
|
|
21
|
+
* @throws {@link Skyvern.UnprocessableEntityError}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* await client.artifacts.getArtifactContent("artifact_id")
|
|
25
|
+
*/
|
|
26
|
+
getArtifactContent(artifactId: string, requestOptions?: Artifacts.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
27
|
+
private __getArtifactContent;
|
|
28
|
+
}
|