browser-use-sdk 1.2.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -317
- package/dist/cjs/Client.d.ts +46 -0
- package/dist/cjs/Client.js +79 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +8 -0
- package/dist/cjs/api/errors/BadRequestError.js +52 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +8 -0
- package/dist/cjs/api/errors/InternalServerError.js +52 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +8 -0
- package/dist/cjs/api/errors/NotFoundError.js +52 -0
- package/dist/cjs/api/errors/PaymentRequiredError.d.ts +9 -0
- package/dist/cjs/api/errors/PaymentRequiredError.js +52 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +5 -0
- package/dist/cjs/api/errors/index.js +21 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/accounts/client/Client.js +123 -0
- package/dist/cjs/api/resources/accounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/client/index.js +2 -0
- package/dist/cjs/api/resources/accounts/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/index.js +17 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/files/client/Client.js +210 -0
- package/dist/cjs/api/resources/files/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/files/client/index.js +17 -0
- package/dist/cjs/api/resources/files/client/requests/UploadFileRequest.d.ts +40 -0
- package/dist/cjs/api/resources/files/client/requests/UploadFileRequest.js +25 -0
- package/dist/cjs/api/resources/files/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/files/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/files/index.d.ts +1 -0
- package/dist/cjs/api/resources/files/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +9 -0
- package/dist/cjs/api/resources/index.js +48 -0
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/profiles/client/Client.js +319 -0
- package/dist/cjs/api/resources/profiles/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/client/index.js +17 -0
- package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.ts +11 -0
- package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.js +5 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/index.js +17 -0
- package/dist/cjs/api/resources/sessions/client/Client.d.ts +146 -0
- package/dist/cjs/api/resources/sessions/client/Client.js +573 -0
- package/dist/cjs/api/resources/sessions/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/sessions/client/index.js +17 -0
- package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +14 -0
- package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.js +5 -0
- package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.ts +13 -0
- package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.js +5 -0
- package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.d.ts +9 -0
- package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.js +5 -0
- package/dist/cjs/api/resources/sessions/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/sessions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/sessions/index.d.ts +1 -0
- package/dist/cjs/api/resources/sessions/index.js +17 -0
- package/dist/cjs/api/resources/tasks/client/Client.d.ts +113 -0
- package/dist/cjs/api/resources/tasks/client/Client.js +411 -0
- package/dist/cjs/api/resources/tasks/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tasks/client/index.js +17 -0
- package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.d.ts +40 -0
- package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.js +5 -0
- package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.ts +16 -0
- package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.js +5 -0
- package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.d.ts +14 -0
- package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.js +5 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tasks/index.d.ts +1 -0
- package/dist/cjs/api/resources/tasks/index.js +17 -0
- package/dist/cjs/api/types/AccountNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/AccountNotFoundError.js +5 -0
- package/dist/cjs/api/types/AccountView.d.ts +18 -0
- package/dist/cjs/api/types/AccountView.js +5 -0
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/BadRequestErrorBody.js +5 -0
- package/dist/cjs/api/types/DownloadUrlGenerationError.d.ts +9 -0
- package/dist/cjs/api/types/DownloadUrlGenerationError.js +5 -0
- package/dist/cjs/api/types/FileView.d.ts +12 -0
- package/dist/cjs/api/types/FileView.js +5 -0
- package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
- package/dist/cjs/api/types/HttpValidationError.js +5 -0
- package/dist/cjs/api/types/InsufficientCreditsError.d.ts +9 -0
- package/dist/cjs/api/types/InsufficientCreditsError.js +5 -0
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +9 -0
- package/dist/cjs/api/types/InternalServerErrorBody.js +5 -0
- package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/NotFoundErrorBody.js +5 -0
- package/dist/cjs/api/types/OutputFileNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/OutputFileNotFoundError.js +5 -0
- package/dist/cjs/api/types/ProfileListResponse.d.ts +17 -0
- package/dist/cjs/api/types/ProfileListResponse.js +5 -0
- package/dist/cjs/api/types/ProfileNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/ProfileNotFoundError.js +5 -0
- package/dist/cjs/api/types/ProfileView.d.ts +18 -0
- package/dist/cjs/api/types/ProfileView.js +5 -0
- package/dist/cjs/api/types/ProxyCountryCode.d.ts +16 -0
- package/dist/cjs/api/types/ProxyCountryCode.js +18 -0
- package/dist/cjs/api/types/SessionHasRunningTaskError.d.ts +9 -0
- package/dist/cjs/api/types/SessionHasRunningTaskError.js +5 -0
- package/dist/cjs/api/types/SessionItemView.d.ts +19 -0
- package/dist/cjs/api/types/SessionItemView.js +5 -0
- package/dist/cjs/api/types/SessionListResponse.d.ts +17 -0
- package/dist/cjs/api/types/SessionListResponse.js +5 -0
- package/dist/cjs/api/types/SessionNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/SessionNotFoundError.js +5 -0
- package/dist/cjs/api/types/SessionStatus.d.ts +15 -0
- package/dist/cjs/api/types/SessionStatus.js +10 -0
- package/dist/cjs/api/types/SessionStoppedError.d.ts +9 -0
- package/dist/cjs/api/types/SessionStoppedError.js +5 -0
- package/dist/cjs/api/types/SessionUpdateAction.d.ts +10 -0
- package/dist/cjs/api/types/SessionUpdateAction.js +5 -0
- package/dist/cjs/api/types/SessionView.d.ts +23 -0
- package/dist/cjs/api/types/SessionView.js +5 -0
- package/dist/cjs/api/types/ShareNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/ShareNotFoundError.js +5 -0
- package/dist/cjs/api/types/ShareView.d.ts +16 -0
- package/dist/cjs/api/types/ShareView.js +5 -0
- package/dist/cjs/api/types/SupportedLlMs.d.ts +17 -0
- package/dist/cjs/api/types/SupportedLlMs.js +19 -0
- package/dist/cjs/api/types/TaskCreatedResponse.d.ts +10 -0
- package/dist/cjs/api/types/TaskCreatedResponse.js +5 -0
- package/dist/cjs/api/types/TaskItemView.d.ts +32 -0
- package/dist/cjs/api/types/TaskItemView.js +5 -0
- package/dist/cjs/api/types/TaskListResponse.d.ts +17 -0
- package/dist/cjs/api/types/TaskListResponse.js +5 -0
- package/dist/cjs/api/types/TaskLogFileResponse.d.ts +10 -0
- package/dist/cjs/api/types/TaskLogFileResponse.js +5 -0
- package/dist/cjs/api/types/TaskNotFoundError.d.ts +9 -0
- package/dist/cjs/api/types/TaskNotFoundError.js +5 -0
- package/dist/cjs/api/types/TaskOutputFileResponse.d.ts +14 -0
- package/dist/cjs/api/types/TaskOutputFileResponse.js +5 -0
- package/dist/cjs/api/types/TaskStatus.d.ts +19 -0
- package/dist/cjs/api/types/TaskStatus.js +12 -0
- package/dist/cjs/api/types/TaskStepView.d.ts +22 -0
- package/dist/cjs/api/types/TaskStepView.js +5 -0
- package/dist/cjs/api/types/TaskUpdateAction.d.ts +19 -0
- package/dist/cjs/api/types/TaskUpdateAction.js +12 -0
- package/dist/cjs/api/types/TaskView.d.ts +34 -0
- package/dist/cjs/api/types/TaskView.js +5 -0
- package/dist/cjs/api/types/UnsupportedContentTypeError.d.ts +9 -0
- package/dist/cjs/api/types/UnsupportedContentTypeError.js +5 -0
- package/dist/cjs/api/types/UploadFilePresignedUrlResponse.d.ts +18 -0
- package/dist/cjs/api/types/UploadFilePresignedUrlResponse.js +5 -0
- package/dist/cjs/api/types/ValidationError.d.ts +14 -0
- package/dist/cjs/api/types/ValidationError.js +5 -0
- package/dist/cjs/api/types/index.d.ts +38 -0
- package/dist/cjs/api/types/index.js +54 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
- package/dist/cjs/core/fetcher/Fetcher.js +120 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
- package/dist/cjs/core/fetcher/index.d.ts +9 -0
- package/dist/cjs/core/fetcher/index.js +15 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/cjs/core/fetcher/makeRequest.js +42 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
- package/dist/cjs/core/fetcher/signals.d.ts +11 -0
- package/dist/cjs/core/fetcher/signals.js +36 -0
- package/dist/cjs/core/headers.d.ts +3 -0
- package/dist/cjs/core/headers.js +29 -0
- package/dist/cjs/core/index.d.ts +3 -0
- package/dist/cjs/core/index.js +42 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +102 -0
- package/dist/cjs/core/url/index.d.ts +2 -0
- package/dist/cjs/core/url/index.js +7 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +69 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/environments.d.ts +7 -0
- package/dist/cjs/environments.js +9 -0
- package/dist/cjs/errors/BrowserUseError.d.ts +15 -0
- package/dist/cjs/errors/BrowserUseError.js +30 -0
- package/dist/cjs/errors/BrowserUseTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/BrowserUseTimeoutError.js +13 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/index.d.ts +7 -0
- package/dist/cjs/index.js +47 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/cjs/wrapper/BrowserUseClient.d.ts +6 -0
- package/dist/cjs/wrapper/BrowserUseClient.js +12 -0
- package/dist/cjs/wrapper/api/BrowserUseTasks.d.ts +15 -0
- package/dist/cjs/wrapper/api/BrowserUseTasks.js +89 -0
- package/dist/cjs/wrapper/lib/parse.d.ts +69 -0
- package/dist/cjs/wrapper/lib/parse.js +212 -0
- package/dist/cjs/wrapper/lib/types.d.ts +74 -0
- package/dist/cjs/wrapper/lib/types.js +13 -0
- package/dist/cjs/wrapper/lib/webhooks.d.ts +72 -0
- package/dist/cjs/wrapper/lib/webhooks.js +97 -0
- package/dist/esm/Client.d.mts +46 -0
- package/dist/esm/Client.mjs +42 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +8 -0
- package/dist/esm/api/errors/BadRequestError.mjs +15 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +8 -0
- package/dist/esm/api/errors/InternalServerError.mjs +15 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +8 -0
- package/dist/esm/api/errors/NotFoundError.mjs +15 -0
- package/dist/esm/api/errors/PaymentRequiredError.d.mts +9 -0
- package/dist/esm/api/errors/PaymentRequiredError.mjs +15 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +8 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +5 -0
- package/dist/esm/api/errors/index.mjs +5 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/accounts/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/accounts/client/Client.mjs +86 -0
- package/dist/esm/api/resources/accounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/files/client/Client.mjs +173 -0
- package/dist/esm/api/resources/files/client/index.d.mts +2 -0
- package/dist/esm/api/resources/files/client/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/requests/UploadFileRequest.d.mts +40 -0
- package/dist/esm/api/resources/files/client/requests/UploadFileRequest.mjs +22 -0
- package/dist/esm/api/resources/files/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/files/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/files/index.d.mts +1 -0
- package/dist/esm/api/resources/files/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +9 -0
- package/dist/esm/api/resources/index.mjs +9 -0
- package/dist/esm/api/resources/profiles/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/profiles/client/Client.mjs +282 -0
- package/dist/esm/api/resources/profiles/client/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.mts +11 -0
- package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.mjs +4 -0
- package/dist/esm/api/resources/profiles/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/index.mjs +1 -0
- package/dist/esm/api/resources/sessions/client/Client.d.mts +146 -0
- package/dist/esm/api/resources/sessions/client/Client.mjs +536 -0
- package/dist/esm/api/resources/sessions/client/index.d.mts +2 -0
- package/dist/esm/api/resources/sessions/client/index.mjs +1 -0
- package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +14 -0
- package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.mjs +4 -0
- package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.mts +13 -0
- package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.mjs +4 -0
- package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.d.mts +9 -0
- package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.mjs +4 -0
- package/dist/esm/api/resources/sessions/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/sessions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/sessions/index.d.mts +1 -0
- package/dist/esm/api/resources/sessions/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/client/Client.d.mts +113 -0
- package/dist/esm/api/resources/tasks/client/Client.mjs +374 -0
- package/dist/esm/api/resources/tasks/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tasks/client/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.d.mts +40 -0
- package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.mjs +4 -0
- package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.mts +16 -0
- package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.mjs +4 -0
- package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.d.mts +14 -0
- package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.mjs +4 -0
- package/dist/esm/api/resources/tasks/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tasks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/index.d.mts +1 -0
- package/dist/esm/api/resources/tasks/index.mjs +1 -0
- package/dist/esm/api/types/AccountNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/AccountNotFoundError.mjs +4 -0
- package/dist/esm/api/types/AccountView.d.mts +18 -0
- package/dist/esm/api/types/AccountView.mjs +4 -0
- package/dist/esm/api/types/BadRequestErrorBody.d.mts +5 -0
- package/dist/esm/api/types/BadRequestErrorBody.mjs +4 -0
- package/dist/esm/api/types/DownloadUrlGenerationError.d.mts +9 -0
- package/dist/esm/api/types/DownloadUrlGenerationError.mjs +4 -0
- package/dist/esm/api/types/FileView.d.mts +12 -0
- package/dist/esm/api/types/FileView.mjs +4 -0
- package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
- package/dist/esm/api/types/HttpValidationError.mjs +4 -0
- package/dist/esm/api/types/InsufficientCreditsError.d.mts +9 -0
- package/dist/esm/api/types/InsufficientCreditsError.mjs +4 -0
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +9 -0
- package/dist/esm/api/types/InternalServerErrorBody.mjs +4 -0
- package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
- package/dist/esm/api/types/NotFoundErrorBody.mjs +4 -0
- package/dist/esm/api/types/OutputFileNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/OutputFileNotFoundError.mjs +4 -0
- package/dist/esm/api/types/ProfileListResponse.d.mts +17 -0
- package/dist/esm/api/types/ProfileListResponse.mjs +4 -0
- package/dist/esm/api/types/ProfileNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/ProfileNotFoundError.mjs +4 -0
- package/dist/esm/api/types/ProfileView.d.mts +18 -0
- package/dist/esm/api/types/ProfileView.mjs +4 -0
- package/dist/esm/api/types/ProxyCountryCode.d.mts +16 -0
- package/dist/esm/api/types/ProxyCountryCode.mjs +15 -0
- package/dist/esm/api/types/SessionHasRunningTaskError.d.mts +9 -0
- package/dist/esm/api/types/SessionHasRunningTaskError.mjs +4 -0
- package/dist/esm/api/types/SessionItemView.d.mts +19 -0
- package/dist/esm/api/types/SessionItemView.mjs +4 -0
- package/dist/esm/api/types/SessionListResponse.d.mts +17 -0
- package/dist/esm/api/types/SessionListResponse.mjs +4 -0
- package/dist/esm/api/types/SessionNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/SessionNotFoundError.mjs +4 -0
- package/dist/esm/api/types/SessionStatus.d.mts +15 -0
- package/dist/esm/api/types/SessionStatus.mjs +7 -0
- package/dist/esm/api/types/SessionStoppedError.d.mts +9 -0
- package/dist/esm/api/types/SessionStoppedError.mjs +4 -0
- package/dist/esm/api/types/SessionUpdateAction.d.mts +10 -0
- package/dist/esm/api/types/SessionUpdateAction.mjs +4 -0
- package/dist/esm/api/types/SessionView.d.mts +23 -0
- package/dist/esm/api/types/SessionView.mjs +4 -0
- package/dist/esm/api/types/ShareNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/ShareNotFoundError.mjs +4 -0
- package/dist/esm/api/types/ShareView.d.mts +16 -0
- package/dist/esm/api/types/ShareView.mjs +4 -0
- package/dist/esm/api/types/SupportedLlMs.d.mts +17 -0
- package/dist/esm/api/types/SupportedLlMs.mjs +16 -0
- package/dist/esm/api/types/TaskCreatedResponse.d.mts +10 -0
- package/dist/esm/api/types/TaskCreatedResponse.mjs +4 -0
- package/dist/esm/api/types/TaskItemView.d.mts +32 -0
- package/dist/esm/api/types/TaskItemView.mjs +4 -0
- package/dist/esm/api/types/TaskListResponse.d.mts +17 -0
- package/dist/esm/api/types/TaskListResponse.mjs +4 -0
- package/dist/esm/api/types/TaskLogFileResponse.d.mts +10 -0
- package/dist/esm/api/types/TaskLogFileResponse.mjs +4 -0
- package/dist/esm/api/types/TaskNotFoundError.d.mts +9 -0
- package/dist/esm/api/types/TaskNotFoundError.mjs +4 -0
- package/dist/esm/api/types/TaskOutputFileResponse.d.mts +14 -0
- package/dist/esm/api/types/TaskOutputFileResponse.mjs +4 -0
- package/dist/esm/api/types/TaskStatus.d.mts +19 -0
- package/dist/esm/api/types/TaskStatus.mjs +9 -0
- package/dist/esm/api/types/TaskStepView.d.mts +22 -0
- package/dist/esm/api/types/TaskStepView.mjs +4 -0
- package/dist/esm/api/types/TaskUpdateAction.d.mts +19 -0
- package/dist/esm/api/types/TaskUpdateAction.mjs +9 -0
- package/dist/esm/api/types/TaskView.d.mts +34 -0
- package/dist/esm/api/types/TaskView.mjs +4 -0
- package/dist/esm/api/types/UnsupportedContentTypeError.d.mts +9 -0
- package/dist/esm/api/types/UnsupportedContentTypeError.mjs +4 -0
- package/dist/esm/api/types/UploadFilePresignedUrlResponse.d.mts +18 -0
- package/dist/esm/api/types/UploadFilePresignedUrlResponse.mjs +4 -0
- package/dist/esm/api/types/ValidationError.d.mts +14 -0
- package/dist/esm/api/types/ValidationError.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +38 -0
- package/dist/esm/api/types/index.mjs +38 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +41 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
- package/dist/esm/core/fetcher/index.d.mts +9 -0
- package/dist/esm/core/fetcher/index.mjs +5 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
- package/dist/esm/core/fetcher/signals.d.mts +11 -0
- package/dist/esm/core/fetcher/signals.mjs +32 -0
- package/dist/esm/core/headers.d.mts +3 -0
- package/dist/esm/core/headers.mjs +25 -0
- package/dist/esm/core/index.d.mts +3 -0
- package/dist/esm/core/index.mjs +3 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +99 -0
- package/dist/esm/core/url/index.d.mts +2 -0
- package/dist/esm/core/url/index.mjs +2 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +66 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/environments.d.mts +7 -0
- package/dist/esm/environments.mjs +6 -0
- package/dist/esm/errors/BrowserUseError.d.mts +15 -0
- package/dist/esm/errors/BrowserUseError.mjs +26 -0
- package/dist/esm/errors/BrowserUseTimeoutError.d.mts +6 -0
- package/dist/esm/errors/BrowserUseTimeoutError.mjs +9 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +7 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/dist/esm/wrapper/BrowserUseClient.d.mts +6 -0
- package/dist/esm/wrapper/BrowserUseClient.mjs +8 -0
- package/dist/esm/wrapper/api/BrowserUseTasks.d.mts +15 -0
- package/dist/esm/wrapper/api/BrowserUseTasks.mjs +52 -0
- package/dist/esm/wrapper/lib/parse.d.mts +69 -0
- package/dist/esm/wrapper/lib/parse.mjs +203 -0
- package/dist/esm/wrapper/lib/types.d.mts +74 -0
- package/dist/esm/wrapper/lib/types.mjs +9 -0
- package/dist/esm/wrapper/lib/webhooks.d.mts +72 -0
- package/dist/esm/wrapper/lib/webhooks.mjs +89 -0
- package/package.json +83 -158
- package/reference.md +1302 -0
- package/CHANGELOG.md +0 -157
- package/LICENSE +0 -201
- package/api-promise.d.mts +0 -2
- package/api-promise.d.mts.map +0 -1
- package/api-promise.d.ts +0 -2
- package/api-promise.d.ts.map +0 -1
- package/api-promise.js +0 -6
- package/api-promise.js.map +0 -1
- package/api-promise.mjs +0 -2
- package/api-promise.mjs.map +0 -1
- package/client.d.mts +0 -192
- package/client.d.mts.map +0 -1
- package/client.d.ts +0 -192
- package/client.d.ts.map +0 -1
- package/client.js +0 -473
- package/client.js.map +0 -1
- package/client.mjs +0 -469
- package/client.mjs.map +0 -1
- package/core/api-promise.d.mts +0 -46
- package/core/api-promise.d.mts.map +0 -1
- package/core/api-promise.d.ts +0 -46
- package/core/api-promise.d.ts.map +0 -1
- package/core/api-promise.js +0 -74
- package/core/api-promise.js.map +0 -1
- package/core/api-promise.mjs +0 -70
- package/core/api-promise.mjs.map +0 -1
- package/core/error.d.mts +0 -46
- package/core/error.d.mts.map +0 -1
- package/core/error.d.ts +0 -46
- package/core/error.d.ts.map +0 -1
- package/core/error.js +0 -113
- package/core/error.js.map +0 -1
- package/core/error.mjs +0 -97
- package/core/error.mjs.map +0 -1
- package/core/resource.d.mts +0 -6
- package/core/resource.d.mts.map +0 -1
- package/core/resource.d.ts +0 -6
- package/core/resource.d.ts.map +0 -1
- package/core/resource.js +0 -11
- package/core/resource.js.map +0 -1
- package/core/resource.mjs +0 -7
- package/core/resource.mjs.map +0 -1
- package/core/uploads.d.mts +0 -3
- package/core/uploads.d.mts.map +0 -1
- package/core/uploads.d.ts +0 -3
- package/core/uploads.d.ts.map +0 -1
- package/core/uploads.js +0 -6
- package/core/uploads.js.map +0 -1
- package/core/uploads.mjs +0 -2
- package/core/uploads.mjs.map +0 -1
- package/error.d.mts +0 -2
- package/error.d.mts.map +0 -1
- package/error.d.ts +0 -2
- package/error.d.ts.map +0 -1
- package/error.js +0 -6
- package/error.js.map +0 -1
- package/error.mjs +0 -2
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -6
- package/index.d.mts.map +0 -1
- package/index.d.ts +0 -6
- package/index.d.ts.map +0 -1
- package/index.js +0 -30
- package/index.js.map +0 -1
- package/index.mjs +0 -7
- package/index.mjs.map +0 -1
- package/internal/builtin-types.d.mts +0 -73
- package/internal/builtin-types.d.mts.map +0 -1
- package/internal/builtin-types.d.ts +0 -73
- package/internal/builtin-types.d.ts.map +0 -1
- package/internal/builtin-types.js +0 -4
- package/internal/builtin-types.js.map +0 -1
- package/internal/builtin-types.mjs +0 -3
- package/internal/builtin-types.mjs.map +0 -1
- package/internal/detect-platform.d.mts +0 -15
- package/internal/detect-platform.d.mts.map +0 -1
- package/internal/detect-platform.d.ts +0 -15
- package/internal/detect-platform.d.ts.map +0 -1
- package/internal/detect-platform.js +0 -162
- package/internal/detect-platform.js.map +0 -1
- package/internal/detect-platform.mjs +0 -157
- package/internal/detect-platform.mjs.map +0 -1
- package/internal/errors.d.mts +0 -3
- package/internal/errors.d.mts.map +0 -1
- package/internal/errors.d.ts +0 -3
- package/internal/errors.d.ts.map +0 -1
- package/internal/errors.js +0 -41
- package/internal/errors.js.map +0 -1
- package/internal/errors.mjs +0 -36
- package/internal/errors.mjs.map +0 -1
- package/internal/headers.d.mts +0 -20
- package/internal/headers.d.mts.map +0 -1
- package/internal/headers.d.ts +0 -20
- package/internal/headers.d.ts.map +0 -1
- package/internal/headers.js +0 -79
- package/internal/headers.js.map +0 -1
- package/internal/headers.mjs +0 -74
- package/internal/headers.mjs.map +0 -1
- package/internal/parse.d.mts +0 -12
- package/internal/parse.d.mts.map +0 -1
- package/internal/parse.d.ts +0 -12
- package/internal/parse.d.ts.map +0 -1
- package/internal/parse.js +0 -35
- package/internal/parse.js.map +0 -1
- package/internal/parse.mjs +0 -32
- package/internal/parse.mjs.map +0 -1
- package/internal/request-options.d.mts +0 -75
- package/internal/request-options.d.mts.map +0 -1
- package/internal/request-options.d.ts +0 -75
- package/internal/request-options.d.ts.map +0 -1
- package/internal/request-options.js +0 -14
- package/internal/request-options.js.map +0 -1
- package/internal/request-options.mjs +0 -10
- package/internal/request-options.mjs.map +0 -1
- package/internal/shim-types.d.mts +0 -17
- package/internal/shim-types.d.mts.map +0 -1
- package/internal/shim-types.d.ts +0 -17
- package/internal/shim-types.d.ts.map +0 -1
- package/internal/shim-types.js +0 -4
- package/internal/shim-types.js.map +0 -1
- package/internal/shim-types.mjs +0 -3
- package/internal/shim-types.mjs.map +0 -1
- package/internal/shims.d.mts +0 -20
- package/internal/shims.d.mts.map +0 -1
- package/internal/shims.d.ts +0 -20
- package/internal/shims.d.ts.map +0 -1
- package/internal/shims.js +0 -92
- package/internal/shims.js.map +0 -1
- package/internal/shims.mjs +0 -85
- package/internal/shims.mjs.map +0 -1
- package/internal/to-file.d.mts +0 -45
- package/internal/to-file.d.mts.map +0 -1
- package/internal/to-file.d.ts +0 -45
- package/internal/to-file.d.ts.map +0 -1
- package/internal/to-file.js +0 -91
- package/internal/to-file.js.map +0 -1
- package/internal/to-file.mjs +0 -88
- package/internal/to-file.mjs.map +0 -1
- package/internal/tslib.js +0 -85
- package/internal/tslib.mjs +0 -17
- package/internal/types.d.mts +0 -69
- package/internal/types.d.mts.map +0 -1
- package/internal/types.d.ts +0 -69
- package/internal/types.d.ts.map +0 -1
- package/internal/types.js +0 -4
- package/internal/types.js.map +0 -1
- package/internal/types.mjs +0 -3
- package/internal/types.mjs.map +0 -1
- package/internal/uploads.d.mts +0 -42
- package/internal/uploads.d.mts.map +0 -1
- package/internal/uploads.d.ts +0 -42
- package/internal/uploads.d.ts.map +0 -1
- package/internal/uploads.js +0 -141
- package/internal/uploads.js.map +0 -1
- package/internal/uploads.mjs +0 -131
- package/internal/uploads.mjs.map +0 -1
- package/internal/utils/base64.d.mts +0 -3
- package/internal/utils/base64.d.mts.map +0 -1
- package/internal/utils/base64.d.ts +0 -3
- package/internal/utils/base64.d.ts.map +0 -1
- package/internal/utils/base64.js +0 -38
- package/internal/utils/base64.js.map +0 -1
- package/internal/utils/base64.mjs +0 -33
- package/internal/utils/base64.mjs.map +0 -1
- package/internal/utils/bytes.d.mts +0 -4
- package/internal/utils/bytes.d.mts.map +0 -1
- package/internal/utils/bytes.d.ts +0 -4
- package/internal/utils/bytes.d.ts.map +0 -1
- package/internal/utils/bytes.js +0 -31
- package/internal/utils/bytes.js.map +0 -1
- package/internal/utils/bytes.mjs +0 -26
- package/internal/utils/bytes.mjs.map +0 -1
- package/internal/utils/env.d.mts +0 -9
- package/internal/utils/env.d.mts.map +0 -1
- package/internal/utils/env.d.ts +0 -9
- package/internal/utils/env.d.ts.map +0 -1
- package/internal/utils/env.js +0 -22
- package/internal/utils/env.js.map +0 -1
- package/internal/utils/env.mjs +0 -18
- package/internal/utils/env.mjs.map +0 -1
- package/internal/utils/log.d.mts +0 -37
- package/internal/utils/log.d.mts.map +0 -1
- package/internal/utils/log.d.ts +0 -37
- package/internal/utils/log.d.ts.map +0 -1
- package/internal/utils/log.js +0 -86
- package/internal/utils/log.js.map +0 -1
- package/internal/utils/log.mjs +0 -80
- package/internal/utils/log.mjs.map +0 -1
- package/internal/utils/path.d.mts +0 -15
- package/internal/utils/path.d.mts.map +0 -1
- package/internal/utils/path.d.ts +0 -15
- package/internal/utils/path.d.ts.map +0 -1
- package/internal/utils/path.js +0 -79
- package/internal/utils/path.js.map +0 -1
- package/internal/utils/path.mjs +0 -74
- package/internal/utils/path.mjs.map +0 -1
- package/internal/utils/sleep.d.mts +0 -2
- package/internal/utils/sleep.d.mts.map +0 -1
- package/internal/utils/sleep.d.ts +0 -2
- package/internal/utils/sleep.d.ts.map +0 -1
- package/internal/utils/sleep.js +0 -7
- package/internal/utils/sleep.js.map +0 -1
- package/internal/utils/sleep.mjs +0 -3
- package/internal/utils/sleep.mjs.map +0 -1
- package/internal/utils/uuid.d.mts +0 -5
- package/internal/utils/uuid.d.mts.map +0 -1
- package/internal/utils/uuid.d.ts +0 -5
- package/internal/utils/uuid.d.ts.map +0 -1
- package/internal/utils/uuid.js +0 -19
- package/internal/utils/uuid.js.map +0 -1
- package/internal/utils/uuid.mjs +0 -15
- package/internal/utils/uuid.mjs.map +0 -1
- package/internal/utils/values.d.mts +0 -18
- package/internal/utils/values.d.mts.map +0 -1
- package/internal/utils/values.d.ts +0 -18
- package/internal/utils/values.d.ts.map +0 -1
- package/internal/utils/values.js +0 -112
- package/internal/utils/values.js.map +0 -1
- package/internal/utils/values.mjs +0 -94
- package/internal/utils/values.mjs.map +0 -1
- package/internal/utils.d.mts +0 -7
- package/internal/utils.d.mts.map +0 -1
- package/internal/utils.d.ts +0 -7
- package/internal/utils.d.ts.map +0 -1
- package/internal/utils.js +0 -11
- package/internal/utils.js.map +0 -1
- package/internal/utils.mjs +0 -8
- package/internal/utils.mjs.map +0 -1
- package/lib/bin/auth.d.mts +0 -10
- package/lib/bin/auth.d.mts.map +0 -1
- package/lib/bin/auth.d.ts +0 -10
- package/lib/bin/auth.d.ts.map +0 -1
- package/lib/bin/auth.js +0 -52
- package/lib/bin/auth.js.map +0 -1
- package/lib/bin/auth.mjs +0 -47
- package/lib/bin/auth.mjs.map +0 -1
- package/lib/bin/cli.d.mts +0 -3
- package/lib/bin/cli.d.mts.map +0 -1
- package/lib/bin/cli.d.ts +0 -3
- package/lib/bin/cli.d.ts.map +0 -1
- package/lib/bin/cli.js +0 -12
- package/lib/bin/cli.js.map +0 -1
- package/lib/bin/cli.mjs +0 -10
- package/lib/bin/cli.mjs.map +0 -1
- package/lib/bin/commands/listen.d.mts +0 -3
- package/lib/bin/commands/listen.d.mts.map +0 -1
- package/lib/bin/commands/listen.d.ts +0 -3
- package/lib/bin/commands/listen.d.ts.map +0 -1
- package/lib/bin/commands/listen.js +0 -143
- package/lib/bin/commands/listen.js.map +0 -1
- package/lib/bin/commands/listen.mjs +0 -140
- package/lib/bin/commands/listen.mjs.map +0 -1
- package/lib/nextjs/hooks/useBrowserUse.d.mts +0 -7
- package/lib/nextjs/hooks/useBrowserUse.d.mts.map +0 -1
- package/lib/nextjs/hooks/useBrowserUse.d.ts +0 -7
- package/lib/nextjs/hooks/useBrowserUse.d.ts.map +0 -1
- package/lib/nextjs/hooks/useBrowserUse.js +0 -30
- package/lib/nextjs/hooks/useBrowserUse.js.map +0 -1
- package/lib/nextjs/hooks/useBrowserUse.mjs +0 -27
- package/lib/nextjs/hooks/useBrowserUse.mjs.map +0 -1
- package/lib/nextjs/server/utils.d.mts +0 -26
- package/lib/nextjs/server/utils.d.mts.map +0 -1
- package/lib/nextjs/server/utils.d.ts +0 -26
- package/lib/nextjs/server/utils.d.ts.map +0 -1
- package/lib/nextjs/server/utils.js +0 -42
- package/lib/nextjs/server/utils.js.map +0 -1
- package/lib/nextjs/server/utils.mjs +0 -39
- package/lib/nextjs/server/utils.mjs.map +0 -1
- package/lib/parse.d.mts +0 -11
- package/lib/parse.d.mts.map +0 -1
- package/lib/parse.d.ts +0 -11
- package/lib/parse.d.ts.map +0 -1
- package/lib/parse.js +0 -32
- package/lib/parse.js.map +0 -1
- package/lib/parse.mjs +0 -27
- package/lib/parse.mjs.map +0 -1
- package/lib/stream.d.mts +0 -7
- package/lib/stream.d.mts.map +0 -1
- package/lib/stream.d.ts +0 -7
- package/lib/stream.d.ts.map +0 -1
- package/lib/stream.js +0 -16
- package/lib/stream.js.map +0 -1
- package/lib/stream.mjs +0 -12
- package/lib/stream.mjs.map +0 -1
- package/lib/types.d.mts +0 -75
- package/lib/types.d.mts.map +0 -1
- package/lib/types.d.ts +0 -75
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -14
- package/lib/types.js.map +0 -1
- package/lib/types.mjs +0 -10
- package/lib/types.mjs.map +0 -1
- package/lib/webhooks.d.mts +0 -73
- package/lib/webhooks.d.mts.map +0 -1
- package/lib/webhooks.d.ts +0 -73
- package/lib/webhooks.d.ts.map +0 -1
- package/lib/webhooks.js +0 -85
- package/lib/webhooks.js.map +0 -1
- package/lib/webhooks.mjs +0 -79
- package/lib/webhooks.mjs.map +0 -1
- package/resource.d.mts +0 -2
- package/resource.d.mts.map +0 -1
- package/resource.d.ts +0 -2
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -6
- package/resource.js.map +0 -1
- package/resource.mjs +0 -2
- package/resource.mjs.map +0 -1
- package/resources/agent-profiles.d.mts +0 -174
- package/resources/agent-profiles.d.mts.map +0 -1
- package/resources/agent-profiles.d.ts +0 -174
- package/resources/agent-profiles.d.ts.map +0 -1
- package/resources/agent-profiles.js +0 -125
- package/resources/agent-profiles.js.map +0 -1
- package/resources/agent-profiles.mjs +0 -121
- package/resources/agent-profiles.mjs.map +0 -1
- package/resources/browser-profiles.d.mts +0 -179
- package/resources/browser-profiles.d.mts.map +0 -1
- package/resources/browser-profiles.d.ts +0 -179
- package/resources/browser-profiles.d.ts.map +0 -1
- package/resources/browser-profiles.js +0 -126
- package/resources/browser-profiles.js.map +0 -1
- package/resources/browser-profiles.mjs +0 -122
- package/resources/browser-profiles.mjs.map +0 -1
- package/resources/index.d.mts +0 -6
- package/resources/index.d.mts.map +0 -1
- package/resources/index.d.ts +0 -6
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -15
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -7
- package/resources/index.mjs.map +0 -1
- package/resources/sessions/index.d.mts +0 -3
- package/resources/sessions/index.d.mts.map +0 -1
- package/resources/sessions/index.d.ts +0 -3
- package/resources/sessions/index.d.ts.map +0 -1
- package/resources/sessions/index.js +0 -9
- package/resources/sessions/index.js.map +0 -1
- package/resources/sessions/index.mjs +0 -4
- package/resources/sessions/index.mjs.map +0 -1
- package/resources/sessions/public-share.d.mts +0 -89
- package/resources/sessions/public-share.d.mts.map +0 -1
- package/resources/sessions/public-share.d.ts +0 -89
- package/resources/sessions/public-share.d.ts.map +0 -1
- package/resources/sessions/public-share.js +0 -86
- package/resources/sessions/public-share.js.map +0 -1
- package/resources/sessions/public-share.mjs +0 -82
- package/resources/sessions/public-share.mjs.map +0 -1
- package/resources/sessions/sessions.d.mts +0 -186
- package/resources/sessions/sessions.d.mts.map +0 -1
- package/resources/sessions/sessions.d.ts +0 -186
- package/resources/sessions/sessions.d.ts.map +0 -1
- package/resources/sessions/sessions.js +0 -113
- package/resources/sessions/sessions.js.map +0 -1
- package/resources/sessions/sessions.mjs +0 -108
- package/resources/sessions/sessions.mjs.map +0 -1
- package/resources/sessions.d.mts +0 -2
- package/resources/sessions.d.mts.map +0 -1
- package/resources/sessions.d.ts +0 -2
- package/resources/sessions.d.ts.map +0 -1
- package/resources/sessions.js +0 -6
- package/resources/sessions.js.map +0 -1
- package/resources/sessions.mjs +0 -3
- package/resources/sessions.mjs.map +0 -1
- package/resources/tasks.d.mts +0 -529
- package/resources/tasks.d.mts.map +0 -1
- package/resources/tasks.d.ts +0 -529
- package/resources/tasks.d.ts.map +0 -1
- package/resources/tasks.js +0 -238
- package/resources/tasks.js.map +0 -1
- package/resources/tasks.mjs +0 -234
- package/resources/tasks.mjs.map +0 -1
- package/resources/users/index.d.mts +0 -3
- package/resources/users/index.d.mts.map +0 -1
- package/resources/users/index.d.ts +0 -3
- package/resources/users/index.d.ts.map +0 -1
- package/resources/users/index.js +0 -9
- package/resources/users/index.js.map +0 -1
- package/resources/users/index.mjs +0 -4
- package/resources/users/index.mjs.map +0 -1
- package/resources/users/me/files.d.mts +0 -64
- package/resources/users/me/files.d.mts.map +0 -1
- package/resources/users/me/files.d.ts +0 -64
- package/resources/users/me/files.d.ts.map +0 -1
- package/resources/users/me/files.js +0 -43
- package/resources/users/me/files.js.map +0 -1
- package/resources/users/me/files.mjs +0 -39
- package/resources/users/me/files.mjs.map +0 -1
- package/resources/users/me/index.d.mts +0 -3
- package/resources/users/me/index.d.mts.map +0 -1
- package/resources/users/me/index.d.ts +0 -3
- package/resources/users/me/index.d.ts.map +0 -1
- package/resources/users/me/index.js +0 -9
- package/resources/users/me/index.js.map +0 -1
- package/resources/users/me/index.mjs +0 -4
- package/resources/users/me/index.mjs.map +0 -1
- package/resources/users/me/me.d.mts +0 -50
- package/resources/users/me/me.d.mts.map +0 -1
- package/resources/users/me/me.d.ts +0 -50
- package/resources/users/me/me.d.ts.map +0 -1
- package/resources/users/me/me.js +0 -41
- package/resources/users/me/me.js.map +0 -1
- package/resources/users/me/me.mjs +0 -36
- package/resources/users/me/me.mjs.map +0 -1
- package/resources/users/me.d.mts +0 -2
- package/resources/users/me.d.mts.map +0 -1
- package/resources/users/me.d.ts +0 -2
- package/resources/users/me.d.ts.map +0 -1
- package/resources/users/me.js +0 -6
- package/resources/users/me.js.map +0 -1
- package/resources/users/me.mjs +0 -3
- package/resources/users/me.mjs.map +0 -1
- package/resources/users/users.d.mts +0 -10
- package/resources/users/users.d.mts.map +0 -1
- package/resources/users/users.d.ts +0 -10
- package/resources/users/users.d.ts.map +0 -1
- package/resources/users/users.js +0 -17
- package/resources/users/users.js.map +0 -1
- package/resources/users/users.mjs +0 -12
- package/resources/users/users.mjs.map +0 -1
- package/resources/users.d.mts +0 -2
- package/resources/users.d.mts.map +0 -1
- package/resources/users.d.ts +0 -2
- package/resources/users.d.ts.map +0 -1
- package/resources/users.js +0 -6
- package/resources/users.js.map +0 -1
- package/resources/users.mjs +0 -3
- package/resources/users.mjs.map +0 -1
- package/resources.d.mts +0 -2
- package/resources.d.mts.map +0 -1
- package/resources.d.ts +0 -2
- package/resources.d.ts.map +0 -1
- package/resources.js +0 -5
- package/resources.js.map +0 -1
- package/resources.mjs +0 -2
- package/resources.mjs.map +0 -1
- package/src/api-promise.ts +0 -2
- package/src/client.ts +0 -824
- package/src/core/README.md +0 -3
- package/src/core/api-promise.ts +0 -92
- package/src/core/error.ts +0 -130
- package/src/core/resource.ts +0 -11
- package/src/core/uploads.ts +0 -2
- package/src/error.ts +0 -2
- package/src/index.ts +0 -22
- package/src/internal/README.md +0 -3
- package/src/internal/builtin-types.ts +0 -93
- package/src/internal/detect-platform.ts +0 -196
- package/src/internal/errors.ts +0 -33
- package/src/internal/headers.ts +0 -97
- package/src/internal/parse.ts +0 -50
- package/src/internal/request-options.ts +0 -91
- package/src/internal/shim-types.ts +0 -26
- package/src/internal/shims.ts +0 -107
- package/src/internal/to-file.ts +0 -154
- package/src/internal/types.ts +0 -95
- package/src/internal/uploads.ts +0 -187
- package/src/internal/utils/base64.ts +0 -40
- package/src/internal/utils/bytes.ts +0 -32
- package/src/internal/utils/env.ts +0 -18
- package/src/internal/utils/log.ts +0 -127
- package/src/internal/utils/path.ts +0 -88
- package/src/internal/utils/sleep.ts +0 -3
- package/src/internal/utils/uuid.ts +0 -17
- package/src/internal/utils/values.ts +0 -105
- package/src/internal/utils.ts +0 -8
- package/src/lib/.keep +0 -4
- package/src/lib/bin/auth.ts +0 -63
- package/src/lib/bin/cli.ts +0 -11
- package/src/lib/bin/commands/listen.ts +0 -183
- package/src/lib/nextjs/hooks/useBrowserUse.ts +0 -37
- package/src/lib/nextjs/server/utils.ts +0 -69
- package/src/lib/parse.ts +0 -46
- package/src/lib/stream.ts +0 -14
- package/src/lib/types.ts +0 -73
- package/src/lib/webhooks.ts +0 -119
- package/src/resource.ts +0 -2
- package/src/resources/agent-profiles.ts +0 -245
- package/src/resources/browser-profiles.ts +0 -255
- package/src/resources/index.ts +0 -46
- package/src/resources/sessions/index.ts +0 -11
- package/src/resources/sessions/public-share.ts +0 -109
- package/src/resources/sessions/sessions.ts +0 -240
- package/src/resources/sessions.ts +0 -3
- package/src/resources/tasks.ts +0 -783
- package/src/resources/users/index.ts +0 -4
- package/src/resources/users/me/files.ts +0 -95
- package/src/resources/users/me/index.ts +0 -4
- package/src/resources/users/me/me.ts +0 -68
- package/src/resources/users/me.ts +0 -3
- package/src/resources/users/users.ts +0 -15
- package/src/resources/users.ts +0 -3
- package/src/resources.ts +0 -1
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -2
- package/src/version.ts +0 -1
- package/uploads.d.mts +0 -2
- package/uploads.d.mts.map +0 -1
- package/uploads.d.ts +0 -2
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -6
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -2
- package/uploads.mjs.map +0 -1
- package/version.d.mts +0 -2
- package/version.d.mts.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
package/CHANGELOG.md
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 1.2.0 (2025-08-22)
|
|
4
|
-
|
|
5
|
-
Full Changelog: [v1.1.3...v1.2.0](https://github.com/browser-use/browser-use-node/compare/v1.1.3...v1.2.0)
|
|
6
|
-
|
|
7
|
-
### Features
|
|
8
|
-
|
|
9
|
-
* NextJS Utils ([b5e1006](https://github.com/browser-use/browser-use-node/commit/b5e10060a064de9a9454fa90e461f09154094742))
|
|
10
|
-
|
|
11
|
-
## 1.1.3 (2025-08-22)
|
|
12
|
-
|
|
13
|
-
Full Changelog: [v1.1.2...v1.1.3](https://github.com/browser-use/browser-use-node/compare/v1.1.2...v1.1.3)
|
|
14
|
-
|
|
15
|
-
### Chores
|
|
16
|
-
|
|
17
|
-
* add package to package.json ([28293f9](https://github.com/browser-use/browser-use-node/commit/28293f9d1f3807dd8580450c5ba98a18392191be))
|
|
18
|
-
* **client:** qualify global Blob ([944dd90](https://github.com/browser-use/browser-use-node/commit/944dd905151ef5030991f8dfd0168cf88d940068))
|
|
19
|
-
|
|
20
|
-
## 1.1.2 (2025-08-21)
|
|
21
|
-
|
|
22
|
-
Full Changelog: [v1.1.1...v1.1.2](https://github.com/browser-use/browser-use-node/compare/v1.1.1...v1.1.2)
|
|
23
|
-
|
|
24
|
-
### Bug Fixes
|
|
25
|
-
|
|
26
|
-
* Improve Quick Start Section ([a1b0539](https://github.com/browser-use/browser-use-node/commit/a1b0539a5e04c9b31fd4f1e798d71dd5d02d1976))
|
|
27
|
-
|
|
28
|
-
## 1.1.1 (2025-08-20)
|
|
29
|
-
|
|
30
|
-
Full Changelog: [v1.1.0...v1.1.1](https://github.com/browser-use/browser-use-node/compare/v1.1.0...v1.1.1)
|
|
31
|
-
|
|
32
|
-
## 1.1.0 (2025-08-20)
|
|
33
|
-
|
|
34
|
-
Full Changelog: [v1.0.0...v1.1.0](https://github.com/browser-use/browser-use-node/compare/v1.0.0...v1.1.0)
|
|
35
|
-
|
|
36
|
-
### Features
|
|
37
|
-
|
|
38
|
-
* LLM key strings over LLM model enum ([415d734](https://github.com/browser-use/browser-use-node/commit/415d734d7f1c8cec85d3aee9f0e1050f31a7b1ac))
|
|
39
|
-
* **mcp:** add code execution tool ([96e6aca](https://github.com/browser-use/browser-use-node/commit/96e6acad04252d075543b60a8de59f95648ca8a7))
|
|
40
|
-
|
|
41
|
-
## 1.0.0 (2025-08-19)
|
|
42
|
-
|
|
43
|
-
Full Changelog: [v0.7.0...v1.0.0](https://github.com/browser-use/browser-use-node/compare/v0.7.0...v1.0.0)
|
|
44
|
-
|
|
45
|
-
### ⚠ BREAKING CHANGES
|
|
46
|
-
|
|
47
|
-
* This PR creates a v1 release of the Browser Use Node SDK
|
|
48
|
-
|
|
49
|
-
### Performance Improvements
|
|
50
|
-
|
|
51
|
-
* Create 1.0.0 Release ([a2007b8](https://github.com/browser-use/browser-use-node/commit/a2007b806fac33b89092b8bebbc4bbe972de6c76))
|
|
52
|
-
|
|
53
|
-
## 0.7.0 (2025-08-19)
|
|
54
|
-
|
|
55
|
-
Full Changelog: [v0.6.0...v0.7.0](https://github.com/browser-use/browser-use-node/compare/v0.6.0...v0.7.0)
|
|
56
|
-
|
|
57
|
-
### Features
|
|
58
|
-
|
|
59
|
-
* **api:** manual updates ([d339b83](https://github.com/browser-use/browser-use-node/commit/d339b83355a358c7a55fa501576403cb30e0aa31))
|
|
60
|
-
* **api:** manual updates ([5d09807](https://github.com/browser-use/browser-use-node/commit/5d09807eb2cb8fa30555775d0a5cb21b2c7f3c7f))
|
|
61
|
-
|
|
62
|
-
## 0.6.0 (2025-08-19)
|
|
63
|
-
|
|
64
|
-
Full Changelog: [v0.5.1...v0.6.0](https://github.com/browser-use/browser-use-node/compare/v0.5.1...v0.6.0)
|
|
65
|
-
|
|
66
|
-
### Features
|
|
67
|
-
|
|
68
|
-
* Event Verify Type Signature, Aggressively Push Status Checks in Webhook ([6239b3a](https://github.com/browser-use/browser-use-node/commit/6239b3a632df204ab01fcc89c40890d80d0c1bf6))
|
|
69
|
-
* Improve Docs ([12429c9](https://github.com/browser-use/browser-use-node/commit/12429c9289030fc8c4c1bbb7fe5aa249c08ec8ee))
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Bug Fixes
|
|
73
|
-
|
|
74
|
-
* Trigger SDK build ([e5b9215](https://github.com/browser-use/browser-use-node/commit/e5b9215d158a2e50a736ba185dd641dece9d96bb))
|
|
75
|
-
* Trigger SDK build ([0ce7b48](https://github.com/browser-use/browser-use-node/commit/0ce7b48d3920460c40091d0449413c7c59d4ef19))
|
|
76
|
-
|
|
77
|
-
## 0.5.1 (2025-08-18)
|
|
78
|
-
|
|
79
|
-
Full Changelog: [v0.5.0...v0.5.1](https://github.com/browser-use/browser-use-node/compare/v0.5.0...v0.5.1)
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* Fix Browser Use CLI ([132bc96](https://github.com/browser-use/browser-use-node/commit/132bc96cdb1917c6d95b84382463b08d0e75096e))
|
|
84
|
-
|
|
85
|
-
## 0.5.0 (2025-08-18)
|
|
86
|
-
|
|
87
|
-
Full Changelog: [v0.4.0...v0.5.0](https://github.com/browser-use/browser-use-node/compare/v0.4.0...v0.5.0)
|
|
88
|
-
|
|
89
|
-
### Features
|
|
90
|
-
|
|
91
|
-
* Add start_url ([10e4187](https://github.com/browser-use/browser-use-node/commit/10e4187e952398bb1bd7f1607a0450cca0e25b0f))
|
|
92
|
-
* Align Task Filtering by Status with `status` Field ([1ea0943](https://github.com/browser-use/browser-use-node/commit/1ea0943b3cbca9fb9f40e36c33094756c979ac54))
|
|
93
|
-
|
|
94
|
-
## 0.4.0 (2025-08-17)
|
|
95
|
-
|
|
96
|
-
Full Changelog: [v0.3.0...v0.4.0](https://github.com/browser-use/browser-use-node/compare/v0.3.0...v0.4.0)
|
|
97
|
-
|
|
98
|
-
### Features
|
|
99
|
-
|
|
100
|
-
* Update param and response views ([68615f4](https://github.com/browser-use/browser-use-node/commit/68615f4851b05203a78520c34409ad4c8f043cc4))
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### Chores
|
|
104
|
-
|
|
105
|
-
* **deps:** update dependency @types/node to v20.17.58 ([42c532e](https://github.com/browser-use/browser-use-node/commit/42c532ede1ba630159e410ebf3c8cc8a73721242))
|
|
106
|
-
* **internal:** formatting change ([e09c835](https://github.com/browser-use/browser-use-node/commit/e09c8357715abca8d1e095316a7f43d171a3a0f9))
|
|
107
|
-
|
|
108
|
-
## 0.3.0 (2025-08-15)
|
|
109
|
-
|
|
110
|
-
Full Changelog: [v0.2.2...v0.3.0](https://github.com/browser-use/browser-use-node/compare/v0.2.2...v0.3.0)
|
|
111
|
-
|
|
112
|
-
### Features
|
|
113
|
-
|
|
114
|
-
* Fix Stainless GitHub Action ([16f3e7f](https://github.com/browser-use/browser-use-node/commit/16f3e7f6a43c5f29c81543624ca56cfd72b8e0cf))
|
|
115
|
-
|
|
116
|
-
## 0.2.2 (2025-08-15)
|
|
117
|
-
|
|
118
|
-
Full Changelog: [v0.2.1...v0.2.2](https://github.com/browser-use/browser-use-node/compare/v0.2.1...v0.2.2)
|
|
119
|
-
|
|
120
|
-
### Bug Fixes
|
|
121
|
-
|
|
122
|
-
* stream completion ([2f6ce1f](https://github.com/browser-use/browser-use-node/commit/2f6ce1f1a312ba3f94872e262db2c17df5f6bf56))
|
|
123
|
-
|
|
124
|
-
## 0.2.1 (2025-08-15)
|
|
125
|
-
|
|
126
|
-
Full Changelog: [v0.2.0...v0.2.1](https://github.com/browser-use/browser-use-node/compare/v0.2.0...v0.2.1)
|
|
127
|
-
|
|
128
|
-
## 0.2.0 (2025-08-15)
|
|
129
|
-
|
|
130
|
-
Full Changelog: [v0.1.1...v0.2.0](https://github.com/browser-use/browser-use-node/compare/v0.1.1...v0.2.0)
|
|
131
|
-
|
|
132
|
-
### Features
|
|
133
|
-
|
|
134
|
-
* **api:** api update ([3df1a94](https://github.com/browser-use/browser-use-node/commit/3df1a94275d67ce41756227e6f0b749b2c3ed009))
|
|
135
|
-
* **api:** manual updates ([7183cef](https://github.com/browser-use/browser-use-node/commit/7183cef2c497b83985d368cb3a559fc0e11e4082))
|
|
136
|
-
|
|
137
|
-
## 0.1.1 (2025-08-14)
|
|
138
|
-
|
|
139
|
-
Full Changelog: [v0.1.0...v0.1.1](https://github.com/browser-use/browser-use-node/compare/v0.1.0...v0.1.1)
|
|
140
|
-
|
|
141
|
-
### Chores
|
|
142
|
-
|
|
143
|
-
* **internal:** codegen related update ([cf1f8c5](https://github.com/browser-use/browser-use-node/commit/cf1f8c5e6f2ba3b1b4795ad0e5fd1e1eaba2c187))
|
|
144
|
-
|
|
145
|
-
## 0.1.0 (2025-08-09)
|
|
146
|
-
|
|
147
|
-
Full Changelog: [v0.0.1...v0.1.0](https://github.com/browser-use/browser-use-node/compare/v0.0.1...v0.1.0)
|
|
148
|
-
|
|
149
|
-
### Features
|
|
150
|
-
|
|
151
|
-
* **api:** update via SDK Studio ([c56303c](https://github.com/browser-use/browser-use-node/commit/c56303c06357c1b24d6e797dd9a1fb7ca4e4249b))
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
### Chores
|
|
155
|
-
|
|
156
|
-
* update SDK settings ([e47a3c0](https://github.com/browser-use/browser-use-node/commit/e47a3c0111c16d7c1e7096a8b69f5e77c85f82fe))
|
|
157
|
-
* update SDK settings ([c39de14](https://github.com/browser-use/browser-use-node/commit/c39de1490a0d59e65b376efa94ec959b87b43d47))
|
package/LICENSE
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2025 Browser Use
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
package/api-promise.d.mts
DELETED
package/api-promise.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.d.ts
DELETED
package/api-promise.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("./internal/tslib.js");
|
|
4
|
-
/** @deprecated Import from ./core/api-promise instead */
|
|
5
|
-
tslib_1.__exportStar(require("./core/api-promise.js"), exports);
|
|
6
|
-
//# sourceMappingURL=api-promise.js.map
|
package/api-promise.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gEAAmC"}
|
package/api-promise.mjs
DELETED
package/api-promise.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-promise.mjs","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/client.d.mts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs";
|
|
2
|
-
import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs";
|
|
3
|
-
export type { Logger, LogLevel } from "./internal/utils/log.mjs";
|
|
4
|
-
import * as Opts from "./internal/request-options.mjs";
|
|
5
|
-
import * as Errors from "./core/error.mjs";
|
|
6
|
-
import * as Uploads from "./core/uploads.mjs";
|
|
7
|
-
import * as API from "./resources/index.mjs";
|
|
8
|
-
import { APIPromise } from "./core/api-promise.mjs";
|
|
9
|
-
import { AgentProfileCreateParams, AgentProfileListParams, AgentProfileListResponse, AgentProfileUpdateParams, AgentProfileView, AgentProfiles } from "./resources/agent-profiles.mjs";
|
|
10
|
-
import { BrowserProfileCreateParams, BrowserProfileListParams, BrowserProfileListResponse, BrowserProfileUpdateParams, BrowserProfileView, BrowserProfiles, ProxyCountryCode } from "./resources/browser-profiles.mjs";
|
|
11
|
-
import { FileView, TaskCreateParams, TaskCreateResponse, TaskGetLogsResponse, TaskGetOutputFileParams, TaskGetOutputFileResponse, TaskGetUserUploadedFileParams, TaskGetUserUploadedFileResponse, TaskItemView, TaskListParams, TaskListResponse, TaskStatus, TaskStepView, TaskUpdateParams, TaskView, Tasks } from "./resources/tasks.mjs";
|
|
12
|
-
import { SessionListParams, SessionListResponse, SessionStatus, SessionUpdateParams, SessionView, Sessions } from "./resources/sessions/sessions.mjs";
|
|
13
|
-
import { Users } from "./resources/users/users.mjs";
|
|
14
|
-
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
15
|
-
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
16
|
-
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
17
|
-
import { type LogLevel, type Logger } from "./internal/utils/log.mjs";
|
|
18
|
-
export interface ClientOptions {
|
|
19
|
-
/**
|
|
20
|
-
* Defaults to process.env['BROWSER_USE_API_KEY'].
|
|
21
|
-
*/
|
|
22
|
-
apiKey?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
25
|
-
*
|
|
26
|
-
* Defaults to process.env['BROWSER_USE_BASE_URL'].
|
|
27
|
-
*/
|
|
28
|
-
baseURL?: string | null | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The maximum amount of time (in milliseconds) that the client should wait for a response
|
|
31
|
-
* from the server before timing out a single request.
|
|
32
|
-
*
|
|
33
|
-
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
|
|
34
|
-
* much longer than this timeout before the promise succeeds or fails.
|
|
35
|
-
*
|
|
36
|
-
* @unit milliseconds
|
|
37
|
-
*/
|
|
38
|
-
timeout?: number | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Additional `RequestInit` options to be passed to `fetch` calls.
|
|
41
|
-
* Properties will be overridden by per-request `fetchOptions`.
|
|
42
|
-
*/
|
|
43
|
-
fetchOptions?: MergedRequestInit | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* Specify a custom `fetch` function implementation.
|
|
46
|
-
*
|
|
47
|
-
* If not provided, we expect that `fetch` is defined globally.
|
|
48
|
-
*/
|
|
49
|
-
fetch?: Fetch | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* The maximum number of times that the client will retry a request in case of a
|
|
52
|
-
* temporary failure, like a network error or a 5XX error from the server.
|
|
53
|
-
*
|
|
54
|
-
* @default 2
|
|
55
|
-
*/
|
|
56
|
-
maxRetries?: number | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Default headers to include with every request to the API.
|
|
59
|
-
*
|
|
60
|
-
* These can be removed in individual requests by explicitly setting the
|
|
61
|
-
* header to `null` in request options.
|
|
62
|
-
*/
|
|
63
|
-
defaultHeaders?: HeadersLike | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Default query parameters to include with every request to the API.
|
|
66
|
-
*
|
|
67
|
-
* These can be removed in individual requests by explicitly setting the
|
|
68
|
-
* param to `undefined` in request options.
|
|
69
|
-
*/
|
|
70
|
-
defaultQuery?: Record<string, string | undefined> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Set the log level.
|
|
73
|
-
*
|
|
74
|
-
* Defaults to process.env['BROWSER_USE_LOG'] or 'warn' if it isn't set.
|
|
75
|
-
*/
|
|
76
|
-
logLevel?: LogLevel | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* Set the logger.
|
|
79
|
-
*
|
|
80
|
-
* Defaults to globalThis.console.
|
|
81
|
-
*/
|
|
82
|
-
logger?: Logger | undefined;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* API Client for interfacing with the Browser Use API.
|
|
86
|
-
*/
|
|
87
|
-
export declare class BrowserUse {
|
|
88
|
-
#private;
|
|
89
|
-
apiKey: string;
|
|
90
|
-
baseURL: string;
|
|
91
|
-
maxRetries: number;
|
|
92
|
-
timeout: number;
|
|
93
|
-
logger: Logger | undefined;
|
|
94
|
-
logLevel: LogLevel | undefined;
|
|
95
|
-
fetchOptions: MergedRequestInit | undefined;
|
|
96
|
-
private fetch;
|
|
97
|
-
protected idempotencyHeader?: string;
|
|
98
|
-
private _options;
|
|
99
|
-
/**
|
|
100
|
-
* API Client for interfacing with the Browser Use API.
|
|
101
|
-
*
|
|
102
|
-
* @param {string | undefined} [opts.apiKey=process.env['BROWSER_USE_API_KEY'] ?? undefined]
|
|
103
|
-
* @param {string} [opts.baseURL=process.env['BROWSER_USE_BASE_URL'] ?? https://api.browser-use.com/api/v2] - Override the default base URL for the API.
|
|
104
|
-
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
105
|
-
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
106
|
-
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
|
|
107
|
-
* @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
|
|
108
|
-
* @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
|
|
109
|
-
* @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
|
|
110
|
-
*/
|
|
111
|
-
constructor({ baseURL, apiKey, ...opts }?: ClientOptions);
|
|
112
|
-
/**
|
|
113
|
-
* Create a new client instance re-using the same options given to the current client with optional overriding.
|
|
114
|
-
*/
|
|
115
|
-
withOptions(options: Partial<ClientOptions>): this;
|
|
116
|
-
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
117
|
-
protected validateHeaders({ values, nulls }: NullableHeaders): void;
|
|
118
|
-
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
119
|
-
/**
|
|
120
|
-
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
121
|
-
*/
|
|
122
|
-
protected stringifyQuery(query: Record<string, unknown>): string;
|
|
123
|
-
private getUserAgent;
|
|
124
|
-
protected defaultIdempotencyKey(): string;
|
|
125
|
-
protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
|
|
126
|
-
buildURL(path: string, query: Record<string, unknown> | null | undefined, defaultBaseURL?: string | undefined): string;
|
|
127
|
-
/**
|
|
128
|
-
* Used as a callback for mutating the given `FinalRequestOptions` object.
|
|
129
|
-
*/
|
|
130
|
-
protected prepareOptions(options: FinalRequestOptions): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Used as a callback for mutating the given `RequestInit` object.
|
|
133
|
-
*
|
|
134
|
-
* This is useful for cases where you want to add certain headers based off of
|
|
135
|
-
* the request properties, e.g. `method` or `url`.
|
|
136
|
-
*/
|
|
137
|
-
protected prepareRequest(request: RequestInit, { url, options }: {
|
|
138
|
-
url: string;
|
|
139
|
-
options: FinalRequestOptions;
|
|
140
|
-
}): Promise<void>;
|
|
141
|
-
get<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
142
|
-
post<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
143
|
-
patch<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
144
|
-
put<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
145
|
-
delete<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
146
|
-
private methodRequest;
|
|
147
|
-
request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
|
|
148
|
-
private makeRequest;
|
|
149
|
-
fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
|
|
150
|
-
private shouldRetry;
|
|
151
|
-
private retryRequest;
|
|
152
|
-
private calculateDefaultRetryTimeoutMillis;
|
|
153
|
-
buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
|
|
154
|
-
retryCount?: number;
|
|
155
|
-
}): Promise<{
|
|
156
|
-
req: FinalizedRequestInit;
|
|
157
|
-
url: string;
|
|
158
|
-
timeout: number;
|
|
159
|
-
}>;
|
|
160
|
-
private buildHeaders;
|
|
161
|
-
private buildBody;
|
|
162
|
-
static BrowserUse: typeof BrowserUse;
|
|
163
|
-
static DEFAULT_TIMEOUT: number;
|
|
164
|
-
static BrowserUseError: typeof Errors.BrowserUseError;
|
|
165
|
-
static APIError: typeof Errors.APIError;
|
|
166
|
-
static APIConnectionError: typeof Errors.APIConnectionError;
|
|
167
|
-
static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
|
|
168
|
-
static APIUserAbortError: typeof Errors.APIUserAbortError;
|
|
169
|
-
static NotFoundError: typeof Errors.NotFoundError;
|
|
170
|
-
static ConflictError: typeof Errors.ConflictError;
|
|
171
|
-
static RateLimitError: typeof Errors.RateLimitError;
|
|
172
|
-
static BadRequestError: typeof Errors.BadRequestError;
|
|
173
|
-
static AuthenticationError: typeof Errors.AuthenticationError;
|
|
174
|
-
static InternalServerError: typeof Errors.InternalServerError;
|
|
175
|
-
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
176
|
-
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
177
|
-
static toFile: typeof Uploads.toFile;
|
|
178
|
-
users: API.Users;
|
|
179
|
-
tasks: API.Tasks;
|
|
180
|
-
sessions: API.Sessions;
|
|
181
|
-
browserProfiles: API.BrowserProfiles;
|
|
182
|
-
agentProfiles: API.AgentProfiles;
|
|
183
|
-
}
|
|
184
|
-
export declare namespace BrowserUse {
|
|
185
|
-
export type RequestOptions = Opts.RequestOptions;
|
|
186
|
-
export { Users as Users };
|
|
187
|
-
export { Tasks as Tasks, type FileView as FileView, type TaskItemView as TaskItemView, type TaskStatus as TaskStatus, type TaskStepView as TaskStepView, type TaskView as TaskView, type TaskCreateResponse as TaskCreateResponse, type TaskListResponse as TaskListResponse, type TaskGetLogsResponse as TaskGetLogsResponse, type TaskGetOutputFileResponse as TaskGetOutputFileResponse, type TaskGetUserUploadedFileResponse as TaskGetUserUploadedFileResponse, type TaskCreateParams as TaskCreateParams, type TaskUpdateParams as TaskUpdateParams, type TaskListParams as TaskListParams, type TaskGetOutputFileParams as TaskGetOutputFileParams, type TaskGetUserUploadedFileParams as TaskGetUserUploadedFileParams, };
|
|
188
|
-
export { Sessions as Sessions, type SessionStatus as SessionStatus, type SessionView as SessionView, type SessionListResponse as SessionListResponse, type SessionUpdateParams as SessionUpdateParams, type SessionListParams as SessionListParams, };
|
|
189
|
-
export { BrowserProfiles as BrowserProfiles, type BrowserProfileView as BrowserProfileView, type ProxyCountryCode as ProxyCountryCode, type BrowserProfileListResponse as BrowserProfileListResponse, type BrowserProfileCreateParams as BrowserProfileCreateParams, type BrowserProfileUpdateParams as BrowserProfileUpdateParams, type BrowserProfileListParams as BrowserProfileListParams, };
|
|
190
|
-
export { AgentProfiles as AgentProfiles, type AgentProfileView as AgentProfileView, type AgentProfileListResponse as AgentProfileListResponse, type AgentProfileCreateParams as AgentProfileCreateParams, type AgentProfileUpdateParams as AgentProfileUpdateParams, type AgentProfileListParams as AgentProfileListParams, };
|
|
191
|
-
}
|
|
192
|
-
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EA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