@lusor/sdk 0.0.0-stage → 1.0.0
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/CHANGELOG.md +27 -0
- package/LICENSE +21 -0
- package/LICENSE-APACHE-2.0.txt +177 -0
- package/README.md +108 -2
- package/THIRD_PARTY_NOTICES.md +21 -0
- package/dist/BaseClient.d.ts +54 -0
- package/dist/BaseClient.js +43 -0
- package/dist/Client.d.ts +68 -0
- package/dist/Client.js +105 -0
- package/dist/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/api/errors/BadGatewayError.js +17 -0
- package/dist/api/errors/BadRequestError.d.ts +5 -0
- package/dist/api/errors/BadRequestError.js +17 -0
- package/dist/api/errors/ConflictError.d.ts +7 -0
- package/dist/api/errors/ConflictError.js +17 -0
- package/dist/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/api/errors/ForbiddenError.js +17 -0
- package/dist/api/errors/GatewayTimeoutError.d.ts +7 -0
- package/dist/api/errors/GatewayTimeoutError.js +17 -0
- package/dist/api/errors/GoneError.d.ts +5 -0
- package/dist/api/errors/GoneError.js +17 -0
- package/dist/api/errors/InternalServerError.d.ts +7 -0
- package/dist/api/errors/InternalServerError.js +17 -0
- package/dist/api/errors/NotFoundError.d.ts +7 -0
- package/dist/api/errors/NotFoundError.js +17 -0
- package/dist/api/errors/PaymentRequiredError.d.ts +7 -0
- package/dist/api/errors/PaymentRequiredError.js +17 -0
- package/dist/api/errors/PreconditionFailedError.d.ts +7 -0
- package/dist/api/errors/PreconditionFailedError.js +17 -0
- package/dist/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/api/errors/ServiceUnavailableError.js +17 -0
- package/dist/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/api/errors/TooManyRequestsError.js +17 -0
- package/dist/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/api/errors/UnauthorizedError.js +17 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/api/errors/UnprocessableEntityError.js +17 -0
- package/dist/api/errors/index.d.ts +14 -0
- package/dist/api/errors/index.js +14 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/resources/agents/client/Client.d.ts +209 -0
- package/dist/api/resources/agents/client/Client.js +596 -0
- package/dist/api/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/agents/client/index.js +1 -0
- package/dist/api/resources/agents/client/requests/ArchiveAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/ArchiveAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/CreateAgentInput.d.ts +53 -0
- package/dist/api/resources/agents/client/requests/CreateAgentInput.js +2 -0
- package/dist/api/resources/agents/client/requests/GetAgentsRequest.d.ts +16 -0
- package/dist/api/resources/agents/client/requests/GetAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/ListAgentsRequest.d.ts +16 -0
- package/dist/api/resources/agents/client/requests/ListAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/ListArchivedAgentsRequest.d.ts +12 -0
- package/dist/api/resources/agents/client/requests/ListArchivedAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/RestoreAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/RestoreAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/RetargetQueueAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/RetargetQueueAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/UpdateAgentInput.d.ts +30 -0
- package/dist/api/resources/agents/client/requests/UpdateAgentInput.js +2 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +8 -0
- package/dist/api/resources/agents/client/requests/index.js +1 -0
- package/dist/api/resources/agents/exports.d.ts +3 -0
- package/dist/api/resources/agents/exports.js +4 -0
- package/dist/api/resources/agents/index.d.ts +3 -0
- package/dist/api/resources/agents/index.js +3 -0
- package/dist/api/resources/agents/resources/index.d.ts +3 -0
- package/dist/api/resources/agents/resources/index.js +3 -0
- package/dist/api/resources/agents/resources/turns/client/Client.d.ts +100 -0
- package/dist/api/resources/agents/resources/turns/client/Client.js +240 -0
- package/dist/api/resources/agents/resources/turns/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/turns/client/index.js +1 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CancelTurnsRequest.d.ts +16 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CancelTurnsRequest.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CreateAgentTurnInput.d.ts +23 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CreateAgentTurnInput.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/ListTurnsRequest.d.ts +20 -0
- package/dist/api/resources/agents/resources/turns/client/requests/ListTurnsRequest.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/index.d.ts +3 -0
- package/dist/api/resources/agents/resources/turns/client/requests/index.js +1 -0
- package/dist/api/resources/agents/resources/turns/exports.d.ts +2 -0
- package/dist/api/resources/agents/resources/turns/exports.js +3 -0
- package/dist/api/resources/agents/resources/turns/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/turns/index.js +2 -0
- package/dist/api/resources/agents/resources/turns/types/CancelTurnsResponse.d.ts +14 -0
- package/dist/api/resources/agents/resources/turns/types/CancelTurnsResponse.js +2 -0
- package/dist/api/resources/agents/resources/turns/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/turns/types/index.js +1 -0
- package/dist/api/resources/agents/types/RetargetQueueAgentsResponse.d.ts +4 -0
- package/dist/api/resources/agents/types/RetargetQueueAgentsResponse.js +2 -0
- package/dist/api/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/agents/types/index.js +1 -0
- package/dist/api/resources/appInstalls/client/Client.d.ts +216 -0
- package/dist/api/resources/appInstalls/client/Client.js +591 -0
- package/dist/api/resources/appInstalls/client/index.d.ts +1 -0
- package/dist/api/resources/appInstalls/client/index.js +1 -0
- package/dist/api/resources/appInstalls/client/requests/AppInstallBatchInput.d.ts +16 -0
- package/dist/api/resources/appInstalls/client/requests/AppInstallBatchInput.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/AppStoreInstallInput.d.ts +21 -0
- package/dist/api/resources/appInstalls/client/requests/AppStoreInstallInput.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/CancelBatchAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/CancelBatchAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/CreateAppInstallsRequest.d.ts +19 -0
- package/dist/api/resources/appInstalls/client/requests/CreateAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/EventsAppInstallsRequest.d.ts +13 -0
- package/dist/api/resources/appInstalls/client/requests/EventsAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/GetActiveBatchAppInstallsRequest.d.ts +13 -0
- package/dist/api/resources/appInstalls/client/requests/GetActiveBatchAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/ListAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/ListAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/UninstallAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/UninstallAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/index.d.ts +8 -0
- package/dist/api/resources/appInstalls/client/requests/index.js +1 -0
- package/dist/api/resources/appInstalls/exports.d.ts +2 -0
- package/dist/api/resources/appInstalls/exports.js +3 -0
- package/dist/api/resources/appInstalls/index.d.ts +2 -0
- package/dist/api/resources/appInstalls/index.js +2 -0
- package/dist/api/resources/appInstalls/types/CancelBatchAppInstallsResponse.d.ts +3 -0
- package/dist/api/resources/appInstalls/types/CancelBatchAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/CreateAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/CreateAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/ListAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/ListAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/UninstallAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/UninstallAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/index.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/index.js +4 -0
- package/dist/api/resources/catalog/client/Client.d.ts +46 -0
- package/dist/api/resources/catalog/client/Client.js +144 -0
- package/dist/api/resources/catalog/client/index.d.ts +1 -0
- package/dist/api/resources/catalog/client/index.js +1 -0
- package/dist/api/resources/catalog/client/requests/GetAppIconCatalogRequest.d.ts +16 -0
- package/dist/api/resources/catalog/client/requests/GetAppIconCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/ListAppsCatalogRequest.d.ts +12 -0
- package/dist/api/resources/catalog/client/requests/ListAppsCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/index.d.ts +2 -0
- package/dist/api/resources/catalog/client/requests/index.js +1 -0
- package/dist/api/resources/catalog/exports.d.ts +2 -0
- package/dist/api/resources/catalog/exports.js +3 -0
- package/dist/api/resources/catalog/index.d.ts +2 -0
- package/dist/api/resources/catalog/index.js +2 -0
- package/dist/api/resources/catalog/types/ListAppsCatalogResponse.d.ts +4 -0
- package/dist/api/resources/catalog/types/ListAppsCatalogResponse.js +2 -0
- package/dist/api/resources/catalog/types/index.d.ts +1 -0
- package/dist/api/resources/catalog/types/index.js +1 -0
- package/dist/api/resources/datasets/client/Client.d.ts +109 -0
- package/dist/api/resources/datasets/client/Client.js +303 -0
- package/dist/api/resources/datasets/client/index.d.ts +1 -0
- package/dist/api/resources/datasets/client/index.js +1 -0
- package/dist/api/resources/datasets/client/requests/DeleteDatasetsRequest.d.ts +10 -0
- package/dist/api/resources/datasets/client/requests/DeleteDatasetsRequest.js +2 -0
- package/dist/api/resources/datasets/client/requests/GetDatasetsRequest.d.ts +10 -0
- package/dist/api/resources/datasets/client/requests/GetDatasetsRequest.js +2 -0
- package/dist/api/resources/datasets/client/requests/PromoteDatasetInput.d.ts +13 -0
- package/dist/api/resources/datasets/client/requests/PromoteDatasetInput.js +2 -0
- package/dist/api/resources/datasets/client/requests/UpdateDatasetInput.d.ts +13 -0
- package/dist/api/resources/datasets/client/requests/UpdateDatasetInput.js +2 -0
- package/dist/api/resources/datasets/client/requests/index.d.ts +4 -0
- package/dist/api/resources/datasets/client/requests/index.js +1 -0
- package/dist/api/resources/datasets/exports.d.ts +2 -0
- package/dist/api/resources/datasets/exports.js +3 -0
- package/dist/api/resources/datasets/index.d.ts +1 -0
- package/dist/api/resources/datasets/index.js +1 -0
- package/dist/api/resources/devices/client/Client.d.ts +979 -0
- package/dist/api/resources/devices/client/Client.js +2576 -0
- package/dist/api/resources/devices/client/index.d.ts +1 -0
- package/dist/api/resources/devices/client/index.js +1 -0
- package/dist/api/resources/devices/client/requests/BackDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/BackDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ChainRequest.d.ts +50 -0
- package/dist/api/resources/devices/client/requests/ChainRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ClearDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/ClearDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ClearGeoDevicesRequest.d.ts +39 -0
- package/dist/api/resources/devices/client/requests/ClearGeoDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/DeployDevicesRequest.d.ts +15 -0
- package/dist/api/resources/devices/client/requests/DeployDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/DeviceDeployPreviewInput.d.ts +41 -0
- package/dist/api/resources/devices/client/requests/DeviceDeployPreviewInput.js +13 -0
- package/dist/api/resources/devices/client/requests/DeviceGeoInput.d.ts +48 -0
- package/dist/api/resources/devices/client/requests/DeviceGeoInput.js +2 -0
- package/dist/api/resources/devices/client/requests/DeviceLanguageInput.d.ts +44 -0
- package/dist/api/resources/devices/client/requests/DeviceLanguageInput.js +2 -0
- package/dist/api/resources/devices/client/requests/GetAdvertisingIdDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetAdvertisingIdDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetGeoDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetGeoDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetIdentityDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetIdentityDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetInternetLocationDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetInternetLocationDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetLanguageDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetLanguageDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetResetDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetResetDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetStaticIpDevicesRequest.d.ts +15 -0
- package/dist/api/resources/devices/client/requests/GetStaticIpDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/HomeDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/HomeDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/KeyInput.d.ts +47 -0
- package/dist/api/resources/devices/client/requests/KeyInput.js +2 -0
- package/dist/api/resources/devices/client/requests/ListDevicesRequest.d.ts +12 -0
- package/dist/api/resources/devices/client/requests/ListDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ListInWorkspaceDevicesRequest.d.ts +10 -0
- package/dist/api/resources/devices/client/requests/ListInWorkspaceDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ListInternetLocationsRequest.d.ts +10 -0
- package/dist/api/resources/devices/client/requests/ListInternetLocationsRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/OccupancyDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/OccupancyDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/PreviewRemoveDevicesRequest.d.ts +17 -0
- package/dist/api/resources/devices/client/requests/PreviewRemoveDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/RecentDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/RecentDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/RemoveDevicesRequest.d.ts +18 -0
- package/dist/api/resources/devices/client/requests/RemoveDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ResetAdvertisingIdDevicesRequest.d.ts +39 -0
- package/dist/api/resources/devices/client/requests/ResetAdvertisingIdDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ScreenshotDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/ScreenshotDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/SetIdentityDevicesRequest.d.ts +42 -0
- package/dist/api/resources/devices/client/requests/SetIdentityDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ShellInput.d.ts +45 -0
- package/dist/api/resources/devices/client/requests/ShellInput.js +2 -0
- package/dist/api/resources/devices/client/requests/StartAppInput.d.ts +58 -0
- package/dist/api/resources/devices/client/requests/StartAppInput.js +2 -0
- package/dist/api/resources/devices/client/requests/StateDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/StateDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/StopAppInput.d.ts +51 -0
- package/dist/api/resources/devices/client/requests/StopAppInput.js +2 -0
- package/dist/api/resources/devices/client/requests/SwipeInput.d.ts +61 -0
- package/dist/api/resources/devices/client/requests/SwipeInput.js +2 -0
- package/dist/api/resources/devices/client/requests/TakeScreenshotDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/TakeScreenshotDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/TapInput.d.ts +58 -0
- package/dist/api/resources/devices/client/requests/TapInput.js +2 -0
- package/dist/api/resources/devices/client/requests/TypeTextInput.d.ts +60 -0
- package/dist/api/resources/devices/client/requests/TypeTextInput.js +2 -0
- package/dist/api/resources/devices/client/requests/index.d.ts +35 -0
- package/dist/api/resources/devices/client/requests/index.js +1 -0
- package/dist/api/resources/devices/exports.d.ts +3 -0
- package/dist/api/resources/devices/exports.js +4 -0
- package/dist/api/resources/devices/index.d.ts +3 -0
- package/dist/api/resources/devices/index.js +3 -0
- package/dist/api/resources/devices/resources/index.d.ts +3 -0
- package/dist/api/resources/devices/resources/index.js +3 -0
- package/dist/api/resources/devices/resources/sessions/client/Client.d.ts +62 -0
- package/dist/api/resources/devices/resources/sessions/client/Client.js +162 -0
- package/dist/api/resources/devices/resources/sessions/client/index.d.ts +1 -0
- package/dist/api/resources/devices/resources/sessions/client/index.js +1 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/CreateSessionInput.d.ts +57 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/CreateSessionInput.js +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/ListSessionsRequest.d.ts +16 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/ListSessionsRequest.js +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/index.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/index.js +1 -0
- package/dist/api/resources/devices/resources/sessions/exports.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/exports.js +3 -0
- package/dist/api/resources/devices/resources/sessions/index.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/index.js +2 -0
- package/dist/api/resources/devices/resources/sessions/types/ListSessionsResponse.d.ts +4 -0
- package/dist/api/resources/devices/resources/sessions/types/ListSessionsResponse.js +2 -0
- package/dist/api/resources/devices/resources/sessions/types/index.d.ts +1 -0
- package/dist/api/resources/devices/resources/sessions/types/index.js +1 -0
- package/dist/api/resources/devices/types/ClearGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ClearGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/DeployDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/DeployDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetAdvertisingIdDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetAdvertisingIdDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetIdentityDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetIdentityDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetInternetLocationDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetInternetLocationDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetLanguageDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetLanguageDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetResetDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetResetDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetStaticIpDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetStaticIpDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ListDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListInWorkspaceDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ListInWorkspaceDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListInternetLocationsResponse.d.ts +9 -0
- package/dist/api/resources/devices/types/ListInternetLocationsResponse.js +2 -0
- package/dist/api/resources/devices/types/OccupancyDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/OccupancyDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/PreviewDeployDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/PreviewDeployDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/PreviewRemoveDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/PreviewRemoveDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/RemoveDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/RemoveDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ResetAdvertisingIdDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ResetAdvertisingIdDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetIdentityDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetIdentityDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetLanguageDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetLanguageDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/index.d.ts +20 -0
- package/dist/api/resources/devices/types/index.js +20 -0
- package/dist/api/resources/emails/client/Client.d.ts +212 -0
- package/dist/api/resources/emails/client/Client.js +537 -0
- package/dist/api/resources/emails/client/index.d.ts +1 -0
- package/dist/api/resources/emails/client/index.js +1 -0
- package/dist/api/resources/emails/client/requests/EmailAddressAddInput.d.ts +16 -0
- package/dist/api/resources/emails/client/requests/EmailAddressAddInput.js +2 -0
- package/dist/api/resources/emails/client/requests/ListAddressesEmailsRequest.d.ts +12 -0
- package/dist/api/resources/emails/client/requests/ListAddressesEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/ListMessagesEmailsRequest.d.ts +20 -0
- package/dist/api/resources/emails/client/requests/ListMessagesEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/PreviewAddAddressEmailsRequest.d.ts +17 -0
- package/dist/api/resources/emails/client/requests/PreviewAddAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/PreviewRemoveAddressEmailsRequest.d.ts +20 -0
- package/dist/api/resources/emails/client/requests/PreviewRemoveAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/RemoveAddressEmailsRequest.d.ts +21 -0
- package/dist/api/resources/emails/client/requests/RemoveAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/index.d.ts +6 -0
- package/dist/api/resources/emails/client/requests/index.js +1 -0
- package/dist/api/resources/emails/exports.d.ts +2 -0
- package/dist/api/resources/emails/exports.js +3 -0
- package/dist/api/resources/emails/index.d.ts +2 -0
- package/dist/api/resources/emails/index.js +2 -0
- package/dist/api/resources/emails/types/AddAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/AddAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/PreviewAddAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/PreviewAddAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/PreviewRemoveAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/PreviewRemoveAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/RemoveAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/RemoveAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/index.d.ts +4 -0
- package/dist/api/resources/emails/types/index.js +4 -0
- package/dist/api/resources/files/client/Client.d.ts +69 -0
- package/dist/api/resources/files/client/Client.js +205 -0
- package/dist/api/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/files/client/index.js +1 -0
- package/dist/api/resources/files/client/requests/DownloadFilesRequest.d.ts +16 -0
- package/dist/api/resources/files/client/requests/DownloadFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/GetFilesRequest.d.ts +16 -0
- package/dist/api/resources/files/client/requests/GetFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/ListFilesRequest.d.ts +13 -0
- package/dist/api/resources/files/client/requests/ListFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/index.d.ts +3 -0
- package/dist/api/resources/files/client/requests/index.js +1 -0
- package/dist/api/resources/files/exports.d.ts +2 -0
- package/dist/api/resources/files/exports.js +3 -0
- package/dist/api/resources/files/index.d.ts +2 -0
- package/dist/api/resources/files/index.js +2 -0
- package/dist/api/resources/files/types/DownloadFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/DownloadFilesResponse.js +2 -0
- package/dist/api/resources/files/types/GetFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/GetFilesResponse.js +2 -0
- package/dist/api/resources/files/types/ListFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/ListFilesResponse.js +2 -0
- package/dist/api/resources/files/types/index.d.ts +3 -0
- package/dist/api/resources/files/types/index.js +3 -0
- package/dist/api/resources/health/client/Client.d.ts +29 -0
- package/dist/api/resources/health/client/Client.js +57 -0
- package/dist/api/resources/health/client/index.d.ts +1 -0
- package/dist/api/resources/health/client/index.js +1 -0
- package/dist/api/resources/health/exports.d.ts +2 -0
- package/dist/api/resources/health/exports.js +3 -0
- package/dist/api/resources/health/index.d.ts +2 -0
- package/dist/api/resources/health/index.js +2 -0
- package/dist/api/resources/health/types/CheckHealthResponse.d.ts +4 -0
- package/dist/api/resources/health/types/CheckHealthResponse.js +2 -0
- package/dist/api/resources/health/types/index.d.ts +1 -0
- package/dist/api/resources/health/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +42 -0
- package/dist/api/resources/index.js +42 -0
- package/dist/api/resources/modelKeys/client/Client.d.ts +94 -0
- package/dist/api/resources/modelKeys/client/Client.js +224 -0
- package/dist/api/resources/modelKeys/client/index.d.ts +1 -0
- package/dist/api/resources/modelKeys/client/index.js +1 -0
- package/dist/api/resources/modelKeys/client/requests/DeleteModelKeysRequest.d.ts +13 -0
- package/dist/api/resources/modelKeys/client/requests/DeleteModelKeysRequest.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/ListModelKeysRequest.d.ts +10 -0
- package/dist/api/resources/modelKeys/client/requests/ListModelKeysRequest.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/ModelKeyInput.d.ts +16 -0
- package/dist/api/resources/modelKeys/client/requests/ModelKeyInput.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/index.d.ts +3 -0
- package/dist/api/resources/modelKeys/client/requests/index.js +1 -0
- package/dist/api/resources/modelKeys/exports.d.ts +2 -0
- package/dist/api/resources/modelKeys/exports.js +3 -0
- package/dist/api/resources/modelKeys/index.d.ts +2 -0
- package/dist/api/resources/modelKeys/index.js +2 -0
- package/dist/api/resources/modelKeys/types/DeleteModelKeysRequestProvider.d.ts +5 -0
- package/dist/api/resources/modelKeys/types/DeleteModelKeysRequestProvider.js +5 -0
- package/dist/api/resources/modelKeys/types/ListModelKeysResponse.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/ListModelKeysResponse.js +2 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysRequestProvider.d.ts +5 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysRequestProvider.js +5 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysResponse.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysResponse.js +2 -0
- package/dist/api/resources/modelKeys/types/index.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/index.js +4 -0
- package/dist/api/resources/notifications/client/Client.d.ts +98 -0
- package/dist/api/resources/notifications/client/Client.js +264 -0
- package/dist/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/api/resources/notifications/client/index.js +1 -0
- package/dist/api/resources/notifications/client/requests/GetSettingsNotificationsRequest.d.ts +13 -0
- package/dist/api/resources/notifications/client/requests/GetSettingsNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListAppsNotificationsRequest.d.ts +13 -0
- package/dist/api/resources/notifications/client/requests/ListAppsNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +17 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListRulesNotificationsRequest.d.ts +10 -0
- package/dist/api/resources/notifications/client/requests/ListRulesNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/index.d.ts +4 -0
- package/dist/api/resources/notifications/client/requests/index.js +1 -0
- package/dist/api/resources/notifications/exports.d.ts +2 -0
- package/dist/api/resources/notifications/exports.js +3 -0
- package/dist/api/resources/notifications/index.d.ts +2 -0
- package/dist/api/resources/notifications/index.js +2 -0
- package/dist/api/resources/notifications/types/GetSettingsNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/GetSettingsNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListAppsNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListAppsNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListRulesNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListRulesNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/index.d.ts +4 -0
- package/dist/api/resources/notifications/types/index.js +4 -0
- package/dist/api/resources/phoneNumbers/client/Client.d.ts +92 -0
- package/dist/api/resources/phoneNumbers/client/Client.js +219 -0
- package/dist/api/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/phoneNumbers/client/index.js +1 -0
- package/dist/api/resources/phoneNumbers/client/requests/GetPhoneNumbersRequest.d.ts +13 -0
- package/dist/api/resources/phoneNumbers/client/requests/GetPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListMessagesPhoneNumbersRequest.d.ts +19 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListMessagesPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListPhoneNumbersRequest.d.ts +10 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/index.d.ts +3 -0
- package/dist/api/resources/phoneNumbers/client/requests/index.js +1 -0
- package/dist/api/resources/phoneNumbers/exports.d.ts +2 -0
- package/dist/api/resources/phoneNumbers/exports.js +3 -0
- package/dist/api/resources/phoneNumbers/index.d.ts +1 -0
- package/dist/api/resources/phoneNumbers/index.js +1 -0
- package/dist/api/resources/secrets/client/Client.d.ts +80 -0
- package/dist/api/resources/secrets/client/Client.js +192 -0
- package/dist/api/resources/secrets/client/index.d.ts +1 -0
- package/dist/api/resources/secrets/client/index.js +1 -0
- package/dist/api/resources/secrets/client/requests/GetSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/GetSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/ListSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/ListSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/ListTagsSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/ListTagsSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/index.d.ts +3 -0
- package/dist/api/resources/secrets/client/requests/index.js +1 -0
- package/dist/api/resources/secrets/exports.d.ts +2 -0
- package/dist/api/resources/secrets/exports.js +3 -0
- package/dist/api/resources/secrets/index.d.ts +2 -0
- package/dist/api/resources/secrets/index.js +2 -0
- package/dist/api/resources/secrets/types/GetSecretsResponse.d.ts +4 -0
- package/dist/api/resources/secrets/types/GetSecretsResponse.js +2 -0
- package/dist/api/resources/secrets/types/ListTagsSecretsResponse.d.ts +4 -0
- package/dist/api/resources/secrets/types/ListTagsSecretsResponse.js +2 -0
- package/dist/api/resources/secrets/types/index.d.ts +2 -0
- package/dist/api/resources/secrets/types/index.js +2 -0
- package/dist/api/resources/sessions/client/Client.d.ts +442 -0
- package/dist/api/resources/sessions/client/Client.js +1241 -0
- package/dist/api/resources/sessions/client/index.d.ts +1 -0
- package/dist/api/resources/sessions/client/index.js +1 -0
- package/dist/api/resources/sessions/client/requests/AnswerHitlInput.d.ts +18 -0
- package/dist/api/resources/sessions/client/requests/AnswerHitlInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/ArtifactsSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/ArtifactsSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/BreakdownSessionsRequest.d.ts +10 -0
- package/dist/api/resources/sessions/client/requests/BreakdownSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/CancelQueuedSessionsRequest.d.ts +18 -0
- package/dist/api/resources/sessions/client/requests/CancelQueuedSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ContinueSessionInput.d.ts +24 -0
- package/dist/api/resources/sessions/client/requests/ContinueSessionInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/EventsSessionsRequest.d.ts +12 -0
- package/dist/api/resources/sessions/client/requests/EventsSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetLegacySessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/GetLegacySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetSessionsRequest.d.ts +10 -0
- package/dist/api/resources/sessions/client/requests/GetSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetUiStateSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/GetUiStateSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/HistoryPolicySessionsRequest.d.ts +12 -0
- package/dist/api/resources/sessions/client/requests/HistoryPolicySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ListSessionsRequest.d.ts +78 -0
- package/dist/api/resources/sessions/client/requests/ListSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/RecordingSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/RecordingSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ReplayFrameSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/ReplayFrameSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ReplaySessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/ReplaySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/StatusSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/StatusSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/StopSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/StopSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/UpdateSessionInput.d.ts +13 -0
- package/dist/api/resources/sessions/client/requests/UpdateSessionInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/index.d.ts +17 -0
- package/dist/api/resources/sessions/client/requests/index.js +1 -0
- package/dist/api/resources/sessions/exports.d.ts +3 -0
- package/dist/api/resources/sessions/exports.js +4 -0
- package/dist/api/resources/sessions/index.d.ts +3 -0
- package/dist/api/resources/sessions/index.js +3 -0
- package/dist/api/resources/sessions/resources/index.d.ts +3 -0
- package/dist/api/resources/sessions/resources/index.js +3 -0
- package/dist/api/resources/sessions/resources/liveView/client/Client.d.ts +210 -0
- package/dist/api/resources/sessions/resources/liveView/client/Client.js +616 -0
- package/dist/api/resources/sessions/resources/liveView/client/index.d.ts +1 -0
- package/dist/api/resources/sessions/resources/liveView/client/index.js +1 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/ConnectLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/ConnectLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/EventsLiveViewRequest.d.ts +16 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/EventsLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/IceServersLiveViewRequest.d.ts +16 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/IceServersLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/KeepaliveLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/KeepaliveLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/RequestFrameLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/RequestFrameLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StartLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StartLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamSignalInput.d.ts +30 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamSignalInput.js +11 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamStopInput.d.ts +15 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamStopInput.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/index.d.ts +8 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/index.js +1 -0
- package/dist/api/resources/sessions/resources/liveView/exports.d.ts +2 -0
- package/dist/api/resources/sessions/resources/liveView/exports.js +3 -0
- package/dist/api/resources/sessions/resources/liveView/index.d.ts +2 -0
- package/dist/api/resources/sessions/resources/liveView/index.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/types/IceServersLiveViewResponse.d.ts +4 -0
- package/dist/api/resources/sessions/resources/liveView/types/IceServersLiveViewResponse.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/types/index.d.ts +1 -0
- package/dist/api/resources/sessions/resources/liveView/types/index.js +1 -0
- package/dist/api/resources/sessions/types/BreakdownSessionsResponse.d.ts +18 -0
- package/dist/api/resources/sessions/types/BreakdownSessionsResponse.js +10 -0
- package/dist/api/resources/sessions/types/EventsSessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/EventsSessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/HistoryPolicySessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/HistoryPolicySessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/ListSessionsRequestStatusMode.d.ts +5 -0
- package/dist/api/resources/sessions/types/ListSessionsRequestStatusMode.js +5 -0
- package/dist/api/resources/sessions/types/ListSessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/ListSessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/index.d.ts +5 -0
- package/dist/api/resources/sessions/types/index.js +5 -0
- package/dist/api/resources/skills/client/Client.d.ts +106 -0
- package/dist/api/resources/skills/client/Client.js +310 -0
- package/dist/api/resources/skills/client/index.d.ts +1 -0
- package/dist/api/resources/skills/client/index.js +1 -0
- package/dist/api/resources/skills/client/requests/CreateSkillInput.d.ts +44 -0
- package/dist/api/resources/skills/client/requests/CreateSkillInput.js +2 -0
- package/dist/api/resources/skills/client/requests/DeleteSkillsRequest.d.ts +10 -0
- package/dist/api/resources/skills/client/requests/DeleteSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/GetSkillsRequest.d.ts +10 -0
- package/dist/api/resources/skills/client/requests/GetSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/ListSkillsRequest.d.ts +9 -0
- package/dist/api/resources/skills/client/requests/ListSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/UpdateSkillsRequest.d.ts +20 -0
- package/dist/api/resources/skills/client/requests/UpdateSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/index.d.ts +5 -0
- package/dist/api/resources/skills/client/requests/index.js +1 -0
- package/dist/api/resources/skills/exports.d.ts +2 -0
- package/dist/api/resources/skills/exports.js +3 -0
- package/dist/api/resources/skills/index.d.ts +2 -0
- package/dist/api/resources/skills/index.js +2 -0
- package/dist/api/resources/skills/types/ListSkillsRequestScope.d.ts +5 -0
- package/dist/api/resources/skills/types/ListSkillsRequestScope.js +5 -0
- package/dist/api/resources/skills/types/ListSkillsResponse.d.ts +4 -0
- package/dist/api/resources/skills/types/ListSkillsResponse.js +2 -0
- package/dist/api/resources/skills/types/index.d.ts +2 -0
- package/dist/api/resources/skills/types/index.js +2 -0
- package/dist/api/resources/workspaces/client/Client.d.ts +34 -0
- package/dist/api/resources/workspaces/client/Client.js +72 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +1 -0
- package/dist/api/resources/workspaces/client/requests/GetWorkspacesRequest.d.ts +10 -0
- package/dist/api/resources/workspaces/client/requests/GetWorkspacesRequest.js +2 -0
- package/dist/api/resources/workspaces/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/requests/index.js +1 -0
- package/dist/api/resources/workspaces/exports.d.ts +2 -0
- package/dist/api/resources/workspaces/exports.js +3 -0
- package/dist/api/resources/workspaces/index.d.ts +2 -0
- package/dist/api/resources/workspaces/index.js +2 -0
- package/dist/api/resources/workspaces/types/GetWorkspacesResponse.d.ts +4 -0
- package/dist/api/resources/workspaces/types/GetWorkspacesResponse.js +2 -0
- package/dist/api/resources/workspaces/types/index.d.ts +1 -0
- package/dist/api/resources/workspaces/types/index.js +1 -0
- package/dist/api/types/Agent.d.ts +19 -0
- package/dist/api/types/Agent.js +2 -0
- package/dist/api/types/AgentDetail.d.ts +9 -0
- package/dist/api/types/AgentDetail.js +2 -0
- package/dist/api/types/AgentDetailResponse.d.ts +4 -0
- package/dist/api/types/AgentDetailResponse.js +2 -0
- package/dist/api/types/AgentDevice.d.ts +7 -0
- package/dist/api/types/AgentDevice.js +2 -0
- package/dist/api/types/AgentDeviceInput.d.ts +6 -0
- package/dist/api/types/AgentDeviceInput.js +2 -0
- package/dist/api/types/AgentListResponse.d.ts +8 -0
- package/dist/api/types/AgentListResponse.js +2 -0
- package/dist/api/types/AgentTurn.d.ts +14 -0
- package/dist/api/types/AgentTurn.js +2 -0
- package/dist/api/types/AgentTurnDispatchResponse.d.ts +29 -0
- package/dist/api/types/AgentTurnDispatchResponse.js +14 -0
- package/dist/api/types/AgentTurnPage.d.ts +7 -0
- package/dist/api/types/AgentTurnPage.js +2 -0
- package/dist/api/types/AgentTurnPageResponse.d.ts +4 -0
- package/dist/api/types/AgentTurnPageResponse.js +2 -0
- package/dist/api/types/AnswerHitlResult.d.ts +26 -0
- package/dist/api/types/AnswerHitlResult.js +13 -0
- package/dist/api/types/AppInstall.d.ts +36 -0
- package/dist/api/types/AppInstall.js +22 -0
- package/dist/api/types/AppInstallBatch.d.ts +39 -0
- package/dist/api/types/AppInstallBatch.js +28 -0
- package/dist/api/types/AppInstallBatchStarted.d.ts +19 -0
- package/dist/api/types/AppInstallBatchStarted.js +13 -0
- package/dist/api/types/AppInstallEvent.d.ts +16 -0
- package/dist/api/types/AppInstallEvent.js +8 -0
- package/dist/api/types/AppStoreInstallResponse.d.ts +31 -0
- package/dist/api/types/AppStoreInstallResponse.js +14 -0
- package/dist/api/types/ArchiveAgentResponse.d.ts +10 -0
- package/dist/api/types/ArchiveAgentResponse.js +2 -0
- package/dist/api/types/BackChainStep.d.ts +5 -0
- package/dist/api/types/BackChainStep.js +2 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +2 -0
- package/dist/api/types/BadRequestErrorBody.js +2 -0
- package/dist/api/types/Busy.d.ts +19 -0
- package/dist/api/types/Busy.js +9 -0
- package/dist/api/types/CancelQueuedFollowupResult.d.ts +8 -0
- package/dist/api/types/CancelQueuedFollowupResult.js +2 -0
- package/dist/api/types/CaptureField.d.ts +7 -0
- package/dist/api/types/CaptureField.js +2 -0
- package/dist/api/types/CaptureOnlyFilter.d.ts +8 -0
- package/dist/api/types/CaptureOnlyFilter.js +8 -0
- package/dist/api/types/CaptureOptions.d.ts +20 -0
- package/dist/api/types/CaptureOptions.js +2 -0
- package/dist/api/types/CaptureResponse.d.ts +56 -0
- package/dist/api/types/CaptureResponse.js +2 -0
- package/dist/api/types/CaptureVerbosity.d.ts +12 -0
- package/dist/api/types/CaptureVerbosity.js +12 -0
- package/dist/api/types/CatalogApp.d.ts +11 -0
- package/dist/api/types/CatalogApp.js +2 -0
- package/dist/api/types/ChainCapturePolicy.d.ts +12 -0
- package/dist/api/types/ChainCapturePolicy.js +12 -0
- package/dist/api/types/ChainResponse.d.ts +6 -0
- package/dist/api/types/ChainResponse.js +2 -0
- package/dist/api/types/ChainStep.d.ts +45 -0
- package/dist/api/types/ChainStep.js +2 -0
- package/dist/api/types/ChainStepResponse.d.ts +14 -0
- package/dist/api/types/ChainStepResponse.js +2 -0
- package/dist/api/types/ChainVerb.d.ts +16 -0
- package/dist/api/types/ChainVerb.js +16 -0
- package/dist/api/types/ClearChainStep.d.ts +5 -0
- package/dist/api/types/ClearChainStep.js +2 -0
- package/dist/api/types/ContinueSessionResult.d.ts +25 -0
- package/dist/api/types/ContinueSessionResult.js +7 -0
- package/dist/api/types/CreateSessionResult.d.ts +13 -0
- package/dist/api/types/CreateSessionResult.js +7 -0
- package/dist/api/types/Dataset.d.ts +18 -0
- package/dist/api/types/Dataset.js +7 -0
- package/dist/api/types/DatasetColumn.d.ts +5 -0
- package/dist/api/types/DatasetColumn.js +2 -0
- package/dist/api/types/DatasetColumnType.d.ts +6 -0
- package/dist/api/types/DatasetColumnType.js +6 -0
- package/dist/api/types/DatasetListResponse.d.ts +4 -0
- package/dist/api/types/DatasetListResponse.js +2 -0
- package/dist/api/types/DatasetOutput.d.ts +12 -0
- package/dist/api/types/DatasetOutput.js +2 -0
- package/dist/api/types/DatasetResponse.d.ts +4 -0
- package/dist/api/types/DatasetResponse.js +2 -0
- package/dist/api/types/DeleteDatasetResponse.d.ts +3 -0
- package/dist/api/types/DeleteDatasetResponse.js +2 -0
- package/dist/api/types/Device.d.ts +41 -0
- package/dist/api/types/Device.js +16 -0
- package/dist/api/types/DeviceAdvertisingIdReset.d.ts +6 -0
- package/dist/api/types/DeviceAdvertisingIdReset.js +2 -0
- package/dist/api/types/DeviceChangeConfirmInput.d.ts +4 -0
- package/dist/api/types/DeviceChangeConfirmInput.js +2 -0
- package/dist/api/types/DeviceChangePreview.d.ts +36 -0
- package/dist/api/types/DeviceChangePreview.js +7 -0
- package/dist/api/types/DeviceChangeResult.d.ts +9 -0
- package/dist/api/types/DeviceChangeResult.js +2 -0
- package/dist/api/types/DeviceControlError.d.ts +15 -0
- package/dist/api/types/DeviceControlError.js +15 -0
- package/dist/api/types/DeviceControlInProgress.d.ts +7 -0
- package/dist/api/types/DeviceControlInProgress.js +7 -0
- package/dist/api/types/DeviceControlState.d.ts +18 -0
- package/dist/api/types/DeviceControlState.js +18 -0
- package/dist/api/types/DeviceGeo.d.ts +37 -0
- package/dist/api/types/DeviceGeo.js +18 -0
- package/dist/api/types/DeviceIdentity.d.ts +9 -0
- package/dist/api/types/DeviceIdentity.js +2 -0
- package/dist/api/types/DeviceIdentityFields.d.ts +16 -0
- package/dist/api/types/DeviceIdentityFields.js +2 -0
- package/dist/api/types/DeviceInternetLocation.d.ts +28 -0
- package/dist/api/types/DeviceInternetLocation.js +16 -0
- package/dist/api/types/DeviceLanguage.d.ts +8 -0
- package/dist/api/types/DeviceLanguage.js +2 -0
- package/dist/api/types/DeviceOccupancy.d.ts +39 -0
- package/dist/api/types/DeviceOccupancy.js +2 -0
- package/dist/api/types/DeviceRemoveResult.d.ts +8 -0
- package/dist/api/types/DeviceRemoveResult.js +2 -0
- package/dist/api/types/DeviceReset.d.ts +35 -0
- package/dist/api/types/DeviceReset.js +20 -0
- package/dist/api/types/DeviceState.d.ts +21 -0
- package/dist/api/types/DeviceState.js +2 -0
- package/dist/api/types/DeviceStaticIp.d.ts +18 -0
- package/dist/api/types/DeviceStaticIp.js +10 -0
- package/dist/api/types/DeviceStaticIpStatus.d.ts +17 -0
- package/dist/api/types/DeviceStaticIpStatus.js +10 -0
- package/dist/api/types/EmailAddress.d.ts +11 -0
- package/dist/api/types/EmailAddress.js +2 -0
- package/dist/api/types/EmailAddressListResponse.d.ts +4 -0
- package/dist/api/types/EmailAddressListResponse.js +2 -0
- package/dist/api/types/EmailMessage.d.ts +15 -0
- package/dist/api/types/EmailMessage.js +2 -0
- package/dist/api/types/EmailMessageListResponse.d.ts +6 -0
- package/dist/api/types/EmailMessageListResponse.js +2 -0
- package/dist/api/types/EmptyChainStepParams.d.ts +6 -0
- package/dist/api/types/EmptyChainStepParams.js +2 -0
- package/dist/api/types/EmptyVerbInput.d.ts +9 -0
- package/dist/api/types/EmptyVerbInput.js +2 -0
- package/dist/api/types/ErrorResponse.d.ts +4 -0
- package/dist/api/types/ErrorResponse.js +2 -0
- package/dist/api/types/HistoryPolicy.d.ts +17 -0
- package/dist/api/types/HistoryPolicy.js +2 -0
- package/dist/api/types/HomeChainStep.d.ts +5 -0
- package/dist/api/types/HomeChainStep.js +2 -0
- package/dist/api/types/IceServer.d.ts +8 -0
- package/dist/api/types/IceServer.js +2 -0
- package/dist/api/types/IceServerIssuance.d.ts +13 -0
- package/dist/api/types/IceServerIssuance.js +2 -0
- package/dist/api/types/InboxAddressAddResult.d.ts +18 -0
- package/dist/api/types/InboxAddressAddResult.js +2 -0
- package/dist/api/types/InboxAddressPreview.d.ts +34 -0
- package/dist/api/types/InboxAddressPreview.js +7 -0
- package/dist/api/types/InboxAddressRemoveResult.d.ts +13 -0
- package/dist/api/types/InboxAddressRemoveResult.js +2 -0
- package/dist/api/types/KeyChainStep.d.ts +5 -0
- package/dist/api/types/KeyChainStep.js +2 -0
- package/dist/api/types/KeyChainStepParams.d.ts +3 -0
- package/dist/api/types/KeyChainStepParams.js +2 -0
- package/dist/api/types/LegacySession.d.ts +21 -0
- package/dist/api/types/LegacySession.js +11 -0
- package/dist/api/types/ModelKey.d.ts +14 -0
- package/dist/api/types/ModelKey.js +8 -0
- package/dist/api/types/NotificationApp.d.ts +6 -0
- package/dist/api/types/NotificationApp.js +2 -0
- package/dist/api/types/NotificationFeedItem.d.ts +34 -0
- package/dist/api/types/NotificationFeedItem.js +2 -0
- package/dist/api/types/NotificationRule.d.ts +41 -0
- package/dist/api/types/NotificationRule.js +12 -0
- package/dist/api/types/NotificationSettings.d.ts +29 -0
- package/dist/api/types/NotificationSettings.js +2 -0
- package/dist/api/types/PhoneNumber.d.ts +34 -0
- package/dist/api/types/PhoneNumber.js +18 -0
- package/dist/api/types/PhoneNumberListResponse.d.ts +4 -0
- package/dist/api/types/PhoneNumberListResponse.js +2 -0
- package/dist/api/types/PhoneNumberMessage.d.ts +9 -0
- package/dist/api/types/PhoneNumberMessage.js +2 -0
- package/dist/api/types/PhoneNumberMessageListResponse.d.ts +6 -0
- package/dist/api/types/PhoneNumberMessageListResponse.js +2 -0
- package/dist/api/types/PhoneNumberResponse.d.ts +4 -0
- package/dist/api/types/PhoneNumberResponse.js +2 -0
- package/dist/api/types/RecentChainStep.d.ts +5 -0
- package/dist/api/types/RecentChainStep.js +2 -0
- package/dist/api/types/RecordingFinalizationStatus.d.ts +11 -0
- package/dist/api/types/RecordingFinalizationStatus.js +11 -0
- package/dist/api/types/RetargetQueuedTurnsResult.d.ts +10 -0
- package/dist/api/types/RetargetQueuedTurnsResult.js +2 -0
- package/dist/api/types/ScreenshotChainStep.d.ts +5 -0
- package/dist/api/types/ScreenshotChainStep.js +2 -0
- package/dist/api/types/SecretTag.d.ts +6 -0
- package/dist/api/types/SecretTag.js +2 -0
- package/dist/api/types/SessionArtifacts.d.ts +29 -0
- package/dist/api/types/SessionArtifacts.js +2 -0
- package/dist/api/types/SessionDetail.d.ts +15 -0
- package/dist/api/types/SessionDetail.js +2 -0
- package/dist/api/types/SessionEvent.d.ts +10 -0
- package/dist/api/types/SessionEvent.js +2 -0
- package/dist/api/types/SessionRecording.d.ts +20 -0
- package/dist/api/types/SessionRecording.js +9 -0
- package/dist/api/types/SessionRecordingResponse.d.ts +8 -0
- package/dist/api/types/SessionRecordingResponse.js +2 -0
- package/dist/api/types/SessionRecordingSegment.d.ts +11 -0
- package/dist/api/types/SessionRecordingSegment.js +2 -0
- package/dist/api/types/SessionReplayFrame.d.ts +24 -0
- package/dist/api/types/SessionReplayFrame.js +10 -0
- package/dist/api/types/SessionReplayResponse.d.ts +4 -0
- package/dist/api/types/SessionReplayResponse.js +2 -0
- package/dist/api/types/SessionStatusV2.d.ts +11 -0
- package/dist/api/types/SessionStatusV2.js +11 -0
- package/dist/api/types/SessionStatusView.d.ts +9 -0
- package/dist/api/types/SessionStatusView.js +2 -0
- package/dist/api/types/SessionV2.d.ts +42 -0
- package/dist/api/types/SessionV2.js +2 -0
- package/dist/api/types/ShellResult.d.ts +6 -0
- package/dist/api/types/ShellResult.js +2 -0
- package/dist/api/types/Skill.d.ts +17 -0
- package/dist/api/types/Skill.js +2 -0
- package/dist/api/types/StartAppChainStep.d.ts +5 -0
- package/dist/api/types/StartAppChainStep.js +2 -0
- package/dist/api/types/StartAppChainStepParams.d.ts +12 -0
- package/dist/api/types/StartAppChainStepParams.js +2 -0
- package/dist/api/types/StopAppChainStep.d.ts +5 -0
- package/dist/api/types/StopAppChainStep.js +2 -0
- package/dist/api/types/StopAppChainStepParams.d.ts +7 -0
- package/dist/api/types/StopAppChainStepParams.js +2 -0
- package/dist/api/types/StopSessionResult.d.ts +7 -0
- package/dist/api/types/StopSessionResult.js +2 -0
- package/dist/api/types/StreamCommandResult.d.ts +10 -0
- package/dist/api/types/StreamCommandResult.js +2 -0
- package/dist/api/types/StreamSignalEvent.d.ts +23 -0
- package/dist/api/types/StreamSignalEvent.js +12 -0
- package/dist/api/types/StreamStartInput.d.ts +12 -0
- package/dist/api/types/StreamStartInput.js +2 -0
- package/dist/api/types/StreamViewerInput.d.ts +6 -0
- package/dist/api/types/StreamViewerInput.js +2 -0
- package/dist/api/types/SwipeChainStep.d.ts +5 -0
- package/dist/api/types/SwipeChainStep.js +2 -0
- package/dist/api/types/SwipeChainStepParams.d.ts +8 -0
- package/dist/api/types/SwipeChainStepParams.js +2 -0
- package/dist/api/types/TapChainStep.d.ts +5 -0
- package/dist/api/types/TapChainStep.js +2 -0
- package/dist/api/types/TapChainStepParams.d.ts +13 -0
- package/dist/api/types/TapChainStepParams.js +2 -0
- package/dist/api/types/TapResult.d.ts +12 -0
- package/dist/api/types/TapResult.js +2 -0
- package/dist/api/types/TypeChainStep.d.ts +5 -0
- package/dist/api/types/TypeChainStep.js +2 -0
- package/dist/api/types/TypeChainStepParams.d.ts +5 -0
- package/dist/api/types/TypeChainStepParams.js +2 -0
- package/dist/api/types/ValidationErrorResponse.d.ts +4 -0
- package/dist/api/types/ValidationErrorResponse.js +2 -0
- package/dist/api/types/VerbResult.d.ts +12 -0
- package/dist/api/types/VerbResult.js +2 -0
- package/dist/api/types/VerbResultWithOptionalCapture.d.ts +4 -0
- package/dist/api/types/VerbResultWithOptionalCapture.js +2 -0
- package/dist/api/types/WaitChainStep.d.ts +5 -0
- package/dist/api/types/WaitChainStep.js +2 -0
- package/dist/api/types/WaitChainStepParams.d.ts +11 -0
- package/dist/api/types/WaitChainStepParams.js +2 -0
- package/dist/api/types/Workspace.d.ts +7 -0
- package/dist/api/types/Workspace.js +2 -0
- package/dist/api/types/WorkspaceFile.d.ts +20 -0
- package/dist/api/types/WorkspaceFile.js +8 -0
- package/dist/api/types/WorkspaceFileDownload.d.ts +8 -0
- package/dist/api/types/WorkspaceFileDownload.js +2 -0
- package/dist/api/types/WorkspaceScopeInput.d.ts +4 -0
- package/dist/api/types/WorkspaceScopeInput.js +2 -0
- package/dist/api/types/WorkspaceSecret.d.ts +26 -0
- package/dist/api/types/WorkspaceSecret.js +2 -0
- package/dist/api/types/WorkspaceSecretListResponse.d.ts +4 -0
- package/dist/api/types/WorkspaceSecretListResponse.js +2 -0
- package/dist/api/types/index.d.ts +133 -0
- package/dist/api/types/index.js +133 -0
- package/dist/auth/HeaderAuthProvider.d.ts +20 -0
- package/dist/auth/HeaderAuthProvider.js +33 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/core/auth/AuthProvider.d.ts +8 -0
- package/dist/core/auth/AuthProvider.js +6 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +1 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +29 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/BearerToken.js +13 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/NoOpAuthProvider.js +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/auth/index.js +4 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +22 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/exports.js +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/core/fetcher/APIResponse.js +1 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/BinaryResponse.js +14 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointMetadata.js +1 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/EndpointSupplier.js +10 -0
- package/dist/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/core/fetcher/Fetcher.js +223 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +83 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +90 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +40 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +10 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +5 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +30 -0
- package/dist/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/core/fetcher/getFetchFn.js +3 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +8 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +13 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +66 -0
- package/dist/core/fetcher/index.d.ts +13 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makePassthroughRequest.js +144 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -0
- package/dist/core/fetcher/makeRequest.js +57 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/fetcher/redactUrl.js +84 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +56 -0
- package/dist/core/fetcher/signals.d.ts +5 -0
- package/dist/core/fetcher/signals.js +29 -0
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/headers.js +27 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.js +7 -0
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +19 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/exports.js +9 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/index.js +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/logging/logger.js +140 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/requestBody.js +23 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +1 -0
- package/dist/core/runtime/runtime.d.ts +28 -0
- package/dist/core/runtime/runtime.js +171 -0
- package/dist/core/stream/Stream.d.ts +100 -0
- package/dist/core/stream/Stream.js +428 -0
- package/dist/core/stream/index.d.ts +2 -0
- package/dist/core/stream/index.js +1 -0
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/QueryStringBuilder.js +78 -0
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +18 -0
- package/dist/core/url/index.d.ts +4 -0
- package/dist/core/url/index.js +4 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +65 -0
- package/dist/core/url/qs.d.ts +7 -0
- package/dist/core/url/qs.js +76 -0
- package/dist/environments.d.ts +4 -0
- package/dist/environments.js +4 -0
- package/dist/errors/LusorError.d.ts +15 -0
- package/dist/errors/LusorError.js +38 -0
- package/dist/errors/LusorTimeoutError.d.ts +6 -0
- package/dist/errors/LusorTimeoutError.js +15 -0
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +32 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +2 -0
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/package.json +54 -4
|
@@ -0,0 +1,979 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Lusor from "../../../index.js";
|
|
5
|
+
import { SessionsClient } from "../resources/sessions/client/Client.js";
|
|
6
|
+
export declare namespace DevicesClient {
|
|
7
|
+
type Options = BaseClientOptions;
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The phones in your workspace, and reads of their current screen and
|
|
13
|
+
* UI tree.
|
|
14
|
+
*/
|
|
15
|
+
export declare class DevicesClient {
|
|
16
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<DevicesClient.Options>;
|
|
17
|
+
protected _sessions: SessionsClient | undefined;
|
|
18
|
+
constructor(options?: DevicesClient.Options);
|
|
19
|
+
get sessions(): SessionsClient;
|
|
20
|
+
/**
|
|
21
|
+
* Returns every phone in the API key's workspace, including offline
|
|
22
|
+
* ones. The same list as `GET /v1/workspaces/{workspaceId}/devices`,
|
|
23
|
+
* without needing the workspace id in the path.
|
|
24
|
+
*
|
|
25
|
+
* @param {Lusor.ListDevicesRequest} request
|
|
26
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
29
|
+
* @throws {@link errors.LusorError}
|
|
30
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.devices.list()
|
|
34
|
+
*/
|
|
35
|
+
list(request?: Lusor.ListDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ListDevicesResponse>;
|
|
36
|
+
private __list;
|
|
37
|
+
/**
|
|
38
|
+
* @param {Lusor.ListInWorkspaceDevicesRequest} request
|
|
39
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
42
|
+
* @throws {@link Lusor.NotFoundError}
|
|
43
|
+
* @throws {@link errors.LusorError}
|
|
44
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* await client.devices.listInWorkspace({
|
|
48
|
+
* workspaceId: "workspaceId"
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
listInWorkspace(request: Lusor.ListInWorkspaceDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ListInWorkspaceDevicesResponse>;
|
|
52
|
+
private __listInWorkspace;
|
|
53
|
+
/**
|
|
54
|
+
* Quotes `quantity` more Lusor Phones (default 1) on the workspace's
|
|
55
|
+
* Phone plan, as one change: the
|
|
56
|
+
* prorated amount charged today for the rest of the current period,
|
|
57
|
+
* and the next full invoice. Nothing is charged. The quote expires
|
|
58
|
+
* after 10 minutes; confirm it with `POST /devices/deploy`.
|
|
59
|
+
*
|
|
60
|
+
* Phones are deployed into the tenant's Default workspace only; any
|
|
61
|
+
* other workspace answers 409 `default_workspace_only`.
|
|
62
|
+
*
|
|
63
|
+
* **Retries:** safe without an `Idempotency-Key`: a preview only quotes, it changes nothing.
|
|
64
|
+
*
|
|
65
|
+
* @param {Lusor.DeviceDeployPreviewInput} request
|
|
66
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Lusor.BadRequestError}
|
|
69
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
70
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
71
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
72
|
+
* @throws {@link Lusor.NotFoundError}
|
|
73
|
+
* @throws {@link Lusor.ConflictError}
|
|
74
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
75
|
+
* @throws {@link errors.LusorError}
|
|
76
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.devices.previewDeploy({
|
|
80
|
+
* workspaceId: "workspaceId"
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
previewDeploy(request: Lusor.DeviceDeployPreviewInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.PreviewDeployDevicesResponse>;
|
|
84
|
+
private __previewDeploy;
|
|
85
|
+
/**
|
|
86
|
+
* Confirms a deploy quote: the Phone plan quantity rises by the quoted
|
|
87
|
+
* number of phones and the quoted amount is charged to the saved card
|
|
88
|
+
* now. If the payment does not go through, the quantity stays
|
|
89
|
+
* unchanged, `paymentPending` is true and no phone is deployed;
|
|
90
|
+
* complete the payment in billing management.
|
|
91
|
+
*
|
|
92
|
+
* Each new phone appears in `GET /devices` once the payment is
|
|
93
|
+
* confirmed (seconds), and is ready to use once it has deployed
|
|
94
|
+
* (minutes).
|
|
95
|
+
*
|
|
96
|
+
* **Retries:** safe without an `Idempotency-Key`: a confirmed `previewId` replays its stored receipt, so it never charges or deploys twice.
|
|
97
|
+
*
|
|
98
|
+
* @param {Lusor.DeployDevicesRequest} request
|
|
99
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link Lusor.BadRequestError}
|
|
102
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
103
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
104
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
105
|
+
* @throws {@link Lusor.NotFoundError}
|
|
106
|
+
* @throws {@link Lusor.ConflictError}
|
|
107
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
108
|
+
* @throws {@link errors.LusorError}
|
|
109
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* await client.devices.deploy({
|
|
113
|
+
* workspaceId: "workspaceId",
|
|
114
|
+
* body: {
|
|
115
|
+
* previewId: "previewId"
|
|
116
|
+
* }
|
|
117
|
+
* })
|
|
118
|
+
*/
|
|
119
|
+
deploy(request: Lusor.DeployDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.DeployDevicesResponse>;
|
|
120
|
+
private __deploy;
|
|
121
|
+
/**
|
|
122
|
+
* Quotes removing this Lusor Phone from the Phone plan: the plan
|
|
123
|
+
* quantity falls by one and the unused rest of the current period is
|
|
124
|
+
* credited to the account balance (applied to the next invoice).
|
|
125
|
+
* Nothing changes yet. The quote expires after 10 minutes; confirm it
|
|
126
|
+
* with `POST /devices/{deviceId}/remove`.
|
|
127
|
+
*
|
|
128
|
+
* Refused with 409 `device_busy` while a session is running on the
|
|
129
|
+
* phone, and 409 `last_phone` for the plan's last phone (cancel the
|
|
130
|
+
* plan in billing management instead).
|
|
131
|
+
*
|
|
132
|
+
* **Retries:** safe without an `Idempotency-Key`: a preview only quotes, it changes nothing.
|
|
133
|
+
*
|
|
134
|
+
* @param {Lusor.PreviewRemoveDevicesRequest} request
|
|
135
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link Lusor.BadRequestError}
|
|
138
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
139
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
140
|
+
* @throws {@link Lusor.NotFoundError}
|
|
141
|
+
* @throws {@link Lusor.ConflictError}
|
|
142
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
143
|
+
* @throws {@link errors.LusorError}
|
|
144
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* await client.devices.previewRemove({
|
|
148
|
+
* workspaceId: "workspaceId",
|
|
149
|
+
* deviceId: "deviceId",
|
|
150
|
+
* body: {
|
|
151
|
+
* "key": "value"
|
|
152
|
+
* }
|
|
153
|
+
* })
|
|
154
|
+
*/
|
|
155
|
+
previewRemove(request: Lusor.PreviewRemoveDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.PreviewRemoveDevicesResponse>;
|
|
156
|
+
private __previewRemove;
|
|
157
|
+
/**
|
|
158
|
+
* Confirms a removal quote. This phone, and no other, stops accepting
|
|
159
|
+
* runs at once; the plan quantity falls by one, and the phone is then
|
|
160
|
+
* wiped and released. Its data cannot be recovered. A session started
|
|
161
|
+
* on it since the quote refuses the removal with 409 `device_busy`.
|
|
162
|
+
*
|
|
163
|
+
* **Retries:** safe without an `Idempotency-Key`: a confirmed `previewId` replays its stored receipt, so it never removes twice.
|
|
164
|
+
*
|
|
165
|
+
* @param {Lusor.RemoveDevicesRequest} request
|
|
166
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link Lusor.BadRequestError}
|
|
169
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
170
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
171
|
+
* @throws {@link Lusor.NotFoundError}
|
|
172
|
+
* @throws {@link Lusor.ConflictError}
|
|
173
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
174
|
+
* @throws {@link errors.LusorError}
|
|
175
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* await client.devices.remove({
|
|
179
|
+
* workspaceId: "workspaceId",
|
|
180
|
+
* deviceId: "deviceId",
|
|
181
|
+
* body: {
|
|
182
|
+
* previewId: "previewId"
|
|
183
|
+
* }
|
|
184
|
+
* })
|
|
185
|
+
*/
|
|
186
|
+
remove(request: Lusor.RemoveDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.RemoveDevicesResponse>;
|
|
187
|
+
private __remove;
|
|
188
|
+
/**
|
|
189
|
+
* The GPS location and timezone the phone reports to apps. In `auto`
|
|
190
|
+
* mode both follow the phone's Internet exit IP and are re-applied
|
|
191
|
+
* after every IP change. In `override` mode they are the values set
|
|
192
|
+
* with `PUT /geo`, and `apply.state` says whether the phone has them
|
|
193
|
+
* yet (`pending`, `applied`, `held` while the phone restarts or
|
|
194
|
+
* resets, or `failed`).
|
|
195
|
+
*
|
|
196
|
+
* @param {Lusor.GetGeoDevicesRequest} request
|
|
197
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
200
|
+
* @throws {@link Lusor.NotFoundError}
|
|
201
|
+
* @throws {@link Lusor.ConflictError}
|
|
202
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
203
|
+
* @throws {@link errors.LusorError}
|
|
204
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* await client.devices.getGeo({
|
|
208
|
+
* workspaceId: "workspaceId",
|
|
209
|
+
* deviceId: "deviceId"
|
|
210
|
+
* })
|
|
211
|
+
*/
|
|
212
|
+
getGeo(request: Lusor.GetGeoDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetGeoDevicesResponse>;
|
|
213
|
+
private __getGeo;
|
|
214
|
+
/**
|
|
215
|
+
* Sets the GPS location and timezone the phone reports, replacing the
|
|
216
|
+
* automatic match to its Internet exit IP. The setting persists across
|
|
217
|
+
* restarts and IP changes until it is cleared with `DELETE /geo`, or
|
|
218
|
+
* until the phone is wiped (Wipe & reset) or removed. It can
|
|
219
|
+
* disagree with the exit IP's country or timezone; that is allowed.
|
|
220
|
+
*
|
|
221
|
+
* The change is stored at once and given to the phone in the
|
|
222
|
+
* background (usually within a minute); read `apply.state` with
|
|
223
|
+
* `GET /geo`. Allowed for an API key on its own workspace and for
|
|
224
|
+
* workspace admins and members.
|
|
225
|
+
*
|
|
226
|
+
* @param {Lusor.DeviceGeoInput} request
|
|
227
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
228
|
+
*
|
|
229
|
+
* @throws {@link Lusor.BadRequestError}
|
|
230
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
231
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
232
|
+
* @throws {@link Lusor.NotFoundError}
|
|
233
|
+
* @throws {@link Lusor.ConflictError}
|
|
234
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
235
|
+
* @throws {@link Lusor.GatewayTimeoutError}
|
|
236
|
+
* @throws {@link errors.LusorError}
|
|
237
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* await client.devices.setGeo({
|
|
241
|
+
* workspaceId: "workspaceId",
|
|
242
|
+
* deviceId: "deviceId",
|
|
243
|
+
* latitude: 1.1,
|
|
244
|
+
* longitude: 1.1,
|
|
245
|
+
* timezone: "timezone"
|
|
246
|
+
* })
|
|
247
|
+
*/
|
|
248
|
+
setGeo(request: Lusor.DeviceGeoInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.SetGeoDevicesResponse>;
|
|
249
|
+
private __setGeo;
|
|
250
|
+
/**
|
|
251
|
+
* Clears a location set with `PUT /geo`. The phone's GPS location and
|
|
252
|
+
* timezone follow its Internet exit IP again and are re-applied now.
|
|
253
|
+
* Clearing when nothing is set changes nothing.
|
|
254
|
+
*
|
|
255
|
+
* @param {Lusor.ClearGeoDevicesRequest} request
|
|
256
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
259
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
260
|
+
* @throws {@link Lusor.NotFoundError}
|
|
261
|
+
* @throws {@link Lusor.ConflictError}
|
|
262
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
263
|
+
* @throws {@link Lusor.GatewayTimeoutError}
|
|
264
|
+
* @throws {@link errors.LusorError}
|
|
265
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* await client.devices.clearGeo({
|
|
269
|
+
* workspaceId: "workspaceId",
|
|
270
|
+
* deviceId: "deviceId"
|
|
271
|
+
* })
|
|
272
|
+
*/
|
|
273
|
+
clearGeo(request: Lusor.ClearGeoDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ClearGeoDevicesResponse>;
|
|
274
|
+
private __clearGeo;
|
|
275
|
+
/**
|
|
276
|
+
* `active` is the run currently holding the phone (null when idle;
|
|
277
|
+
* `agentId` is null for a run started without an agent). `queue` lists
|
|
278
|
+
* agent turns waiting for the phone, oldest first. `assigned` lists the
|
|
279
|
+
* agents attached to the phone.
|
|
280
|
+
*
|
|
281
|
+
* @param {Lusor.OccupancyDevicesRequest} request
|
|
282
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
283
|
+
*
|
|
284
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
285
|
+
* @throws {@link Lusor.NotFoundError}
|
|
286
|
+
* @throws {@link errors.LusorError}
|
|
287
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
288
|
+
*
|
|
289
|
+
* @example
|
|
290
|
+
* await client.devices.occupancy({
|
|
291
|
+
* workspaceId: "workspaceId",
|
|
292
|
+
* deviceId: "deviceId"
|
|
293
|
+
* })
|
|
294
|
+
*/
|
|
295
|
+
occupancy(request: Lusor.OccupancyDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.OccupancyDevicesResponse>;
|
|
296
|
+
private __occupancy;
|
|
297
|
+
/**
|
|
298
|
+
* `rotating`: the countries a phone can be bought in or moved to on the
|
|
299
|
+
* residential route. `persistent`: the countries a static IP is sold in.
|
|
300
|
+
* ISO 3166-1 alpha-2 codes, lowercase. Any other country answers 400
|
|
301
|
+
* `unsupported_country` at purchase and on a location change.
|
|
302
|
+
*
|
|
303
|
+
* @param {Lusor.ListInternetLocationsRequest} request
|
|
304
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
305
|
+
*
|
|
306
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
307
|
+
* @throws {@link Lusor.NotFoundError}
|
|
308
|
+
* @throws {@link errors.LusorError}
|
|
309
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* await client.devices.listInternetLocations({
|
|
313
|
+
* workspaceId: "workspaceId"
|
|
314
|
+
* })
|
|
315
|
+
*/
|
|
316
|
+
listInternetLocations(request: Lusor.ListInternetLocationsRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ListInternetLocationsResponse>;
|
|
317
|
+
private __listInternetLocations;
|
|
318
|
+
/**
|
|
319
|
+
* The country the phone's Internet traffic exits from, and whether the
|
|
320
|
+
* phone is on its static IP (`route: "static"`) or the shared
|
|
321
|
+
* residential route (`route: "residential"`). `applied` is `pending`
|
|
322
|
+
* until the phone's route is recorded.
|
|
323
|
+
*
|
|
324
|
+
* @param {Lusor.GetInternetLocationDevicesRequest} request
|
|
325
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
326
|
+
*
|
|
327
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
328
|
+
* @throws {@link Lusor.NotFoundError}
|
|
329
|
+
* @throws {@link Lusor.ConflictError}
|
|
330
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
331
|
+
* @throws {@link errors.LusorError}
|
|
332
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* await client.devices.getInternetLocation({
|
|
336
|
+
* workspaceId: "workspaceId",
|
|
337
|
+
* deviceId: "deviceId"
|
|
338
|
+
* })
|
|
339
|
+
*/
|
|
340
|
+
getInternetLocation(request: Lusor.GetInternetLocationDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetInternetLocationDevicesResponse>;
|
|
341
|
+
private __getInternetLocation;
|
|
342
|
+
/**
|
|
343
|
+
* Without `operation`, returns the phone's static IP state. With the
|
|
344
|
+
* `operation` id returned when a static IP was requested, returns that
|
|
345
|
+
* operation's outcome: `200` once it settled, `202` while it is still
|
|
346
|
+
* in progress (poll again).
|
|
347
|
+
*
|
|
348
|
+
* @param {Lusor.GetStaticIpDevicesRequest} request
|
|
349
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
350
|
+
*
|
|
351
|
+
* @throws {@link Lusor.BadRequestError}
|
|
352
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
353
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
354
|
+
* @throws {@link Lusor.NotFoundError}
|
|
355
|
+
* @throws {@link Lusor.ConflictError}
|
|
356
|
+
* @throws {@link Lusor.TooManyRequestsError}
|
|
357
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
358
|
+
* @throws {@link errors.LusorError}
|
|
359
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* await client.devices.getStaticIp({
|
|
363
|
+
* workspaceId: "workspaceId",
|
|
364
|
+
* deviceId: "deviceId"
|
|
365
|
+
* })
|
|
366
|
+
*/
|
|
367
|
+
getStaticIp(request: Lusor.GetStaticIpDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetStaticIpDevicesResponse>;
|
|
368
|
+
private __getStaticIp;
|
|
369
|
+
/**
|
|
370
|
+
* The state of the phone's most recent wipe and reset: `idle` (none
|
|
371
|
+
* has run), `running`, `succeeded`, `refused` (it did not start; see
|
|
372
|
+
* `reason`), or `failed`.
|
|
373
|
+
*
|
|
374
|
+
* @param {Lusor.GetResetDevicesRequest} request
|
|
375
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
376
|
+
*
|
|
377
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
378
|
+
* @throws {@link Lusor.NotFoundError}
|
|
379
|
+
* @throws {@link Lusor.ConflictError}
|
|
380
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
381
|
+
* @throws {@link errors.LusorError}
|
|
382
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
383
|
+
*
|
|
384
|
+
* @example
|
|
385
|
+
* await client.devices.getReset({
|
|
386
|
+
* workspaceId: "workspaceId",
|
|
387
|
+
* deviceId: "deviceId"
|
|
388
|
+
* })
|
|
389
|
+
*/
|
|
390
|
+
getReset(request: Lusor.GetResetDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetResetDevicesResponse>;
|
|
391
|
+
private __getReset;
|
|
392
|
+
/**
|
|
393
|
+
* Captures the current UI tree and screen dimensions. The `a11yTree`
|
|
394
|
+
* field carries the formatted element tree (with 1-based interactive
|
|
395
|
+
* indices) used by `POST /tap { index }`.
|
|
396
|
+
*
|
|
397
|
+
* On a Lusor Phone, an API-key read meters phone minutes like any
|
|
398
|
+
* other direct action.
|
|
399
|
+
*
|
|
400
|
+
* @param {Lusor.StateDevicesRequest} request
|
|
401
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
402
|
+
*
|
|
403
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
404
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
405
|
+
* @throws {@link Lusor.NotFoundError}
|
|
406
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
407
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
408
|
+
* @throws {@link errors.LusorError}
|
|
409
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* await client.devices.state({
|
|
413
|
+
* workspaceId: "workspaceId",
|
|
414
|
+
* deviceId: "deviceId"
|
|
415
|
+
* })
|
|
416
|
+
*/
|
|
417
|
+
state(request: Lusor.StateDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.DeviceState>;
|
|
418
|
+
private __state;
|
|
419
|
+
/**
|
|
420
|
+
* Triggers a fresh screenshot on the device and returns the resulting
|
|
421
|
+
* PNG bytes. Response is binary `image/png`.
|
|
422
|
+
*
|
|
423
|
+
* On a Lusor Phone, an API-key read meters phone minutes like any
|
|
424
|
+
* other direct action.
|
|
425
|
+
*
|
|
426
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
427
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
428
|
+
* @throws {@link Lusor.NotFoundError}
|
|
429
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
430
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
431
|
+
* @throws {@link errors.LusorError}
|
|
432
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
433
|
+
*/
|
|
434
|
+
screenshot(request: Lusor.ScreenshotDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
435
|
+
private __screenshot;
|
|
436
|
+
/**
|
|
437
|
+
* Triggers a fresh screenshot on the device and returns
|
|
438
|
+
* the standard verb envelope. Pass `capture: true` (or
|
|
439
|
+
* `capture: { screenshot: true, ui: true }`) to receive the
|
|
440
|
+
* formatted element tree + `screenshot_url` in the same response.
|
|
441
|
+
*
|
|
442
|
+
* Unlike `GET /screenshot` (which returns binary PNG), this verb
|
|
443
|
+
* is the chain-compatible variant — the same shape as `tap`,
|
|
444
|
+
* `swipe`, etc. so it slots into a `POST /chain` step list.
|
|
445
|
+
*
|
|
446
|
+
* @param {Lusor.TakeScreenshotDevicesRequest} request
|
|
447
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
448
|
+
*
|
|
449
|
+
* @throws {@link Lusor.BadRequestError}
|
|
450
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
451
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
452
|
+
* @throws {@link Lusor.NotFoundError}
|
|
453
|
+
* @throws {@link Lusor.ConflictError}
|
|
454
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
455
|
+
* @throws {@link errors.LusorError}
|
|
456
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* await client.devices.takeScreenshot({
|
|
460
|
+
* workspaceId: "workspaceId",
|
|
461
|
+
* deviceId: "deviceId",
|
|
462
|
+
* body: {}
|
|
463
|
+
* })
|
|
464
|
+
*/
|
|
465
|
+
takeScreenshot(request: Lusor.TakeScreenshotDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
466
|
+
private __takeScreenshot;
|
|
467
|
+
/**
|
|
468
|
+
* Tap an interactive element by `{ index }` (1-based, from
|
|
469
|
+
* `/state.a11yTree`) OR an explicit `{ x, y }` coordinate. Supplying
|
|
470
|
+
* both is accepted and `index` wins. At least one of the two forms is
|
|
471
|
+
* required: supplying neither is a 400, and `x` without `y` is also a
|
|
472
|
+
* 400 when no `index` is supplied (with `index`, any coordinates are
|
|
473
|
+
* accepted and ignored).
|
|
474
|
+
*
|
|
475
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
476
|
+
* return a fresh element tree + screen dimensions in the same
|
|
477
|
+
* round trip.
|
|
478
|
+
*
|
|
479
|
+
* @param {Lusor.TapInput} request
|
|
480
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
481
|
+
*
|
|
482
|
+
* @throws {@link Lusor.BadRequestError}
|
|
483
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
484
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
485
|
+
* @throws {@link Lusor.NotFoundError}
|
|
486
|
+
* @throws {@link Lusor.ConflictError}
|
|
487
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
488
|
+
* @throws {@link errors.LusorError}
|
|
489
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
490
|
+
*
|
|
491
|
+
* @example
|
|
492
|
+
* await client.devices.tap({
|
|
493
|
+
* workspaceId: "workspaceId",
|
|
494
|
+
* deviceId: "deviceId"
|
|
495
|
+
* })
|
|
496
|
+
*/
|
|
497
|
+
tap(request: Lusor.TapInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.TapResult>;
|
|
498
|
+
private __tap;
|
|
499
|
+
/**
|
|
500
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
501
|
+
* return a fresh element tree + screen dimensions in the same
|
|
502
|
+
* round trip.
|
|
503
|
+
*
|
|
504
|
+
* @param {Lusor.SwipeInput} request
|
|
505
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
506
|
+
*
|
|
507
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
508
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
509
|
+
* @throws {@link Lusor.NotFoundError}
|
|
510
|
+
* @throws {@link Lusor.ConflictError}
|
|
511
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
512
|
+
* @throws {@link errors.LusorError}
|
|
513
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
514
|
+
*
|
|
515
|
+
* @example
|
|
516
|
+
* await client.devices.swipe({
|
|
517
|
+
* workspaceId: "workspaceId",
|
|
518
|
+
* deviceId: "deviceId",
|
|
519
|
+
* startX: 1.1,
|
|
520
|
+
* startY: 1.1,
|
|
521
|
+
* endX: 1.1,
|
|
522
|
+
* endY: 1.1
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
swipe(request: Lusor.SwipeInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
526
|
+
private __swipe;
|
|
527
|
+
/**
|
|
528
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
529
|
+
* return a fresh element tree + screen dimensions in the same
|
|
530
|
+
* round trip.
|
|
531
|
+
*
|
|
532
|
+
* @param {Lusor.TypeTextInput} request
|
|
533
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
534
|
+
*
|
|
535
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
536
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
537
|
+
* @throws {@link Lusor.NotFoundError}
|
|
538
|
+
* @throws {@link Lusor.ConflictError}
|
|
539
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
540
|
+
* @throws {@link errors.LusorError}
|
|
541
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
542
|
+
*
|
|
543
|
+
* @example
|
|
544
|
+
* await client.devices.type({
|
|
545
|
+
* workspaceId: "workspaceId",
|
|
546
|
+
* deviceId: "deviceId",
|
|
547
|
+
* text: "text"
|
|
548
|
+
* })
|
|
549
|
+
*/
|
|
550
|
+
type(request: Lusor.TypeTextInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
551
|
+
private __type;
|
|
552
|
+
/**
|
|
553
|
+
* Send a single Android KeyEvent. Common codes: 66=Enter, 67=Del,
|
|
554
|
+
* 61=Tab, 111=Esc, 19/20/21/22=DPad.
|
|
555
|
+
*
|
|
556
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
557
|
+
* return a fresh element tree + screen dimensions in the same
|
|
558
|
+
* round trip.
|
|
559
|
+
*
|
|
560
|
+
* @param {Lusor.KeyInput} request
|
|
561
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
562
|
+
*
|
|
563
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
564
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
565
|
+
* @throws {@link Lusor.NotFoundError}
|
|
566
|
+
* @throws {@link Lusor.ConflictError}
|
|
567
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
568
|
+
* @throws {@link errors.LusorError}
|
|
569
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
570
|
+
*
|
|
571
|
+
* @example
|
|
572
|
+
* await client.devices.key({
|
|
573
|
+
* workspaceId: "workspaceId",
|
|
574
|
+
* deviceId: "deviceId",
|
|
575
|
+
* keyCode: 1
|
|
576
|
+
* })
|
|
577
|
+
*/
|
|
578
|
+
key(request: Lusor.KeyInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
579
|
+
private __key;
|
|
580
|
+
/**
|
|
581
|
+
* Accepts an optional `capture` field identical in shape to the
|
|
582
|
+
* parameterised verbs.
|
|
583
|
+
*
|
|
584
|
+
* @param {Lusor.ClearDevicesRequest} request
|
|
585
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
586
|
+
*
|
|
587
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
588
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
589
|
+
* @throws {@link Lusor.NotFoundError}
|
|
590
|
+
* @throws {@link Lusor.ConflictError}
|
|
591
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
592
|
+
* @throws {@link errors.LusorError}
|
|
593
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
594
|
+
*
|
|
595
|
+
* @example
|
|
596
|
+
* await client.devices.clear({
|
|
597
|
+
* workspaceId: "workspaceId",
|
|
598
|
+
* deviceId: "deviceId",
|
|
599
|
+
* body: {}
|
|
600
|
+
* })
|
|
601
|
+
*/
|
|
602
|
+
clear(request: Lusor.ClearDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
603
|
+
private __clear;
|
|
604
|
+
/**
|
|
605
|
+
* Accepts an optional `capture` field.
|
|
606
|
+
*
|
|
607
|
+
* @param {Lusor.BackDevicesRequest} request
|
|
608
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
609
|
+
*
|
|
610
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
611
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
612
|
+
* @throws {@link Lusor.NotFoundError}
|
|
613
|
+
* @throws {@link Lusor.ConflictError}
|
|
614
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
615
|
+
* @throws {@link errors.LusorError}
|
|
616
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
617
|
+
*
|
|
618
|
+
* @example
|
|
619
|
+
* await client.devices.back({
|
|
620
|
+
* workspaceId: "workspaceId",
|
|
621
|
+
* deviceId: "deviceId",
|
|
622
|
+
* body: {}
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
back(request: Lusor.BackDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
626
|
+
private __back;
|
|
627
|
+
/**
|
|
628
|
+
* Accepts an optional `capture` field.
|
|
629
|
+
*
|
|
630
|
+
* @param {Lusor.HomeDevicesRequest} request
|
|
631
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
632
|
+
*
|
|
633
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
634
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
635
|
+
* @throws {@link Lusor.NotFoundError}
|
|
636
|
+
* @throws {@link Lusor.ConflictError}
|
|
637
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
638
|
+
* @throws {@link errors.LusorError}
|
|
639
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
640
|
+
*
|
|
641
|
+
* @example
|
|
642
|
+
* await client.devices.home({
|
|
643
|
+
* workspaceId: "workspaceId",
|
|
644
|
+
* deviceId: "deviceId",
|
|
645
|
+
* body: {}
|
|
646
|
+
* })
|
|
647
|
+
*/
|
|
648
|
+
home(request: Lusor.HomeDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
649
|
+
private __home;
|
|
650
|
+
/**
|
|
651
|
+
* Accepts an optional `capture` field.
|
|
652
|
+
*
|
|
653
|
+
* @param {Lusor.RecentDevicesRequest} request
|
|
654
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
655
|
+
*
|
|
656
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
657
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
658
|
+
* @throws {@link Lusor.NotFoundError}
|
|
659
|
+
* @throws {@link Lusor.ConflictError}
|
|
660
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
661
|
+
* @throws {@link errors.LusorError}
|
|
662
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
663
|
+
*
|
|
664
|
+
* @example
|
|
665
|
+
* await client.devices.recent({
|
|
666
|
+
* workspaceId: "workspaceId",
|
|
667
|
+
* deviceId: "deviceId",
|
|
668
|
+
* body: {}
|
|
669
|
+
* })
|
|
670
|
+
*/
|
|
671
|
+
recent(request: Lusor.RecentDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
672
|
+
private __recent;
|
|
673
|
+
/**
|
|
674
|
+
* Launch an Android app by package name. The `package` and optional
|
|
675
|
+
* `activity` must be dotted identifiers (for example
|
|
676
|
+
* `com.android.settings`); anything else is a 400.
|
|
677
|
+
*
|
|
678
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
679
|
+
* return a fresh element tree + screen dimensions in the same
|
|
680
|
+
* round trip.
|
|
681
|
+
*
|
|
682
|
+
* @param {Lusor.StartAppInput} request
|
|
683
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
684
|
+
*
|
|
685
|
+
* @throws {@link Lusor.BadRequestError}
|
|
686
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
687
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
688
|
+
* @throws {@link Lusor.NotFoundError}
|
|
689
|
+
* @throws {@link Lusor.ConflictError}
|
|
690
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
691
|
+
* @throws {@link errors.LusorError}
|
|
692
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
693
|
+
*
|
|
694
|
+
* @example
|
|
695
|
+
* await client.devices.startApp({
|
|
696
|
+
* workspaceId: "workspaceId",
|
|
697
|
+
* deviceId: "deviceId",
|
|
698
|
+
* "package": "package"
|
|
699
|
+
* })
|
|
700
|
+
*/
|
|
701
|
+
startApp(request: Lusor.StartAppInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
702
|
+
private __startApp;
|
|
703
|
+
/**
|
|
704
|
+
* Force-stop an Android app by package name. The `package` is
|
|
705
|
+
* validated the same way as `apps/start`.
|
|
706
|
+
*
|
|
707
|
+
* Optionally include `capture: true | CaptureOptions` to
|
|
708
|
+
* return a fresh element tree + screen dimensions in the same
|
|
709
|
+
* round trip.
|
|
710
|
+
*
|
|
711
|
+
* @param {Lusor.StopAppInput} request
|
|
712
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
713
|
+
*
|
|
714
|
+
* @throws {@link Lusor.BadRequestError}
|
|
715
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
716
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
717
|
+
* @throws {@link Lusor.NotFoundError}
|
|
718
|
+
* @throws {@link Lusor.ConflictError}
|
|
719
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
720
|
+
* @throws {@link errors.LusorError}
|
|
721
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
722
|
+
*
|
|
723
|
+
* @example
|
|
724
|
+
* await client.devices.stopApp({
|
|
725
|
+
* workspaceId: "workspaceId",
|
|
726
|
+
* deviceId: "deviceId",
|
|
727
|
+
* "package": "package"
|
|
728
|
+
* })
|
|
729
|
+
*/
|
|
730
|
+
stopApp(request: Lusor.StopAppInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.VerbResultWithOptionalCapture>;
|
|
731
|
+
private __stopApp;
|
|
732
|
+
/**
|
|
733
|
+
* Execute a typed sequence of up to 20 deterministic actions in
|
|
734
|
+
* order, optionally collecting a UI capture per step. On a Lusor
|
|
735
|
+
* Phone, an API-key chain meters phone minutes before every step; a
|
|
736
|
+
* `402` or `503` stops the chain before that step reaches the phone.
|
|
737
|
+
*
|
|
738
|
+
* ## Capture resolution rules
|
|
739
|
+
*
|
|
740
|
+
* Per-step `capture` always wins. Top-level `capture` supplies
|
|
741
|
+
* the default policy:
|
|
742
|
+
*
|
|
743
|
+
* - `'none'` (default) — no capture on any step.
|
|
744
|
+
* - `'each'` — capture on every step.
|
|
745
|
+
* - `'final'` — capture only on the last step.
|
|
746
|
+
*
|
|
747
|
+
* ## Step verbs
|
|
748
|
+
*
|
|
749
|
+
* `tap`, `swipe`, `type`, `key`, `clear`, `back`, `home`, `recent`,
|
|
750
|
+
* `start_app`, `stop_app`, `screenshot`, `wait`. Each step has the
|
|
751
|
+
* same params as the corresponding direct-verb route plus an
|
|
752
|
+
* optional `capture` override.
|
|
753
|
+
*
|
|
754
|
+
* ## Settling
|
|
755
|
+
*
|
|
756
|
+
* Steps execute back-to-back with no implicit inter-step delay.
|
|
757
|
+
* Insert `wait` steps (`{ verb: "wait", params: { duration_ms: N } }`,
|
|
758
|
+
* 0–60000 ms) where the UI needs time to settle — e.g. after a tap
|
|
759
|
+
* that opens a screen, or before typing into a freshly focused
|
|
760
|
+
* field. Cumulative wait duration per chain is capped at 120s so
|
|
761
|
+
* the worst case stays inside the chain timeout.
|
|
762
|
+
*
|
|
763
|
+
* A step that completes with `ok: false` does not stop the chain:
|
|
764
|
+
* the next step still runs, the top-level `ok` is true only when every
|
|
765
|
+
* step succeeded, and each step's `ok` shows which one failed.
|
|
766
|
+
*
|
|
767
|
+
* A step that errors instead aborts the chain. This happens when the
|
|
768
|
+
* phone cannot be reached, when a step's capture fails, or when
|
|
769
|
+
* metering refuses a later step (`402`/`503`). The response is then
|
|
770
|
+
* that error alone, with no per-step results, and the steps before it
|
|
771
|
+
* have already run on the phone. Read the screen before you retry a
|
|
772
|
+
* chain.
|
|
773
|
+
*
|
|
774
|
+
* @param {Lusor.ChainRequest} request
|
|
775
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
776
|
+
*
|
|
777
|
+
* @throws {@link Lusor.BadRequestError}
|
|
778
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
779
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
780
|
+
* @throws {@link Lusor.NotFoundError}
|
|
781
|
+
* @throws {@link Lusor.ConflictError}
|
|
782
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
783
|
+
* @throws {@link errors.LusorError}
|
|
784
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
785
|
+
*
|
|
786
|
+
* @example
|
|
787
|
+
* await client.devices.chain({
|
|
788
|
+
* workspaceId: "workspaceId",
|
|
789
|
+
* deviceId: "deviceId",
|
|
790
|
+
* steps: [{
|
|
791
|
+
* verb: "tap",
|
|
792
|
+
* params: {}
|
|
793
|
+
* }]
|
|
794
|
+
* })
|
|
795
|
+
*/
|
|
796
|
+
chain(request: Lusor.ChainRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ChainResponse>;
|
|
797
|
+
private __chain;
|
|
798
|
+
/**
|
|
799
|
+
* Last-resort shell access. The command is checked against a
|
|
800
|
+
* server-side denylist (shell metacharacters such as `|`, `;`, `&`
|
|
801
|
+
* and backticks are refused anywhere in the string) and every
|
|
802
|
+
* attempt, allowed or denied, is audit-logged. The response reports
|
|
803
|
+
* whether the command ran; command output is not returned.
|
|
804
|
+
*
|
|
805
|
+
* @param {Lusor.ShellInput} request
|
|
806
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
807
|
+
*
|
|
808
|
+
* @throws {@link Lusor.BadRequestError}
|
|
809
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
810
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
811
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
812
|
+
* @throws {@link Lusor.NotFoundError}
|
|
813
|
+
* @throws {@link Lusor.ConflictError}
|
|
814
|
+
* @throws {@link Lusor.ServiceUnavailableError}
|
|
815
|
+
* @throws {@link errors.LusorError}
|
|
816
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
817
|
+
*
|
|
818
|
+
* @example
|
|
819
|
+
* await client.devices.shell({
|
|
820
|
+
* workspaceId: "workspaceId",
|
|
821
|
+
* deviceId: "deviceId",
|
|
822
|
+
* command: "command"
|
|
823
|
+
* })
|
|
824
|
+
*/
|
|
825
|
+
shell(request: Lusor.ShellInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ShellResult>;
|
|
826
|
+
private __shell;
|
|
827
|
+
/**
|
|
828
|
+
* The language last set through `PUT .../language` and how applying
|
|
829
|
+
* it ended. `null` fields mean none has been set. `inProgress` names a
|
|
830
|
+
* change that is still being applied.
|
|
831
|
+
*
|
|
832
|
+
* @param {Lusor.GetLanguageDevicesRequest} request
|
|
833
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
834
|
+
*
|
|
835
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
836
|
+
* @throws {@link Lusor.NotFoundError}
|
|
837
|
+
* @throws {@link Lusor.ConflictError}
|
|
838
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
839
|
+
* @throws {@link errors.LusorError}
|
|
840
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
841
|
+
*
|
|
842
|
+
* @example
|
|
843
|
+
* await client.devices.getLanguage({
|
|
844
|
+
* workspaceId: "workspaceId",
|
|
845
|
+
* deviceId: "deviceId"
|
|
846
|
+
* })
|
|
847
|
+
*/
|
|
848
|
+
getLanguage(request: Lusor.GetLanguageDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetLanguageDevicesResponse>;
|
|
849
|
+
private __getLanguage;
|
|
850
|
+
/**
|
|
851
|
+
* Sets the phone's system language (and optional region). Answers 202
|
|
852
|
+
* at once with the change `pending`; read `GET .../language` until
|
|
853
|
+
* `state` is `applied` or `failed`. The phone may restart to apply it.
|
|
854
|
+
* Refused with 409 `phone_busy` while a session or live viewer holds
|
|
855
|
+
* the phone or another change is being applied.
|
|
856
|
+
*
|
|
857
|
+
* @param {Lusor.DeviceLanguageInput} request
|
|
858
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
859
|
+
*
|
|
860
|
+
* @throws {@link Lusor.BadRequestError}
|
|
861
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
862
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
863
|
+
* @throws {@link Lusor.NotFoundError}
|
|
864
|
+
* @throws {@link Lusor.ConflictError}
|
|
865
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
866
|
+
* @throws {@link errors.LusorError}
|
|
867
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
868
|
+
*
|
|
869
|
+
* @example
|
|
870
|
+
* await client.devices.setLanguage({
|
|
871
|
+
* workspaceId: "workspaceId",
|
|
872
|
+
* deviceId: "deviceId",
|
|
873
|
+
* language: "de"
|
|
874
|
+
* })
|
|
875
|
+
*/
|
|
876
|
+
setLanguage(request: Lusor.DeviceLanguageInput, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.SetLanguageDevicesResponse>;
|
|
877
|
+
private __setLanguage;
|
|
878
|
+
/**
|
|
879
|
+
* The identity fields set so far (latest value of each) and how the
|
|
880
|
+
* last change ended. Fields never set keep the phone's own values and
|
|
881
|
+
* are absent here.
|
|
882
|
+
*
|
|
883
|
+
* @param {Lusor.GetIdentityDevicesRequest} request
|
|
884
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
885
|
+
*
|
|
886
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
887
|
+
* @throws {@link Lusor.NotFoundError}
|
|
888
|
+
* @throws {@link Lusor.ConflictError}
|
|
889
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
890
|
+
* @throws {@link errors.LusorError}
|
|
891
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
892
|
+
*
|
|
893
|
+
* @example
|
|
894
|
+
* await client.devices.getIdentity({
|
|
895
|
+
* workspaceId: "workspaceId",
|
|
896
|
+
* deviceId: "deviceId"
|
|
897
|
+
* })
|
|
898
|
+
*/
|
|
899
|
+
getIdentity(request: Lusor.GetIdentityDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetIdentityDevicesResponse>;
|
|
900
|
+
private __getIdentity;
|
|
901
|
+
/**
|
|
902
|
+
* Sets the device identity apps read: brand, manufacturer, model,
|
|
903
|
+
* device codename, product name, build fingerprint and Android ID.
|
|
904
|
+
* Only the fields sent change. Raw Android properties are refused
|
|
905
|
+
* (400 `identity_prop_refused`). Answers 202 with the change
|
|
906
|
+
* `pending`; once written (`state` `applied`, `restartQueued` true)
|
|
907
|
+
* **the phone restarts** to apply it, which takes a few minutes. The
|
|
908
|
+
* values persist across restarts and resets; set the old values again
|
|
909
|
+
* to undo a change.
|
|
910
|
+
*
|
|
911
|
+
* @param {Lusor.SetIdentityDevicesRequest} request
|
|
912
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
913
|
+
*
|
|
914
|
+
* @throws {@link Lusor.BadRequestError}
|
|
915
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
916
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
917
|
+
* @throws {@link Lusor.NotFoundError}
|
|
918
|
+
* @throws {@link Lusor.ConflictError}
|
|
919
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
920
|
+
* @throws {@link errors.LusorError}
|
|
921
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
922
|
+
*
|
|
923
|
+
* @example
|
|
924
|
+
* await client.devices.setIdentity({
|
|
925
|
+
* workspaceId: "workspaceId",
|
|
926
|
+
* deviceId: "deviceId",
|
|
927
|
+
* body: {}
|
|
928
|
+
* })
|
|
929
|
+
*/
|
|
930
|
+
setIdentity(request: Lusor.SetIdentityDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.SetIdentityDevicesResponse>;
|
|
931
|
+
private __setIdentity;
|
|
932
|
+
/**
|
|
933
|
+
* How the last advertising-ID reset ended. The ID itself is not returned.
|
|
934
|
+
*
|
|
935
|
+
* @param {Lusor.GetAdvertisingIdDevicesRequest} request
|
|
936
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
937
|
+
*
|
|
938
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
939
|
+
* @throws {@link Lusor.NotFoundError}
|
|
940
|
+
* @throws {@link Lusor.ConflictError}
|
|
941
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
942
|
+
* @throws {@link errors.LusorError}
|
|
943
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
944
|
+
*
|
|
945
|
+
* @example
|
|
946
|
+
* await client.devices.getAdvertisingId({
|
|
947
|
+
* workspaceId: "workspaceId",
|
|
948
|
+
* deviceId: "deviceId"
|
|
949
|
+
* })
|
|
950
|
+
*/
|
|
951
|
+
getAdvertisingId(request: Lusor.GetAdvertisingIdDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetAdvertisingIdDevicesResponse>;
|
|
952
|
+
private __getAdvertisingId;
|
|
953
|
+
/**
|
|
954
|
+
* Gives the phone a new Google advertising ID. **Irreversible**: the
|
|
955
|
+
* previous ID cannot be restored. Answers 202 with the reset
|
|
956
|
+
* `pending`; read `GET .../advertising-id` until it is `applied` or
|
|
957
|
+
* `failed`.
|
|
958
|
+
*
|
|
959
|
+
* @param {Lusor.ResetAdvertisingIdDevicesRequest} request
|
|
960
|
+
* @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
961
|
+
*
|
|
962
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
963
|
+
* @throws {@link Lusor.PaymentRequiredError}
|
|
964
|
+
* @throws {@link Lusor.ForbiddenError}
|
|
965
|
+
* @throws {@link Lusor.NotFoundError}
|
|
966
|
+
* @throws {@link Lusor.ConflictError}
|
|
967
|
+
* @throws {@link Lusor.BadGatewayError}
|
|
968
|
+
* @throws {@link errors.LusorError}
|
|
969
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* await client.devices.resetAdvertisingId({
|
|
973
|
+
* workspaceId: "workspaceId",
|
|
974
|
+
* deviceId: "deviceId"
|
|
975
|
+
* })
|
|
976
|
+
*/
|
|
977
|
+
resetAdvertisingId(request: Lusor.ResetAdvertisingIdDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise<Lusor.ResetAdvertisingIdDevicesResponse>;
|
|
978
|
+
private __resetAdvertisingId;
|
|
979
|
+
}
|