browser-use-sdk 2.0.15 → 3.0.3

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 (1045) hide show
  1. package/README.md +169 -152
  2. package/dist/chunk-I75IFZAL.js +100 -0
  3. package/dist/chunk-I75IFZAL.js.map +1 -0
  4. package/dist/chunk-RIRVOEIU.cjs +100 -0
  5. package/dist/chunk-RIRVOEIU.cjs.map +1 -0
  6. package/dist/errors-BtB79l7x.d.cts +30 -0
  7. package/dist/errors-BtB79l7x.d.ts +30 -0
  8. package/dist/index.cjs +428 -0
  9. package/dist/index.cjs.map +1 -0
  10. package/dist/index.d.cts +2441 -0
  11. package/dist/index.d.ts +2441 -0
  12. package/dist/index.js +428 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/v3.cjs +140 -0
  15. package/dist/v3.cjs.map +1 -0
  16. package/dist/v3.d.cts +287 -0
  17. package/dist/v3.d.ts +287 -0
  18. package/dist/v3.js +140 -0
  19. package/dist/v3.js.map +1 -0
  20. package/package.json +51 -69
  21. package/dist/cjs/BaseClient.d.ts +0 -30
  22. package/dist/cjs/BaseClient.js +0 -3
  23. package/dist/cjs/Client.d.ts +0 -35
  24. package/dist/cjs/Client.js +0 -92
  25. package/dist/cjs/api/errors/BadRequestError.d.ts +0 -5
  26. package/dist/cjs/api/errors/BadRequestError.js +0 -50
  27. package/dist/cjs/api/errors/ForbiddenError.d.ts +0 -5
  28. package/dist/cjs/api/errors/ForbiddenError.js +0 -50
  29. package/dist/cjs/api/errors/InternalServerError.d.ts +0 -5
  30. package/dist/cjs/api/errors/InternalServerError.js +0 -50
  31. package/dist/cjs/api/errors/NotFoundError.d.ts +0 -5
  32. package/dist/cjs/api/errors/NotFoundError.js +0 -50
  33. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +0 -5
  34. package/dist/cjs/api/errors/PaymentRequiredError.js +0 -50
  35. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +0 -6
  36. package/dist/cjs/api/errors/TooManyRequestsError.js +0 -50
  37. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +0 -5
  38. package/dist/cjs/api/errors/UnprocessableEntityError.js +0 -50
  39. package/dist/cjs/api/errors/index.d.ts +0 -7
  40. package/dist/cjs/api/errors/index.js +0 -23
  41. package/dist/cjs/api/index.d.ts +0 -3
  42. package/dist/cjs/api/index.js +0 -19
  43. package/dist/cjs/api/resources/billing/client/Client.d.ts +0 -27
  44. package/dist/cjs/api/resources/billing/client/Client.js +0 -126
  45. package/dist/cjs/api/resources/billing/client/index.d.ts +0 -1
  46. package/dist/cjs/api/resources/billing/client/index.js +0 -2
  47. package/dist/cjs/api/resources/billing/index.d.ts +0 -1
  48. package/dist/cjs/api/resources/billing/index.js +0 -17
  49. package/dist/cjs/api/resources/browsers/client/Client.d.ts +0 -93
  50. package/dist/cjs/api/resources/browsers/client/Client.js +0 -377
  51. package/dist/cjs/api/resources/browsers/client/index.d.ts +0 -1
  52. package/dist/cjs/api/resources/browsers/client/index.js +0 -17
  53. package/dist/cjs/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.ts +0 -21
  54. package/dist/cjs/api/resources/browsers/client/requests/CreateBrowserSessionRequest.js +0 -3
  55. package/dist/cjs/api/resources/browsers/client/requests/GetBrowserSessionBrowsersSessionIdGetRequest.d.ts +0 -9
  56. package/dist/cjs/api/resources/browsers/client/requests/GetBrowserSessionBrowsersSessionIdGetRequest.js +0 -3
  57. package/dist/cjs/api/resources/browsers/client/requests/ListBrowserSessionsBrowsersGetRequest.d.ts +0 -10
  58. package/dist/cjs/api/resources/browsers/client/requests/ListBrowserSessionsBrowsersGetRequest.js +0 -3
  59. package/dist/cjs/api/resources/browsers/client/requests/UpdateBrowserSessionRequest.d.ts +0 -13
  60. package/dist/cjs/api/resources/browsers/client/requests/UpdateBrowserSessionRequest.js +0 -3
  61. package/dist/cjs/api/resources/browsers/client/requests/index.d.ts +0 -4
  62. package/dist/cjs/api/resources/browsers/client/requests/index.js +0 -2
  63. package/dist/cjs/api/resources/browsers/index.d.ts +0 -1
  64. package/dist/cjs/api/resources/browsers/index.js +0 -17
  65. package/dist/cjs/api/resources/files/client/Client.d.ts +0 -78
  66. package/dist/cjs/api/resources/files/client/Client.js +0 -302
  67. package/dist/cjs/api/resources/files/client/index.d.ts +0 -1
  68. package/dist/cjs/api/resources/files/client/index.js +0 -17
  69. package/dist/cjs/api/resources/files/client/requests/AgentSessionUploadFilePresignedUrlFilesSessionsSessionIdPresignedUrlPostRequest.d.ts +0 -16
  70. package/dist/cjs/api/resources/files/client/requests/AgentSessionUploadFilePresignedUrlFilesSessionsSessionIdPresignedUrlPostRequest.js +0 -3
  71. package/dist/cjs/api/resources/files/client/requests/BrowserSessionUploadFilePresignedUrlFilesBrowsersSessionIdPresignedUrlPostRequest.d.ts +0 -16
  72. package/dist/cjs/api/resources/files/client/requests/BrowserSessionUploadFilePresignedUrlFilesBrowsersSessionIdPresignedUrlPostRequest.js +0 -3
  73. package/dist/cjs/api/resources/files/client/requests/GetTaskOutputFilePresignedUrlFilesTasksTaskIdOutputFilesFileIdGetRequest.d.ts +0 -11
  74. package/dist/cjs/api/resources/files/client/requests/GetTaskOutputFilePresignedUrlFilesTasksTaskIdOutputFilesFileIdGetRequest.js +0 -3
  75. package/dist/cjs/api/resources/files/client/requests/index.d.ts +0 -3
  76. package/dist/cjs/api/resources/files/client/requests/index.js +0 -2
  77. package/dist/cjs/api/resources/files/index.d.ts +0 -1
  78. package/dist/cjs/api/resources/files/index.js +0 -17
  79. package/dist/cjs/api/resources/index.d.ts +0 -15
  80. package/dist/cjs/api/resources/index.js +0 -54
  81. package/dist/cjs/api/resources/profiles/client/Client.d.ts +0 -93
  82. package/dist/cjs/api/resources/profiles/client/Client.js +0 -416
  83. package/dist/cjs/api/resources/profiles/client/index.d.ts +0 -1
  84. package/dist/cjs/api/resources/profiles/client/index.js +0 -17
  85. package/dist/cjs/api/resources/profiles/client/requests/DeleteBrowserProfileProfilesProfileIdDeleteRequest.d.ts +0 -9
  86. package/dist/cjs/api/resources/profiles/client/requests/DeleteBrowserProfileProfilesProfileIdDeleteRequest.js +0 -3
  87. package/dist/cjs/api/resources/profiles/client/requests/GetProfileProfilesProfileIdGetRequest.d.ts +0 -9
  88. package/dist/cjs/api/resources/profiles/client/requests/GetProfileProfilesProfileIdGetRequest.js +0 -3
  89. package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.ts +0 -8
  90. package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.js +0 -3
  91. package/dist/cjs/api/resources/profiles/client/requests/ProfileCreateRequest.d.ts +0 -8
  92. package/dist/cjs/api/resources/profiles/client/requests/ProfileCreateRequest.js +0 -3
  93. package/dist/cjs/api/resources/profiles/client/requests/ProfileUpdateRequest.d.ts +0 -11
  94. package/dist/cjs/api/resources/profiles/client/requests/ProfileUpdateRequest.js +0 -3
  95. package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +0 -5
  96. package/dist/cjs/api/resources/profiles/client/requests/index.js +0 -2
  97. package/dist/cjs/api/resources/profiles/index.d.ts +0 -1
  98. package/dist/cjs/api/resources/profiles/index.js +0 -17
  99. package/dist/cjs/api/resources/sessions/client/Client.d.ts +0 -140
  100. package/dist/cjs/api/resources/sessions/client/Client.js +0 -625
  101. package/dist/cjs/api/resources/sessions/client/index.d.ts +0 -1
  102. package/dist/cjs/api/resources/sessions/client/index.js +0 -17
  103. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest.d.ts +0 -9
  104. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest.js +0 -3
  105. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +0 -23
  106. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.js +0 -3
  107. package/dist/cjs/api/resources/sessions/client/requests/DeleteSessionPublicShareSessionsSessionIdPublicShareDeleteRequest.d.ts +0 -9
  108. package/dist/cjs/api/resources/sessions/client/requests/DeleteSessionPublicShareSessionsSessionIdPublicShareDeleteRequest.js +0 -3
  109. package/dist/cjs/api/resources/sessions/client/requests/DeleteSessionSessionsSessionIdDeleteRequest.d.ts +0 -9
  110. package/dist/cjs/api/resources/sessions/client/requests/DeleteSessionSessionsSessionIdDeleteRequest.js +0 -3
  111. package/dist/cjs/api/resources/sessions/client/requests/GetSessionPublicShareSessionsSessionIdPublicShareGetRequest.d.ts +0 -9
  112. package/dist/cjs/api/resources/sessions/client/requests/GetSessionPublicShareSessionsSessionIdPublicShareGetRequest.js +0 -3
  113. package/dist/cjs/api/resources/sessions/client/requests/GetSessionSessionsSessionIdGetRequest.d.ts +0 -9
  114. package/dist/cjs/api/resources/sessions/client/requests/GetSessionSessionsSessionIdGetRequest.js +0 -3
  115. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.ts +0 -10
  116. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.js +0 -3
  117. package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.d.ts +0 -13
  118. package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.js +0 -3
  119. package/dist/cjs/api/resources/sessions/client/requests/index.d.ts +0 -8
  120. package/dist/cjs/api/resources/sessions/client/requests/index.js +0 -2
  121. package/dist/cjs/api/resources/sessions/index.d.ts +0 -1
  122. package/dist/cjs/api/resources/sessions/index.js +0 -17
  123. package/dist/cjs/api/resources/skills/client/Client.d.ts +0 -202
  124. package/dist/cjs/api/resources/skills/client/Client.js +0 -892
  125. package/dist/cjs/api/resources/skills/client/index.d.ts +0 -1
  126. package/dist/cjs/api/resources/skills/client/index.js +0 -17
  127. package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelGenerationPostRequest.d.ts +0 -9
  128. package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelGenerationPostRequest.js +0 -3
  129. package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.d.ts +0 -9
  130. package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.js +0 -3
  131. package/dist/cjs/api/resources/skills/client/requests/CreateSkillRequest.d.ts +0 -17
  132. package/dist/cjs/api/resources/skills/client/requests/CreateSkillRequest.js +0 -3
  133. package/dist/cjs/api/resources/skills/client/requests/DeleteSkillSkillsSkillIdDeleteRequest.d.ts +0 -9
  134. package/dist/cjs/api/resources/skills/client/requests/DeleteSkillSkillsSkillIdDeleteRequest.js +0 -3
  135. package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillRequest.d.ts +0 -11
  136. package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillRequest.js +0 -3
  137. package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.d.ts +0 -12
  138. package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.js +0 -3
  139. package/dist/cjs/api/resources/skills/client/requests/GetSkillExecutionOutputSkillsSkillIdExecutionsExecutionIdOutputGetRequest.d.ts +0 -11
  140. package/dist/cjs/api/resources/skills/client/requests/GetSkillExecutionOutputSkillsSkillIdExecutionsExecutionIdOutputGetRequest.js +0 -3
  141. package/dist/cjs/api/resources/skills/client/requests/GetSkillSkillsSkillIdGetRequest.d.ts +0 -9
  142. package/dist/cjs/api/resources/skills/client/requests/GetSkillSkillsSkillIdGetRequest.js +0 -3
  143. package/dist/cjs/api/resources/skills/client/requests/ListSkillExecutionsSkillsSkillIdExecutionsGetRequest.d.ts +0 -11
  144. package/dist/cjs/api/resources/skills/client/requests/ListSkillExecutionsSkillsSkillIdExecutionsGetRequest.js +0 -3
  145. package/dist/cjs/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.d.ts +0 -15
  146. package/dist/cjs/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.js +0 -3
  147. package/dist/cjs/api/resources/skills/client/requests/RefineSkillRequest.d.ts +0 -16
  148. package/dist/cjs/api/resources/skills/client/requests/RefineSkillRequest.js +0 -3
  149. package/dist/cjs/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.d.ts +0 -9
  150. package/dist/cjs/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.js +0 -3
  151. package/dist/cjs/api/resources/skills/client/requests/UpdateSkillRequest.d.ts +0 -20
  152. package/dist/cjs/api/resources/skills/client/requests/UpdateSkillRequest.js +0 -3
  153. package/dist/cjs/api/resources/skills/client/requests/index.d.ts +0 -11
  154. package/dist/cjs/api/resources/skills/client/requests/index.js +0 -2
  155. package/dist/cjs/api/resources/skills/index.d.ts +0 -1
  156. package/dist/cjs/api/resources/skills/index.js +0 -17
  157. package/dist/cjs/api/resources/skillsMarketplace/client/Client.d.ts +0 -79
  158. package/dist/cjs/api/resources/skillsMarketplace/client/Client.js +0 -361
  159. package/dist/cjs/api/resources/skillsMarketplace/client/index.d.ts +0 -1
  160. package/dist/cjs/api/resources/skillsMarketplace/client/index.js +0 -17
  161. package/dist/cjs/api/resources/skillsMarketplace/client/requests/CloneSkillMarketplaceSkillsSkillIdClonePostRequest.d.ts +0 -9
  162. package/dist/cjs/api/resources/skillsMarketplace/client/requests/CloneSkillMarketplaceSkillsSkillIdClonePostRequest.js +0 -3
  163. package/dist/cjs/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.d.ts +0 -12
  164. package/dist/cjs/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.js +0 -3
  165. package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillIdGetRequest.d.ts +0 -9
  166. package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillIdGetRequest.js +0 -3
  167. package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.d.ts +0 -9
  168. package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.js +0 -3
  169. package/dist/cjs/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.d.ts +0 -13
  170. package/dist/cjs/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.js +0 -3
  171. package/dist/cjs/api/resources/skillsMarketplace/client/requests/index.d.ts +0 -4
  172. package/dist/cjs/api/resources/skillsMarketplace/client/requests/index.js +0 -2
  173. package/dist/cjs/api/resources/skillsMarketplace/index.d.ts +0 -1
  174. package/dist/cjs/api/resources/skillsMarketplace/index.js +0 -17
  175. package/dist/cjs/api/resources/tasks/client/Client.d.ts +0 -131
  176. package/dist/cjs/api/resources/tasks/client/Client.js +0 -525
  177. package/dist/cjs/api/resources/tasks/client/index.d.ts +0 -1
  178. package/dist/cjs/api/resources/tasks/client/index.js +0 -17
  179. package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.d.ts +0 -53
  180. package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.js +0 -3
  181. package/dist/cjs/api/resources/tasks/client/requests/GetTaskLogsTasksTaskIdLogsGetRequest.d.ts +0 -9
  182. package/dist/cjs/api/resources/tasks/client/requests/GetTaskLogsTasksTaskIdLogsGetRequest.js +0 -3
  183. package/dist/cjs/api/resources/tasks/client/requests/GetTaskStatusTasksTaskIdStatusGetRequest.d.ts +0 -9
  184. package/dist/cjs/api/resources/tasks/client/requests/GetTaskStatusTasksTaskIdStatusGetRequest.js +0 -3
  185. package/dist/cjs/api/resources/tasks/client/requests/GetTaskTasksTaskIdGetRequest.d.ts +0 -9
  186. package/dist/cjs/api/resources/tasks/client/requests/GetTaskTasksTaskIdGetRequest.js +0 -3
  187. package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.ts +0 -13
  188. package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.js +0 -3
  189. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.d.ts +0 -13
  190. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.js +0 -3
  191. package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +0 -6
  192. package/dist/cjs/api/resources/tasks/client/requests/index.js +0 -2
  193. package/dist/cjs/api/resources/tasks/index.d.ts +0 -1
  194. package/dist/cjs/api/resources/tasks/index.js +0 -17
  195. package/dist/cjs/api/resources/workflows/client/Client.d.ts +0 -306
  196. package/dist/cjs/api/resources/workflows/client/Client.js +0 -1283
  197. package/dist/cjs/api/resources/workflows/client/index.d.ts +0 -1
  198. package/dist/cjs/api/resources/workflows/client/index.js +0 -17
  199. package/dist/cjs/api/resources/workflows/client/requests/CancelExecutionWorkflowsExecutionsExecutionIdCancelPatchRequest.d.ts +0 -9
  200. package/dist/cjs/api/resources/workflows/client/requests/CancelExecutionWorkflowsExecutionsExecutionIdCancelPatchRequest.js +0 -3
  201. package/dist/cjs/api/resources/workflows/client/requests/DeleteWorkflowWorkflowsWorkflowIdDeleteRequest.d.ts +0 -9
  202. package/dist/cjs/api/resources/workflows/client/requests/DeleteWorkflowWorkflowsWorkflowIdDeleteRequest.js +0 -3
  203. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionLogsWorkflowsExecutionsExecutionIdLogsGetRequest.d.ts +0 -9
  204. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionLogsWorkflowsExecutionsExecutionIdLogsGetRequest.js +0 -3
  205. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.ts +0 -9
  206. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.js +0 -3
  207. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.ts +0 -9
  208. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.js +0 -3
  209. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionWorkflowsExecutionsExecutionIdGetRequest.d.ts +0 -9
  210. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionWorkflowsExecutionsExecutionIdGetRequest.js +0 -3
  211. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.ts +0 -9
  212. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.js +0 -3
  213. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowWorkflowsWorkflowIdGetRequest.d.ts +0 -9
  214. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowWorkflowsWorkflowIdGetRequest.js +0 -3
  215. package/dist/cjs/api/resources/workflows/client/requests/ListAllExecutionsWorkflowsExecutionsGetRequest.d.ts +0 -11
  216. package/dist/cjs/api/resources/workflows/client/requests/ListAllExecutionsWorkflowsExecutionsGetRequest.js +0 -3
  217. package/dist/cjs/api/resources/workflows/client/requests/ListWorkflowExecutionsWorkflowsWorkflowIdExecutionsGetRequest.d.ts +0 -14
  218. package/dist/cjs/api/resources/workflows/client/requests/ListWorkflowExecutionsWorkflowsWorkflowIdExecutionsGetRequest.js +0 -3
  219. package/dist/cjs/api/resources/workflows/client/requests/ListWorkflowsWorkflowsGetRequest.d.ts +0 -10
  220. package/dist/cjs/api/resources/workflows/client/requests/ListWorkflowsWorkflowsGetRequest.js +0 -3
  221. package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.d.ts +0 -18
  222. package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.js +0 -3
  223. package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateRequest.d.ts +0 -14
  224. package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateRequest.js +0 -3
  225. package/dist/cjs/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.ts +0 -13
  226. package/dist/cjs/api/resources/workflows/client/requests/WorkflowExecuteRequest.js +0 -3
  227. package/dist/cjs/api/resources/workflows/client/requests/WorkflowGenerateRequest.d.ts +0 -36
  228. package/dist/cjs/api/resources/workflows/client/requests/WorkflowGenerateRequest.js +0 -3
  229. package/dist/cjs/api/resources/workflows/client/requests/WorkflowUpdateRequest.d.ts +0 -15
  230. package/dist/cjs/api/resources/workflows/client/requests/WorkflowUpdateRequest.js +0 -3
  231. package/dist/cjs/api/resources/workflows/client/requests/WorkflowYamlPresignedUploadRequest.d.ts +0 -14
  232. package/dist/cjs/api/resources/workflows/client/requests/WorkflowYamlPresignedUploadRequest.js +0 -3
  233. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +0 -17
  234. package/dist/cjs/api/resources/workflows/client/requests/index.js +0 -2
  235. package/dist/cjs/api/resources/workflows/index.d.ts +0 -1
  236. package/dist/cjs/api/resources/workflows/index.js +0 -17
  237. package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowWorkflowsWorkflowIdExecutePostResponse.d.ts +0 -2
  238. package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowWorkflowsWorkflowIdExecutePostResponse.js +0 -3
  239. package/dist/cjs/api/resources/workflows/types/index.d.ts +0 -1
  240. package/dist/cjs/api/resources/workflows/types/index.js +0 -17
  241. package/dist/cjs/api/types/AccountNotFoundError.d.ts +0 -6
  242. package/dist/cjs/api/types/AccountNotFoundError.js +0 -3
  243. package/dist/cjs/api/types/AccountView.d.ts +0 -20
  244. package/dist/cjs/api/types/AccountView.js +0 -3
  245. package/dist/cjs/api/types/AppApiV2MarketplaceSkillsViewsParameterSchema.d.ts +0 -11
  246. package/dist/cjs/api/types/AppApiV2MarketplaceSkillsViewsParameterSchema.js +0 -3
  247. package/dist/cjs/api/types/AppApiV2MarketplaceSkillsViewsParameterType.d.ts +0 -9
  248. package/dist/cjs/api/types/AppApiV2MarketplaceSkillsViewsParameterType.js +0 -12
  249. package/dist/cjs/api/types/AppApiV2SkillsViewsInsufficientCreditsError.d.ts +0 -6
  250. package/dist/cjs/api/types/AppApiV2SkillsViewsInsufficientCreditsError.js +0 -3
  251. package/dist/cjs/api/types/AppApiV2SkillsViewsParameterSchema.d.ts +0 -11
  252. package/dist/cjs/api/types/AppApiV2SkillsViewsParameterSchema.js +0 -3
  253. package/dist/cjs/api/types/AppApiV2SkillsViewsParameterType.d.ts +0 -10
  254. package/dist/cjs/api/types/AppApiV2SkillsViewsParameterType.js +0 -13
  255. package/dist/cjs/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.d.ts +0 -6
  256. package/dist/cjs/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.js +0 -3
  257. package/dist/cjs/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.d.ts +0 -6
  258. package/dist/cjs/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.js +0 -3
  259. package/dist/cjs/api/types/AppViewsV2ErrorViewsInsufficientCreditsError.d.ts +0 -6
  260. package/dist/cjs/api/types/AppViewsV2ErrorViewsInsufficientCreditsError.js +0 -3
  261. package/dist/cjs/api/types/BadRequestErrorBody.d.ts +0 -2
  262. package/dist/cjs/api/types/BadRequestErrorBody.js +0 -3
  263. package/dist/cjs/api/types/BrowserSessionItemView.d.ts +0 -26
  264. package/dist/cjs/api/types/BrowserSessionItemView.js +0 -3
  265. package/dist/cjs/api/types/BrowserSessionListResponse.d.ts +0 -14
  266. package/dist/cjs/api/types/BrowserSessionListResponse.js +0 -3
  267. package/dist/cjs/api/types/BrowserSessionStatus.d.ts +0 -12
  268. package/dist/cjs/api/types/BrowserSessionStatus.js +0 -15
  269. package/dist/cjs/api/types/BrowserSessionUpdateAction.d.ts +0 -10
  270. package/dist/cjs/api/types/BrowserSessionUpdateAction.js +0 -13
  271. package/dist/cjs/api/types/BrowserSessionView.d.ts +0 -26
  272. package/dist/cjs/api/types/BrowserSessionView.js +0 -3
  273. package/dist/cjs/api/types/CannotDeleteSkillWhileGeneratingError.d.ts +0 -6
  274. package/dist/cjs/api/types/CannotDeleteSkillWhileGeneratingError.js +0 -3
  275. package/dist/cjs/api/types/CannotRollbackPublicSkillError.d.ts +0 -6
  276. package/dist/cjs/api/types/CannotRollbackPublicSkillError.js +0 -3
  277. package/dist/cjs/api/types/CommonUtilsErrorsInsufficientCreditsError.d.ts +0 -6
  278. package/dist/cjs/api/types/CommonUtilsErrorsInsufficientCreditsError.js +0 -3
  279. package/dist/cjs/api/types/ConcurrentSkillCreationsError.d.ts +0 -6
  280. package/dist/cjs/api/types/ConcurrentSkillCreationsError.js +0 -3
  281. package/dist/cjs/api/types/CreateSkillResponse.d.ts +0 -7
  282. package/dist/cjs/api/types/CreateSkillResponse.js +0 -3
  283. package/dist/cjs/api/types/CustomProxy.d.ts +0 -13
  284. package/dist/cjs/api/types/CustomProxy.js +0 -3
  285. package/dist/cjs/api/types/DownloadUrlGenerationError.d.ts +0 -6
  286. package/dist/cjs/api/types/DownloadUrlGenerationError.js +0 -3
  287. package/dist/cjs/api/types/EnabledSkillsLimitExceededError.d.ts +0 -6
  288. package/dist/cjs/api/types/EnabledSkillsLimitExceededError.js +0 -3
  289. package/dist/cjs/api/types/ExecuteSkillRequest.d.ts +0 -9
  290. package/dist/cjs/api/types/ExecuteSkillRequest.js +0 -3
  291. package/dist/cjs/api/types/ExecuteSkillResponse.d.ts +0 -15
  292. package/dist/cjs/api/types/ExecuteSkillResponse.js +0 -3
  293. package/dist/cjs/api/types/ExecutionMode.d.ts +0 -12
  294. package/dist/cjs/api/types/ExecutionMode.js +0 -15
  295. package/dist/cjs/api/types/FileView.d.ts +0 -9
  296. package/dist/cjs/api/types/FileView.js +0 -3
  297. package/dist/cjs/api/types/GenerationNotCancellableError.d.ts +0 -6
  298. package/dist/cjs/api/types/GenerationNotCancellableError.js +0 -3
  299. package/dist/cjs/api/types/HttpValidationError.d.ts +0 -4
  300. package/dist/cjs/api/types/HttpValidationError.js +0 -3
  301. package/dist/cjs/api/types/InsufficientCreditsError.d.ts +0 -6
  302. package/dist/cjs/api/types/InsufficientCreditsError.js +0 -3
  303. package/dist/cjs/api/types/InternalServerErrorBody.d.ts +0 -6
  304. package/dist/cjs/api/types/InternalServerErrorBody.js +0 -3
  305. package/dist/cjs/api/types/MarketplaceSkillListResponse.d.ts +0 -14
  306. package/dist/cjs/api/types/MarketplaceSkillListResponse.js +0 -3
  307. package/dist/cjs/api/types/MarketplaceSkillResponse.d.ts +0 -38
  308. package/dist/cjs/api/types/MarketplaceSkillResponse.js +0 -3
  309. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +0 -2
  310. package/dist/cjs/api/types/NotFoundErrorBody.js +0 -3
  311. package/dist/cjs/api/types/OutputFileNotFoundError.d.ts +0 -6
  312. package/dist/cjs/api/types/OutputFileNotFoundError.js +0 -3
  313. package/dist/cjs/api/types/ParameterSchema.d.ts +0 -12
  314. package/dist/cjs/api/types/ParameterSchema.js +0 -3
  315. package/dist/cjs/api/types/ParameterType.d.ts +0 -10
  316. package/dist/cjs/api/types/ParameterType.js +0 -13
  317. package/dist/cjs/api/types/PlanInfo.d.ts +0 -15
  318. package/dist/cjs/api/types/PlanInfo.js +0 -3
  319. package/dist/cjs/api/types/ProfileListResponse.d.ts +0 -14
  320. package/dist/cjs/api/types/ProfileListResponse.js +0 -3
  321. package/dist/cjs/api/types/ProfileNotFoundError.d.ts +0 -6
  322. package/dist/cjs/api/types/ProfileNotFoundError.js +0 -3
  323. package/dist/cjs/api/types/ProfileView.d.ts +0 -19
  324. package/dist/cjs/api/types/ProfileView.js +0 -3
  325. package/dist/cjs/api/types/ProxyCountryCode.d.ts +0 -250
  326. package/dist/cjs/api/types/ProxyCountryCode.js +0 -253
  327. package/dist/cjs/api/types/RefineSkillResponse.d.ts +0 -7
  328. package/dist/cjs/api/types/RefineSkillResponse.js +0 -3
  329. package/dist/cjs/api/types/SessionHasRunningTaskError.d.ts +0 -6
  330. package/dist/cjs/api/types/SessionHasRunningTaskError.js +0 -3
  331. package/dist/cjs/api/types/SessionItemView.d.ts +0 -24
  332. package/dist/cjs/api/types/SessionItemView.js +0 -3
  333. package/dist/cjs/api/types/SessionListResponse.d.ts +0 -14
  334. package/dist/cjs/api/types/SessionListResponse.js +0 -3
  335. package/dist/cjs/api/types/SessionNotFoundError.d.ts +0 -6
  336. package/dist/cjs/api/types/SessionNotFoundError.js +0 -3
  337. package/dist/cjs/api/types/SessionStatus.d.ts +0 -12
  338. package/dist/cjs/api/types/SessionStatus.js +0 -15
  339. package/dist/cjs/api/types/SessionStoppedError.d.ts +0 -6
  340. package/dist/cjs/api/types/SessionStoppedError.js +0 -3
  341. package/dist/cjs/api/types/SessionTimeoutLimitExceededError.d.ts +0 -6
  342. package/dist/cjs/api/types/SessionTimeoutLimitExceededError.js +0 -3
  343. package/dist/cjs/api/types/SessionUpdateAction.d.ts +0 -10
  344. package/dist/cjs/api/types/SessionUpdateAction.js +0 -13
  345. package/dist/cjs/api/types/SessionView.d.ts +0 -28
  346. package/dist/cjs/api/types/SessionView.js +0 -3
  347. package/dist/cjs/api/types/ShareNotFoundError.d.ts +0 -6
  348. package/dist/cjs/api/types/ShareNotFoundError.js +0 -3
  349. package/dist/cjs/api/types/ShareView.d.ts +0 -13
  350. package/dist/cjs/api/types/ShareView.js +0 -3
  351. package/dist/cjs/api/types/SkillCategory.d.ts +0 -20
  352. package/dist/cjs/api/types/SkillCategory.js +0 -23
  353. package/dist/cjs/api/types/SkillExecutionListResponse.d.ts +0 -14
  354. package/dist/cjs/api/types/SkillExecutionListResponse.js +0 -3
  355. package/dist/cjs/api/types/SkillExecutionOutputResponse.d.ts +0 -7
  356. package/dist/cjs/api/types/SkillExecutionOutputResponse.js +0 -3
  357. package/dist/cjs/api/types/SkillExecutionView.d.ts +0 -21
  358. package/dist/cjs/api/types/SkillExecutionView.js +0 -3
  359. package/dist/cjs/api/types/SkillListResponse.d.ts +0 -14
  360. package/dist/cjs/api/types/SkillListResponse.js +0 -3
  361. package/dist/cjs/api/types/SkillNotFinishedError.d.ts +0 -6
  362. package/dist/cjs/api/types/SkillNotFinishedError.js +0 -3
  363. package/dist/cjs/api/types/SkillNotFoundError.d.ts +0 -6
  364. package/dist/cjs/api/types/SkillNotFoundError.js +0 -3
  365. package/dist/cjs/api/types/SkillResponse.d.ts +0 -52
  366. package/dist/cjs/api/types/SkillResponse.js +0 -3
  367. package/dist/cjs/api/types/SkillsGenerationStatus.d.ts +0 -10
  368. package/dist/cjs/api/types/SkillsGenerationStatus.js +0 -13
  369. package/dist/cjs/api/types/SupportedLlMs.d.ts +0 -22
  370. package/dist/cjs/api/types/SupportedLlMs.js +0 -25
  371. package/dist/cjs/api/types/TaskCreatedResponse.d.ts +0 -9
  372. package/dist/cjs/api/types/TaskCreatedResponse.js +0 -3
  373. package/dist/cjs/api/types/TaskItemView.d.ts +0 -37
  374. package/dist/cjs/api/types/TaskItemView.js +0 -3
  375. package/dist/cjs/api/types/TaskListResponse.d.ts +0 -14
  376. package/dist/cjs/api/types/TaskListResponse.js +0 -3
  377. package/dist/cjs/api/types/TaskLogFileResponse.d.ts +0 -7
  378. package/dist/cjs/api/types/TaskLogFileResponse.js +0 -3
  379. package/dist/cjs/api/types/TaskNotFoundError.d.ts +0 -6
  380. package/dist/cjs/api/types/TaskNotFoundError.js +0 -3
  381. package/dist/cjs/api/types/TaskOutputFileResponse.d.ts +0 -11
  382. package/dist/cjs/api/types/TaskOutputFileResponse.js +0 -3
  383. package/dist/cjs/api/types/TaskStatus.d.ts +0 -16
  384. package/dist/cjs/api/types/TaskStatus.js +0 -19
  385. package/dist/cjs/api/types/TaskStatusView.d.ts +0 -19
  386. package/dist/cjs/api/types/TaskStatusView.js +0 -3
  387. package/dist/cjs/api/types/TaskStepView.d.ts +0 -19
  388. package/dist/cjs/api/types/TaskStepView.js +0 -3
  389. package/dist/cjs/api/types/TaskUpdateAction.d.ts +0 -12
  390. package/dist/cjs/api/types/TaskUpdateAction.js +0 -15
  391. package/dist/cjs/api/types/TaskView.d.ts +0 -39
  392. package/dist/cjs/api/types/TaskView.js +0 -3
  393. package/dist/cjs/api/types/TooManyConcurrentActiveSessionsError.d.ts +0 -6
  394. package/dist/cjs/api/types/TooManyConcurrentActiveSessionsError.js +0 -3
  395. package/dist/cjs/api/types/UnsupportedContentTypeError.d.ts +0 -6
  396. package/dist/cjs/api/types/UnsupportedContentTypeError.js +0 -3
  397. package/dist/cjs/api/types/UploadFilePresignedUrlResponse.d.ts +0 -22
  398. package/dist/cjs/api/types/UploadFilePresignedUrlResponse.js +0 -11
  399. package/dist/cjs/api/types/UploadFileRequest.d.ts +0 -30
  400. package/dist/cjs/api/types/UploadFileRequest.js +0 -24
  401. package/dist/cjs/api/types/ValidationError.d.ts +0 -11
  402. package/dist/cjs/api/types/ValidationError.js +0 -3
  403. package/dist/cjs/api/types/WorkflowCreateFromTaskResponse.d.ts +0 -11
  404. package/dist/cjs/api/types/WorkflowCreateFromTaskResponse.js +0 -3
  405. package/dist/cjs/api/types/WorkflowExecutionCreatedResponse.d.ts +0 -12
  406. package/dist/cjs/api/types/WorkflowExecutionCreatedResponse.js +0 -3
  407. package/dist/cjs/api/types/WorkflowExecutionItemView.d.ts +0 -28
  408. package/dist/cjs/api/types/WorkflowExecutionItemView.js +0 -3
  409. package/dist/cjs/api/types/WorkflowExecutionListResponse.d.ts +0 -14
  410. package/dist/cjs/api/types/WorkflowExecutionListResponse.js +0 -3
  411. package/dist/cjs/api/types/WorkflowExecutionLogResponse.d.ts +0 -7
  412. package/dist/cjs/api/types/WorkflowExecutionLogResponse.js +0 -3
  413. package/dist/cjs/api/types/WorkflowExecutionMediaStepView.d.ts +0 -13
  414. package/dist/cjs/api/types/WorkflowExecutionMediaStepView.js +0 -3
  415. package/dist/cjs/api/types/WorkflowExecutionMediaView.d.ts +0 -8
  416. package/dist/cjs/api/types/WorkflowExecutionMediaView.js +0 -3
  417. package/dist/cjs/api/types/WorkflowExecutionResponse.d.ts +0 -42
  418. package/dist/cjs/api/types/WorkflowExecutionResponse.js +0 -3
  419. package/dist/cjs/api/types/WorkflowExecutionStateView.d.ts +0 -32
  420. package/dist/cjs/api/types/WorkflowExecutionStateView.js +0 -3
  421. package/dist/cjs/api/types/WorkflowExecutionStatus.d.ts +0 -18
  422. package/dist/cjs/api/types/WorkflowExecutionStatus.js +0 -21
  423. package/dist/cjs/api/types/WorkflowExecutionStepView.d.ts +0 -29
  424. package/dist/cjs/api/types/WorkflowExecutionStepView.js +0 -3
  425. package/dist/cjs/api/types/WorkflowGenerateResponse.d.ts +0 -11
  426. package/dist/cjs/api/types/WorkflowGenerateResponse.js +0 -3
  427. package/dist/cjs/api/types/WorkflowGenerationStateView.d.ts +0 -24
  428. package/dist/cjs/api/types/WorkflowGenerationStateView.js +0 -3
  429. package/dist/cjs/api/types/WorkflowGenerationStatus.d.ts +0 -8
  430. package/dist/cjs/api/types/WorkflowGenerationStatus.js +0 -11
  431. package/dist/cjs/api/types/WorkflowGenerationStepView.d.ts +0 -19
  432. package/dist/cjs/api/types/WorkflowGenerationStepView.js +0 -3
  433. package/dist/cjs/api/types/WorkflowItemView.d.ts +0 -26
  434. package/dist/cjs/api/types/WorkflowItemView.js +0 -3
  435. package/dist/cjs/api/types/WorkflowListResponse.d.ts +0 -14
  436. package/dist/cjs/api/types/WorkflowListResponse.js +0 -3
  437. package/dist/cjs/api/types/WorkflowResponse.d.ts +0 -40
  438. package/dist/cjs/api/types/WorkflowResponse.js +0 -3
  439. package/dist/cjs/api/types/WorkflowYamlPresignedUploadResponse.d.ts +0 -22
  440. package/dist/cjs/api/types/WorkflowYamlPresignedUploadResponse.js +0 -11
  441. package/dist/cjs/api/types/index.d.ts +0 -73
  442. package/dist/cjs/api/types/index.js +0 -89
  443. package/dist/cjs/core/exports.d.ts +0 -1
  444. package/dist/cjs/core/exports.js +0 -17
  445. package/dist/cjs/core/fetcher/APIResponse.d.ts +0 -20
  446. package/dist/cjs/core/fetcher/APIResponse.js +0 -2
  447. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +0 -20
  448. package/dist/cjs/core/fetcher/BinaryResponse.js +0 -17
  449. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +0 -13
  450. package/dist/cjs/core/fetcher/EndpointMetadata.js +0 -2
  451. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +0 -12
  452. package/dist/cjs/core/fetcher/EndpointSupplier.js +0 -22
  453. package/dist/cjs/core/fetcher/Fetcher.d.ts +0 -45
  454. package/dist/cjs/core/fetcher/Fetcher.js +0 -315
  455. package/dist/cjs/core/fetcher/Headers.d.ts +0 -2
  456. package/dist/cjs/core/fetcher/Headers.js +0 -84
  457. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +0 -58
  458. package/dist/cjs/core/fetcher/HttpResponsePromise.js +0 -103
  459. package/dist/cjs/core/fetcher/RawResponse.d.ts +0 -29
  460. package/dist/cjs/core/fetcher/RawResponse.js +0 -44
  461. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
  462. package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
  463. package/dist/cjs/core/fetcher/Supplier.d.ts +0 -4
  464. package/dist/cjs/core/fetcher/Supplier.js +0 -22
  465. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +0 -1
  466. package/dist/cjs/core/fetcher/createRequestUrl.js +0 -8
  467. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +0 -1
  468. package/dist/cjs/core/fetcher/getErrorResponseBody.js +0 -45
  469. package/dist/cjs/core/fetcher/getFetchFn.d.ts +0 -1
  470. package/dist/cjs/core/fetcher/getFetchFn.js +0 -17
  471. package/dist/cjs/core/fetcher/getHeader.d.ts +0 -1
  472. package/dist/cjs/core/fetcher/getHeader.js +0 -11
  473. package/dist/cjs/core/fetcher/getRequestBody.d.ts +0 -7
  474. package/dist/cjs/core/fetcher/getRequestBody.js +0 -27
  475. package/dist/cjs/core/fetcher/getResponseBody.d.ts +0 -1
  476. package/dist/cjs/core/fetcher/getResponseBody.js +0 -55
  477. package/dist/cjs/core/fetcher/index.d.ts +0 -11
  478. package/dist/cjs/core/fetcher/index.js +0 -17
  479. package/dist/cjs/core/fetcher/makeRequest.d.ts +0 -1
  480. package/dist/cjs/core/fetcher/makeRequest.js +0 -40
  481. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +0 -1
  482. package/dist/cjs/core/fetcher/requestWithRetries.js +0 -67
  483. package/dist/cjs/core/fetcher/signals.d.ts +0 -5
  484. package/dist/cjs/core/fetcher/signals.js +0 -24
  485. package/dist/cjs/core/headers.d.ts +0 -2
  486. package/dist/cjs/core/headers.js +0 -31
  487. package/dist/cjs/core/index.d.ts +0 -4
  488. package/dist/cjs/core/index.js +0 -43
  489. package/dist/cjs/core/json.d.ts +0 -15
  490. package/dist/cjs/core/json.js +0 -24
  491. package/dist/cjs/core/logging/exports.d.ts +0 -18
  492. package/dist/cjs/core/logging/exports.js +0 -45
  493. package/dist/cjs/core/logging/index.d.ts +0 -1
  494. package/dist/cjs/core/logging/index.js +0 -17
  495. package/dist/cjs/core/logging/logger.d.ts +0 -126
  496. package/dist/cjs/core/logging/logger.js +0 -144
  497. package/dist/cjs/core/runtime/index.d.ts +0 -1
  498. package/dist/cjs/core/runtime/index.js +0 -5
  499. package/dist/cjs/core/runtime/runtime.d.ts +0 -9
  500. package/dist/cjs/core/runtime/runtime.js +0 -102
  501. package/dist/cjs/core/url/encodePathParam.d.ts +0 -1
  502. package/dist/cjs/core/url/encodePathParam.js +0 -21
  503. package/dist/cjs/core/url/index.d.ts +0 -3
  504. package/dist/cjs/core/url/index.js +0 -9
  505. package/dist/cjs/core/url/join.d.ts +0 -1
  506. package/dist/cjs/core/url/join.js +0 -68
  507. package/dist/cjs/core/url/qs.d.ts +0 -6
  508. package/dist/cjs/core/url/qs.js +0 -64
  509. package/dist/cjs/environments.d.ts +0 -4
  510. package/dist/cjs/environments.js +0 -7
  511. package/dist/cjs/errors/BrowserUseError.d.ts +0 -12
  512. package/dist/cjs/errors/BrowserUseError.js +0 -28
  513. package/dist/cjs/errors/BrowserUseTimeoutError.d.ts +0 -3
  514. package/dist/cjs/errors/BrowserUseTimeoutError.js +0 -11
  515. package/dist/cjs/errors/index.d.ts +0 -2
  516. package/dist/cjs/errors/index.js +0 -7
  517. package/dist/cjs/exports.d.ts +0 -1
  518. package/dist/cjs/exports.js +0 -17
  519. package/dist/cjs/index.d.ts +0 -7
  520. package/dist/cjs/index.js +0 -47
  521. package/dist/cjs/version.d.ts +0 -1
  522. package/dist/cjs/version.js +0 -4
  523. package/dist/cjs/wrapper/BrowserUseClient.d.ts +0 -6
  524. package/dist/cjs/wrapper/BrowserUseClient.js +0 -12
  525. package/dist/cjs/wrapper/api/BrowserUseTasks.d.ts +0 -15
  526. package/dist/cjs/wrapper/api/BrowserUseTasks.js +0 -89
  527. package/dist/cjs/wrapper/lib/parse.d.ts +0 -69
  528. package/dist/cjs/wrapper/lib/parse.js +0 -202
  529. package/dist/cjs/wrapper/lib/types.d.ts +0 -74
  530. package/dist/cjs/wrapper/lib/types.js +0 -13
  531. package/dist/cjs/wrapper/lib/webhooks.d.ts +0 -92
  532. package/dist/cjs/wrapper/lib/webhooks.js +0 -97
  533. package/dist/esm/BaseClient.d.mts +0 -30
  534. package/dist/esm/BaseClient.mjs +0 -2
  535. package/dist/esm/Client.d.mts +0 -35
  536. package/dist/esm/Client.mjs +0 -55
  537. package/dist/esm/api/errors/BadRequestError.d.mts +0 -5
  538. package/dist/esm/api/errors/BadRequestError.mjs +0 -13
  539. package/dist/esm/api/errors/ForbiddenError.d.mts +0 -5
  540. package/dist/esm/api/errors/ForbiddenError.mjs +0 -13
  541. package/dist/esm/api/errors/InternalServerError.d.mts +0 -5
  542. package/dist/esm/api/errors/InternalServerError.mjs +0 -13
  543. package/dist/esm/api/errors/NotFoundError.d.mts +0 -5
  544. package/dist/esm/api/errors/NotFoundError.mjs +0 -13
  545. package/dist/esm/api/errors/PaymentRequiredError.d.mts +0 -5
  546. package/dist/esm/api/errors/PaymentRequiredError.mjs +0 -13
  547. package/dist/esm/api/errors/TooManyRequestsError.d.mts +0 -6
  548. package/dist/esm/api/errors/TooManyRequestsError.mjs +0 -13
  549. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +0 -5
  550. package/dist/esm/api/errors/UnprocessableEntityError.mjs +0 -13
  551. package/dist/esm/api/errors/index.d.mts +0 -7
  552. package/dist/esm/api/errors/index.mjs +0 -7
  553. package/dist/esm/api/index.d.mts +0 -3
  554. package/dist/esm/api/index.mjs +0 -3
  555. package/dist/esm/api/resources/billing/client/Client.d.mts +0 -27
  556. package/dist/esm/api/resources/billing/client/Client.mjs +0 -89
  557. package/dist/esm/api/resources/billing/client/index.d.mts +0 -1
  558. package/dist/esm/api/resources/billing/client/index.mjs +0 -1
  559. package/dist/esm/api/resources/billing/index.d.mts +0 -1
  560. package/dist/esm/api/resources/billing/index.mjs +0 -1
  561. package/dist/esm/api/resources/browsers/client/Client.d.mts +0 -93
  562. package/dist/esm/api/resources/browsers/client/Client.mjs +0 -340
  563. package/dist/esm/api/resources/browsers/client/index.d.mts +0 -1
  564. package/dist/esm/api/resources/browsers/client/index.mjs +0 -1
  565. package/dist/esm/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.mts +0 -21
  566. package/dist/esm/api/resources/browsers/client/requests/CreateBrowserSessionRequest.mjs +0 -2
  567. package/dist/esm/api/resources/browsers/client/requests/GetBrowserSessionBrowsersSessionIdGetRequest.d.mts +0 -9
  568. package/dist/esm/api/resources/browsers/client/requests/GetBrowserSessionBrowsersSessionIdGetRequest.mjs +0 -2
  569. package/dist/esm/api/resources/browsers/client/requests/ListBrowserSessionsBrowsersGetRequest.d.mts +0 -10
  570. package/dist/esm/api/resources/browsers/client/requests/ListBrowserSessionsBrowsersGetRequest.mjs +0 -2
  571. package/dist/esm/api/resources/browsers/client/requests/UpdateBrowserSessionRequest.d.mts +0 -13
  572. package/dist/esm/api/resources/browsers/client/requests/UpdateBrowserSessionRequest.mjs +0 -2
  573. package/dist/esm/api/resources/browsers/client/requests/index.d.mts +0 -4
  574. package/dist/esm/api/resources/browsers/client/requests/index.mjs +0 -1
  575. package/dist/esm/api/resources/browsers/index.d.mts +0 -1
  576. package/dist/esm/api/resources/browsers/index.mjs +0 -1
  577. package/dist/esm/api/resources/files/client/Client.d.mts +0 -78
  578. package/dist/esm/api/resources/files/client/Client.mjs +0 -265
  579. package/dist/esm/api/resources/files/client/index.d.mts +0 -1
  580. package/dist/esm/api/resources/files/client/index.mjs +0 -1
  581. package/dist/esm/api/resources/files/client/requests/AgentSessionUploadFilePresignedUrlFilesSessionsSessionIdPresignedUrlPostRequest.d.mts +0 -16
  582. package/dist/esm/api/resources/files/client/requests/AgentSessionUploadFilePresignedUrlFilesSessionsSessionIdPresignedUrlPostRequest.mjs +0 -2
  583. package/dist/esm/api/resources/files/client/requests/BrowserSessionUploadFilePresignedUrlFilesBrowsersSessionIdPresignedUrlPostRequest.d.mts +0 -16
  584. package/dist/esm/api/resources/files/client/requests/BrowserSessionUploadFilePresignedUrlFilesBrowsersSessionIdPresignedUrlPostRequest.mjs +0 -2
  585. package/dist/esm/api/resources/files/client/requests/GetTaskOutputFilePresignedUrlFilesTasksTaskIdOutputFilesFileIdGetRequest.d.mts +0 -11
  586. package/dist/esm/api/resources/files/client/requests/GetTaskOutputFilePresignedUrlFilesTasksTaskIdOutputFilesFileIdGetRequest.mjs +0 -2
  587. package/dist/esm/api/resources/files/client/requests/index.d.mts +0 -3
  588. package/dist/esm/api/resources/files/client/requests/index.mjs +0 -1
  589. package/dist/esm/api/resources/files/index.d.mts +0 -1
  590. package/dist/esm/api/resources/files/index.mjs +0 -1
  591. package/dist/esm/api/resources/index.d.mts +0 -15
  592. package/dist/esm/api/resources/index.mjs +0 -15
  593. package/dist/esm/api/resources/profiles/client/Client.d.mts +0 -93
  594. package/dist/esm/api/resources/profiles/client/Client.mjs +0 -379
  595. package/dist/esm/api/resources/profiles/client/index.d.mts +0 -1
  596. package/dist/esm/api/resources/profiles/client/index.mjs +0 -1
  597. package/dist/esm/api/resources/profiles/client/requests/DeleteBrowserProfileProfilesProfileIdDeleteRequest.d.mts +0 -9
  598. package/dist/esm/api/resources/profiles/client/requests/DeleteBrowserProfileProfilesProfileIdDeleteRequest.mjs +0 -2
  599. package/dist/esm/api/resources/profiles/client/requests/GetProfileProfilesProfileIdGetRequest.d.mts +0 -9
  600. package/dist/esm/api/resources/profiles/client/requests/GetProfileProfilesProfileIdGetRequest.mjs +0 -2
  601. package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.mts +0 -8
  602. package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.mjs +0 -2
  603. package/dist/esm/api/resources/profiles/client/requests/ProfileCreateRequest.d.mts +0 -8
  604. package/dist/esm/api/resources/profiles/client/requests/ProfileCreateRequest.mjs +0 -2
  605. package/dist/esm/api/resources/profiles/client/requests/ProfileUpdateRequest.d.mts +0 -11
  606. package/dist/esm/api/resources/profiles/client/requests/ProfileUpdateRequest.mjs +0 -2
  607. package/dist/esm/api/resources/profiles/client/requests/index.d.mts +0 -5
  608. package/dist/esm/api/resources/profiles/client/requests/index.mjs +0 -1
  609. package/dist/esm/api/resources/profiles/index.d.mts +0 -1
  610. package/dist/esm/api/resources/profiles/index.mjs +0 -1
  611. package/dist/esm/api/resources/sessions/client/Client.d.mts +0 -140
  612. package/dist/esm/api/resources/sessions/client/Client.mjs +0 -588
  613. package/dist/esm/api/resources/sessions/client/index.d.mts +0 -1
  614. package/dist/esm/api/resources/sessions/client/index.mjs +0 -1
  615. package/dist/esm/api/resources/sessions/client/requests/CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest.d.mts +0 -9
  616. package/dist/esm/api/resources/sessions/client/requests/CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest.mjs +0 -2
  617. package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +0 -23
  618. package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.mjs +0 -2
  619. package/dist/esm/api/resources/sessions/client/requests/DeleteSessionPublicShareSessionsSessionIdPublicShareDeleteRequest.d.mts +0 -9
  620. package/dist/esm/api/resources/sessions/client/requests/DeleteSessionPublicShareSessionsSessionIdPublicShareDeleteRequest.mjs +0 -2
  621. package/dist/esm/api/resources/sessions/client/requests/DeleteSessionSessionsSessionIdDeleteRequest.d.mts +0 -9
  622. package/dist/esm/api/resources/sessions/client/requests/DeleteSessionSessionsSessionIdDeleteRequest.mjs +0 -2
  623. package/dist/esm/api/resources/sessions/client/requests/GetSessionPublicShareSessionsSessionIdPublicShareGetRequest.d.mts +0 -9
  624. package/dist/esm/api/resources/sessions/client/requests/GetSessionPublicShareSessionsSessionIdPublicShareGetRequest.mjs +0 -2
  625. package/dist/esm/api/resources/sessions/client/requests/GetSessionSessionsSessionIdGetRequest.d.mts +0 -9
  626. package/dist/esm/api/resources/sessions/client/requests/GetSessionSessionsSessionIdGetRequest.mjs +0 -2
  627. package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.mts +0 -10
  628. package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.mjs +0 -2
  629. package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.d.mts +0 -13
  630. package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.mjs +0 -2
  631. package/dist/esm/api/resources/sessions/client/requests/index.d.mts +0 -8
  632. package/dist/esm/api/resources/sessions/client/requests/index.mjs +0 -1
  633. package/dist/esm/api/resources/sessions/index.d.mts +0 -1
  634. package/dist/esm/api/resources/sessions/index.mjs +0 -1
  635. package/dist/esm/api/resources/skills/client/Client.d.mts +0 -202
  636. package/dist/esm/api/resources/skills/client/Client.mjs +0 -855
  637. package/dist/esm/api/resources/skills/client/index.d.mts +0 -1
  638. package/dist/esm/api/resources/skills/client/index.mjs +0 -1
  639. package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelGenerationPostRequest.d.mts +0 -9
  640. package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelGenerationPostRequest.mjs +0 -2
  641. package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.d.mts +0 -9
  642. package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.mjs +0 -2
  643. package/dist/esm/api/resources/skills/client/requests/CreateSkillRequest.d.mts +0 -17
  644. package/dist/esm/api/resources/skills/client/requests/CreateSkillRequest.mjs +0 -2
  645. package/dist/esm/api/resources/skills/client/requests/DeleteSkillSkillsSkillIdDeleteRequest.d.mts +0 -9
  646. package/dist/esm/api/resources/skills/client/requests/DeleteSkillSkillsSkillIdDeleteRequest.mjs +0 -2
  647. package/dist/esm/api/resources/skills/client/requests/ExecuteSkillRequest.d.mts +0 -11
  648. package/dist/esm/api/resources/skills/client/requests/ExecuteSkillRequest.mjs +0 -2
  649. package/dist/esm/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.d.mts +0 -12
  650. package/dist/esm/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.mjs +0 -2
  651. package/dist/esm/api/resources/skills/client/requests/GetSkillExecutionOutputSkillsSkillIdExecutionsExecutionIdOutputGetRequest.d.mts +0 -11
  652. package/dist/esm/api/resources/skills/client/requests/GetSkillExecutionOutputSkillsSkillIdExecutionsExecutionIdOutputGetRequest.mjs +0 -2
  653. package/dist/esm/api/resources/skills/client/requests/GetSkillSkillsSkillIdGetRequest.d.mts +0 -9
  654. package/dist/esm/api/resources/skills/client/requests/GetSkillSkillsSkillIdGetRequest.mjs +0 -2
  655. package/dist/esm/api/resources/skills/client/requests/ListSkillExecutionsSkillsSkillIdExecutionsGetRequest.d.mts +0 -11
  656. package/dist/esm/api/resources/skills/client/requests/ListSkillExecutionsSkillsSkillIdExecutionsGetRequest.mjs +0 -2
  657. package/dist/esm/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.d.mts +0 -15
  658. package/dist/esm/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.mjs +0 -2
  659. package/dist/esm/api/resources/skills/client/requests/RefineSkillRequest.d.mts +0 -16
  660. package/dist/esm/api/resources/skills/client/requests/RefineSkillRequest.mjs +0 -2
  661. package/dist/esm/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.d.mts +0 -9
  662. package/dist/esm/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.mjs +0 -2
  663. package/dist/esm/api/resources/skills/client/requests/UpdateSkillRequest.d.mts +0 -20
  664. package/dist/esm/api/resources/skills/client/requests/UpdateSkillRequest.mjs +0 -2
  665. package/dist/esm/api/resources/skills/client/requests/index.d.mts +0 -11
  666. package/dist/esm/api/resources/skills/client/requests/index.mjs +0 -1
  667. package/dist/esm/api/resources/skills/index.d.mts +0 -1
  668. package/dist/esm/api/resources/skills/index.mjs +0 -1
  669. package/dist/esm/api/resources/skillsMarketplace/client/Client.d.mts +0 -79
  670. package/dist/esm/api/resources/skillsMarketplace/client/Client.mjs +0 -324
  671. package/dist/esm/api/resources/skillsMarketplace/client/index.d.mts +0 -1
  672. package/dist/esm/api/resources/skillsMarketplace/client/index.mjs +0 -1
  673. package/dist/esm/api/resources/skillsMarketplace/client/requests/CloneSkillMarketplaceSkillsSkillIdClonePostRequest.d.mts +0 -9
  674. package/dist/esm/api/resources/skillsMarketplace/client/requests/CloneSkillMarketplaceSkillsSkillIdClonePostRequest.mjs +0 -2
  675. package/dist/esm/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.d.mts +0 -12
  676. package/dist/esm/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.mjs +0 -2
  677. package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillIdGetRequest.d.mts +0 -9
  678. package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillIdGetRequest.mjs +0 -2
  679. package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.d.mts +0 -9
  680. package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.mjs +0 -2
  681. package/dist/esm/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.d.mts +0 -13
  682. package/dist/esm/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.mjs +0 -2
  683. package/dist/esm/api/resources/skillsMarketplace/client/requests/index.d.mts +0 -4
  684. package/dist/esm/api/resources/skillsMarketplace/client/requests/index.mjs +0 -1
  685. package/dist/esm/api/resources/skillsMarketplace/index.d.mts +0 -1
  686. package/dist/esm/api/resources/skillsMarketplace/index.mjs +0 -1
  687. package/dist/esm/api/resources/tasks/client/Client.d.mts +0 -131
  688. package/dist/esm/api/resources/tasks/client/Client.mjs +0 -488
  689. package/dist/esm/api/resources/tasks/client/index.d.mts +0 -1
  690. package/dist/esm/api/resources/tasks/client/index.mjs +0 -1
  691. package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.d.mts +0 -53
  692. package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.mjs +0 -2
  693. package/dist/esm/api/resources/tasks/client/requests/GetTaskLogsTasksTaskIdLogsGetRequest.d.mts +0 -9
  694. package/dist/esm/api/resources/tasks/client/requests/GetTaskLogsTasksTaskIdLogsGetRequest.mjs +0 -2
  695. package/dist/esm/api/resources/tasks/client/requests/GetTaskStatusTasksTaskIdStatusGetRequest.d.mts +0 -9
  696. package/dist/esm/api/resources/tasks/client/requests/GetTaskStatusTasksTaskIdStatusGetRequest.mjs +0 -2
  697. package/dist/esm/api/resources/tasks/client/requests/GetTaskTasksTaskIdGetRequest.d.mts +0 -9
  698. package/dist/esm/api/resources/tasks/client/requests/GetTaskTasksTaskIdGetRequest.mjs +0 -2
  699. package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.mts +0 -13
  700. package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.mjs +0 -2
  701. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.d.mts +0 -13
  702. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.mjs +0 -2
  703. package/dist/esm/api/resources/tasks/client/requests/index.d.mts +0 -6
  704. package/dist/esm/api/resources/tasks/client/requests/index.mjs +0 -1
  705. package/dist/esm/api/resources/tasks/index.d.mts +0 -1
  706. package/dist/esm/api/resources/tasks/index.mjs +0 -1
  707. package/dist/esm/api/resources/workflows/client/Client.d.mts +0 -306
  708. package/dist/esm/api/resources/workflows/client/Client.mjs +0 -1246
  709. package/dist/esm/api/resources/workflows/client/index.d.mts +0 -1
  710. package/dist/esm/api/resources/workflows/client/index.mjs +0 -1
  711. package/dist/esm/api/resources/workflows/client/requests/CancelExecutionWorkflowsExecutionsExecutionIdCancelPatchRequest.d.mts +0 -9
  712. package/dist/esm/api/resources/workflows/client/requests/CancelExecutionWorkflowsExecutionsExecutionIdCancelPatchRequest.mjs +0 -2
  713. package/dist/esm/api/resources/workflows/client/requests/DeleteWorkflowWorkflowsWorkflowIdDeleteRequest.d.mts +0 -9
  714. package/dist/esm/api/resources/workflows/client/requests/DeleteWorkflowWorkflowsWorkflowIdDeleteRequest.mjs +0 -2
  715. package/dist/esm/api/resources/workflows/client/requests/GetExecutionLogsWorkflowsExecutionsExecutionIdLogsGetRequest.d.mts +0 -9
  716. package/dist/esm/api/resources/workflows/client/requests/GetExecutionLogsWorkflowsExecutionsExecutionIdLogsGetRequest.mjs +0 -2
  717. package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.mts +0 -9
  718. package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.mjs +0 -2
  719. package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.mts +0 -9
  720. package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.mjs +0 -2
  721. package/dist/esm/api/resources/workflows/client/requests/GetExecutionWorkflowsExecutionsExecutionIdGetRequest.d.mts +0 -9
  722. package/dist/esm/api/resources/workflows/client/requests/GetExecutionWorkflowsExecutionsExecutionIdGetRequest.mjs +0 -2
  723. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.mts +0 -9
  724. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.mjs +0 -2
  725. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowWorkflowsWorkflowIdGetRequest.d.mts +0 -9
  726. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowWorkflowsWorkflowIdGetRequest.mjs +0 -2
  727. package/dist/esm/api/resources/workflows/client/requests/ListAllExecutionsWorkflowsExecutionsGetRequest.d.mts +0 -11
  728. package/dist/esm/api/resources/workflows/client/requests/ListAllExecutionsWorkflowsExecutionsGetRequest.mjs +0 -2
  729. package/dist/esm/api/resources/workflows/client/requests/ListWorkflowExecutionsWorkflowsWorkflowIdExecutionsGetRequest.d.mts +0 -14
  730. package/dist/esm/api/resources/workflows/client/requests/ListWorkflowExecutionsWorkflowsWorkflowIdExecutionsGetRequest.mjs +0 -2
  731. package/dist/esm/api/resources/workflows/client/requests/ListWorkflowsWorkflowsGetRequest.d.mts +0 -10
  732. package/dist/esm/api/resources/workflows/client/requests/ListWorkflowsWorkflowsGetRequest.mjs +0 -2
  733. package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.d.mts +0 -18
  734. package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.mjs +0 -2
  735. package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateRequest.d.mts +0 -14
  736. package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateRequest.mjs +0 -2
  737. package/dist/esm/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.mts +0 -13
  738. package/dist/esm/api/resources/workflows/client/requests/WorkflowExecuteRequest.mjs +0 -2
  739. package/dist/esm/api/resources/workflows/client/requests/WorkflowGenerateRequest.d.mts +0 -36
  740. package/dist/esm/api/resources/workflows/client/requests/WorkflowGenerateRequest.mjs +0 -2
  741. package/dist/esm/api/resources/workflows/client/requests/WorkflowUpdateRequest.d.mts +0 -15
  742. package/dist/esm/api/resources/workflows/client/requests/WorkflowUpdateRequest.mjs +0 -2
  743. package/dist/esm/api/resources/workflows/client/requests/WorkflowYamlPresignedUploadRequest.d.mts +0 -14
  744. package/dist/esm/api/resources/workflows/client/requests/WorkflowYamlPresignedUploadRequest.mjs +0 -2
  745. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +0 -17
  746. package/dist/esm/api/resources/workflows/client/requests/index.mjs +0 -1
  747. package/dist/esm/api/resources/workflows/index.d.mts +0 -1
  748. package/dist/esm/api/resources/workflows/index.mjs +0 -1
  749. package/dist/esm/api/resources/workflows/types/ExecuteWorkflowWorkflowsWorkflowIdExecutePostResponse.d.mts +0 -2
  750. package/dist/esm/api/resources/workflows/types/ExecuteWorkflowWorkflowsWorkflowIdExecutePostResponse.mjs +0 -2
  751. package/dist/esm/api/resources/workflows/types/index.d.mts +0 -1
  752. package/dist/esm/api/resources/workflows/types/index.mjs +0 -1
  753. package/dist/esm/api/types/AccountNotFoundError.d.mts +0 -6
  754. package/dist/esm/api/types/AccountNotFoundError.mjs +0 -2
  755. package/dist/esm/api/types/AccountView.d.mts +0 -20
  756. package/dist/esm/api/types/AccountView.mjs +0 -2
  757. package/dist/esm/api/types/AppApiV2MarketplaceSkillsViewsParameterSchema.d.mts +0 -11
  758. package/dist/esm/api/types/AppApiV2MarketplaceSkillsViewsParameterSchema.mjs +0 -2
  759. package/dist/esm/api/types/AppApiV2MarketplaceSkillsViewsParameterType.d.mts +0 -9
  760. package/dist/esm/api/types/AppApiV2MarketplaceSkillsViewsParameterType.mjs +0 -9
  761. package/dist/esm/api/types/AppApiV2SkillsViewsInsufficientCreditsError.d.mts +0 -6
  762. package/dist/esm/api/types/AppApiV2SkillsViewsInsufficientCreditsError.mjs +0 -2
  763. package/dist/esm/api/types/AppApiV2SkillsViewsParameterSchema.d.mts +0 -11
  764. package/dist/esm/api/types/AppApiV2SkillsViewsParameterSchema.mjs +0 -2
  765. package/dist/esm/api/types/AppApiV2SkillsViewsParameterType.d.mts +0 -10
  766. package/dist/esm/api/types/AppApiV2SkillsViewsParameterType.mjs +0 -10
  767. package/dist/esm/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.d.mts +0 -6
  768. package/dist/esm/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs +0 -2
  769. package/dist/esm/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.d.mts +0 -6
  770. package/dist/esm/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs +0 -2
  771. package/dist/esm/api/types/AppViewsV2ErrorViewsInsufficientCreditsError.d.mts +0 -6
  772. package/dist/esm/api/types/AppViewsV2ErrorViewsInsufficientCreditsError.mjs +0 -2
  773. package/dist/esm/api/types/BadRequestErrorBody.d.mts +0 -2
  774. package/dist/esm/api/types/BadRequestErrorBody.mjs +0 -2
  775. package/dist/esm/api/types/BrowserSessionItemView.d.mts +0 -26
  776. package/dist/esm/api/types/BrowserSessionItemView.mjs +0 -2
  777. package/dist/esm/api/types/BrowserSessionListResponse.d.mts +0 -14
  778. package/dist/esm/api/types/BrowserSessionListResponse.mjs +0 -2
  779. package/dist/esm/api/types/BrowserSessionStatus.d.mts +0 -12
  780. package/dist/esm/api/types/BrowserSessionStatus.mjs +0 -12
  781. package/dist/esm/api/types/BrowserSessionUpdateAction.d.mts +0 -10
  782. package/dist/esm/api/types/BrowserSessionUpdateAction.mjs +0 -10
  783. package/dist/esm/api/types/BrowserSessionView.d.mts +0 -26
  784. package/dist/esm/api/types/BrowserSessionView.mjs +0 -2
  785. package/dist/esm/api/types/CannotDeleteSkillWhileGeneratingError.d.mts +0 -6
  786. package/dist/esm/api/types/CannotDeleteSkillWhileGeneratingError.mjs +0 -2
  787. package/dist/esm/api/types/CannotRollbackPublicSkillError.d.mts +0 -6
  788. package/dist/esm/api/types/CannotRollbackPublicSkillError.mjs +0 -2
  789. package/dist/esm/api/types/CommonUtilsErrorsInsufficientCreditsError.d.mts +0 -6
  790. package/dist/esm/api/types/CommonUtilsErrorsInsufficientCreditsError.mjs +0 -2
  791. package/dist/esm/api/types/ConcurrentSkillCreationsError.d.mts +0 -6
  792. package/dist/esm/api/types/ConcurrentSkillCreationsError.mjs +0 -2
  793. package/dist/esm/api/types/CreateSkillResponse.d.mts +0 -7
  794. package/dist/esm/api/types/CreateSkillResponse.mjs +0 -2
  795. package/dist/esm/api/types/CustomProxy.d.mts +0 -13
  796. package/dist/esm/api/types/CustomProxy.mjs +0 -2
  797. package/dist/esm/api/types/DownloadUrlGenerationError.d.mts +0 -6
  798. package/dist/esm/api/types/DownloadUrlGenerationError.mjs +0 -2
  799. package/dist/esm/api/types/EnabledSkillsLimitExceededError.d.mts +0 -6
  800. package/dist/esm/api/types/EnabledSkillsLimitExceededError.mjs +0 -2
  801. package/dist/esm/api/types/ExecuteSkillRequest.d.mts +0 -9
  802. package/dist/esm/api/types/ExecuteSkillRequest.mjs +0 -2
  803. package/dist/esm/api/types/ExecuteSkillResponse.d.mts +0 -15
  804. package/dist/esm/api/types/ExecuteSkillResponse.mjs +0 -2
  805. package/dist/esm/api/types/ExecutionMode.d.mts +0 -12
  806. package/dist/esm/api/types/ExecutionMode.mjs +0 -12
  807. package/dist/esm/api/types/FileView.d.mts +0 -9
  808. package/dist/esm/api/types/FileView.mjs +0 -2
  809. package/dist/esm/api/types/GenerationNotCancellableError.d.mts +0 -6
  810. package/dist/esm/api/types/GenerationNotCancellableError.mjs +0 -2
  811. package/dist/esm/api/types/HttpValidationError.d.mts +0 -4
  812. package/dist/esm/api/types/HttpValidationError.mjs +0 -2
  813. package/dist/esm/api/types/InsufficientCreditsError.d.mts +0 -6
  814. package/dist/esm/api/types/InsufficientCreditsError.mjs +0 -2
  815. package/dist/esm/api/types/InternalServerErrorBody.d.mts +0 -6
  816. package/dist/esm/api/types/InternalServerErrorBody.mjs +0 -2
  817. package/dist/esm/api/types/MarketplaceSkillListResponse.d.mts +0 -14
  818. package/dist/esm/api/types/MarketplaceSkillListResponse.mjs +0 -2
  819. package/dist/esm/api/types/MarketplaceSkillResponse.d.mts +0 -38
  820. package/dist/esm/api/types/MarketplaceSkillResponse.mjs +0 -2
  821. package/dist/esm/api/types/NotFoundErrorBody.d.mts +0 -2
  822. package/dist/esm/api/types/NotFoundErrorBody.mjs +0 -2
  823. package/dist/esm/api/types/OutputFileNotFoundError.d.mts +0 -6
  824. package/dist/esm/api/types/OutputFileNotFoundError.mjs +0 -2
  825. package/dist/esm/api/types/ParameterSchema.d.mts +0 -12
  826. package/dist/esm/api/types/ParameterSchema.mjs +0 -2
  827. package/dist/esm/api/types/ParameterType.d.mts +0 -10
  828. package/dist/esm/api/types/ParameterType.mjs +0 -10
  829. package/dist/esm/api/types/PlanInfo.d.mts +0 -15
  830. package/dist/esm/api/types/PlanInfo.mjs +0 -2
  831. package/dist/esm/api/types/ProfileListResponse.d.mts +0 -14
  832. package/dist/esm/api/types/ProfileListResponse.mjs +0 -2
  833. package/dist/esm/api/types/ProfileNotFoundError.d.mts +0 -6
  834. package/dist/esm/api/types/ProfileNotFoundError.mjs +0 -2
  835. package/dist/esm/api/types/ProfileView.d.mts +0 -19
  836. package/dist/esm/api/types/ProfileView.mjs +0 -2
  837. package/dist/esm/api/types/ProxyCountryCode.d.mts +0 -250
  838. package/dist/esm/api/types/ProxyCountryCode.mjs +0 -250
  839. package/dist/esm/api/types/RefineSkillResponse.d.mts +0 -7
  840. package/dist/esm/api/types/RefineSkillResponse.mjs +0 -2
  841. package/dist/esm/api/types/SessionHasRunningTaskError.d.mts +0 -6
  842. package/dist/esm/api/types/SessionHasRunningTaskError.mjs +0 -2
  843. package/dist/esm/api/types/SessionItemView.d.mts +0 -24
  844. package/dist/esm/api/types/SessionItemView.mjs +0 -2
  845. package/dist/esm/api/types/SessionListResponse.d.mts +0 -14
  846. package/dist/esm/api/types/SessionListResponse.mjs +0 -2
  847. package/dist/esm/api/types/SessionNotFoundError.d.mts +0 -6
  848. package/dist/esm/api/types/SessionNotFoundError.mjs +0 -2
  849. package/dist/esm/api/types/SessionStatus.d.mts +0 -12
  850. package/dist/esm/api/types/SessionStatus.mjs +0 -12
  851. package/dist/esm/api/types/SessionStoppedError.d.mts +0 -6
  852. package/dist/esm/api/types/SessionStoppedError.mjs +0 -2
  853. package/dist/esm/api/types/SessionTimeoutLimitExceededError.d.mts +0 -6
  854. package/dist/esm/api/types/SessionTimeoutLimitExceededError.mjs +0 -2
  855. package/dist/esm/api/types/SessionUpdateAction.d.mts +0 -10
  856. package/dist/esm/api/types/SessionUpdateAction.mjs +0 -10
  857. package/dist/esm/api/types/SessionView.d.mts +0 -28
  858. package/dist/esm/api/types/SessionView.mjs +0 -2
  859. package/dist/esm/api/types/ShareNotFoundError.d.mts +0 -6
  860. package/dist/esm/api/types/ShareNotFoundError.mjs +0 -2
  861. package/dist/esm/api/types/ShareView.d.mts +0 -13
  862. package/dist/esm/api/types/ShareView.mjs +0 -2
  863. package/dist/esm/api/types/SkillCategory.d.mts +0 -20
  864. package/dist/esm/api/types/SkillCategory.mjs +0 -20
  865. package/dist/esm/api/types/SkillExecutionListResponse.d.mts +0 -14
  866. package/dist/esm/api/types/SkillExecutionListResponse.mjs +0 -2
  867. package/dist/esm/api/types/SkillExecutionOutputResponse.d.mts +0 -7
  868. package/dist/esm/api/types/SkillExecutionOutputResponse.mjs +0 -2
  869. package/dist/esm/api/types/SkillExecutionView.d.mts +0 -21
  870. package/dist/esm/api/types/SkillExecutionView.mjs +0 -2
  871. package/dist/esm/api/types/SkillListResponse.d.mts +0 -14
  872. package/dist/esm/api/types/SkillListResponse.mjs +0 -2
  873. package/dist/esm/api/types/SkillNotFinishedError.d.mts +0 -6
  874. package/dist/esm/api/types/SkillNotFinishedError.mjs +0 -2
  875. package/dist/esm/api/types/SkillNotFoundError.d.mts +0 -6
  876. package/dist/esm/api/types/SkillNotFoundError.mjs +0 -2
  877. package/dist/esm/api/types/SkillResponse.d.mts +0 -52
  878. package/dist/esm/api/types/SkillResponse.mjs +0 -2
  879. package/dist/esm/api/types/SkillsGenerationStatus.d.mts +0 -10
  880. package/dist/esm/api/types/SkillsGenerationStatus.mjs +0 -10
  881. package/dist/esm/api/types/SupportedLlMs.d.mts +0 -22
  882. package/dist/esm/api/types/SupportedLlMs.mjs +0 -22
  883. package/dist/esm/api/types/TaskCreatedResponse.d.mts +0 -9
  884. package/dist/esm/api/types/TaskCreatedResponse.mjs +0 -2
  885. package/dist/esm/api/types/TaskItemView.d.mts +0 -37
  886. package/dist/esm/api/types/TaskItemView.mjs +0 -2
  887. package/dist/esm/api/types/TaskListResponse.d.mts +0 -14
  888. package/dist/esm/api/types/TaskListResponse.mjs +0 -2
  889. package/dist/esm/api/types/TaskLogFileResponse.d.mts +0 -7
  890. package/dist/esm/api/types/TaskLogFileResponse.mjs +0 -2
  891. package/dist/esm/api/types/TaskNotFoundError.d.mts +0 -6
  892. package/dist/esm/api/types/TaskNotFoundError.mjs +0 -2
  893. package/dist/esm/api/types/TaskOutputFileResponse.d.mts +0 -11
  894. package/dist/esm/api/types/TaskOutputFileResponse.mjs +0 -2
  895. package/dist/esm/api/types/TaskStatus.d.mts +0 -16
  896. package/dist/esm/api/types/TaskStatus.mjs +0 -16
  897. package/dist/esm/api/types/TaskStatusView.d.mts +0 -19
  898. package/dist/esm/api/types/TaskStatusView.mjs +0 -2
  899. package/dist/esm/api/types/TaskStepView.d.mts +0 -19
  900. package/dist/esm/api/types/TaskStepView.mjs +0 -2
  901. package/dist/esm/api/types/TaskUpdateAction.d.mts +0 -12
  902. package/dist/esm/api/types/TaskUpdateAction.mjs +0 -12
  903. package/dist/esm/api/types/TaskView.d.mts +0 -39
  904. package/dist/esm/api/types/TaskView.mjs +0 -2
  905. package/dist/esm/api/types/TooManyConcurrentActiveSessionsError.d.mts +0 -6
  906. package/dist/esm/api/types/TooManyConcurrentActiveSessionsError.mjs +0 -2
  907. package/dist/esm/api/types/UnsupportedContentTypeError.d.mts +0 -6
  908. package/dist/esm/api/types/UnsupportedContentTypeError.mjs +0 -2
  909. package/dist/esm/api/types/UploadFilePresignedUrlResponse.d.mts +0 -22
  910. package/dist/esm/api/types/UploadFilePresignedUrlResponse.mjs +0 -8
  911. package/dist/esm/api/types/UploadFileRequest.d.mts +0 -30
  912. package/dist/esm/api/types/UploadFileRequest.mjs +0 -21
  913. package/dist/esm/api/types/ValidationError.d.mts +0 -11
  914. package/dist/esm/api/types/ValidationError.mjs +0 -2
  915. package/dist/esm/api/types/WorkflowCreateFromTaskResponse.d.mts +0 -11
  916. package/dist/esm/api/types/WorkflowCreateFromTaskResponse.mjs +0 -2
  917. package/dist/esm/api/types/WorkflowExecutionCreatedResponse.d.mts +0 -12
  918. package/dist/esm/api/types/WorkflowExecutionCreatedResponse.mjs +0 -2
  919. package/dist/esm/api/types/WorkflowExecutionItemView.d.mts +0 -28
  920. package/dist/esm/api/types/WorkflowExecutionItemView.mjs +0 -2
  921. package/dist/esm/api/types/WorkflowExecutionListResponse.d.mts +0 -14
  922. package/dist/esm/api/types/WorkflowExecutionListResponse.mjs +0 -2
  923. package/dist/esm/api/types/WorkflowExecutionLogResponse.d.mts +0 -7
  924. package/dist/esm/api/types/WorkflowExecutionLogResponse.mjs +0 -2
  925. package/dist/esm/api/types/WorkflowExecutionMediaStepView.d.mts +0 -13
  926. package/dist/esm/api/types/WorkflowExecutionMediaStepView.mjs +0 -2
  927. package/dist/esm/api/types/WorkflowExecutionMediaView.d.mts +0 -8
  928. package/dist/esm/api/types/WorkflowExecutionMediaView.mjs +0 -2
  929. package/dist/esm/api/types/WorkflowExecutionResponse.d.mts +0 -42
  930. package/dist/esm/api/types/WorkflowExecutionResponse.mjs +0 -2
  931. package/dist/esm/api/types/WorkflowExecutionStateView.d.mts +0 -32
  932. package/dist/esm/api/types/WorkflowExecutionStateView.mjs +0 -2
  933. package/dist/esm/api/types/WorkflowExecutionStatus.d.mts +0 -18
  934. package/dist/esm/api/types/WorkflowExecutionStatus.mjs +0 -18
  935. package/dist/esm/api/types/WorkflowExecutionStepView.d.mts +0 -29
  936. package/dist/esm/api/types/WorkflowExecutionStepView.mjs +0 -2
  937. package/dist/esm/api/types/WorkflowGenerateResponse.d.mts +0 -11
  938. package/dist/esm/api/types/WorkflowGenerateResponse.mjs +0 -2
  939. package/dist/esm/api/types/WorkflowGenerationStateView.d.mts +0 -24
  940. package/dist/esm/api/types/WorkflowGenerationStateView.mjs +0 -2
  941. package/dist/esm/api/types/WorkflowGenerationStatus.d.mts +0 -8
  942. package/dist/esm/api/types/WorkflowGenerationStatus.mjs +0 -8
  943. package/dist/esm/api/types/WorkflowGenerationStepView.d.mts +0 -19
  944. package/dist/esm/api/types/WorkflowGenerationStepView.mjs +0 -2
  945. package/dist/esm/api/types/WorkflowItemView.d.mts +0 -26
  946. package/dist/esm/api/types/WorkflowItemView.mjs +0 -2
  947. package/dist/esm/api/types/WorkflowListResponse.d.mts +0 -14
  948. package/dist/esm/api/types/WorkflowListResponse.mjs +0 -2
  949. package/dist/esm/api/types/WorkflowResponse.d.mts +0 -40
  950. package/dist/esm/api/types/WorkflowResponse.mjs +0 -2
  951. package/dist/esm/api/types/WorkflowYamlPresignedUploadResponse.d.mts +0 -22
  952. package/dist/esm/api/types/WorkflowYamlPresignedUploadResponse.mjs +0 -8
  953. package/dist/esm/api/types/index.d.mts +0 -73
  954. package/dist/esm/api/types/index.mjs +0 -73
  955. package/dist/esm/core/exports.d.mts +0 -1
  956. package/dist/esm/core/exports.mjs +0 -1
  957. package/dist/esm/core/fetcher/APIResponse.d.mts +0 -20
  958. package/dist/esm/core/fetcher/APIResponse.mjs +0 -1
  959. package/dist/esm/core/fetcher/BinaryResponse.d.mts +0 -20
  960. package/dist/esm/core/fetcher/BinaryResponse.mjs +0 -14
  961. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +0 -13
  962. package/dist/esm/core/fetcher/EndpointMetadata.mjs +0 -1
  963. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +0 -12
  964. package/dist/esm/core/fetcher/EndpointSupplier.mjs +0 -19
  965. package/dist/esm/core/fetcher/Fetcher.d.mts +0 -45
  966. package/dist/esm/core/fetcher/Fetcher.mjs +0 -311
  967. package/dist/esm/core/fetcher/Headers.d.mts +0 -2
  968. package/dist/esm/core/fetcher/Headers.mjs +0 -82
  969. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +0 -58
  970. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +0 -99
  971. package/dist/esm/core/fetcher/RawResponse.d.mts +0 -29
  972. package/dist/esm/core/fetcher/RawResponse.mjs +0 -40
  973. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
  974. package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
  975. package/dist/esm/core/fetcher/Supplier.d.mts +0 -4
  976. package/dist/esm/core/fetcher/Supplier.mjs +0 -19
  977. package/dist/esm/core/fetcher/createRequestUrl.d.mts +0 -1
  978. package/dist/esm/core/fetcher/createRequestUrl.mjs +0 -5
  979. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +0 -1
  980. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +0 -42
  981. package/dist/esm/core/fetcher/getFetchFn.d.mts +0 -1
  982. package/dist/esm/core/fetcher/getFetchFn.mjs +0 -14
  983. package/dist/esm/core/fetcher/getHeader.d.mts +0 -1
  984. package/dist/esm/core/fetcher/getHeader.mjs +0 -8
  985. package/dist/esm/core/fetcher/getRequestBody.d.mts +0 -7
  986. package/dist/esm/core/fetcher/getRequestBody.mjs +0 -24
  987. package/dist/esm/core/fetcher/getResponseBody.d.mts +0 -1
  988. package/dist/esm/core/fetcher/getResponseBody.mjs +0 -52
  989. package/dist/esm/core/fetcher/index.d.mts +0 -11
  990. package/dist/esm/core/fetcher/index.mjs +0 -6
  991. package/dist/esm/core/fetcher/makeRequest.d.mts +0 -1
  992. package/dist/esm/core/fetcher/makeRequest.mjs +0 -36
  993. package/dist/esm/core/fetcher/requestWithRetries.d.mts +0 -1
  994. package/dist/esm/core/fetcher/requestWithRetries.mjs +0 -64
  995. package/dist/esm/core/fetcher/signals.d.mts +0 -5
  996. package/dist/esm/core/fetcher/signals.mjs +0 -20
  997. package/dist/esm/core/headers.d.mts +0 -2
  998. package/dist/esm/core/headers.mjs +0 -27
  999. package/dist/esm/core/index.d.mts +0 -4
  1000. package/dist/esm/core/index.mjs +0 -4
  1001. package/dist/esm/core/json.d.mts +0 -15
  1002. package/dist/esm/core/json.mjs +0 -19
  1003. package/dist/esm/core/logging/exports.d.mts +0 -18
  1004. package/dist/esm/core/logging/exports.mjs +0 -9
  1005. package/dist/esm/core/logging/index.d.mts +0 -1
  1006. package/dist/esm/core/logging/index.mjs +0 -1
  1007. package/dist/esm/core/logging/logger.d.mts +0 -126
  1008. package/dist/esm/core/logging/logger.mjs +0 -138
  1009. package/dist/esm/core/runtime/index.d.mts +0 -1
  1010. package/dist/esm/core/runtime/index.mjs +0 -1
  1011. package/dist/esm/core/runtime/runtime.d.mts +0 -9
  1012. package/dist/esm/core/runtime/runtime.mjs +0 -99
  1013. package/dist/esm/core/url/encodePathParam.d.mts +0 -1
  1014. package/dist/esm/core/url/encodePathParam.mjs +0 -18
  1015. package/dist/esm/core/url/index.d.mts +0 -3
  1016. package/dist/esm/core/url/index.mjs +0 -3
  1017. package/dist/esm/core/url/join.d.mts +0 -1
  1018. package/dist/esm/core/url/join.mjs +0 -65
  1019. package/dist/esm/core/url/qs.d.mts +0 -6
  1020. package/dist/esm/core/url/qs.mjs +0 -61
  1021. package/dist/esm/environments.d.mts +0 -4
  1022. package/dist/esm/environments.mjs +0 -4
  1023. package/dist/esm/errors/BrowserUseError.d.mts +0 -12
  1024. package/dist/esm/errors/BrowserUseError.mjs +0 -24
  1025. package/dist/esm/errors/BrowserUseTimeoutError.d.mts +0 -3
  1026. package/dist/esm/errors/BrowserUseTimeoutError.mjs +0 -7
  1027. package/dist/esm/errors/index.d.mts +0 -2
  1028. package/dist/esm/errors/index.mjs +0 -2
  1029. package/dist/esm/exports.d.mts +0 -1
  1030. package/dist/esm/exports.mjs +0 -1
  1031. package/dist/esm/index.d.mts +0 -7
  1032. package/dist/esm/index.mjs +0 -5
  1033. package/dist/esm/version.d.mts +0 -1
  1034. package/dist/esm/version.mjs +0 -1
  1035. package/dist/esm/wrapper/BrowserUseClient.d.mts +0 -6
  1036. package/dist/esm/wrapper/BrowserUseClient.mjs +0 -8
  1037. package/dist/esm/wrapper/api/BrowserUseTasks.d.mts +0 -15
  1038. package/dist/esm/wrapper/api/BrowserUseTasks.mjs +0 -53
  1039. package/dist/esm/wrapper/lib/parse.d.mts +0 -69
  1040. package/dist/esm/wrapper/lib/parse.mjs +0 -193
  1041. package/dist/esm/wrapper/lib/types.d.mts +0 -74
  1042. package/dist/esm/wrapper/lib/types.mjs +0 -9
  1043. package/dist/esm/wrapper/lib/webhooks.d.mts +0 -92
  1044. package/dist/esm/wrapper/lib/webhooks.mjs +0 -89
  1045. package/reference.md +0 -2771
@@ -1,625 +0,0 @@
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
- var __rest = (this && this.__rest) || function (s, e) {
46
- var t = {};
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
- t[p] = s[p];
49
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
- t[p[i]] = s[p[i]];
53
- }
54
- return t;
55
- };
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- exports.Sessions = void 0;
58
- const headers_js_1 = require("../../../../core/headers.js");
59
- const core = __importStar(require("../../../../core/index.js"));
60
- const environments = __importStar(require("../../../../environments.js"));
61
- const errors = __importStar(require("../../../../errors/index.js"));
62
- const BrowserUse = __importStar(require("../../../index.js"));
63
- class Sessions {
64
- constructor(_options = {}) {
65
- this._options = _options;
66
- }
67
- /**
68
- * Get paginated list of AI agent sessions with optional status filtering.
69
- *
70
- * @param {BrowserUse.ListSessionsSessionsGetRequest} request
71
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
72
- *
73
- * @throws {@link BrowserUse.UnprocessableEntityError}
74
- *
75
- * @example
76
- * await client.sessions.listSessions()
77
- */
78
- listSessions(request = {}, requestOptions) {
79
- return core.HttpResponsePromise.fromPromise(this.__listSessions(request, requestOptions));
80
- }
81
- __listSessions() {
82
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
83
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
84
- const { pageSize, pageNumber, filterBy } = request;
85
- const _queryParams = {};
86
- if (pageSize != null) {
87
- _queryParams.pageSize = pageSize.toString();
88
- }
89
- if (pageNumber != null) {
90
- _queryParams.pageNumber = pageNumber.toString();
91
- }
92
- if (filterBy !== undefined) {
93
- _queryParams.filterBy = filterBy;
94
- }
95
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
- const _response = yield core.fetcher({
97
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, "sessions"),
98
- method: "GET",
99
- headers: _headers,
100
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
101
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
102
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
103
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
104
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
105
- logging: this._options.logging,
106
- });
107
- if (_response.ok) {
108
- return { data: _response.body, rawResponse: _response.rawResponse };
109
- }
110
- if (_response.error.reason === "status-code") {
111
- switch (_response.error.statusCode) {
112
- case 422:
113
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
114
- default:
115
- throw new errors.BrowserUseError({
116
- statusCode: _response.error.statusCode,
117
- body: _response.error.body,
118
- rawResponse: _response.rawResponse,
119
- });
120
- }
121
- }
122
- switch (_response.error.reason) {
123
- case "non-json":
124
- throw new errors.BrowserUseError({
125
- statusCode: _response.error.statusCode,
126
- body: _response.error.rawBody,
127
- rawResponse: _response.rawResponse,
128
- });
129
- case "timeout":
130
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling GET /sessions.");
131
- case "unknown":
132
- throw new errors.BrowserUseError({
133
- message: _response.error.errorMessage,
134
- rawResponse: _response.rawResponse,
135
- });
136
- }
137
- });
138
- }
139
- /**
140
- * Create a new session with a new task.
141
- *
142
- * @param {BrowserUse.CreateSessionRequest} request
143
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
144
- *
145
- * @throws {@link BrowserUse.PaymentRequiredError}
146
- * @throws {@link BrowserUse.NotFoundError}
147
- * @throws {@link BrowserUse.UnprocessableEntityError}
148
- * @throws {@link BrowserUse.TooManyRequestsError}
149
- *
150
- * @example
151
- * await client.sessions.createSession()
152
- */
153
- createSession(request = {}, requestOptions) {
154
- return core.HttpResponsePromise.fromPromise(this.__createSession(request, requestOptions));
155
- }
156
- __createSession() {
157
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
158
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
159
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
160
- const _response = yield core.fetcher({
161
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, "sessions"),
162
- method: "POST",
163
- headers: _headers,
164
- contentType: "application/json",
165
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
166
- requestType: "json",
167
- body: request,
168
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
169
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
170
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
171
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
172
- logging: this._options.logging,
173
- });
174
- if (_response.ok) {
175
- return { data: _response.body, rawResponse: _response.rawResponse };
176
- }
177
- if (_response.error.reason === "status-code") {
178
- switch (_response.error.statusCode) {
179
- case 402:
180
- throw new BrowserUse.PaymentRequiredError(_response.error.body, _response.rawResponse);
181
- case 404:
182
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
183
- case 422:
184
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
185
- case 429:
186
- throw new BrowserUse.TooManyRequestsError(_response.error.body, _response.rawResponse);
187
- default:
188
- throw new errors.BrowserUseError({
189
- statusCode: _response.error.statusCode,
190
- body: _response.error.body,
191
- rawResponse: _response.rawResponse,
192
- });
193
- }
194
- }
195
- switch (_response.error.reason) {
196
- case "non-json":
197
- throw new errors.BrowserUseError({
198
- statusCode: _response.error.statusCode,
199
- body: _response.error.rawBody,
200
- rawResponse: _response.rawResponse,
201
- });
202
- case "timeout":
203
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling POST /sessions.");
204
- case "unknown":
205
- throw new errors.BrowserUseError({
206
- message: _response.error.errorMessage,
207
- rawResponse: _response.rawResponse,
208
- });
209
- }
210
- });
211
- }
212
- /**
213
- * Get detailed session information including status, URLs, and task details.
214
- *
215
- * @param {BrowserUse.GetSessionSessionsSessionIdGetRequest} request
216
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
217
- *
218
- * @throws {@link BrowserUse.NotFoundError}
219
- * @throws {@link BrowserUse.UnprocessableEntityError}
220
- *
221
- * @example
222
- * await client.sessions.getSession({
223
- * session_id: "session_id"
224
- * })
225
- */
226
- getSession(request, requestOptions) {
227
- return core.HttpResponsePromise.fromPromise(this.__getSession(request, requestOptions));
228
- }
229
- __getSession(request, requestOptions) {
230
- return __awaiter(this, void 0, void 0, function* () {
231
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
232
- const { session_id: sessionId } = request;
233
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
234
- const _response = yield core.fetcher({
235
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}`),
236
- method: "GET",
237
- headers: _headers,
238
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
239
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
240
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
241
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
242
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
243
- logging: this._options.logging,
244
- });
245
- if (_response.ok) {
246
- return { data: _response.body, rawResponse: _response.rawResponse };
247
- }
248
- if (_response.error.reason === "status-code") {
249
- switch (_response.error.statusCode) {
250
- case 404:
251
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
252
- case 422:
253
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
254
- default:
255
- throw new errors.BrowserUseError({
256
- statusCode: _response.error.statusCode,
257
- body: _response.error.body,
258
- rawResponse: _response.rawResponse,
259
- });
260
- }
261
- }
262
- switch (_response.error.reason) {
263
- case "non-json":
264
- throw new errors.BrowserUseError({
265
- statusCode: _response.error.statusCode,
266
- body: _response.error.rawBody,
267
- rawResponse: _response.rawResponse,
268
- });
269
- case "timeout":
270
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling GET /sessions/{session_id}.");
271
- case "unknown":
272
- throw new errors.BrowserUseError({
273
- message: _response.error.errorMessage,
274
- rawResponse: _response.rawResponse,
275
- });
276
- }
277
- });
278
- }
279
- /**
280
- * Delete a session with all its tasks.
281
- *
282
- * @param {BrowserUse.DeleteSessionSessionsSessionIdDeleteRequest} request
283
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
284
- *
285
- * @throws {@link BrowserUse.NotFoundError}
286
- * @throws {@link BrowserUse.UnprocessableEntityError}
287
- *
288
- * @example
289
- * await client.sessions.deleteSession({
290
- * session_id: "session_id"
291
- * })
292
- */
293
- deleteSession(request, requestOptions) {
294
- return core.HttpResponsePromise.fromPromise(this.__deleteSession(request, requestOptions));
295
- }
296
- __deleteSession(request, requestOptions) {
297
- return __awaiter(this, void 0, void 0, function* () {
298
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
299
- const { session_id: sessionId } = request;
300
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
301
- const _response = yield core.fetcher({
302
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}`),
303
- method: "DELETE",
304
- headers: _headers,
305
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
306
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
307
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
308
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
309
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
310
- logging: this._options.logging,
311
- });
312
- if (_response.ok) {
313
- return { data: undefined, rawResponse: _response.rawResponse };
314
- }
315
- if (_response.error.reason === "status-code") {
316
- switch (_response.error.statusCode) {
317
- case 404:
318
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
319
- case 422:
320
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
321
- default:
322
- throw new errors.BrowserUseError({
323
- statusCode: _response.error.statusCode,
324
- body: _response.error.body,
325
- rawResponse: _response.rawResponse,
326
- });
327
- }
328
- }
329
- switch (_response.error.reason) {
330
- case "non-json":
331
- throw new errors.BrowserUseError({
332
- statusCode: _response.error.statusCode,
333
- body: _response.error.rawBody,
334
- rawResponse: _response.rawResponse,
335
- });
336
- case "timeout":
337
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling DELETE /sessions/{session_id}.");
338
- case "unknown":
339
- throw new errors.BrowserUseError({
340
- message: _response.error.errorMessage,
341
- rawResponse: _response.rawResponse,
342
- });
343
- }
344
- });
345
- }
346
- /**
347
- * Stop a session and all its running tasks.
348
- *
349
- * @param {BrowserUse.UpdateSessionRequest} request
350
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
351
- *
352
- * @throws {@link BrowserUse.NotFoundError}
353
- * @throws {@link BrowserUse.UnprocessableEntityError}
354
- *
355
- * @example
356
- * await client.sessions.updateSession({
357
- * session_id: "session_id",
358
- * action: "stop"
359
- * })
360
- */
361
- updateSession(request, requestOptions) {
362
- return core.HttpResponsePromise.fromPromise(this.__updateSession(request, requestOptions));
363
- }
364
- __updateSession(request, requestOptions) {
365
- return __awaiter(this, void 0, void 0, function* () {
366
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
367
- const { session_id: sessionId } = request, _body = __rest(request, ["session_id"]);
368
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
369
- const _response = yield core.fetcher({
370
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}`),
371
- method: "PATCH",
372
- headers: _headers,
373
- contentType: "application/json",
374
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
375
- requestType: "json",
376
- body: _body,
377
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
378
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
379
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
380
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
381
- logging: this._options.logging,
382
- });
383
- if (_response.ok) {
384
- return { data: _response.body, rawResponse: _response.rawResponse };
385
- }
386
- if (_response.error.reason === "status-code") {
387
- switch (_response.error.statusCode) {
388
- case 404:
389
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
390
- case 422:
391
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
392
- default:
393
- throw new errors.BrowserUseError({
394
- statusCode: _response.error.statusCode,
395
- body: _response.error.body,
396
- rawResponse: _response.rawResponse,
397
- });
398
- }
399
- }
400
- switch (_response.error.reason) {
401
- case "non-json":
402
- throw new errors.BrowserUseError({
403
- statusCode: _response.error.statusCode,
404
- body: _response.error.rawBody,
405
- rawResponse: _response.rawResponse,
406
- });
407
- case "timeout":
408
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling PATCH /sessions/{session_id}.");
409
- case "unknown":
410
- throw new errors.BrowserUseError({
411
- message: _response.error.errorMessage,
412
- rawResponse: _response.rawResponse,
413
- });
414
- }
415
- });
416
- }
417
- /**
418
- * Get public share information including URL and usage statistics.
419
- *
420
- * @param {BrowserUse.GetSessionPublicShareSessionsSessionIdPublicShareGetRequest} request
421
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
422
- *
423
- * @throws {@link BrowserUse.NotFoundError}
424
- * @throws {@link BrowserUse.UnprocessableEntityError}
425
- *
426
- * @example
427
- * await client.sessions.getSessionPublicShare({
428
- * session_id: "session_id"
429
- * })
430
- */
431
- getSessionPublicShare(request, requestOptions) {
432
- return core.HttpResponsePromise.fromPromise(this.__getSessionPublicShare(request, requestOptions));
433
- }
434
- __getSessionPublicShare(request, requestOptions) {
435
- return __awaiter(this, void 0, void 0, function* () {
436
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
437
- const { session_id: sessionId } = request;
438
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
439
- const _response = yield core.fetcher({
440
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}/public-share`),
441
- method: "GET",
442
- headers: _headers,
443
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
444
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
445
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
446
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
447
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
448
- logging: this._options.logging,
449
- });
450
- if (_response.ok) {
451
- return { data: _response.body, rawResponse: _response.rawResponse };
452
- }
453
- if (_response.error.reason === "status-code") {
454
- switch (_response.error.statusCode) {
455
- case 404:
456
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
457
- case 422:
458
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
459
- default:
460
- throw new errors.BrowserUseError({
461
- statusCode: _response.error.statusCode,
462
- body: _response.error.body,
463
- rawResponse: _response.rawResponse,
464
- });
465
- }
466
- }
467
- switch (_response.error.reason) {
468
- case "non-json":
469
- throw new errors.BrowserUseError({
470
- statusCode: _response.error.statusCode,
471
- body: _response.error.rawBody,
472
- rawResponse: _response.rawResponse,
473
- });
474
- case "timeout":
475
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling GET /sessions/{session_id}/public-share.");
476
- case "unknown":
477
- throw new errors.BrowserUseError({
478
- message: _response.error.errorMessage,
479
- rawResponse: _response.rawResponse,
480
- });
481
- }
482
- });
483
- }
484
- /**
485
- * Create or return existing public share for a session.
486
- *
487
- * @param {BrowserUse.CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest} request
488
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
489
- *
490
- * @throws {@link BrowserUse.NotFoundError}
491
- * @throws {@link BrowserUse.UnprocessableEntityError}
492
- *
493
- * @example
494
- * await client.sessions.createSessionPublicShare({
495
- * session_id: "session_id"
496
- * })
497
- */
498
- createSessionPublicShare(request, requestOptions) {
499
- return core.HttpResponsePromise.fromPromise(this.__createSessionPublicShare(request, requestOptions));
500
- }
501
- __createSessionPublicShare(request, requestOptions) {
502
- return __awaiter(this, void 0, void 0, function* () {
503
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
504
- const { session_id: sessionId } = request;
505
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
506
- const _response = yield core.fetcher({
507
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}/public-share`),
508
- method: "POST",
509
- headers: _headers,
510
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
511
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
512
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
513
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
514
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
515
- logging: this._options.logging,
516
- });
517
- if (_response.ok) {
518
- return { data: _response.body, rawResponse: _response.rawResponse };
519
- }
520
- if (_response.error.reason === "status-code") {
521
- switch (_response.error.statusCode) {
522
- case 404:
523
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
524
- case 422:
525
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
526
- default:
527
- throw new errors.BrowserUseError({
528
- statusCode: _response.error.statusCode,
529
- body: _response.error.body,
530
- rawResponse: _response.rawResponse,
531
- });
532
- }
533
- }
534
- switch (_response.error.reason) {
535
- case "non-json":
536
- throw new errors.BrowserUseError({
537
- statusCode: _response.error.statusCode,
538
- body: _response.error.rawBody,
539
- rawResponse: _response.rawResponse,
540
- });
541
- case "timeout":
542
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling POST /sessions/{session_id}/public-share.");
543
- case "unknown":
544
- throw new errors.BrowserUseError({
545
- message: _response.error.errorMessage,
546
- rawResponse: _response.rawResponse,
547
- });
548
- }
549
- });
550
- }
551
- /**
552
- * Remove public share for a session.
553
- *
554
- * @param {BrowserUse.DeleteSessionPublicShareSessionsSessionIdPublicShareDeleteRequest} request
555
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
556
- *
557
- * @throws {@link BrowserUse.NotFoundError}
558
- * @throws {@link BrowserUse.UnprocessableEntityError}
559
- *
560
- * @example
561
- * await client.sessions.deleteSessionPublicShare({
562
- * session_id: "session_id"
563
- * })
564
- */
565
- deleteSessionPublicShare(request, requestOptions) {
566
- return core.HttpResponsePromise.fromPromise(this.__deleteSessionPublicShare(request, requestOptions));
567
- }
568
- __deleteSessionPublicShare(request, requestOptions) {
569
- return __awaiter(this, void 0, void 0, function* () {
570
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
571
- const { session_id: sessionId } = request;
572
- const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
573
- const _response = yield core.fetcher({
574
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrowserUseEnvironment.Production, `sessions/${core.url.encodePathParam(sessionId)}/public-share`),
575
- method: "DELETE",
576
- headers: _headers,
577
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
578
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
579
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
580
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
581
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
582
- logging: this._options.logging,
583
- });
584
- if (_response.ok) {
585
- return { data: undefined, rawResponse: _response.rawResponse };
586
- }
587
- if (_response.error.reason === "status-code") {
588
- switch (_response.error.statusCode) {
589
- case 404:
590
- throw new BrowserUse.NotFoundError(_response.error.body, _response.rawResponse);
591
- case 422:
592
- throw new BrowserUse.UnprocessableEntityError(_response.error.body, _response.rawResponse);
593
- default:
594
- throw new errors.BrowserUseError({
595
- statusCode: _response.error.statusCode,
596
- body: _response.error.body,
597
- rawResponse: _response.rawResponse,
598
- });
599
- }
600
- }
601
- switch (_response.error.reason) {
602
- case "non-json":
603
- throw new errors.BrowserUseError({
604
- statusCode: _response.error.statusCode,
605
- body: _response.error.rawBody,
606
- rawResponse: _response.rawResponse,
607
- });
608
- case "timeout":
609
- throw new errors.BrowserUseTimeoutError("Timeout exceeded when calling DELETE /sessions/{session_id}/public-share.");
610
- case "unknown":
611
- throw new errors.BrowserUseError({
612
- message: _response.error.errorMessage,
613
- rawResponse: _response.rawResponse,
614
- });
615
- }
616
- });
617
- }
618
- _getCustomAuthorizationHeaders() {
619
- return __awaiter(this, void 0, void 0, function* () {
620
- const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
621
- return { "X-Browser-Use-API-Key": apiKeyValue };
622
- });
623
- }
624
- }
625
- exports.Sessions = Sessions;
@@ -1 +0,0 @@
1
- export * from "./requests/index.js";
@@ -1,17 +0,0 @@
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("./requests/index.js"), exports);
@@ -1,9 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * session_id: "session_id"
5
- * }
6
- */
7
- export interface CreateSessionPublicShareSessionsSessionIdPublicSharePostRequest {
8
- session_id: string;
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });