@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.
Files changed (649) hide show
  1. package/README.md +2 -49
  2. package/dist/cjs/Client.d.ts +587 -170
  3. package/dist/cjs/Client.js +2478 -682
  4. package/dist/cjs/api/client/requests/BatchGetRunTagsRequest.d.ts +10 -0
  5. package/dist/cjs/api/client/requests/BatchGetWorkflowTagsRequest.d.ts +10 -0
  6. package/dist/cjs/api/client/requests/BodyUploadFileV1UploadFilePost.d.ts +2 -3
  7. package/dist/cjs/api/client/requests/BulkCancelRunsRequest.d.ts +10 -0
  8. package/dist/cjs/api/client/requests/CreateBrowserProfileRequest.d.ts +13 -2
  9. package/dist/cjs/api/client/requests/CreateBrowserSessionRequest.d.ts +51 -1
  10. package/dist/cjs/api/client/requests/CustomLlmCreateRequest.d.ts +14 -0
  11. package/dist/cjs/api/client/requests/CustomLlmUpdateRequest.d.ts +14 -0
  12. package/dist/cjs/api/client/requests/DownloadFilesRequest.d.ts +4 -0
  13. package/dist/cjs/api/client/requests/GetCredentialsRequest.d.ts +11 -1
  14. package/dist/cjs/api/client/requests/GetRunTagHistoryRequest.d.ts +16 -0
  15. package/dist/cjs/api/client/requests/GetRunsV2Request.d.ts +17 -0
  16. package/dist/cjs/api/client/requests/GetWorkflowRunsByIdRequest.d.ts +28 -0
  17. package/dist/cjs/api/client/requests/GetWorkflowTagHistoryRequest.d.ts +16 -0
  18. package/dist/cjs/api/client/requests/GetWorkflowsRequest.d.ts +2 -0
  19. package/dist/cjs/api/client/requests/ListBrowserProfilesRequest.d.ts +11 -1
  20. package/dist/cjs/api/client/requests/ListTagValuesRequest.d.ts +10 -0
  21. package/dist/cjs/api/client/requests/LoginRequest.d.ts +5 -1
  22. package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.d.ts +11 -0
  23. package/dist/cjs/api/client/requests/RetryWorkflowRunRequest.js +3 -0
  24. package/dist/cjs/api/client/requests/RunTagsBatchRequest.d.ts +8 -0
  25. package/dist/cjs/api/client/requests/RunTagsBatchRequest.js +3 -0
  26. package/dist/cjs/api/client/requests/TagKeyUpdate.d.ts +8 -0
  27. package/dist/cjs/api/client/requests/TagKeyUpdate.js +3 -0
  28. package/dist/cjs/api/client/requests/TagValueDelete.d.ts +10 -0
  29. package/dist/cjs/api/client/requests/TagValueDelete.js +3 -0
  30. package/dist/cjs/api/client/requests/TagValueRename.d.ts +13 -0
  31. package/dist/cjs/api/client/requests/TagValueRename.js +3 -0
  32. package/dist/cjs/api/client/requests/TagValueUpdate.d.ts +13 -0
  33. package/dist/cjs/api/client/requests/TagValueUpdate.js +3 -0
  34. package/dist/cjs/api/client/requests/TaskRunRequestInput.d.ts +153 -0
  35. package/dist/cjs/api/client/requests/TaskRunRequestInput.js +3 -0
  36. package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.d.ts +23 -0
  37. package/dist/cjs/api/client/requests/UpdateBrowserProfileRequest.js +3 -0
  38. package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.d.ts +10 -0
  39. package/dist/cjs/api/client/requests/UpdateBrowserSessionRequest.js +3 -0
  40. package/dist/cjs/api/client/requests/WorkflowRunRequestInput.d.ts +128 -0
  41. package/dist/cjs/api/client/requests/WorkflowRunRequestInput.js +3 -0
  42. package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.d.ts +8 -0
  43. package/dist/cjs/api/client/requests/WorkflowTagsBatchRequest.js +3 -0
  44. package/dist/cjs/api/client/requests/index.d.ts +21 -4
  45. package/dist/cjs/api/errors/InternalServerError.d.ts +5 -0
  46. package/dist/cjs/api/errors/InternalServerError.js +50 -0
  47. package/dist/cjs/api/errors/RangeNotSatisfiableError.d.ts +5 -0
  48. package/dist/cjs/api/errors/RangeNotSatisfiableError.js +50 -0
  49. package/dist/cjs/api/errors/index.d.ts +2 -0
  50. package/dist/cjs/api/errors/index.js +2 -0
  51. package/dist/cjs/api/resources/agents/client/Client.d.ts +27 -0
  52. package/dist/cjs/api/resources/agents/client/Client.js +122 -0
  53. package/dist/cjs/api/resources/agents/client/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/agents/client/index.js +2 -0
  55. package/dist/cjs/api/resources/agents/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/agents/index.js +17 -0
  57. package/dist/cjs/api/resources/artifacts/client/Client.d.ts +28 -0
  58. package/dist/cjs/api/resources/artifacts/client/Client.js +125 -0
  59. package/dist/cjs/api/resources/artifacts/client/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/artifacts/client/index.js +2 -0
  61. package/dist/cjs/api/resources/artifacts/index.d.ts +1 -0
  62. package/dist/cjs/api/resources/artifacts/index.js +17 -0
  63. package/dist/cjs/api/resources/index.d.ts +5 -0
  64. package/dist/cjs/api/resources/index.js +9 -1
  65. package/dist/cjs/api/resources/schedules/client/Client.d.ts +119 -0
  66. package/dist/cjs/api/resources/schedules/client/Client.js +554 -0
  67. package/dist/cjs/api/resources/schedules/client/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/schedules/client/index.js +17 -0
  69. package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.d.ts +18 -0
  70. package/dist/cjs/api/resources/schedules/client/requests/SchedulesListAllRequest.js +3 -0
  71. package/dist/cjs/api/resources/schedules/client/requests/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/schedules/client/requests/index.js +2 -0
  73. package/dist/cjs/api/resources/schedules/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/schedules/index.js +18 -0
  75. package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.d.ts +5 -0
  76. package/dist/cjs/api/resources/schedules/types/SchedulesListAllRequestStatus.js +8 -0
  77. package/dist/cjs/api/resources/schedules/types/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/schedules/types/index.js +17 -0
  79. package/dist/cjs/api/types/Action.d.ts +5 -0
  80. package/dist/cjs/api/types/ActionBlock.d.ts +4 -0
  81. package/dist/cjs/api/types/ActionBlockYaml.d.ts +3 -0
  82. package/dist/cjs/api/types/ActionType.d.ts +5 -0
  83. package/dist/cjs/api/types/ActionType.js +5 -0
  84. package/dist/cjs/api/types/AiFallbackMode.d.ts +14 -0
  85. package/dist/cjs/api/types/AiFallbackMode.js +17 -0
  86. package/dist/cjs/api/types/Artifact.d.ts +5 -0
  87. package/dist/cjs/api/types/ArtifactType.d.ts +5 -0
  88. package/dist/cjs/api/types/ArtifactType.js +5 -0
  89. package/dist/cjs/api/types/BlockType.d.ts +6 -0
  90. package/dist/cjs/api/types/BlockType.js +6 -0
  91. package/dist/cjs/api/types/BrowserProfile.d.ts +10 -0
  92. package/dist/cjs/api/types/BrowserSessionResponse.d.ts +2 -0
  93. package/dist/cjs/api/types/BulkCancelRunsResponse.d.ts +6 -0
  94. package/dist/cjs/api/types/BulkCancelRunsResponse.js +3 -0
  95. package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.d.ts +7 -0
  96. package/dist/cjs/api/types/ClearOrganizationAuthTokenResponse.js +3 -0
  97. package/dist/cjs/api/types/CodeBlock.d.ts +3 -0
  98. package/dist/cjs/api/types/CodeBlockStep.d.ts +8 -0
  99. package/dist/cjs/api/types/CodeBlockStep.js +3 -0
  100. package/dist/cjs/api/types/CodeBlockStepYaml.d.ts +7 -0
  101. package/dist/cjs/api/types/CodeBlockStepYaml.js +3 -0
  102. package/dist/cjs/api/types/CodeBlockYaml.d.ts +4 -0
  103. package/dist/cjs/api/types/ConditionalBlock.d.ts +1 -0
  104. package/dist/cjs/api/types/ConditionalBlockYaml.d.ts +1 -0
  105. package/dist/cjs/api/types/CreateCredentialRequest.d.ts +12 -0
  106. package/dist/cjs/api/types/CredentialParameter.d.ts +2 -0
  107. package/dist/cjs/api/types/CredentialParameterYaml.d.ts +2 -0
  108. package/dist/cjs/api/types/CredentialResponse.d.ts +16 -0
  109. package/dist/cjs/api/types/CredentialVaultType.d.ts +8 -0
  110. package/dist/cjs/api/types/CredentialVaultType.js +11 -0
  111. package/dist/cjs/api/types/CreditCardBillingAddress.d.ts +21 -0
  112. package/dist/cjs/api/types/CreditCardBillingAddress.js +3 -0
  113. package/dist/cjs/api/types/CreditCardCredentialResponse.d.ts +2 -1
  114. package/dist/cjs/api/types/CustomLlm.d.ts +9 -0
  115. package/dist/cjs/api/types/CustomLlm.js +3 -0
  116. package/dist/cjs/api/types/CustomLlmConfig.d.ts +14 -0
  117. package/dist/cjs/api/types/CustomLlmConfig.js +3 -0
  118. package/dist/cjs/api/types/CustomLlmListResponse.d.ts +4 -0
  119. package/dist/cjs/api/types/CustomLlmListResponse.js +3 -0
  120. package/dist/cjs/api/types/CustomLlmProvider.d.ts +6 -0
  121. package/dist/cjs/api/types/CustomLlmProvider.js +9 -0
  122. package/dist/cjs/api/types/CustomLlmResponse.d.ts +4 -0
  123. package/dist/cjs/api/types/CustomLlmResponse.js +3 -0
  124. package/dist/cjs/api/types/DeleteScheduleResponse.d.ts +3 -0
  125. package/dist/cjs/api/types/DeleteScheduleResponse.js +3 -0
  126. package/dist/cjs/api/types/DownloadToS3Block.d.ts +1 -0
  127. package/dist/cjs/api/types/DownloadToS3BlockYaml.d.ts +1 -0
  128. package/dist/cjs/api/types/EmailInboxBlock.d.ts +30 -0
  129. package/dist/cjs/api/types/EmailInboxBlock.js +11 -0
  130. package/dist/cjs/api/types/EmailInboxBlockParametersItem.d.ts +37 -0
  131. package/dist/cjs/api/types/EmailInboxBlockParametersItem.js +3 -0
  132. package/dist/cjs/api/types/EmailInboxBlockYaml.d.ts +27 -0
  133. package/dist/cjs/api/types/EmailInboxBlockYaml.js +11 -0
  134. package/dist/cjs/api/types/ExtractionBlock.d.ts +2 -0
  135. package/dist/cjs/api/types/ExtractionBlockYaml.d.ts +1 -0
  136. package/dist/cjs/api/types/FileDownloadBlock.d.ts +2 -0
  137. package/dist/cjs/api/types/FileDownloadBlockYaml.d.ts +1 -0
  138. package/dist/cjs/api/types/FileInfo.d.ts +4 -0
  139. package/dist/cjs/api/types/FileParserBlock.d.ts +2 -1
  140. package/dist/cjs/api/types/FileParserBlockYaml.d.ts +2 -1
  141. package/dist/cjs/api/types/FileStorageType.d.ts +2 -0
  142. package/dist/cjs/api/types/FileStorageType.js +2 -0
  143. package/dist/cjs/api/types/FileType.d.ts +2 -0
  144. package/dist/cjs/api/types/FileType.js +2 -0
  145. package/dist/cjs/api/types/FileUploadBlock.d.ts +15 -0
  146. package/dist/cjs/api/types/FileUploadBlockYaml.d.ts +13 -0
  147. package/dist/cjs/api/types/ForLoopBlock.d.ts +1 -0
  148. package/dist/cjs/api/types/ForLoopBlockLoopBlocksItem.d.ts +19 -1
  149. package/dist/cjs/api/types/ForLoopBlockYaml.d.ts +1 -0
  150. package/dist/cjs/api/types/ForLoopBlockYamlLoopBlocksItem.d.ts +19 -1
  151. package/dist/cjs/api/types/GeoTarget.d.ts +1 -11
  152. package/dist/cjs/api/types/GetRunResponse.d.ts +4 -1
  153. package/dist/cjs/api/types/GoogleSheetsReadBlock.d.ts +19 -0
  154. package/dist/cjs/api/types/GoogleSheetsReadBlock.js +3 -0
  155. package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.d.ts +37 -0
  156. package/dist/cjs/api/types/GoogleSheetsReadBlockParametersItem.js +3 -0
  157. package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.d.ts +16 -0
  158. package/dist/cjs/api/types/GoogleSheetsReadBlockYaml.js +3 -0
  159. package/dist/cjs/api/types/GoogleSheetsWriteBlock.d.ts +29 -0
  160. package/dist/cjs/api/types/GoogleSheetsWriteBlock.js +11 -0
  161. package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.d.ts +37 -0
  162. package/dist/cjs/api/types/GoogleSheetsWriteBlockParametersItem.js +3 -0
  163. package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.d.ts +26 -0
  164. package/dist/cjs/api/types/GoogleSheetsWriteBlockYaml.js +11 -0
  165. package/dist/cjs/api/types/HttpRequestBlock.d.ts +2 -0
  166. package/dist/cjs/api/types/HttpRequestBlockYaml.d.ts +2 -0
  167. package/dist/cjs/api/types/HumanInteractionBlock.d.ts +2 -0
  168. package/dist/cjs/api/types/HumanInteractionBlockYaml.d.ts +1 -0
  169. package/dist/cjs/api/types/LoginBlock.d.ts +3 -0
  170. package/dist/cjs/api/types/LoginBlockYaml.d.ts +2 -0
  171. package/dist/cjs/api/types/NavigationBlock.d.ts +2 -0
  172. package/dist/cjs/api/types/NavigationBlockYaml.d.ts +1 -0
  173. package/dist/cjs/api/types/NonEmptyCreditCardCredential.d.ts +9 -0
  174. package/dist/cjs/api/types/OrganizationScheduleItem.d.ts +23 -0
  175. package/dist/cjs/api/types/OrganizationScheduleItem.js +3 -0
  176. package/dist/cjs/api/types/OrganizationScheduleListResponse.d.ts +7 -0
  177. package/dist/cjs/api/types/OrganizationScheduleListResponse.js +3 -0
  178. package/dist/cjs/api/types/PasswordCredentialResponse.d.ts +1 -1
  179. package/dist/cjs/api/types/PdfFillBlock.d.ts +21 -0
  180. package/dist/cjs/api/types/PdfFillBlock.js +3 -0
  181. package/dist/cjs/api/types/PdfFillBlockParametersItem.d.ts +37 -0
  182. package/dist/cjs/api/types/PdfFillBlockParametersItem.js +3 -0
  183. package/dist/cjs/api/types/PdfFillBlockYaml.d.ts +18 -0
  184. package/dist/cjs/api/types/PdfFillBlockYaml.js +3 -0
  185. package/dist/cjs/api/types/PdfParserBlock.d.ts +1 -0
  186. package/dist/cjs/api/types/PdfParserBlockYaml.d.ts +1 -0
  187. package/dist/cjs/api/types/PersistentBrowserType.d.ts +1 -0
  188. package/dist/cjs/api/types/PersistentBrowserType.js +1 -0
  189. package/dist/cjs/api/types/PrintPageBlock.d.ts +1 -0
  190. package/dist/cjs/api/types/PrintPageBlockYaml.d.ts +1 -0
  191. package/dist/cjs/api/types/ProxyLocation.d.ts +1 -0
  192. package/dist/cjs/api/types/ProxyLocation.js +1 -0
  193. package/dist/cjs/api/types/RunEngine.d.ts +1 -0
  194. package/dist/cjs/api/types/RunEngine.js +1 -0
  195. package/dist/cjs/api/types/RunTagHistoryResponse.d.ts +5 -0
  196. package/dist/cjs/api/types/RunTagHistoryResponse.js +3 -0
  197. package/dist/cjs/api/types/RunTagsBatchResponse.d.ts +11 -0
  198. package/dist/cjs/api/types/RunTagsBatchResponse.js +3 -0
  199. package/dist/cjs/api/types/RunTagsResponse.d.ts +8 -0
  200. package/dist/cjs/api/types/RunTagsResponse.js +3 -0
  201. package/dist/cjs/api/types/RunType.d.ts +10 -0
  202. package/dist/cjs/api/types/RunType.js +13 -0
  203. package/dist/cjs/api/types/RunWebhookReplayResponse.d.ts +22 -0
  204. package/dist/cjs/api/types/RunWebhookReplayResponse.js +3 -0
  205. package/dist/cjs/api/types/ScriptRunResponse.d.ts +2 -0
  206. package/dist/cjs/api/types/SendEmailBlock.d.ts +1 -0
  207. package/dist/cjs/api/types/SendEmailBlockYaml.d.ts +1 -0
  208. package/dist/cjs/api/types/SkyvernSchemasCredentialTypeCredentialType.d.ts +7 -0
  209. package/dist/cjs/api/types/{SkyvernSchemasRunBlocksCredentialType.js → SkyvernSchemasCredentialTypeCredentialType.js} +2 -2
  210. package/dist/cjs/api/types/SplitPdfBlock.d.ts +17 -0
  211. package/dist/cjs/api/types/SplitPdfBlock.js +3 -0
  212. package/dist/cjs/api/types/SplitPdfBlockParametersItem.d.ts +37 -0
  213. package/dist/cjs/api/types/SplitPdfBlockParametersItem.js +3 -0
  214. package/dist/cjs/api/types/SplitPdfBlockYaml.d.ts +14 -0
  215. package/dist/cjs/api/types/SplitPdfBlockYaml.js +3 -0
  216. package/dist/cjs/api/types/TagApplyRequest.d.ts +13 -0
  217. package/dist/cjs/api/types/TagApplyRequest.js +3 -0
  218. package/dist/cjs/api/types/TagDeleteInput.d.ts +10 -0
  219. package/dist/cjs/api/types/TagDeleteInput.js +3 -0
  220. package/dist/cjs/api/types/TagHistoryItem.d.ts +13 -0
  221. package/dist/cjs/api/types/TagHistoryItem.js +3 -0
  222. package/dist/cjs/api/types/TagHistoryResponse.d.ts +5 -0
  223. package/dist/cjs/api/types/TagHistoryResponse.js +3 -0
  224. package/dist/cjs/api/types/TagInput.d.ts +10 -0
  225. package/dist/cjs/api/types/TagInput.js +3 -0
  226. package/dist/cjs/api/types/TagItem.d.ts +8 -0
  227. package/dist/cjs/api/types/TagItem.js +3 -0
  228. package/dist/cjs/api/types/TagKey.d.ts +8 -0
  229. package/dist/cjs/api/types/TagKey.js +3 -0
  230. package/dist/cjs/api/types/TagKeyDeleteResponse.d.ts +9 -0
  231. package/dist/cjs/api/types/TagKeyDeleteResponse.js +3 -0
  232. package/dist/cjs/api/types/TagResponse.d.ts +11 -0
  233. package/dist/cjs/api/types/TagResponse.js +3 -0
  234. package/dist/cjs/api/types/TagValue.d.ts +11 -0
  235. package/dist/cjs/api/types/TagValue.js +3 -0
  236. package/dist/cjs/api/types/TagValueDeleteResponse.d.ts +10 -0
  237. package/dist/cjs/api/types/TagValueDeleteResponse.js +3 -0
  238. package/dist/cjs/api/types/TagValueRenameResponse.d.ts +10 -0
  239. package/dist/cjs/api/types/TagValueRenameResponse.js +3 -0
  240. package/dist/cjs/api/types/TagsResponse.d.ts +9 -0
  241. package/dist/cjs/api/types/TagsResponse.js +3 -0
  242. package/dist/cjs/api/types/TaskBlock.d.ts +2 -0
  243. package/dist/cjs/api/types/TaskBlockYaml.d.ts +1 -0
  244. package/dist/cjs/api/types/TaskRunListItem.d.ts +18 -0
  245. package/dist/cjs/api/types/TaskRunListItem.js +3 -0
  246. package/dist/cjs/api/types/{TaskRunRequest.d.ts → TaskRunRequestOutput.d.ts} +15 -7
  247. package/dist/cjs/api/types/TaskRunRequestOutput.js +3 -0
  248. package/dist/cjs/api/types/TaskRunResponse.d.ts +3 -1
  249. package/dist/cjs/api/types/TaskV2Block.d.ts +1 -0
  250. package/dist/cjs/api/types/TaskV2BlockYaml.d.ts +1 -0
  251. package/dist/cjs/api/types/TextPromptBlock.d.ts +1 -0
  252. package/dist/cjs/api/types/TextPromptBlockYaml.d.ts +1 -0
  253. package/dist/cjs/api/types/Thought.d.ts +1 -0
  254. package/dist/cjs/api/types/UploadToS3Block.d.ts +1 -0
  255. package/dist/cjs/api/types/UploadToS3BlockYaml.d.ts +1 -0
  256. package/dist/cjs/api/types/UrlBlock.d.ts +2 -0
  257. package/dist/cjs/api/types/UrlBlockYaml.d.ts +1 -0
  258. package/dist/cjs/api/types/UserDefinedError.d.ts +1 -0
  259. package/dist/cjs/api/types/ValidationBlock.d.ts +3 -0
  260. package/dist/cjs/api/types/ValidationBlockYaml.d.ts +2 -0
  261. package/dist/cjs/api/types/WaitBlock.d.ts +1 -0
  262. package/dist/cjs/api/types/WaitBlockYaml.d.ts +1 -0
  263. package/dist/cjs/api/types/WhileLoopBlock.d.ts +25 -0
  264. package/dist/cjs/api/types/WhileLoopBlock.js +3 -0
  265. package/dist/cjs/api/types/WhileLoopBlockCondition.d.ts +10 -0
  266. package/dist/cjs/api/types/WhileLoopBlockCondition.js +3 -0
  267. package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.d.ts +94 -0
  268. package/dist/cjs/api/types/WhileLoopBlockLoopBlocksItem.js +3 -0
  269. package/dist/cjs/api/types/WhileLoopBlockYaml.d.ts +13 -0
  270. package/dist/cjs/api/types/WhileLoopBlockYaml.js +3 -0
  271. package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.d.ts +94 -0
  272. package/dist/cjs/api/types/WhileLoopBlockYamlLoopBlocksItem.js +3 -0
  273. package/dist/cjs/api/types/Workflow.d.ts +12 -0
  274. package/dist/cjs/api/types/WorkflowCreateYamlRequest.d.ts +7 -0
  275. package/dist/cjs/api/types/WorkflowDefinition.d.ts +2 -0
  276. package/dist/cjs/api/types/WorkflowDefinitionBlocksItem.d.ts +19 -1
  277. package/dist/cjs/api/types/WorkflowDefinitionYaml.d.ts +2 -0
  278. package/dist/cjs/api/types/WorkflowDefinitionYamlBlocksItem.d.ts +19 -1
  279. package/dist/cjs/api/types/WorkflowRun.d.ts +9 -0
  280. package/dist/cjs/api/types/WorkflowRunBlock.d.ts +5 -0
  281. package/dist/cjs/api/types/{WorkflowRunRequest.d.ts → WorkflowRunRequestOutput.d.ts} +17 -5
  282. package/dist/cjs/api/types/WorkflowRunRequestOutput.js +3 -0
  283. package/dist/cjs/api/types/WorkflowRunResponse.d.ts +6 -2
  284. package/dist/cjs/api/types/WorkflowRunTriggerType.d.ts +17 -0
  285. package/dist/cjs/api/types/WorkflowRunTriggerType.js +20 -0
  286. package/dist/cjs/api/types/WorkflowSchedule.d.ts +15 -0
  287. package/dist/cjs/api/types/WorkflowSchedule.js +3 -0
  288. package/dist/cjs/api/types/WorkflowScheduleListResponse.d.ts +4 -0
  289. package/dist/cjs/api/types/WorkflowScheduleListResponse.js +3 -0
  290. package/dist/cjs/api/types/WorkflowScheduleResponse.d.ts +5 -0
  291. package/dist/cjs/api/types/WorkflowScheduleResponse.js +3 -0
  292. package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.d.ts +8 -0
  293. package/dist/cjs/api/types/WorkflowScheduleUpsertRequest.js +3 -0
  294. package/dist/cjs/api/types/WorkflowTagsBatchResponse.d.ts +11 -0
  295. package/dist/cjs/api/types/WorkflowTagsBatchResponse.js +3 -0
  296. package/dist/cjs/api/types/WorkflowTriggerBlock.d.ts +1 -0
  297. package/dist/cjs/api/types/WorkflowTriggerBlockYaml.d.ts +1 -0
  298. package/dist/cjs/api/types/index.d.ts +63 -8
  299. package/dist/cjs/api/types/index.js +63 -8
  300. package/dist/cjs/library/Skyvern.d.ts +2 -2
  301. package/dist/cjs/library/SkyvernBrowserPageAgent.js +21 -25
  302. package/dist/cjs/version.d.ts +1 -1
  303. package/dist/cjs/version.js +1 -1
  304. package/dist/esm/Client.d.mts +587 -170
  305. package/dist/esm/Client.mjs +2476 -680
  306. package/dist/esm/api/client/requests/BatchGetRunTagsRequest.d.mts +10 -0
  307. package/dist/esm/api/client/requests/BatchGetWorkflowTagsRequest.d.mts +10 -0
  308. package/dist/esm/api/client/requests/BodyUploadFileV1UploadFilePost.d.mts +2 -3
  309. package/dist/esm/api/client/requests/BulkCancelRunsRequest.d.mts +10 -0
  310. package/dist/esm/api/client/requests/CreateBrowserProfileRequest.d.mts +13 -2
  311. package/dist/esm/api/client/requests/CreateBrowserSessionRequest.d.mts +51 -1
  312. package/dist/esm/api/client/requests/CustomLlmCreateRequest.d.mts +14 -0
  313. package/dist/esm/api/client/requests/CustomLlmUpdateRequest.d.mts +14 -0
  314. package/dist/esm/api/client/requests/DownloadFilesRequest.d.mts +4 -0
  315. package/dist/esm/api/client/requests/GetCredentialsRequest.d.mts +11 -1
  316. package/dist/esm/api/client/requests/GetRunTagHistoryRequest.d.mts +16 -0
  317. package/dist/esm/api/client/requests/GetRunsV2Request.d.mts +17 -0
  318. package/dist/esm/api/client/requests/GetWorkflowRunsByIdRequest.d.mts +28 -0
  319. package/dist/esm/api/client/requests/GetWorkflowTagHistoryRequest.d.mts +16 -0
  320. package/dist/esm/api/client/requests/GetWorkflowsRequest.d.mts +2 -0
  321. package/dist/esm/api/client/requests/ListBrowserProfilesRequest.d.mts +11 -1
  322. package/dist/esm/api/client/requests/ListTagValuesRequest.d.mts +10 -0
  323. package/dist/esm/api/client/requests/LoginRequest.d.mts +5 -1
  324. package/dist/esm/api/client/requests/RetryWorkflowRunRequest.d.mts +11 -0
  325. package/dist/esm/api/client/requests/RetryWorkflowRunRequest.mjs +2 -0
  326. package/dist/esm/api/client/requests/RunTagsBatchRequest.d.mts +8 -0
  327. package/dist/esm/api/client/requests/RunTagsBatchRequest.mjs +2 -0
  328. package/dist/esm/api/client/requests/TagKeyUpdate.d.mts +8 -0
  329. package/dist/esm/api/client/requests/TagKeyUpdate.mjs +2 -0
  330. package/dist/esm/api/client/requests/TagValueDelete.d.mts +10 -0
  331. package/dist/esm/api/client/requests/TagValueDelete.mjs +2 -0
  332. package/dist/esm/api/client/requests/TagValueRename.d.mts +13 -0
  333. package/dist/esm/api/client/requests/TagValueRename.mjs +2 -0
  334. package/dist/esm/api/client/requests/TagValueUpdate.d.mts +13 -0
  335. package/dist/esm/api/client/requests/TagValueUpdate.mjs +2 -0
  336. package/dist/esm/api/client/requests/TaskRunRequestInput.d.mts +153 -0
  337. package/dist/esm/api/client/requests/TaskRunRequestInput.mjs +2 -0
  338. package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.d.mts +23 -0
  339. package/dist/esm/api/client/requests/UpdateBrowserProfileRequest.mjs +2 -0
  340. package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.d.mts +10 -0
  341. package/dist/esm/api/client/requests/UpdateBrowserSessionRequest.mjs +2 -0
  342. package/dist/esm/api/client/requests/WorkflowRunRequestInput.d.mts +128 -0
  343. package/dist/esm/api/client/requests/WorkflowRunRequestInput.mjs +2 -0
  344. package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.d.mts +8 -0
  345. package/dist/esm/api/client/requests/WorkflowTagsBatchRequest.mjs +2 -0
  346. package/dist/esm/api/client/requests/index.d.mts +21 -4
  347. package/dist/esm/api/errors/InternalServerError.d.mts +5 -0
  348. package/dist/esm/api/errors/InternalServerError.mjs +13 -0
  349. package/dist/esm/api/errors/RangeNotSatisfiableError.d.mts +5 -0
  350. package/dist/esm/api/errors/RangeNotSatisfiableError.mjs +13 -0
  351. package/dist/esm/api/errors/index.d.mts +2 -0
  352. package/dist/esm/api/errors/index.mjs +2 -0
  353. package/dist/esm/api/resources/agents/client/Client.d.mts +27 -0
  354. package/dist/esm/api/resources/agents/client/Client.mjs +85 -0
  355. package/dist/esm/api/resources/agents/client/index.d.mts +1 -0
  356. package/dist/esm/api/resources/agents/client/index.mjs +1 -0
  357. package/dist/esm/api/resources/agents/index.d.mts +1 -0
  358. package/dist/esm/api/resources/agents/index.mjs +1 -0
  359. package/dist/esm/api/resources/artifacts/client/Client.d.mts +28 -0
  360. package/dist/esm/api/resources/artifacts/client/Client.mjs +88 -0
  361. package/dist/esm/api/resources/artifacts/client/index.d.mts +1 -0
  362. package/dist/esm/api/resources/artifacts/client/index.mjs +1 -0
  363. package/dist/esm/api/resources/artifacts/index.d.mts +1 -0
  364. package/dist/esm/api/resources/artifacts/index.mjs +1 -0
  365. package/dist/esm/api/resources/index.d.mts +5 -0
  366. package/dist/esm/api/resources/index.mjs +5 -0
  367. package/dist/esm/api/resources/schedules/client/Client.d.mts +119 -0
  368. package/dist/esm/api/resources/schedules/client/Client.mjs +517 -0
  369. package/dist/esm/api/resources/schedules/client/index.d.mts +1 -0
  370. package/dist/esm/api/resources/schedules/client/index.mjs +1 -0
  371. package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.d.mts +18 -0
  372. package/dist/esm/api/resources/schedules/client/requests/SchedulesListAllRequest.mjs +2 -0
  373. package/dist/esm/api/resources/schedules/client/requests/index.d.mts +1 -0
  374. package/dist/esm/api/resources/schedules/client/requests/index.mjs +1 -0
  375. package/dist/esm/api/resources/schedules/index.d.mts +2 -0
  376. package/dist/esm/api/resources/schedules/index.mjs +2 -0
  377. package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.d.mts +5 -0
  378. package/dist/esm/api/resources/schedules/types/SchedulesListAllRequestStatus.mjs +5 -0
  379. package/dist/esm/api/resources/schedules/types/index.d.mts +1 -0
  380. package/dist/esm/api/resources/schedules/types/index.mjs +1 -0
  381. package/dist/esm/api/types/Action.d.mts +5 -0
  382. package/dist/esm/api/types/ActionBlock.d.mts +4 -0
  383. package/dist/esm/api/types/ActionBlockYaml.d.mts +3 -0
  384. package/dist/esm/api/types/ActionType.d.mts +5 -0
  385. package/dist/esm/api/types/ActionType.mjs +5 -0
  386. package/dist/esm/api/types/AiFallbackMode.d.mts +14 -0
  387. package/dist/esm/api/types/AiFallbackMode.mjs +14 -0
  388. package/dist/esm/api/types/Artifact.d.mts +5 -0
  389. package/dist/esm/api/types/ArtifactType.d.mts +5 -0
  390. package/dist/esm/api/types/ArtifactType.mjs +5 -0
  391. package/dist/esm/api/types/BlockType.d.mts +6 -0
  392. package/dist/esm/api/types/BlockType.mjs +6 -0
  393. package/dist/esm/api/types/BrowserProfile.d.mts +10 -0
  394. package/dist/esm/api/types/BrowserSessionResponse.d.mts +2 -0
  395. package/dist/esm/api/types/BulkCancelRunsResponse.d.mts +6 -0
  396. package/dist/esm/api/types/BulkCancelRunsResponse.mjs +2 -0
  397. package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.d.mts +7 -0
  398. package/dist/esm/api/types/ClearOrganizationAuthTokenResponse.mjs +2 -0
  399. package/dist/esm/api/types/CodeBlock.d.mts +3 -0
  400. package/dist/esm/api/types/CodeBlockStep.d.mts +8 -0
  401. package/dist/esm/api/types/CodeBlockStep.mjs +2 -0
  402. package/dist/esm/api/types/CodeBlockStepYaml.d.mts +7 -0
  403. package/dist/esm/api/types/CodeBlockStepYaml.mjs +2 -0
  404. package/dist/esm/api/types/CodeBlockYaml.d.mts +4 -0
  405. package/dist/esm/api/types/ConditionalBlock.d.mts +1 -0
  406. package/dist/esm/api/types/ConditionalBlockYaml.d.mts +1 -0
  407. package/dist/esm/api/types/CreateCredentialRequest.d.mts +12 -0
  408. package/dist/esm/api/types/CredentialParameter.d.mts +2 -0
  409. package/dist/esm/api/types/CredentialParameterYaml.d.mts +2 -0
  410. package/dist/esm/api/types/CredentialResponse.d.mts +16 -0
  411. package/dist/esm/api/types/CredentialVaultType.d.mts +8 -0
  412. package/dist/esm/api/types/CredentialVaultType.mjs +8 -0
  413. package/dist/esm/api/types/CreditCardBillingAddress.d.mts +21 -0
  414. package/dist/esm/api/types/CreditCardBillingAddress.mjs +2 -0
  415. package/dist/esm/api/types/CreditCardCredentialResponse.d.mts +2 -1
  416. package/dist/esm/api/types/CustomLlm.d.mts +9 -0
  417. package/dist/esm/api/types/CustomLlm.mjs +2 -0
  418. package/dist/esm/api/types/CustomLlmConfig.d.mts +14 -0
  419. package/dist/esm/api/types/CustomLlmConfig.mjs +2 -0
  420. package/dist/esm/api/types/CustomLlmListResponse.d.mts +4 -0
  421. package/dist/esm/api/types/CustomLlmListResponse.mjs +2 -0
  422. package/dist/esm/api/types/CustomLlmProvider.d.mts +6 -0
  423. package/dist/esm/api/types/CustomLlmProvider.mjs +6 -0
  424. package/dist/esm/api/types/CustomLlmResponse.d.mts +4 -0
  425. package/dist/esm/api/types/CustomLlmResponse.mjs +2 -0
  426. package/dist/esm/api/types/DeleteScheduleResponse.d.mts +3 -0
  427. package/dist/esm/api/types/DeleteScheduleResponse.mjs +2 -0
  428. package/dist/esm/api/types/DownloadToS3Block.d.mts +1 -0
  429. package/dist/esm/api/types/DownloadToS3BlockYaml.d.mts +1 -0
  430. package/dist/esm/api/types/EmailInboxBlock.d.mts +30 -0
  431. package/dist/esm/api/types/EmailInboxBlock.mjs +8 -0
  432. package/dist/esm/api/types/EmailInboxBlockParametersItem.d.mts +37 -0
  433. package/dist/esm/api/types/EmailInboxBlockParametersItem.mjs +2 -0
  434. package/dist/esm/api/types/EmailInboxBlockYaml.d.mts +27 -0
  435. package/dist/esm/api/types/EmailInboxBlockYaml.mjs +8 -0
  436. package/dist/esm/api/types/ExtractionBlock.d.mts +2 -0
  437. package/dist/esm/api/types/ExtractionBlockYaml.d.mts +1 -0
  438. package/dist/esm/api/types/FileDownloadBlock.d.mts +2 -0
  439. package/dist/esm/api/types/FileDownloadBlockYaml.d.mts +1 -0
  440. package/dist/esm/api/types/FileInfo.d.mts +4 -0
  441. package/dist/esm/api/types/FileParserBlock.d.mts +2 -1
  442. package/dist/esm/api/types/FileParserBlockYaml.d.mts +2 -1
  443. package/dist/esm/api/types/FileStorageType.d.mts +2 -0
  444. package/dist/esm/api/types/FileStorageType.mjs +2 -0
  445. package/dist/esm/api/types/FileType.d.mts +2 -0
  446. package/dist/esm/api/types/FileType.mjs +2 -0
  447. package/dist/esm/api/types/FileUploadBlock.d.mts +15 -0
  448. package/dist/esm/api/types/FileUploadBlockYaml.d.mts +13 -0
  449. package/dist/esm/api/types/ForLoopBlock.d.mts +1 -0
  450. package/dist/esm/api/types/ForLoopBlockLoopBlocksItem.d.mts +19 -1
  451. package/dist/esm/api/types/ForLoopBlockYaml.d.mts +1 -0
  452. package/dist/esm/api/types/ForLoopBlockYamlLoopBlocksItem.d.mts +19 -1
  453. package/dist/esm/api/types/GeoTarget.d.mts +1 -11
  454. package/dist/esm/api/types/GetRunResponse.d.mts +4 -1
  455. package/dist/esm/api/types/GoogleSheetsReadBlock.d.mts +19 -0
  456. package/dist/esm/api/types/GoogleSheetsReadBlock.mjs +2 -0
  457. package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.d.mts +37 -0
  458. package/dist/esm/api/types/GoogleSheetsReadBlockParametersItem.mjs +2 -0
  459. package/dist/esm/api/types/GoogleSheetsReadBlockYaml.d.mts +16 -0
  460. package/dist/esm/api/types/GoogleSheetsReadBlockYaml.mjs +2 -0
  461. package/dist/esm/api/types/GoogleSheetsWriteBlock.d.mts +29 -0
  462. package/dist/esm/api/types/GoogleSheetsWriteBlock.mjs +8 -0
  463. package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.d.mts +37 -0
  464. package/dist/esm/api/types/GoogleSheetsWriteBlockParametersItem.mjs +2 -0
  465. package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.d.mts +26 -0
  466. package/dist/esm/api/types/GoogleSheetsWriteBlockYaml.mjs +8 -0
  467. package/dist/esm/api/types/HttpRequestBlock.d.mts +2 -0
  468. package/dist/esm/api/types/HttpRequestBlockYaml.d.mts +2 -0
  469. package/dist/esm/api/types/HumanInteractionBlock.d.mts +2 -0
  470. package/dist/esm/api/types/HumanInteractionBlockYaml.d.mts +1 -0
  471. package/dist/esm/api/types/LoginBlock.d.mts +3 -0
  472. package/dist/esm/api/types/LoginBlockYaml.d.mts +2 -0
  473. package/dist/esm/api/types/NavigationBlock.d.mts +2 -0
  474. package/dist/esm/api/types/NavigationBlockYaml.d.mts +1 -0
  475. package/dist/esm/api/types/NonEmptyCreditCardCredential.d.mts +9 -0
  476. package/dist/esm/api/types/OrganizationScheduleItem.d.mts +23 -0
  477. package/dist/esm/api/types/OrganizationScheduleItem.mjs +2 -0
  478. package/dist/esm/api/types/OrganizationScheduleListResponse.d.mts +7 -0
  479. package/dist/esm/api/types/OrganizationScheduleListResponse.mjs +2 -0
  480. package/dist/esm/api/types/PasswordCredentialResponse.d.mts +1 -1
  481. package/dist/esm/api/types/PdfFillBlock.d.mts +21 -0
  482. package/dist/esm/api/types/PdfFillBlock.mjs +2 -0
  483. package/dist/esm/api/types/PdfFillBlockParametersItem.d.mts +37 -0
  484. package/dist/esm/api/types/PdfFillBlockParametersItem.mjs +2 -0
  485. package/dist/esm/api/types/PdfFillBlockYaml.d.mts +18 -0
  486. package/dist/esm/api/types/PdfFillBlockYaml.mjs +2 -0
  487. package/dist/esm/api/types/PdfParserBlock.d.mts +1 -0
  488. package/dist/esm/api/types/PdfParserBlockYaml.d.mts +1 -0
  489. package/dist/esm/api/types/PersistentBrowserType.d.mts +1 -0
  490. package/dist/esm/api/types/PersistentBrowserType.mjs +1 -0
  491. package/dist/esm/api/types/PrintPageBlock.d.mts +1 -0
  492. package/dist/esm/api/types/PrintPageBlockYaml.d.mts +1 -0
  493. package/dist/esm/api/types/ProxyLocation.d.mts +1 -0
  494. package/dist/esm/api/types/ProxyLocation.mjs +1 -0
  495. package/dist/esm/api/types/RunEngine.d.mts +1 -0
  496. package/dist/esm/api/types/RunEngine.mjs +1 -0
  497. package/dist/esm/api/types/RunTagHistoryResponse.d.mts +5 -0
  498. package/dist/esm/api/types/RunTagHistoryResponse.mjs +2 -0
  499. package/dist/esm/api/types/RunTagsBatchResponse.d.mts +11 -0
  500. package/dist/esm/api/types/RunTagsBatchResponse.mjs +2 -0
  501. package/dist/esm/api/types/RunTagsResponse.d.mts +8 -0
  502. package/dist/esm/api/types/RunTagsResponse.mjs +2 -0
  503. package/dist/esm/api/types/RunType.d.mts +10 -0
  504. package/dist/esm/api/types/RunType.mjs +10 -0
  505. package/dist/esm/api/types/RunWebhookReplayResponse.d.mts +22 -0
  506. package/dist/esm/api/types/RunWebhookReplayResponse.mjs +2 -0
  507. package/dist/esm/api/types/ScriptRunResponse.d.mts +2 -0
  508. package/dist/esm/api/types/SendEmailBlock.d.mts +1 -0
  509. package/dist/esm/api/types/SendEmailBlockYaml.d.mts +1 -0
  510. package/dist/esm/api/types/SkyvernSchemasCredentialTypeCredentialType.d.mts +7 -0
  511. package/dist/esm/api/types/{SkyvernSchemasRunBlocksCredentialType.mjs → SkyvernSchemasCredentialTypeCredentialType.mjs} +1 -1
  512. package/dist/esm/api/types/SplitPdfBlock.d.mts +17 -0
  513. package/dist/esm/api/types/SplitPdfBlock.mjs +2 -0
  514. package/dist/esm/api/types/SplitPdfBlockParametersItem.d.mts +37 -0
  515. package/dist/esm/api/types/SplitPdfBlockParametersItem.mjs +2 -0
  516. package/dist/esm/api/types/SplitPdfBlockYaml.d.mts +14 -0
  517. package/dist/esm/api/types/SplitPdfBlockYaml.mjs +2 -0
  518. package/dist/esm/api/types/TagApplyRequest.d.mts +13 -0
  519. package/dist/esm/api/types/TagApplyRequest.mjs +2 -0
  520. package/dist/esm/api/types/TagDeleteInput.d.mts +10 -0
  521. package/dist/esm/api/types/TagDeleteInput.mjs +2 -0
  522. package/dist/esm/api/types/TagHistoryItem.d.mts +13 -0
  523. package/dist/esm/api/types/TagHistoryItem.mjs +2 -0
  524. package/dist/esm/api/types/TagHistoryResponse.d.mts +5 -0
  525. package/dist/esm/api/types/TagHistoryResponse.mjs +2 -0
  526. package/dist/esm/api/types/TagInput.d.mts +10 -0
  527. package/dist/esm/api/types/TagInput.mjs +2 -0
  528. package/dist/esm/api/types/TagItem.d.mts +8 -0
  529. package/dist/esm/api/types/TagItem.mjs +2 -0
  530. package/dist/esm/api/types/TagKey.d.mts +8 -0
  531. package/dist/esm/api/types/TagKey.mjs +2 -0
  532. package/dist/esm/api/types/TagKeyDeleteResponse.d.mts +9 -0
  533. package/dist/esm/api/types/TagKeyDeleteResponse.mjs +2 -0
  534. package/dist/esm/api/types/TagResponse.d.mts +11 -0
  535. package/dist/esm/api/types/TagResponse.mjs +2 -0
  536. package/dist/esm/api/types/TagValue.d.mts +11 -0
  537. package/dist/esm/api/types/TagValue.mjs +2 -0
  538. package/dist/esm/api/types/TagValueDeleteResponse.d.mts +10 -0
  539. package/dist/esm/api/types/TagValueDeleteResponse.mjs +2 -0
  540. package/dist/esm/api/types/TagValueRenameResponse.d.mts +10 -0
  541. package/dist/esm/api/types/TagValueRenameResponse.mjs +2 -0
  542. package/dist/esm/api/types/TagsResponse.d.mts +9 -0
  543. package/dist/esm/api/types/TagsResponse.mjs +2 -0
  544. package/dist/esm/api/types/TaskBlock.d.mts +2 -0
  545. package/dist/esm/api/types/TaskBlockYaml.d.mts +1 -0
  546. package/dist/esm/api/types/TaskRunListItem.d.mts +18 -0
  547. package/dist/esm/api/types/TaskRunListItem.mjs +2 -0
  548. package/dist/esm/api/types/{TaskRunRequest.d.mts → TaskRunRequestOutput.d.mts} +15 -7
  549. package/dist/esm/api/types/TaskRunRequestOutput.mjs +2 -0
  550. package/dist/esm/api/types/TaskRunResponse.d.mts +3 -1
  551. package/dist/esm/api/types/TaskV2Block.d.mts +1 -0
  552. package/dist/esm/api/types/TaskV2BlockYaml.d.mts +1 -0
  553. package/dist/esm/api/types/TextPromptBlock.d.mts +1 -0
  554. package/dist/esm/api/types/TextPromptBlockYaml.d.mts +1 -0
  555. package/dist/esm/api/types/Thought.d.mts +1 -0
  556. package/dist/esm/api/types/UploadToS3Block.d.mts +1 -0
  557. package/dist/esm/api/types/UploadToS3BlockYaml.d.mts +1 -0
  558. package/dist/esm/api/types/UrlBlock.d.mts +2 -0
  559. package/dist/esm/api/types/UrlBlockYaml.d.mts +1 -0
  560. package/dist/esm/api/types/UserDefinedError.d.mts +1 -0
  561. package/dist/esm/api/types/ValidationBlock.d.mts +3 -0
  562. package/dist/esm/api/types/ValidationBlockYaml.d.mts +2 -0
  563. package/dist/esm/api/types/WaitBlock.d.mts +1 -0
  564. package/dist/esm/api/types/WaitBlockYaml.d.mts +1 -0
  565. package/dist/esm/api/types/WhileLoopBlock.d.mts +25 -0
  566. package/dist/esm/api/types/WhileLoopBlock.mjs +2 -0
  567. package/dist/esm/api/types/WhileLoopBlockCondition.d.mts +10 -0
  568. package/dist/esm/api/types/WhileLoopBlockCondition.mjs +2 -0
  569. package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.d.mts +94 -0
  570. package/dist/esm/api/types/WhileLoopBlockLoopBlocksItem.mjs +2 -0
  571. package/dist/esm/api/types/WhileLoopBlockYaml.d.mts +13 -0
  572. package/dist/esm/api/types/WhileLoopBlockYaml.mjs +2 -0
  573. package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.d.mts +94 -0
  574. package/dist/esm/api/types/WhileLoopBlockYamlLoopBlocksItem.mjs +2 -0
  575. package/dist/esm/api/types/Workflow.d.mts +12 -0
  576. package/dist/esm/api/types/WorkflowCreateYamlRequest.d.mts +7 -0
  577. package/dist/esm/api/types/WorkflowDefinition.d.mts +2 -0
  578. package/dist/esm/api/types/WorkflowDefinitionBlocksItem.d.mts +19 -1
  579. package/dist/esm/api/types/WorkflowDefinitionYaml.d.mts +2 -0
  580. package/dist/esm/api/types/WorkflowDefinitionYamlBlocksItem.d.mts +19 -1
  581. package/dist/esm/api/types/WorkflowRun.d.mts +9 -0
  582. package/dist/esm/api/types/WorkflowRunBlock.d.mts +5 -0
  583. package/dist/esm/api/types/{WorkflowRunRequest.d.mts → WorkflowRunRequestOutput.d.mts} +17 -5
  584. package/dist/esm/api/types/WorkflowRunRequestOutput.mjs +2 -0
  585. package/dist/esm/api/types/WorkflowRunResponse.d.mts +6 -2
  586. package/dist/esm/api/types/WorkflowRunTriggerType.d.mts +17 -0
  587. package/dist/esm/api/types/WorkflowRunTriggerType.mjs +17 -0
  588. package/dist/esm/api/types/WorkflowSchedule.d.mts +15 -0
  589. package/dist/esm/api/types/WorkflowSchedule.mjs +2 -0
  590. package/dist/esm/api/types/WorkflowScheduleListResponse.d.mts +4 -0
  591. package/dist/esm/api/types/WorkflowScheduleListResponse.mjs +2 -0
  592. package/dist/esm/api/types/WorkflowScheduleResponse.d.mts +5 -0
  593. package/dist/esm/api/types/WorkflowScheduleResponse.mjs +2 -0
  594. package/dist/esm/api/types/WorkflowScheduleUpsertRequest.d.mts +8 -0
  595. package/dist/esm/api/types/WorkflowScheduleUpsertRequest.mjs +2 -0
  596. package/dist/esm/api/types/WorkflowTagsBatchResponse.d.mts +11 -0
  597. package/dist/esm/api/types/WorkflowTagsBatchResponse.mjs +2 -0
  598. package/dist/esm/api/types/WorkflowTriggerBlock.d.mts +1 -0
  599. package/dist/esm/api/types/WorkflowTriggerBlockYaml.d.mts +1 -0
  600. package/dist/esm/api/types/index.d.mts +63 -8
  601. package/dist/esm/api/types/index.mjs +63 -8
  602. package/dist/esm/library/Skyvern.d.mts +2 -2
  603. package/dist/esm/library/SkyvernBrowserPageAgent.mjs +21 -25
  604. package/dist/esm/version.d.mts +1 -1
  605. package/dist/esm/version.mjs +1 -1
  606. package/package.json +11 -2
  607. package/reference.md +595 -5
  608. package/dist/cjs/api/client/requests/ChangeTierRequest.d.ts +0 -10
  609. package/dist/cjs/api/client/requests/CheckoutSubscriptionRequest.d.ts +0 -10
  610. package/dist/cjs/api/client/requests/RunTaskRequest.d.ts +0 -14
  611. package/dist/cjs/api/client/requests/RunWorkflowRequest.d.ts +0 -18
  612. package/dist/cjs/api/types/BillingStateResponse.d.ts +0 -20
  613. package/dist/cjs/api/types/ChangeTierResponse.d.ts +0 -5
  614. package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -4
  615. package/dist/cjs/api/types/PlanTier.d.ts +0 -7
  616. package/dist/cjs/api/types/PlanTier.js +0 -10
  617. package/dist/cjs/api/types/PortalSessionResponse.d.ts +0 -3
  618. package/dist/cjs/api/types/SkyvernSchemasRunBlocksCredentialType.d.ts +0 -7
  619. package/dist/esm/api/client/requests/ChangeTierRequest.d.mts +0 -10
  620. package/dist/esm/api/client/requests/CheckoutSubscriptionRequest.d.mts +0 -10
  621. package/dist/esm/api/client/requests/RunTaskRequest.d.mts +0 -14
  622. package/dist/esm/api/client/requests/RunWorkflowRequest.d.mts +0 -18
  623. package/dist/esm/api/types/BillingStateResponse.d.mts +0 -20
  624. package/dist/esm/api/types/ChangeTierResponse.d.mts +0 -5
  625. package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -4
  626. package/dist/esm/api/types/PlanTier.d.mts +0 -7
  627. package/dist/esm/api/types/PlanTier.mjs +0 -7
  628. package/dist/esm/api/types/PortalSessionResponse.d.mts +0 -3
  629. package/dist/esm/api/types/SkyvernSchemasRunBlocksCredentialType.d.mts +0 -7
  630. /package/dist/cjs/api/client/requests/{ChangeTierRequest.js → BatchGetRunTagsRequest.js} +0 -0
  631. /package/dist/cjs/api/client/requests/{CheckoutSubscriptionRequest.js → BatchGetWorkflowTagsRequest.js} +0 -0
  632. /package/dist/cjs/api/client/requests/{RunTaskRequest.js → BulkCancelRunsRequest.js} +0 -0
  633. /package/dist/cjs/api/client/requests/{RunWorkflowRequest.js → CustomLlmCreateRequest.js} +0 -0
  634. /package/dist/cjs/api/{types/BillingStateResponse.js → client/requests/CustomLlmUpdateRequest.js} +0 -0
  635. /package/dist/cjs/api/{types/ChangeTierResponse.js → client/requests/GetRunTagHistoryRequest.js} +0 -0
  636. /package/dist/cjs/api/{types/CheckoutSessionResponse.js → client/requests/GetRunsV2Request.js} +0 -0
  637. /package/dist/cjs/api/{types/PortalSessionResponse.js → client/requests/GetWorkflowRunsByIdRequest.js} +0 -0
  638. /package/dist/cjs/api/{types/TaskRunRequest.js → client/requests/GetWorkflowTagHistoryRequest.js} +0 -0
  639. /package/dist/cjs/api/{types/WorkflowRunRequest.js → client/requests/ListTagValuesRequest.js} +0 -0
  640. /package/dist/esm/api/client/requests/{ChangeTierRequest.mjs → BatchGetRunTagsRequest.mjs} +0 -0
  641. /package/dist/esm/api/client/requests/{CheckoutSubscriptionRequest.mjs → BatchGetWorkflowTagsRequest.mjs} +0 -0
  642. /package/dist/esm/api/client/requests/{RunTaskRequest.mjs → BulkCancelRunsRequest.mjs} +0 -0
  643. /package/dist/esm/api/client/requests/{RunWorkflowRequest.mjs → CustomLlmCreateRequest.mjs} +0 -0
  644. /package/dist/esm/api/{types/BillingStateResponse.mjs → client/requests/CustomLlmUpdateRequest.mjs} +0 -0
  645. /package/dist/esm/api/{types/ChangeTierResponse.mjs → client/requests/GetRunTagHistoryRequest.mjs} +0 -0
  646. /package/dist/esm/api/{types/CheckoutSessionResponse.mjs → client/requests/GetRunsV2Request.mjs} +0 -0
  647. /package/dist/esm/api/{types/PortalSessionResponse.mjs → client/requests/GetWorkflowRunsByIdRequest.mjs} +0 -0
  648. /package/dist/esm/api/{types/TaskRunRequest.mjs → client/requests/GetWorkflowTagHistoryRequest.mjs} +0 -0
  649. /package/dist/esm/api/{types/WorkflowRunRequest.mjs → client/requests/ListTagValuesRequest.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * One tag to soft-delete: a grouped tag by its ``key``, or a standalone label
3
+ * by its ``value`` (omit the key).
4
+ */
5
+ export interface TagDeleteInput {
6
+ /** Group (key) to delete. Use for grouped tags. */
7
+ key?: string;
8
+ /** Label (value) to delete. Use for standalone labels. */
9
+ value?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * One row from ``GET /v1/workflows/{wpid}/tags/history``.
3
+ */
4
+ export interface TagHistoryItem {
5
+ tag_event_id: string;
6
+ key?: string;
7
+ value?: string;
8
+ event_type: string;
9
+ source: string;
10
+ set_at: string;
11
+ set_by: string;
12
+ superseded_at?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ export interface TagHistoryResponse {
3
+ workflow_permanent_id: string;
4
+ events: Skyvern.TagHistoryItem[];
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * One tag to set. ``value`` is the required label; ``key`` is the optional
3
+ * group — null for a standalone label, set for a grouped label (e.g. env:prod).
4
+ */
5
+ export interface TagInput {
6
+ /** Optional group (key). Omit for a standalone label. */
7
+ key?: string;
8
+ /** Label (value). Always required. */
9
+ value: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A single tag (key + label) without per-tag attribution. ``key`` is null
3
+ * for a standalone label.
4
+ */
5
+ export interface TagItem {
6
+ key?: string;
7
+ value: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Tag-key registry entry.
3
+ */
4
+ export interface TagKey {
5
+ key: string;
6
+ description?: string;
7
+ workflow_count?: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Response for ``DELETE /v1/tag-keys/{key}``.
3
+ */
4
+ export interface TagKeyDeleteResponse {
5
+ key: string;
6
+ removed_from_workflow_count: number;
7
+ removed_from_run_count?: number;
8
+ removed_count?: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Current state of one tag (``GET /v1/workflows/{wpid}/tags`` row).
3
+ * ``key`` is null for a standalone label.
4
+ */
5
+ export interface TagResponse {
6
+ key?: string;
7
+ value: string;
8
+ source: string;
9
+ set_at: string;
10
+ set_by: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Tag-value color registry entry: the palette color assigned to a grouped
3
+ * (key, value) pair.
4
+ */
5
+ export interface TagValue {
6
+ key: string;
7
+ value: string;
8
+ color: string;
9
+ /** Number of non-deleted workflows currently carrying this (key, value) label. */
10
+ workflow_count?: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Response for ``DELETE /v1/tag-values/{key}``.
3
+ */
4
+ export interface TagValueDeleteResponse {
5
+ key: string;
6
+ value: string;
7
+ removed_from_workflow_count: number;
8
+ removed_from_run_count?: number;
9
+ removed_count?: number;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Response for ``PATCH /v1/tag-values/{key}/rename``: the renamed label with its
3
+ * carried-over color and the number of workflows re-tagged.
4
+ */
5
+ export interface TagValueRenameResponse {
6
+ key: string;
7
+ value: string;
8
+ color: string;
9
+ renamed_workflow_count: number;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ /**
3
+ * Current tags for a workflow. A list (not a key-map) so standalone labels,
4
+ * which have no key, are representable.
5
+ */
6
+ export interface TagsResponse {
7
+ workflow_permanent_id: string;
8
+ tags: Skyvern.TagResponse[];
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -8,6 +8,7 @@ export interface TaskBlock {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  task_type?: string;
13
14
  url?: string;
@@ -29,6 +30,7 @@ export interface TaskBlock {
29
30
  complete_verification?: boolean;
30
31
  include_action_history_in_verification?: boolean;
31
32
  download_timeout?: number;
33
+ include_extracted_text?: boolean;
32
34
  }
33
35
  export declare namespace TaskBlock {
34
36
  type DataSchema = Record<string, unknown> | unknown[] | string;
@@ -6,6 +6,7 @@ export interface TaskBlockYaml {
6
6
  next_block_label?: string;
7
7
  continue_on_failure?: boolean;
8
8
  model?: Record<string, unknown>;
9
+ ignore_workflow_system_prompt?: boolean;
9
10
  next_loop_on_failure?: boolean;
10
11
  url?: string;
11
12
  title?: string;
@@ -0,0 +1,18 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ /**
3
+ * Lightweight run-history item backed by the task_runs table.
4
+ */
5
+ export interface TaskRunListItem {
6
+ task_run_id: string;
7
+ run_id: string;
8
+ task_run_type: string;
9
+ status: string;
10
+ title?: string;
11
+ started_at?: string;
12
+ finished_at?: string;
13
+ created_at: string;
14
+ workflow_permanent_id?: string;
15
+ workflow_deleted?: boolean;
16
+ script_run?: boolean;
17
+ trigger_type?: Skyvern.WorkflowRunTriggerType;
18
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.mjs";
2
- export interface TaskRunRequest {
2
+ export interface TaskRunRequestOutput {
3
3
  /**
4
4
  * The goal or task description for Skyvern to accomplish
5
5
  */
@@ -9,7 +9,7 @@ export interface TaskRunRequest {
9
9
  */
10
10
  url?: string;
11
11
  /**
12
- * The engine that powers the agent task. The default value is `skyvern-2.0`, the latest Skyvern agent that performs pretty well with complex and multi-step tasks. `skyvern-1.0` is good for simple tasks like filling a form, or searching for information on Google. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
12
+ * The engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` remains available for existing V2 workflows and explicitly requested V2 task runs. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
13
13
  */
14
14
  engine?: Skyvern.RunEngine;
15
15
  /** The title for the task */
@@ -29,6 +29,7 @@ export interface TaskRunRequest {
29
29
  * - RESIDENTIAL_NZ: New Zealand
30
30
  * - RESIDENTIAL_PH: Philippines
31
31
  * - RESIDENTIAL_KR: South Korea
32
+ * - RESIDENTIAL_SA: Saudi Arabia
32
33
  * - RESIDENTIAL_ZA: South Africa
33
34
  * - RESIDENTIAL_AR: Argentina
34
35
  * - RESIDENTIAL_AU: Australia
@@ -45,13 +46,15 @@ export interface TaskRunRequest {
45
46
  * - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
46
47
  * - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
47
48
  * - NONE: No proxy
49
+ *
50
+ * 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.
48
51
  * Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
49
52
  */
50
- proxy_location?: TaskRunRequest.ProxyLocation;
53
+ proxy_location?: TaskRunRequestOutput.ProxyLocation;
51
54
  /**
52
55
  * The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
53
56
  */
54
- data_extraction_schema?: TaskRunRequest.DataExtractionSchema;
57
+ data_extraction_schema?: TaskRunRequestOutput.DataExtractionSchema;
55
58
  /**
56
59
  * Custom mapping of error codes to error messages if Skyvern encounters an error.
57
60
  */
@@ -82,7 +85,9 @@ export interface TaskRunRequest {
82
85
  model?: Record<string, unknown>;
83
86
  /** The extra HTTP headers for the requests in browser. */
84
87
  extra_http_headers?: Record<string, string | undefined>;
85
- /** Whether to publish this task as a reusable workflow. Only available for skyvern-2.0. */
88
+ /** 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. */
89
+ cdp_connect_headers?: Record<string, string | undefined>;
90
+ /** Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs. */
86
91
  publish_workflow?: boolean;
87
92
  /** Whether to include action history when verifying that the task is complete */
88
93
  include_action_history_in_verification?: boolean;
@@ -90,10 +95,10 @@ export interface TaskRunRequest {
90
95
  max_screenshot_scrolls?: number;
91
96
  /** The CDP address for the task. */
92
97
  browser_address?: string;
93
- /** Whether to run the task with agent or code. */
98
+ /** Whether to run the task with agent or code. Null means use the default. */
94
99
  run_with?: string;
95
100
  }
96
- export declare namespace TaskRunRequest {
101
+ export declare namespace TaskRunRequestOutput {
97
102
  /**
98
103
  *
99
104
  * Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
@@ -110,6 +115,7 @@ export declare namespace TaskRunRequest {
110
115
  * - RESIDENTIAL_NZ: New Zealand
111
116
  * - RESIDENTIAL_PH: Philippines
112
117
  * - RESIDENTIAL_KR: South Korea
118
+ * - RESIDENTIAL_SA: Saudi Arabia
113
119
  * - RESIDENTIAL_ZA: South Africa
114
120
  * - RESIDENTIAL_AR: Argentina
115
121
  * - RESIDENTIAL_AU: Australia
@@ -126,6 +132,8 @@ export declare namespace TaskRunRequest {
126
132
  * - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
127
133
  * - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
128
134
  * - NONE: No proxy
135
+ *
136
+ * 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.
129
137
  * Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
130
138
  */
131
139
  type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -10,6 +10,8 @@ export interface TaskRunResponse {
10
10
  downloaded_files?: Skyvern.FileInfo[];
11
11
  /** URL to the recording of the run */
12
12
  recording_url?: string;
13
+ /** True when the recording exists but has been archived to cold storage and is not currently accessible. */
14
+ recording_archived?: boolean;
13
15
  /** List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot. */
14
16
  screenshot_urls?: string[];
15
17
  /** Reason for failure if the run failed or terminated */
@@ -39,7 +41,7 @@ export interface TaskRunResponse {
39
41
  /** Total number of steps executed in this run */
40
42
  step_count?: number;
41
43
  /** The original request parameters used to start this task run */
42
- run_request?: Skyvern.TaskRunRequest;
44
+ run_request?: Skyvern.TaskRunRequestOutput;
43
45
  }
44
46
  export declare namespace TaskRunResponse {
45
47
  /**
@@ -8,6 +8,7 @@ export interface TaskV2Block {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  prompt: string;
13
14
  url?: string;
@@ -5,6 +5,7 @@ export interface TaskV2BlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  prompt: string;
10
11
  url?: string;
@@ -8,6 +8,7 @@ export interface TextPromptBlock {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  llm_key?: string;
13
14
  prompt: string;
@@ -5,6 +5,7 @@ export interface TextPromptBlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  llm_key?: string;
10
11
  prompt: string;
@@ -19,6 +19,7 @@ export interface Thought {
19
19
  reasoning_token_count?: number;
20
20
  cached_token_count?: number;
21
21
  thought_cost?: number;
22
+ last_llm_model?: string;
22
23
  created_at: string;
23
24
  modified_at: string;
24
25
  }
@@ -8,6 +8,7 @@ export interface UploadToS3Block {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  path?: string;
13
14
  }
@@ -5,6 +5,7 @@ export interface UploadToS3BlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  path?: string;
10
11
  }
@@ -8,6 +8,7 @@ export interface UrlBlock {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  task_type?: string;
13
14
  url: string;
@@ -29,6 +30,7 @@ export interface UrlBlock {
29
30
  complete_verification?: boolean;
30
31
  include_action_history_in_verification?: boolean;
31
32
  download_timeout?: number;
33
+ include_extracted_text?: boolean;
32
34
  }
33
35
  export declare namespace UrlBlock {
34
36
  type DataSchema = Record<string, unknown> | unknown[] | string;
@@ -5,6 +5,7 @@ export interface UrlBlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  url: string;
10
11
  }
@@ -2,4 +2,5 @@ export interface UserDefinedError {
2
2
  error_code: string;
3
3
  reasoning: string;
4
4
  confidence_float: number;
5
+ error_type?: "USER_DEFINED_ERROR";
5
6
  }
@@ -8,6 +8,7 @@ export interface ValidationBlock {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  task_type?: string;
13
14
  url?: string;
@@ -29,6 +30,8 @@ export interface ValidationBlock {
29
30
  complete_verification?: boolean;
30
31
  include_action_history_in_verification?: boolean;
31
32
  download_timeout?: number;
33
+ include_extracted_text?: boolean;
34
+ without_page_information?: boolean;
32
35
  }
33
36
  export declare namespace ValidationBlock {
34
37
  type DataSchema = Record<string, unknown> | unknown[] | string;
@@ -5,10 +5,12 @@ export interface ValidationBlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  complete_criterion?: string;
10
11
  terminate_criterion?: string;
11
12
  error_code_mapping?: Record<string, string | undefined>;
12
13
  parameter_keys?: string[];
13
14
  disable_cache?: boolean;
15
+ without_page_information?: boolean;
14
16
  }
@@ -8,6 +8,7 @@ export interface WaitBlock {
8
8
  continue_on_failure?: boolean;
9
9
  model?: Record<string, unknown>;
10
10
  disable_cache?: boolean;
11
+ ignore_workflow_system_prompt?: boolean;
11
12
  next_loop_on_failure?: boolean;
12
13
  wait_sec: number;
13
14
  parameters?: Skyvern.WaitBlockParametersItem[];
@@ -5,6 +5,7 @@ export interface WaitBlockYaml {
5
5
  next_block_label?: string;
6
6
  continue_on_failure?: boolean;
7
7
  model?: Record<string, unknown>;
8
+ ignore_workflow_system_prompt?: boolean;
8
9
  next_loop_on_failure?: boolean;
9
10
  wait_sec?: number;
10
11
  }
@@ -0,0 +1,25 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ /**
3
+ * Loop block driven by a runtime condition. Iterates while ``condition`` evaluates truthy.
4
+ *
5
+ * Top-of-loop semantics: the condition is evaluated *before* each iteration (including the
6
+ * first). If the condition is false on the first check, the body never runs and the block
7
+ * returns success with an empty output list.
8
+ *
9
+ * Safety: the loop is capped at ``DEFAULT_MAX_LOOP_ITERATIONS`` (500). Reaching the cap is
10
+ * treated as a failure so that a misbehaving condition can never spin forever.
11
+ */
12
+ export interface WhileLoopBlock {
13
+ /** Author-facing identifier for a block; unique within a workflow. */
14
+ label: string;
15
+ /** Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted. */
16
+ next_block_label?: string;
17
+ output_parameter: Skyvern.OutputParameter;
18
+ continue_on_failure?: boolean;
19
+ model?: Record<string, unknown>;
20
+ disable_cache?: boolean;
21
+ ignore_workflow_system_prompt?: boolean;
22
+ next_loop_on_failure?: boolean;
23
+ loop_blocks: Skyvern.WhileLoopBlockLoopBlocksItem[];
24
+ condition: Skyvern.WhileLoopBlockCondition;
25
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ export type WhileLoopBlockCondition = Skyvern.WhileLoopBlockCondition.Jinja2Template | Skyvern.WhileLoopBlockCondition.Prompt;
3
+ export declare namespace WhileLoopBlockCondition {
4
+ interface Jinja2Template extends Skyvern.JinjaBranchCriteria {
5
+ criteria_type: "jinja2_template";
6
+ }
7
+ interface Prompt extends Skyvern.PromptBranchCriteria {
8
+ criteria_type: "prompt";
9
+ }
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,94 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ export type WhileLoopBlockLoopBlocksItem = Skyvern.WhileLoopBlockLoopBlocksItem.Action | Skyvern.WhileLoopBlockLoopBlocksItem.Code | Skyvern.WhileLoopBlockLoopBlocksItem.Conditional | Skyvern.WhileLoopBlockLoopBlocksItem.DownloadToS3 | Skyvern.WhileLoopBlockLoopBlocksItem.EmailInbox | Skyvern.WhileLoopBlockLoopBlocksItem.Extraction | Skyvern.WhileLoopBlockLoopBlocksItem.FileDownload | Skyvern.WhileLoopBlockLoopBlocksItem.FileUpload | Skyvern.WhileLoopBlockLoopBlocksItem.FileUrlParser | Skyvern.WhileLoopBlockLoopBlocksItem.ForLoop | Skyvern.WhileLoopBlockLoopBlocksItem.GoogleSheetsRead | Skyvern.WhileLoopBlockLoopBlocksItem.GoogleSheetsWrite | Skyvern.WhileLoopBlockLoopBlocksItem.GotoUrl | Skyvern.WhileLoopBlockLoopBlocksItem.HttpRequest | Skyvern.WhileLoopBlockLoopBlocksItem.HumanInteraction | Skyvern.WhileLoopBlockLoopBlocksItem.Login | Skyvern.WhileLoopBlockLoopBlocksItem.Navigation | Skyvern.WhileLoopBlockLoopBlocksItem.PdfFill | Skyvern.WhileLoopBlockLoopBlocksItem.PdfParser | Skyvern.WhileLoopBlockLoopBlocksItem.PrintPage | Skyvern.WhileLoopBlockLoopBlocksItem.SendEmail | Skyvern.WhileLoopBlockLoopBlocksItem.SplitPdf | Skyvern.WhileLoopBlockLoopBlocksItem.Task | Skyvern.WhileLoopBlockLoopBlocksItem.TaskV2 | Skyvern.WhileLoopBlockLoopBlocksItem.TextPrompt | Skyvern.WhileLoopBlockLoopBlocksItem.UploadToS3 | Skyvern.WhileLoopBlockLoopBlocksItem.Validation | Skyvern.WhileLoopBlockLoopBlocksItem.Wait | Skyvern.WhileLoopBlockLoopBlocksItem.WhileLoop | Skyvern.WhileLoopBlockLoopBlocksItem.WorkflowTrigger;
3
+ export declare namespace WhileLoopBlockLoopBlocksItem {
4
+ interface Action extends Skyvern.ActionBlock {
5
+ block_type: "action";
6
+ }
7
+ interface Code extends Skyvern.CodeBlock {
8
+ block_type: "code";
9
+ }
10
+ interface Conditional extends Skyvern.ConditionalBlock {
11
+ block_type: "conditional";
12
+ }
13
+ interface DownloadToS3 extends Skyvern.DownloadToS3Block {
14
+ block_type: "download_to_s3";
15
+ }
16
+ interface EmailInbox extends Skyvern.EmailInboxBlock {
17
+ block_type: "email_inbox";
18
+ }
19
+ interface Extraction extends Skyvern.ExtractionBlock {
20
+ block_type: "extraction";
21
+ }
22
+ interface FileDownload extends Skyvern.FileDownloadBlock {
23
+ block_type: "file_download";
24
+ }
25
+ interface FileUpload extends Skyvern.FileUploadBlock {
26
+ block_type: "file_upload";
27
+ }
28
+ interface FileUrlParser extends Skyvern.FileParserBlock {
29
+ block_type: "file_url_parser";
30
+ }
31
+ interface ForLoop extends Skyvern.ForLoopBlock {
32
+ block_type: "for_loop";
33
+ }
34
+ interface GoogleSheetsRead extends Skyvern.GoogleSheetsReadBlock {
35
+ block_type: "google_sheets_read";
36
+ }
37
+ interface GoogleSheetsWrite extends Skyvern.GoogleSheetsWriteBlock {
38
+ block_type: "google_sheets_write";
39
+ }
40
+ interface GotoUrl extends Skyvern.UrlBlock {
41
+ block_type: "goto_url";
42
+ }
43
+ interface HttpRequest extends Skyvern.HttpRequestBlock {
44
+ block_type: "http_request";
45
+ }
46
+ interface HumanInteraction extends Skyvern.HumanInteractionBlock {
47
+ block_type: "human_interaction";
48
+ }
49
+ interface Login extends Skyvern.LoginBlock {
50
+ block_type: "login";
51
+ }
52
+ interface Navigation extends Skyvern.NavigationBlock {
53
+ block_type: "navigation";
54
+ }
55
+ interface PdfFill extends Skyvern.PdfFillBlock {
56
+ block_type: "pdf_fill";
57
+ }
58
+ interface PdfParser extends Skyvern.PdfParserBlock {
59
+ block_type: "pdf_parser";
60
+ }
61
+ interface PrintPage extends Skyvern.PrintPageBlock {
62
+ block_type: "print_page";
63
+ }
64
+ interface SendEmail extends Skyvern.SendEmailBlock {
65
+ block_type: "send_email";
66
+ }
67
+ interface SplitPdf extends Skyvern.SplitPdfBlock {
68
+ block_type: "split_pdf";
69
+ }
70
+ interface Task extends Skyvern.TaskBlock {
71
+ block_type: "task";
72
+ }
73
+ interface TaskV2 extends Skyvern.TaskV2Block {
74
+ block_type: "task_v2";
75
+ }
76
+ interface TextPrompt extends Skyvern.TextPromptBlock {
77
+ block_type: "text_prompt";
78
+ }
79
+ interface UploadToS3 extends Skyvern.UploadToS3Block {
80
+ block_type: "upload_to_s3";
81
+ }
82
+ interface Validation extends Skyvern.ValidationBlock {
83
+ block_type: "validation";
84
+ }
85
+ interface Wait extends Skyvern.WaitBlock {
86
+ block_type: "wait";
87
+ }
88
+ interface WhileLoop extends Skyvern.WhileLoopBlock {
89
+ block_type: "while_loop";
90
+ }
91
+ interface WorkflowTrigger extends Skyvern.WorkflowTriggerBlock {
92
+ block_type: "workflow_trigger";
93
+ }
94
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};