@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@lusor/sdk` are documented here. The format
|
|
4
|
+
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this
|
|
5
|
+
package uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## 1.0.0 — 2026-10-13
|
|
8
|
+
|
|
9
|
+
Initial public release.
|
|
10
|
+
|
|
11
|
+
- Agents, sessions and turns: create an agent, start a turn, follow the run
|
|
12
|
+
and read its output.
|
|
13
|
+
- Human-in-the-loop: answer the agent's question and resume a paused run.
|
|
14
|
+
- Follow-ups: send a further message to an existing session.
|
|
15
|
+
- Recordings: a run's video as signed segment URLs, plus a step-by-step
|
|
16
|
+
screenshot replay.
|
|
17
|
+
- Direct device control: read screen state and drive a phone (tap, type,
|
|
18
|
+
swipe and more), and manage a phone's device configuration.
|
|
19
|
+
- Sessions: rename a session, read a step's captured UI state, and cancel a
|
|
20
|
+
queued follow-up or queued agent turn.
|
|
21
|
+
- Skills: create a skill.
|
|
22
|
+
- Agents: get or create the workspace's primary agent.
|
|
23
|
+
- Phones: read occupancy, Internet location, static IP status and
|
|
24
|
+
wipe-and-reset progress.
|
|
25
|
+
- Catalog: list installable apps and fetch an app's icon.
|
|
26
|
+
- Workspaces: read the workspace an API key is bound to.
|
|
27
|
+
- Typed errors per HTTP status, and automatic retries for reads.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Lusor, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
CHANGED
|
@@ -1,3 +1,109 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @lusor/sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
TypeScript client for the [Lusor API](https://docs.lusor.ai): run AI agents on phones, follow their runs, and drive a phone directly.
|
|
4
|
+
|
|
5
|
+
The client is generated from the Lusor OpenAPI specification, so every endpoint in the [API reference](https://docs.lusor.ai/api-reference/introduction) is available here with typed requests and responses.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @lusor/sdk
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Node 18.17+ (or any runtime with `fetch`).
|
|
14
|
+
|
|
15
|
+
## Authenticate
|
|
16
|
+
|
|
17
|
+
Create an API key in the Lusor app: open your workspace and choose **API keys** in the sidebar. Keep it on your server.
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import { LusorClient } from "@lusor/sdk";
|
|
21
|
+
|
|
22
|
+
const lusor = new LusorClient({ apiKey: process.env.LUSOR_API_KEY! });
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
A key is bound to one workspace, so `workspaceId` is optional wherever it appears as a query or body field.
|
|
26
|
+
|
|
27
|
+
## Run an agent
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
const { data: devices } = await lusor.devices.list();
|
|
31
|
+
const { data: agent } = await lusor.agents.create({
|
|
32
|
+
name: "My agent",
|
|
33
|
+
devices: [{ device_id: devices[0].id }],
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
const { data: turn } = await lusor.agents.turns.create({
|
|
37
|
+
id: agent.id,
|
|
38
|
+
prompt: "Open Settings and tell me which Android version this phone runs.",
|
|
39
|
+
"Idempotency-Key": crypto.randomUUID(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const done = new Set(["completed", "complete", "failed", "cancelled"]);
|
|
43
|
+
let status = await lusor.sessions.status({ id: turn.sessionId });
|
|
44
|
+
while (!done.has(status.status)) {
|
|
45
|
+
await new Promise((r) => setTimeout(r, 3000));
|
|
46
|
+
status = await lusor.sessions.status({ id: turn.sessionId });
|
|
47
|
+
}
|
|
48
|
+
const session = await lusor.sessions.get({ id: turn.sessionId });
|
|
49
|
+
console.log(session.status, session.output, session.error);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Answer the agent, follow up, and watch the recording
|
|
53
|
+
|
|
54
|
+
When the agent asks a question, the run pauses with status
|
|
55
|
+
`awaiting_human`. Its question is the latest `hitl_requested` event.
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
const { data: events } = await lusor.sessions.events({ id: turn.sessionId });
|
|
59
|
+
const ask = events.findLast((e) => e.type === "hitl_requested");
|
|
60
|
+
await lusor.sessions.answer({
|
|
61
|
+
id: turn.sessionId,
|
|
62
|
+
correlation_id: ask!.data!.correlation_id as string,
|
|
63
|
+
response: "The open issues only",
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
await lusor.sessions.continue({
|
|
67
|
+
id: turn.sessionId,
|
|
68
|
+
prompt: "Now count the closed ones too.",
|
|
69
|
+
"Idempotency-Key": crypto.randomUUID(),
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// Poll while recording_status is "pending"; segment URLs expire.
|
|
73
|
+
const recording = await lusor.sessions.recording({ id: turn.sessionId });
|
|
74
|
+
console.log(recording.recording_status, recording.data?.segments.map((s) => s.url));
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Drive a phone directly
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
const workspaceId = agent.workspaceId;
|
|
81
|
+
const deviceId = devices[0].id;
|
|
82
|
+
|
|
83
|
+
const state = await lusor.devices.state({ workspaceId, deviceId });
|
|
84
|
+
console.log(state.a11yTree);
|
|
85
|
+
|
|
86
|
+
await lusor.devices.tap({ workspaceId, deviceId, index: 3, capture: true });
|
|
87
|
+
await lusor.devices.type({ workspaceId, deviceId, text: "hello" });
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
On a Lusor Phone, direct control with an API key uses Lusor Phone minutes. See [Direct phone control](https://docs.lusor.ai/phones/direct-control).
|
|
91
|
+
|
|
92
|
+
## Errors
|
|
93
|
+
|
|
94
|
+
Non-2xx responses throw a subclass of `LusorError` (for example `Lusor.UnauthorizedError`, `Lusor.PaymentRequiredError`, `Lusor.NotFoundError`), with `statusCode` and the parsed `body`. Timeouts throw `LusorTimeoutError`.
|
|
95
|
+
|
|
96
|
+
**Retries.** Reads (`GET`) are retried automatically on `408`, `429`, `502`, `503` and `504`, twice by default (`maxRetries` on the client or per request). Writes are never retried automatically, because most of them are not idempotent: a retried tap taps twice, and a retried chain re-runs steps that already ran. To retry a turn safely, send an `Idempotency-Key` and retry it yourself with the same key.
|
|
97
|
+
|
|
98
|
+
## Options
|
|
99
|
+
|
|
100
|
+
| Option | Default | |
|
|
101
|
+
| --- | --- | --- |
|
|
102
|
+
| `apiKey` | none | Your Lusor API key (Settings → API Keys). |
|
|
103
|
+
| `baseUrl` | `https://api.lusor.ai` | Override for testing. |
|
|
104
|
+
| `timeoutInSeconds` | 60 | Per request. |
|
|
105
|
+
| `maxRetries` | 2 | Retries for reads. Writes are never retried. |
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
MIT, see `LICENSE`. The request runtime under `src/core/` is generator template code under the Apache License 2.0; see `THIRD_PARTY_NOTICES.md` and `LICENSE-APACHE-2.0.txt`.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
`src/` is generated by the Fern TypeScript SDK generator (https://github.com/fern-api/fern), in the build that Cloudflare Forge vendors (https://github.com/cloudflare/forge, `vendor/codegen-cli`). Both projects are licensed under the Apache License, Version 2.0.
|
|
4
|
+
|
|
5
|
+
The request runtime under `src/core/` (fetcher, retries, auth helpers, URL and JSON utilities) is template code shipped with that generator and remains under the Apache License 2.0. The full licence text is in `LICENSE-APACHE-2.0.txt`, shipped in this package. Two files in `src/core/fetcher/` (`signals.ts`, `makeRequest.ts`) carry Lusor modifications: a timeout aborts with an `AbortError`, and the timeout timer is cleared on every exit path.
|
|
6
|
+
|
|
7
|
+
Copyright the Fern (fern-api/fern) authors and contributors
|
|
8
|
+
|
|
9
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
you may not use these files except in compliance with the License.
|
|
11
|
+
You may obtain a copy of the License at
|
|
12
|
+
|
|
13
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
|
|
15
|
+
Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
See the License for the specific language governing permissions and
|
|
19
|
+
limitations under the License.
|
|
20
|
+
|
|
21
|
+
The rest of the package (the Lusor API types and resource clients generated from the Lusor API specification) is covered by the package licence in package.json.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.js";
|
|
2
|
+
import * as core from "./core/index.js";
|
|
3
|
+
import * as environments from "./environments.js";
|
|
4
|
+
export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | HeaderAuthProvider.AuthOptions;
|
|
5
|
+
export type BaseClientOptions = {
|
|
6
|
+
environment?: core.Supplier<environments.LusorEnvironment | string>;
|
|
7
|
+
/** Specify a custom URL to connect the client to. */
|
|
8
|
+
baseUrl?: core.Supplier<string>;
|
|
9
|
+
/** Additional headers to include in requests. */
|
|
10
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
11
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
12
|
+
timeoutInSeconds?: number;
|
|
13
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
16
|
+
fetch?: typeof fetch;
|
|
17
|
+
/** Configure logging for the client. */
|
|
18
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
19
|
+
/** Default options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
20
|
+
stream?: {
|
|
21
|
+
reconnectionEnabled?: boolean;
|
|
22
|
+
maxReconnectionAttempts?: number;
|
|
23
|
+
};
|
|
24
|
+
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
25
|
+
auth?: AuthOption;
|
|
26
|
+
} & HeaderAuthProvider.AuthOptions;
|
|
27
|
+
export interface BaseRequestOptions {
|
|
28
|
+
/** The maximum time to wait for a response in seconds. */
|
|
29
|
+
timeoutInSeconds?: number;
|
|
30
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
31
|
+
maxRetries?: number;
|
|
32
|
+
/** A hook to abort the request. */
|
|
33
|
+
abortSignal?: AbortSignal;
|
|
34
|
+
/** Additional query string parameters to include in the request. */
|
|
35
|
+
queryParams?: Record<string, unknown>;
|
|
36
|
+
/** A dictionary containing additional parameters to spread into the request's body. */
|
|
37
|
+
additionalBodyParameters?: Record<string, unknown>;
|
|
38
|
+
/** Additional headers to include in the request. */
|
|
39
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
40
|
+
/** Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
41
|
+
stream?: {
|
|
42
|
+
reconnectionEnabled?: boolean;
|
|
43
|
+
maxReconnectionAttempts?: number;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
47
|
+
logging: core.logging.Logger;
|
|
48
|
+
authProvider?: core.AuthProvider;
|
|
49
|
+
};
|
|
50
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
51
|
+
authProvider: core.AuthProvider;
|
|
52
|
+
};
|
|
53
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
54
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.js";
|
|
3
|
+
import * as core from "./core/index.js";
|
|
4
|
+
import { mergeHeaders } from "./core/headers.js";
|
|
5
|
+
export function normalizeClientOptions(options) {
|
|
6
|
+
const headers = mergeHeaders({
|
|
7
|
+
"X-Fern-Language": "JavaScript",
|
|
8
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
9
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
10
|
+
}, options?.headers);
|
|
11
|
+
return {
|
|
12
|
+
...options,
|
|
13
|
+
logging: core.logging.createLogger(options?.logging),
|
|
14
|
+
headers,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function normalizeClientOptionsWithAuth(options) {
|
|
18
|
+
const normalized = normalizeClientOptions(options);
|
|
19
|
+
if (options.auth === false) {
|
|
20
|
+
normalized.authProvider = new core.NoOpAuthProvider();
|
|
21
|
+
return normalized;
|
|
22
|
+
}
|
|
23
|
+
if (options.auth != null) {
|
|
24
|
+
if (typeof options.auth === "function") {
|
|
25
|
+
normalized.authProvider = { getAuthRequest: options.auth };
|
|
26
|
+
return normalized;
|
|
27
|
+
}
|
|
28
|
+
if (core.isAuthProvider(options.auth)) {
|
|
29
|
+
normalized.authProvider = options.auth;
|
|
30
|
+
return normalized;
|
|
31
|
+
}
|
|
32
|
+
Object.assign(normalized, options.auth);
|
|
33
|
+
}
|
|
34
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
35
|
+
normalized.authProvider ??= new HeaderAuthProvider(normalizedWithNoOpAuthProvider);
|
|
36
|
+
return normalized;
|
|
37
|
+
}
|
|
38
|
+
function withNoOpAuthProvider(options) {
|
|
39
|
+
return {
|
|
40
|
+
...options,
|
|
41
|
+
authProvider: new core.NoOpAuthProvider(),
|
|
42
|
+
};
|
|
43
|
+
}
|
package/dist/Client.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { AgentsClient } from "./api/resources/agents/client/Client.js";
|
|
2
|
+
import { AppInstallsClient } from "./api/resources/appInstalls/client/Client.js";
|
|
3
|
+
import { CatalogClient } from "./api/resources/catalog/client/Client.js";
|
|
4
|
+
import { DatasetsClient } from "./api/resources/datasets/client/Client.js";
|
|
5
|
+
import { DevicesClient } from "./api/resources/devices/client/Client.js";
|
|
6
|
+
import { EmailsClient } from "./api/resources/emails/client/Client.js";
|
|
7
|
+
import { FilesClient } from "./api/resources/files/client/Client.js";
|
|
8
|
+
import { HealthClient } from "./api/resources/health/client/Client.js";
|
|
9
|
+
import { ModelKeysClient } from "./api/resources/modelKeys/client/Client.js";
|
|
10
|
+
import { NotificationsClient } from "./api/resources/notifications/client/Client.js";
|
|
11
|
+
import { PhoneNumbersClient } from "./api/resources/phoneNumbers/client/Client.js";
|
|
12
|
+
import { SecretsClient } from "./api/resources/secrets/client/Client.js";
|
|
13
|
+
import { SessionsClient } from "./api/resources/sessions/client/Client.js";
|
|
14
|
+
import { SkillsClient } from "./api/resources/skills/client/Client.js";
|
|
15
|
+
import { WorkspacesClient } from "./api/resources/workspaces/client/Client.js";
|
|
16
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
17
|
+
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
18
|
+
import * as core from "./core/index.js";
|
|
19
|
+
export declare namespace LusorClient {
|
|
20
|
+
type Options = BaseClientOptions;
|
|
21
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare class LusorClient {
|
|
25
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<LusorClient.Options>;
|
|
26
|
+
protected _sessions: SessionsClient | undefined;
|
|
27
|
+
protected _skills: SkillsClient | undefined;
|
|
28
|
+
protected _secrets: SecretsClient | undefined;
|
|
29
|
+
protected _phoneNumbers: PhoneNumbersClient | undefined;
|
|
30
|
+
protected _emails: EmailsClient | undefined;
|
|
31
|
+
protected _devices: DevicesClient | undefined;
|
|
32
|
+
protected _datasets: DatasetsClient | undefined;
|
|
33
|
+
protected _agents: AgentsClient | undefined;
|
|
34
|
+
protected _workspaces: WorkspacesClient | undefined;
|
|
35
|
+
protected _modelKeys: ModelKeysClient | undefined;
|
|
36
|
+
protected _files: FilesClient | undefined;
|
|
37
|
+
protected _notifications: NotificationsClient | undefined;
|
|
38
|
+
protected _appInstalls: AppInstallsClient | undefined;
|
|
39
|
+
protected _catalog: CatalogClient | undefined;
|
|
40
|
+
protected _health: HealthClient | undefined;
|
|
41
|
+
constructor(options?: LusorClient.Options);
|
|
42
|
+
get sessions(): SessionsClient;
|
|
43
|
+
get skills(): SkillsClient;
|
|
44
|
+
get secrets(): SecretsClient;
|
|
45
|
+
get phoneNumbers(): PhoneNumbersClient;
|
|
46
|
+
get emails(): EmailsClient;
|
|
47
|
+
get devices(): DevicesClient;
|
|
48
|
+
get datasets(): DatasetsClient;
|
|
49
|
+
get agents(): AgentsClient;
|
|
50
|
+
get workspaces(): WorkspacesClient;
|
|
51
|
+
get modelKeys(): ModelKeysClient;
|
|
52
|
+
get files(): FilesClient;
|
|
53
|
+
get notifications(): NotificationsClient;
|
|
54
|
+
get appInstalls(): AppInstallsClient;
|
|
55
|
+
get catalog(): CatalogClient;
|
|
56
|
+
get health(): HealthClient;
|
|
57
|
+
/**
|
|
58
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
59
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
60
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
61
|
+
*
|
|
62
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
63
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
64
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
65
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
66
|
+
*/
|
|
67
|
+
fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
|
|
68
|
+
}
|
package/dist/Client.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { AgentsClient } from "./api/resources/agents/client/Client.js";
|
|
3
|
+
import { AppInstallsClient } from "./api/resources/appInstalls/client/Client.js";
|
|
4
|
+
import { CatalogClient } from "./api/resources/catalog/client/Client.js";
|
|
5
|
+
import { DatasetsClient } from "./api/resources/datasets/client/Client.js";
|
|
6
|
+
import { DevicesClient } from "./api/resources/devices/client/Client.js";
|
|
7
|
+
import { EmailsClient } from "./api/resources/emails/client/Client.js";
|
|
8
|
+
import { FilesClient } from "./api/resources/files/client/Client.js";
|
|
9
|
+
import { HealthClient } from "./api/resources/health/client/Client.js";
|
|
10
|
+
import { ModelKeysClient } from "./api/resources/modelKeys/client/Client.js";
|
|
11
|
+
import { NotificationsClient } from "./api/resources/notifications/client/Client.js";
|
|
12
|
+
import { PhoneNumbersClient } from "./api/resources/phoneNumbers/client/Client.js";
|
|
13
|
+
import { SecretsClient } from "./api/resources/secrets/client/Client.js";
|
|
14
|
+
import { SessionsClient } from "./api/resources/sessions/client/Client.js";
|
|
15
|
+
import { SkillsClient } from "./api/resources/skills/client/Client.js";
|
|
16
|
+
import { WorkspacesClient } from "./api/resources/workspaces/client/Client.js";
|
|
17
|
+
import { normalizeClientOptionsWithAuth } from "./BaseClient.js";
|
|
18
|
+
import * as core from "./core/index.js";
|
|
19
|
+
export class LusorClient {
|
|
20
|
+
_options;
|
|
21
|
+
_sessions;
|
|
22
|
+
_skills;
|
|
23
|
+
_secrets;
|
|
24
|
+
_phoneNumbers;
|
|
25
|
+
_emails;
|
|
26
|
+
_devices;
|
|
27
|
+
_datasets;
|
|
28
|
+
_agents;
|
|
29
|
+
_workspaces;
|
|
30
|
+
_modelKeys;
|
|
31
|
+
_files;
|
|
32
|
+
_notifications;
|
|
33
|
+
_appInstalls;
|
|
34
|
+
_catalog;
|
|
35
|
+
_health;
|
|
36
|
+
constructor(options = {}) {
|
|
37
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
38
|
+
}
|
|
39
|
+
get sessions() {
|
|
40
|
+
return (this._sessions ??= new SessionsClient(this._options));
|
|
41
|
+
}
|
|
42
|
+
get skills() {
|
|
43
|
+
return (this._skills ??= new SkillsClient(this._options));
|
|
44
|
+
}
|
|
45
|
+
get secrets() {
|
|
46
|
+
return (this._secrets ??= new SecretsClient(this._options));
|
|
47
|
+
}
|
|
48
|
+
get phoneNumbers() {
|
|
49
|
+
return (this._phoneNumbers ??= new PhoneNumbersClient(this._options));
|
|
50
|
+
}
|
|
51
|
+
get emails() {
|
|
52
|
+
return (this._emails ??= new EmailsClient(this._options));
|
|
53
|
+
}
|
|
54
|
+
get devices() {
|
|
55
|
+
return (this._devices ??= new DevicesClient(this._options));
|
|
56
|
+
}
|
|
57
|
+
get datasets() {
|
|
58
|
+
return (this._datasets ??= new DatasetsClient(this._options));
|
|
59
|
+
}
|
|
60
|
+
get agents() {
|
|
61
|
+
return (this._agents ??= new AgentsClient(this._options));
|
|
62
|
+
}
|
|
63
|
+
get workspaces() {
|
|
64
|
+
return (this._workspaces ??= new WorkspacesClient(this._options));
|
|
65
|
+
}
|
|
66
|
+
get modelKeys() {
|
|
67
|
+
return (this._modelKeys ??= new ModelKeysClient(this._options));
|
|
68
|
+
}
|
|
69
|
+
get files() {
|
|
70
|
+
return (this._files ??= new FilesClient(this._options));
|
|
71
|
+
}
|
|
72
|
+
get notifications() {
|
|
73
|
+
return (this._notifications ??= new NotificationsClient(this._options));
|
|
74
|
+
}
|
|
75
|
+
get appInstalls() {
|
|
76
|
+
return (this._appInstalls ??= new AppInstallsClient(this._options));
|
|
77
|
+
}
|
|
78
|
+
get catalog() {
|
|
79
|
+
return (this._catalog ??= new CatalogClient(this._options));
|
|
80
|
+
}
|
|
81
|
+
get health() {
|
|
82
|
+
return (this._health ??= new HealthClient(this._options));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
86
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
87
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
88
|
+
*
|
|
89
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
90
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
91
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
92
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
93
|
+
*/
|
|
94
|
+
async fetch(input, init, requestOptions) {
|
|
95
|
+
return core.makePassthroughRequest(input, init, {
|
|
96
|
+
baseUrl: this._options.baseUrl ?? this._options.environment,
|
|
97
|
+
headers: this._options.headers,
|
|
98
|
+
timeoutInSeconds: this._options.timeoutInSeconds,
|
|
99
|
+
maxRetries: this._options.maxRetries,
|
|
100
|
+
fetch: this._options.fetch,
|
|
101
|
+
logging: this._options.logging,
|
|
102
|
+
getAuthHeaders: async () => (await this._options.authProvider.getAuthRequest()).headers,
|
|
103
|
+
}, requestOptions);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import * as Lusor from "../index.js";
|
|
4
|
+
export declare class BadGatewayError extends errors.LusorError {
|
|
5
|
+
readonly body: Lusor.ErrorResponse;
|
|
6
|
+
constructor(body: Lusor.ErrorResponse, rawResponse?: core.RawResponse);
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
export class BadGatewayError extends errors.LusorError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadGatewayError",
|
|
7
|
+
statusCode: 502,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = "BadGatewayError";
|
|
16
|
+
}
|
|
17
|
+
}
|