@lusor/sdk 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +21 -0
- package/LICENSE-APACHE-2.0.txt +177 -0
- package/README.md +108 -2
- package/THIRD_PARTY_NOTICES.md +21 -0
- package/dist/BaseClient.d.ts +54 -0
- package/dist/BaseClient.js +43 -0
- package/dist/Client.d.ts +68 -0
- package/dist/Client.js +105 -0
- package/dist/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/api/errors/BadGatewayError.js +17 -0
- package/dist/api/errors/BadRequestError.d.ts +5 -0
- package/dist/api/errors/BadRequestError.js +17 -0
- package/dist/api/errors/ConflictError.d.ts +7 -0
- package/dist/api/errors/ConflictError.js +17 -0
- package/dist/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/api/errors/ForbiddenError.js +17 -0
- package/dist/api/errors/GatewayTimeoutError.d.ts +7 -0
- package/dist/api/errors/GatewayTimeoutError.js +17 -0
- package/dist/api/errors/GoneError.d.ts +5 -0
- package/dist/api/errors/GoneError.js +17 -0
- package/dist/api/errors/InternalServerError.d.ts +7 -0
- package/dist/api/errors/InternalServerError.js +17 -0
- package/dist/api/errors/NotFoundError.d.ts +7 -0
- package/dist/api/errors/NotFoundError.js +17 -0
- package/dist/api/errors/PaymentRequiredError.d.ts +7 -0
- package/dist/api/errors/PaymentRequiredError.js +17 -0
- package/dist/api/errors/PreconditionFailedError.d.ts +7 -0
- package/dist/api/errors/PreconditionFailedError.js +17 -0
- package/dist/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/api/errors/ServiceUnavailableError.js +17 -0
- package/dist/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/api/errors/TooManyRequestsError.js +17 -0
- package/dist/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/api/errors/UnauthorizedError.js +17 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/api/errors/UnprocessableEntityError.js +17 -0
- package/dist/api/errors/index.d.ts +14 -0
- package/dist/api/errors/index.js +14 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/resources/agents/client/Client.d.ts +209 -0
- package/dist/api/resources/agents/client/Client.js +596 -0
- package/dist/api/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/agents/client/index.js +1 -0
- package/dist/api/resources/agents/client/requests/ArchiveAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/ArchiveAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/CreateAgentInput.d.ts +53 -0
- package/dist/api/resources/agents/client/requests/CreateAgentInput.js +2 -0
- package/dist/api/resources/agents/client/requests/GetAgentsRequest.d.ts +16 -0
- package/dist/api/resources/agents/client/requests/GetAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/ListAgentsRequest.d.ts +16 -0
- package/dist/api/resources/agents/client/requests/ListAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/ListArchivedAgentsRequest.d.ts +12 -0
- package/dist/api/resources/agents/client/requests/ListArchivedAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/RestoreAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/RestoreAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/RetargetQueueAgentsRequest.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/RetargetQueueAgentsRequest.js +2 -0
- package/dist/api/resources/agents/client/requests/UpdateAgentInput.d.ts +30 -0
- package/dist/api/resources/agents/client/requests/UpdateAgentInput.js +2 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +8 -0
- package/dist/api/resources/agents/client/requests/index.js +1 -0
- package/dist/api/resources/agents/exports.d.ts +3 -0
- package/dist/api/resources/agents/exports.js +4 -0
- package/dist/api/resources/agents/index.d.ts +3 -0
- package/dist/api/resources/agents/index.js +3 -0
- package/dist/api/resources/agents/resources/index.d.ts +3 -0
- package/dist/api/resources/agents/resources/index.js +3 -0
- package/dist/api/resources/agents/resources/turns/client/Client.d.ts +100 -0
- package/dist/api/resources/agents/resources/turns/client/Client.js +240 -0
- package/dist/api/resources/agents/resources/turns/client/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/turns/client/index.js +1 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CancelTurnsRequest.d.ts +16 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CancelTurnsRequest.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CreateAgentTurnInput.d.ts +23 -0
- package/dist/api/resources/agents/resources/turns/client/requests/CreateAgentTurnInput.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/ListTurnsRequest.d.ts +20 -0
- package/dist/api/resources/agents/resources/turns/client/requests/ListTurnsRequest.js +2 -0
- package/dist/api/resources/agents/resources/turns/client/requests/index.d.ts +3 -0
- package/dist/api/resources/agents/resources/turns/client/requests/index.js +1 -0
- package/dist/api/resources/agents/resources/turns/exports.d.ts +2 -0
- package/dist/api/resources/agents/resources/turns/exports.js +3 -0
- package/dist/api/resources/agents/resources/turns/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/turns/index.js +2 -0
- package/dist/api/resources/agents/resources/turns/types/CancelTurnsResponse.d.ts +14 -0
- package/dist/api/resources/agents/resources/turns/types/CancelTurnsResponse.js +2 -0
- package/dist/api/resources/agents/resources/turns/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/turns/types/index.js +1 -0
- package/dist/api/resources/agents/types/RetargetQueueAgentsResponse.d.ts +4 -0
- package/dist/api/resources/agents/types/RetargetQueueAgentsResponse.js +2 -0
- package/dist/api/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/agents/types/index.js +1 -0
- package/dist/api/resources/appInstalls/client/Client.d.ts +216 -0
- package/dist/api/resources/appInstalls/client/Client.js +591 -0
- package/dist/api/resources/appInstalls/client/index.d.ts +1 -0
- package/dist/api/resources/appInstalls/client/index.js +1 -0
- package/dist/api/resources/appInstalls/client/requests/AppInstallBatchInput.d.ts +16 -0
- package/dist/api/resources/appInstalls/client/requests/AppInstallBatchInput.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/AppStoreInstallInput.d.ts +21 -0
- package/dist/api/resources/appInstalls/client/requests/AppStoreInstallInput.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/CancelBatchAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/CancelBatchAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/CreateAppInstallsRequest.d.ts +19 -0
- package/dist/api/resources/appInstalls/client/requests/CreateAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/EventsAppInstallsRequest.d.ts +13 -0
- package/dist/api/resources/appInstalls/client/requests/EventsAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/GetActiveBatchAppInstallsRequest.d.ts +13 -0
- package/dist/api/resources/appInstalls/client/requests/GetActiveBatchAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/ListAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/ListAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/UninstallAppInstallsRequest.d.ts +15 -0
- package/dist/api/resources/appInstalls/client/requests/UninstallAppInstallsRequest.js +2 -0
- package/dist/api/resources/appInstalls/client/requests/index.d.ts +8 -0
- package/dist/api/resources/appInstalls/client/requests/index.js +1 -0
- package/dist/api/resources/appInstalls/exports.d.ts +2 -0
- package/dist/api/resources/appInstalls/exports.js +3 -0
- package/dist/api/resources/appInstalls/index.d.ts +2 -0
- package/dist/api/resources/appInstalls/index.js +2 -0
- package/dist/api/resources/appInstalls/types/CancelBatchAppInstallsResponse.d.ts +3 -0
- package/dist/api/resources/appInstalls/types/CancelBatchAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/CreateAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/CreateAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/ListAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/ListAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/UninstallAppInstallsResponse.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/UninstallAppInstallsResponse.js +2 -0
- package/dist/api/resources/appInstalls/types/index.d.ts +4 -0
- package/dist/api/resources/appInstalls/types/index.js +4 -0
- package/dist/api/resources/catalog/client/Client.d.ts +46 -0
- package/dist/api/resources/catalog/client/Client.js +144 -0
- package/dist/api/resources/catalog/client/index.d.ts +1 -0
- package/dist/api/resources/catalog/client/index.js +1 -0
- package/dist/api/resources/catalog/client/requests/GetAppIconCatalogRequest.d.ts +16 -0
- package/dist/api/resources/catalog/client/requests/GetAppIconCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/ListAppsCatalogRequest.d.ts +12 -0
- package/dist/api/resources/catalog/client/requests/ListAppsCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/index.d.ts +2 -0
- package/dist/api/resources/catalog/client/requests/index.js +1 -0
- package/dist/api/resources/catalog/exports.d.ts +2 -0
- package/dist/api/resources/catalog/exports.js +3 -0
- package/dist/api/resources/catalog/index.d.ts +2 -0
- package/dist/api/resources/catalog/index.js +2 -0
- package/dist/api/resources/catalog/types/ListAppsCatalogResponse.d.ts +4 -0
- package/dist/api/resources/catalog/types/ListAppsCatalogResponse.js +2 -0
- package/dist/api/resources/catalog/types/index.d.ts +1 -0
- package/dist/api/resources/catalog/types/index.js +1 -0
- package/dist/api/resources/datasets/client/Client.d.ts +109 -0
- package/dist/api/resources/datasets/client/Client.js +303 -0
- package/dist/api/resources/datasets/client/index.d.ts +1 -0
- package/dist/api/resources/datasets/client/index.js +1 -0
- package/dist/api/resources/datasets/client/requests/DeleteDatasetsRequest.d.ts +10 -0
- package/dist/api/resources/datasets/client/requests/DeleteDatasetsRequest.js +2 -0
- package/dist/api/resources/datasets/client/requests/GetDatasetsRequest.d.ts +10 -0
- package/dist/api/resources/datasets/client/requests/GetDatasetsRequest.js +2 -0
- package/dist/api/resources/datasets/client/requests/PromoteDatasetInput.d.ts +13 -0
- package/dist/api/resources/datasets/client/requests/PromoteDatasetInput.js +2 -0
- package/dist/api/resources/datasets/client/requests/UpdateDatasetInput.d.ts +13 -0
- package/dist/api/resources/datasets/client/requests/UpdateDatasetInput.js +2 -0
- package/dist/api/resources/datasets/client/requests/index.d.ts +4 -0
- package/dist/api/resources/datasets/client/requests/index.js +1 -0
- package/dist/api/resources/datasets/exports.d.ts +2 -0
- package/dist/api/resources/datasets/exports.js +3 -0
- package/dist/api/resources/datasets/index.d.ts +1 -0
- package/dist/api/resources/datasets/index.js +1 -0
- package/dist/api/resources/devices/client/Client.d.ts +979 -0
- package/dist/api/resources/devices/client/Client.js +2576 -0
- package/dist/api/resources/devices/client/index.d.ts +1 -0
- package/dist/api/resources/devices/client/index.js +1 -0
- package/dist/api/resources/devices/client/requests/BackDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/BackDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ChainRequest.d.ts +50 -0
- package/dist/api/resources/devices/client/requests/ChainRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ClearDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/ClearDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ClearGeoDevicesRequest.d.ts +39 -0
- package/dist/api/resources/devices/client/requests/ClearGeoDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/DeployDevicesRequest.d.ts +15 -0
- package/dist/api/resources/devices/client/requests/DeployDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/DeviceDeployPreviewInput.d.ts +41 -0
- package/dist/api/resources/devices/client/requests/DeviceDeployPreviewInput.js +13 -0
- package/dist/api/resources/devices/client/requests/DeviceGeoInput.d.ts +48 -0
- package/dist/api/resources/devices/client/requests/DeviceGeoInput.js +2 -0
- package/dist/api/resources/devices/client/requests/DeviceLanguageInput.d.ts +44 -0
- package/dist/api/resources/devices/client/requests/DeviceLanguageInput.js +2 -0
- package/dist/api/resources/devices/client/requests/GetAdvertisingIdDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetAdvertisingIdDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetGeoDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetGeoDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetIdentityDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetIdentityDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetInternetLocationDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetInternetLocationDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetLanguageDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetLanguageDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetResetDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/GetResetDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/GetStaticIpDevicesRequest.d.ts +15 -0
- package/dist/api/resources/devices/client/requests/GetStaticIpDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/HomeDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/HomeDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/KeyInput.d.ts +47 -0
- package/dist/api/resources/devices/client/requests/KeyInput.js +2 -0
- package/dist/api/resources/devices/client/requests/ListDevicesRequest.d.ts +12 -0
- package/dist/api/resources/devices/client/requests/ListDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ListInWorkspaceDevicesRequest.d.ts +10 -0
- package/dist/api/resources/devices/client/requests/ListInWorkspaceDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ListInternetLocationsRequest.d.ts +10 -0
- package/dist/api/resources/devices/client/requests/ListInternetLocationsRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/OccupancyDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/OccupancyDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/PreviewRemoveDevicesRequest.d.ts +17 -0
- package/dist/api/resources/devices/client/requests/PreviewRemoveDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/RecentDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/RecentDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/RemoveDevicesRequest.d.ts +18 -0
- package/dist/api/resources/devices/client/requests/RemoveDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ResetAdvertisingIdDevicesRequest.d.ts +39 -0
- package/dist/api/resources/devices/client/requests/ResetAdvertisingIdDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ScreenshotDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/ScreenshotDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/SetIdentityDevicesRequest.d.ts +42 -0
- package/dist/api/resources/devices/client/requests/SetIdentityDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/ShellInput.d.ts +45 -0
- package/dist/api/resources/devices/client/requests/ShellInput.js +2 -0
- package/dist/api/resources/devices/client/requests/StartAppInput.d.ts +58 -0
- package/dist/api/resources/devices/client/requests/StartAppInput.js +2 -0
- package/dist/api/resources/devices/client/requests/StateDevicesRequest.d.ts +13 -0
- package/dist/api/resources/devices/client/requests/StateDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/StopAppInput.d.ts +51 -0
- package/dist/api/resources/devices/client/requests/StopAppInput.js +2 -0
- package/dist/api/resources/devices/client/requests/SwipeInput.d.ts +61 -0
- package/dist/api/resources/devices/client/requests/SwipeInput.js +2 -0
- package/dist/api/resources/devices/client/requests/TakeScreenshotDevicesRequest.d.ts +46 -0
- package/dist/api/resources/devices/client/requests/TakeScreenshotDevicesRequest.js +2 -0
- package/dist/api/resources/devices/client/requests/TapInput.d.ts +58 -0
- package/dist/api/resources/devices/client/requests/TapInput.js +2 -0
- package/dist/api/resources/devices/client/requests/TypeTextInput.d.ts +60 -0
- package/dist/api/resources/devices/client/requests/TypeTextInput.js +2 -0
- package/dist/api/resources/devices/client/requests/index.d.ts +35 -0
- package/dist/api/resources/devices/client/requests/index.js +1 -0
- package/dist/api/resources/devices/exports.d.ts +3 -0
- package/dist/api/resources/devices/exports.js +4 -0
- package/dist/api/resources/devices/index.d.ts +3 -0
- package/dist/api/resources/devices/index.js +3 -0
- package/dist/api/resources/devices/resources/index.d.ts +3 -0
- package/dist/api/resources/devices/resources/index.js +3 -0
- package/dist/api/resources/devices/resources/sessions/client/Client.d.ts +62 -0
- package/dist/api/resources/devices/resources/sessions/client/Client.js +162 -0
- package/dist/api/resources/devices/resources/sessions/client/index.d.ts +1 -0
- package/dist/api/resources/devices/resources/sessions/client/index.js +1 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/CreateSessionInput.d.ts +57 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/CreateSessionInput.js +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/ListSessionsRequest.d.ts +16 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/ListSessionsRequest.js +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/index.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/client/requests/index.js +1 -0
- package/dist/api/resources/devices/resources/sessions/exports.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/exports.js +3 -0
- package/dist/api/resources/devices/resources/sessions/index.d.ts +2 -0
- package/dist/api/resources/devices/resources/sessions/index.js +2 -0
- package/dist/api/resources/devices/resources/sessions/types/ListSessionsResponse.d.ts +4 -0
- package/dist/api/resources/devices/resources/sessions/types/ListSessionsResponse.js +2 -0
- package/dist/api/resources/devices/resources/sessions/types/index.d.ts +1 -0
- package/dist/api/resources/devices/resources/sessions/types/index.js +1 -0
- package/dist/api/resources/devices/types/ClearGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ClearGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/DeployDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/DeployDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetAdvertisingIdDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetAdvertisingIdDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetIdentityDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetIdentityDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetInternetLocationDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetInternetLocationDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetLanguageDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetLanguageDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetResetDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetResetDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/GetStaticIpDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/GetStaticIpDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ListDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListInWorkspaceDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ListInWorkspaceDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ListInternetLocationsResponse.d.ts +9 -0
- package/dist/api/resources/devices/types/ListInternetLocationsResponse.js +2 -0
- package/dist/api/resources/devices/types/OccupancyDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/OccupancyDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/PreviewDeployDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/PreviewDeployDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/PreviewRemoveDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/PreviewRemoveDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/RemoveDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/RemoveDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/ResetAdvertisingIdDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/ResetAdvertisingIdDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetGeoDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetGeoDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetIdentityDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetIdentityDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/SetLanguageDevicesResponse.d.ts +4 -0
- package/dist/api/resources/devices/types/SetLanguageDevicesResponse.js +2 -0
- package/dist/api/resources/devices/types/index.d.ts +20 -0
- package/dist/api/resources/devices/types/index.js +20 -0
- package/dist/api/resources/emails/client/Client.d.ts +212 -0
- package/dist/api/resources/emails/client/Client.js +537 -0
- package/dist/api/resources/emails/client/index.d.ts +1 -0
- package/dist/api/resources/emails/client/index.js +1 -0
- package/dist/api/resources/emails/client/requests/EmailAddressAddInput.d.ts +16 -0
- package/dist/api/resources/emails/client/requests/EmailAddressAddInput.js +2 -0
- package/dist/api/resources/emails/client/requests/ListAddressesEmailsRequest.d.ts +12 -0
- package/dist/api/resources/emails/client/requests/ListAddressesEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/ListMessagesEmailsRequest.d.ts +20 -0
- package/dist/api/resources/emails/client/requests/ListMessagesEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/PreviewAddAddressEmailsRequest.d.ts +17 -0
- package/dist/api/resources/emails/client/requests/PreviewAddAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/PreviewRemoveAddressEmailsRequest.d.ts +20 -0
- package/dist/api/resources/emails/client/requests/PreviewRemoveAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/RemoveAddressEmailsRequest.d.ts +21 -0
- package/dist/api/resources/emails/client/requests/RemoveAddressEmailsRequest.js +2 -0
- package/dist/api/resources/emails/client/requests/index.d.ts +6 -0
- package/dist/api/resources/emails/client/requests/index.js +1 -0
- package/dist/api/resources/emails/exports.d.ts +2 -0
- package/dist/api/resources/emails/exports.js +3 -0
- package/dist/api/resources/emails/index.d.ts +2 -0
- package/dist/api/resources/emails/index.js +2 -0
- package/dist/api/resources/emails/types/AddAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/AddAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/PreviewAddAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/PreviewAddAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/PreviewRemoveAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/PreviewRemoveAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/RemoveAddressEmailsResponse.d.ts +4 -0
- package/dist/api/resources/emails/types/RemoveAddressEmailsResponse.js +2 -0
- package/dist/api/resources/emails/types/index.d.ts +4 -0
- package/dist/api/resources/emails/types/index.js +4 -0
- package/dist/api/resources/files/client/Client.d.ts +69 -0
- package/dist/api/resources/files/client/Client.js +205 -0
- package/dist/api/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/files/client/index.js +1 -0
- package/dist/api/resources/files/client/requests/DownloadFilesRequest.d.ts +16 -0
- package/dist/api/resources/files/client/requests/DownloadFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/GetFilesRequest.d.ts +16 -0
- package/dist/api/resources/files/client/requests/GetFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/ListFilesRequest.d.ts +13 -0
- package/dist/api/resources/files/client/requests/ListFilesRequest.js +2 -0
- package/dist/api/resources/files/client/requests/index.d.ts +3 -0
- package/dist/api/resources/files/client/requests/index.js +1 -0
- package/dist/api/resources/files/exports.d.ts +2 -0
- package/dist/api/resources/files/exports.js +3 -0
- package/dist/api/resources/files/index.d.ts +2 -0
- package/dist/api/resources/files/index.js +2 -0
- package/dist/api/resources/files/types/DownloadFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/DownloadFilesResponse.js +2 -0
- package/dist/api/resources/files/types/GetFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/GetFilesResponse.js +2 -0
- package/dist/api/resources/files/types/ListFilesResponse.d.ts +4 -0
- package/dist/api/resources/files/types/ListFilesResponse.js +2 -0
- package/dist/api/resources/files/types/index.d.ts +3 -0
- package/dist/api/resources/files/types/index.js +3 -0
- package/dist/api/resources/health/client/Client.d.ts +29 -0
- package/dist/api/resources/health/client/Client.js +57 -0
- package/dist/api/resources/health/client/index.d.ts +1 -0
- package/dist/api/resources/health/client/index.js +1 -0
- package/dist/api/resources/health/exports.d.ts +2 -0
- package/dist/api/resources/health/exports.js +3 -0
- package/dist/api/resources/health/index.d.ts +2 -0
- package/dist/api/resources/health/index.js +2 -0
- package/dist/api/resources/health/types/CheckHealthResponse.d.ts +4 -0
- package/dist/api/resources/health/types/CheckHealthResponse.js +2 -0
- package/dist/api/resources/health/types/index.d.ts +1 -0
- package/dist/api/resources/health/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +42 -0
- package/dist/api/resources/index.js +42 -0
- package/dist/api/resources/modelKeys/client/Client.d.ts +94 -0
- package/dist/api/resources/modelKeys/client/Client.js +224 -0
- package/dist/api/resources/modelKeys/client/index.d.ts +1 -0
- package/dist/api/resources/modelKeys/client/index.js +1 -0
- package/dist/api/resources/modelKeys/client/requests/DeleteModelKeysRequest.d.ts +13 -0
- package/dist/api/resources/modelKeys/client/requests/DeleteModelKeysRequest.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/ListModelKeysRequest.d.ts +10 -0
- package/dist/api/resources/modelKeys/client/requests/ListModelKeysRequest.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/ModelKeyInput.d.ts +16 -0
- package/dist/api/resources/modelKeys/client/requests/ModelKeyInput.js +2 -0
- package/dist/api/resources/modelKeys/client/requests/index.d.ts +3 -0
- package/dist/api/resources/modelKeys/client/requests/index.js +1 -0
- package/dist/api/resources/modelKeys/exports.d.ts +2 -0
- package/dist/api/resources/modelKeys/exports.js +3 -0
- package/dist/api/resources/modelKeys/index.d.ts +2 -0
- package/dist/api/resources/modelKeys/index.js +2 -0
- package/dist/api/resources/modelKeys/types/DeleteModelKeysRequestProvider.d.ts +5 -0
- package/dist/api/resources/modelKeys/types/DeleteModelKeysRequestProvider.js +5 -0
- package/dist/api/resources/modelKeys/types/ListModelKeysResponse.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/ListModelKeysResponse.js +2 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysRequestProvider.d.ts +5 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysRequestProvider.js +5 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysResponse.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/SetModelKeysResponse.js +2 -0
- package/dist/api/resources/modelKeys/types/index.d.ts +4 -0
- package/dist/api/resources/modelKeys/types/index.js +4 -0
- package/dist/api/resources/notifications/client/Client.d.ts +98 -0
- package/dist/api/resources/notifications/client/Client.js +264 -0
- package/dist/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/api/resources/notifications/client/index.js +1 -0
- package/dist/api/resources/notifications/client/requests/GetSettingsNotificationsRequest.d.ts +13 -0
- package/dist/api/resources/notifications/client/requests/GetSettingsNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListAppsNotificationsRequest.d.ts +13 -0
- package/dist/api/resources/notifications/client/requests/ListAppsNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +17 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/ListRulesNotificationsRequest.d.ts +10 -0
- package/dist/api/resources/notifications/client/requests/ListRulesNotificationsRequest.js +2 -0
- package/dist/api/resources/notifications/client/requests/index.d.ts +4 -0
- package/dist/api/resources/notifications/client/requests/index.js +1 -0
- package/dist/api/resources/notifications/exports.d.ts +2 -0
- package/dist/api/resources/notifications/exports.js +3 -0
- package/dist/api/resources/notifications/index.d.ts +2 -0
- package/dist/api/resources/notifications/index.js +2 -0
- package/dist/api/resources/notifications/types/GetSettingsNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/GetSettingsNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListAppsNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListAppsNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/ListRulesNotificationsResponse.d.ts +4 -0
- package/dist/api/resources/notifications/types/ListRulesNotificationsResponse.js +2 -0
- package/dist/api/resources/notifications/types/index.d.ts +4 -0
- package/dist/api/resources/notifications/types/index.js +4 -0
- package/dist/api/resources/phoneNumbers/client/Client.d.ts +92 -0
- package/dist/api/resources/phoneNumbers/client/Client.js +219 -0
- package/dist/api/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/phoneNumbers/client/index.js +1 -0
- package/dist/api/resources/phoneNumbers/client/requests/GetPhoneNumbersRequest.d.ts +13 -0
- package/dist/api/resources/phoneNumbers/client/requests/GetPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListMessagesPhoneNumbersRequest.d.ts +19 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListMessagesPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListPhoneNumbersRequest.d.ts +10 -0
- package/dist/api/resources/phoneNumbers/client/requests/ListPhoneNumbersRequest.js +2 -0
- package/dist/api/resources/phoneNumbers/client/requests/index.d.ts +3 -0
- package/dist/api/resources/phoneNumbers/client/requests/index.js +1 -0
- package/dist/api/resources/phoneNumbers/exports.d.ts +2 -0
- package/dist/api/resources/phoneNumbers/exports.js +3 -0
- package/dist/api/resources/phoneNumbers/index.d.ts +1 -0
- package/dist/api/resources/phoneNumbers/index.js +1 -0
- package/dist/api/resources/secrets/client/Client.d.ts +80 -0
- package/dist/api/resources/secrets/client/Client.js +192 -0
- package/dist/api/resources/secrets/client/index.d.ts +1 -0
- package/dist/api/resources/secrets/client/index.js +1 -0
- package/dist/api/resources/secrets/client/requests/GetSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/GetSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/ListSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/ListSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/ListTagsSecretsRequest.d.ts +10 -0
- package/dist/api/resources/secrets/client/requests/ListTagsSecretsRequest.js +2 -0
- package/dist/api/resources/secrets/client/requests/index.d.ts +3 -0
- package/dist/api/resources/secrets/client/requests/index.js +1 -0
- package/dist/api/resources/secrets/exports.d.ts +2 -0
- package/dist/api/resources/secrets/exports.js +3 -0
- package/dist/api/resources/secrets/index.d.ts +2 -0
- package/dist/api/resources/secrets/index.js +2 -0
- package/dist/api/resources/secrets/types/GetSecretsResponse.d.ts +4 -0
- package/dist/api/resources/secrets/types/GetSecretsResponse.js +2 -0
- package/dist/api/resources/secrets/types/ListTagsSecretsResponse.d.ts +4 -0
- package/dist/api/resources/secrets/types/ListTagsSecretsResponse.js +2 -0
- package/dist/api/resources/secrets/types/index.d.ts +2 -0
- package/dist/api/resources/secrets/types/index.js +2 -0
- package/dist/api/resources/sessions/client/Client.d.ts +442 -0
- package/dist/api/resources/sessions/client/Client.js +1241 -0
- package/dist/api/resources/sessions/client/index.d.ts +1 -0
- package/dist/api/resources/sessions/client/index.js +1 -0
- package/dist/api/resources/sessions/client/requests/AnswerHitlInput.d.ts +18 -0
- package/dist/api/resources/sessions/client/requests/AnswerHitlInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/ArtifactsSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/ArtifactsSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/BreakdownSessionsRequest.d.ts +10 -0
- package/dist/api/resources/sessions/client/requests/BreakdownSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/CancelQueuedSessionsRequest.d.ts +18 -0
- package/dist/api/resources/sessions/client/requests/CancelQueuedSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ContinueSessionInput.d.ts +24 -0
- package/dist/api/resources/sessions/client/requests/ContinueSessionInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/EventsSessionsRequest.d.ts +12 -0
- package/dist/api/resources/sessions/client/requests/EventsSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetLegacySessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/GetLegacySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetSessionsRequest.d.ts +10 -0
- package/dist/api/resources/sessions/client/requests/GetSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/GetUiStateSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/GetUiStateSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/HistoryPolicySessionsRequest.d.ts +12 -0
- package/dist/api/resources/sessions/client/requests/HistoryPolicySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ListSessionsRequest.d.ts +78 -0
- package/dist/api/resources/sessions/client/requests/ListSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/RecordingSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/RecordingSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ReplayFrameSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/ReplayFrameSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/ReplaySessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/ReplaySessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/StatusSessionsRequest.d.ts +16 -0
- package/dist/api/resources/sessions/client/requests/StatusSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/StopSessionsRequest.d.ts +19 -0
- package/dist/api/resources/sessions/client/requests/StopSessionsRequest.js +2 -0
- package/dist/api/resources/sessions/client/requests/UpdateSessionInput.d.ts +13 -0
- package/dist/api/resources/sessions/client/requests/UpdateSessionInput.js +2 -0
- package/dist/api/resources/sessions/client/requests/index.d.ts +17 -0
- package/dist/api/resources/sessions/client/requests/index.js +1 -0
- package/dist/api/resources/sessions/exports.d.ts +3 -0
- package/dist/api/resources/sessions/exports.js +4 -0
- package/dist/api/resources/sessions/index.d.ts +3 -0
- package/dist/api/resources/sessions/index.js +3 -0
- package/dist/api/resources/sessions/resources/index.d.ts +3 -0
- package/dist/api/resources/sessions/resources/index.js +3 -0
- package/dist/api/resources/sessions/resources/liveView/client/Client.d.ts +210 -0
- package/dist/api/resources/sessions/resources/liveView/client/Client.js +616 -0
- package/dist/api/resources/sessions/resources/liveView/client/index.d.ts +1 -0
- package/dist/api/resources/sessions/resources/liveView/client/index.js +1 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/ConnectLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/ConnectLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/EventsLiveViewRequest.d.ts +16 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/EventsLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/IceServersLiveViewRequest.d.ts +16 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/IceServersLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/KeepaliveLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/KeepaliveLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/RequestFrameLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/RequestFrameLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StartLiveViewRequest.d.ts +13 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StartLiveViewRequest.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamSignalInput.d.ts +30 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamSignalInput.js +11 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamStopInput.d.ts +15 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/StreamStopInput.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/index.d.ts +8 -0
- package/dist/api/resources/sessions/resources/liveView/client/requests/index.js +1 -0
- package/dist/api/resources/sessions/resources/liveView/exports.d.ts +2 -0
- package/dist/api/resources/sessions/resources/liveView/exports.js +3 -0
- package/dist/api/resources/sessions/resources/liveView/index.d.ts +2 -0
- package/dist/api/resources/sessions/resources/liveView/index.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/types/IceServersLiveViewResponse.d.ts +4 -0
- package/dist/api/resources/sessions/resources/liveView/types/IceServersLiveViewResponse.js +2 -0
- package/dist/api/resources/sessions/resources/liveView/types/index.d.ts +1 -0
- package/dist/api/resources/sessions/resources/liveView/types/index.js +1 -0
- package/dist/api/resources/sessions/types/BreakdownSessionsResponse.d.ts +18 -0
- package/dist/api/resources/sessions/types/BreakdownSessionsResponse.js +10 -0
- package/dist/api/resources/sessions/types/EventsSessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/EventsSessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/HistoryPolicySessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/HistoryPolicySessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/ListSessionsRequestStatusMode.d.ts +5 -0
- package/dist/api/resources/sessions/types/ListSessionsRequestStatusMode.js +5 -0
- package/dist/api/resources/sessions/types/ListSessionsResponse.d.ts +4 -0
- package/dist/api/resources/sessions/types/ListSessionsResponse.js +2 -0
- package/dist/api/resources/sessions/types/index.d.ts +5 -0
- package/dist/api/resources/sessions/types/index.js +5 -0
- package/dist/api/resources/skills/client/Client.d.ts +106 -0
- package/dist/api/resources/skills/client/Client.js +310 -0
- package/dist/api/resources/skills/client/index.d.ts +1 -0
- package/dist/api/resources/skills/client/index.js +1 -0
- package/dist/api/resources/skills/client/requests/CreateSkillInput.d.ts +44 -0
- package/dist/api/resources/skills/client/requests/CreateSkillInput.js +2 -0
- package/dist/api/resources/skills/client/requests/DeleteSkillsRequest.d.ts +10 -0
- package/dist/api/resources/skills/client/requests/DeleteSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/GetSkillsRequest.d.ts +10 -0
- package/dist/api/resources/skills/client/requests/GetSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/ListSkillsRequest.d.ts +9 -0
- package/dist/api/resources/skills/client/requests/ListSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/UpdateSkillsRequest.d.ts +20 -0
- package/dist/api/resources/skills/client/requests/UpdateSkillsRequest.js +2 -0
- package/dist/api/resources/skills/client/requests/index.d.ts +5 -0
- package/dist/api/resources/skills/client/requests/index.js +1 -0
- package/dist/api/resources/skills/exports.d.ts +2 -0
- package/dist/api/resources/skills/exports.js +3 -0
- package/dist/api/resources/skills/index.d.ts +2 -0
- package/dist/api/resources/skills/index.js +2 -0
- package/dist/api/resources/skills/types/ListSkillsRequestScope.d.ts +5 -0
- package/dist/api/resources/skills/types/ListSkillsRequestScope.js +5 -0
- package/dist/api/resources/skills/types/ListSkillsResponse.d.ts +4 -0
- package/dist/api/resources/skills/types/ListSkillsResponse.js +2 -0
- package/dist/api/resources/skills/types/index.d.ts +2 -0
- package/dist/api/resources/skills/types/index.js +2 -0
- package/dist/api/resources/workspaces/client/Client.d.ts +34 -0
- package/dist/api/resources/workspaces/client/Client.js +72 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +1 -0
- package/dist/api/resources/workspaces/client/requests/GetWorkspacesRequest.d.ts +10 -0
- package/dist/api/resources/workspaces/client/requests/GetWorkspacesRequest.js +2 -0
- package/dist/api/resources/workspaces/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/requests/index.js +1 -0
- package/dist/api/resources/workspaces/exports.d.ts +2 -0
- package/dist/api/resources/workspaces/exports.js +3 -0
- package/dist/api/resources/workspaces/index.d.ts +2 -0
- package/dist/api/resources/workspaces/index.js +2 -0
- package/dist/api/resources/workspaces/types/GetWorkspacesResponse.d.ts +4 -0
- package/dist/api/resources/workspaces/types/GetWorkspacesResponse.js +2 -0
- package/dist/api/resources/workspaces/types/index.d.ts +1 -0
- package/dist/api/resources/workspaces/types/index.js +1 -0
- package/dist/api/types/Agent.d.ts +19 -0
- package/dist/api/types/Agent.js +2 -0
- package/dist/api/types/AgentDetail.d.ts +9 -0
- package/dist/api/types/AgentDetail.js +2 -0
- package/dist/api/types/AgentDetailResponse.d.ts +4 -0
- package/dist/api/types/AgentDetailResponse.js +2 -0
- package/dist/api/types/AgentDevice.d.ts +7 -0
- package/dist/api/types/AgentDevice.js +2 -0
- package/dist/api/types/AgentDeviceInput.d.ts +6 -0
- package/dist/api/types/AgentDeviceInput.js +2 -0
- package/dist/api/types/AgentListResponse.d.ts +8 -0
- package/dist/api/types/AgentListResponse.js +2 -0
- package/dist/api/types/AgentTurn.d.ts +14 -0
- package/dist/api/types/AgentTurn.js +2 -0
- package/dist/api/types/AgentTurnDispatchResponse.d.ts +29 -0
- package/dist/api/types/AgentTurnDispatchResponse.js +14 -0
- package/dist/api/types/AgentTurnPage.d.ts +7 -0
- package/dist/api/types/AgentTurnPage.js +2 -0
- package/dist/api/types/AgentTurnPageResponse.d.ts +4 -0
- package/dist/api/types/AgentTurnPageResponse.js +2 -0
- package/dist/api/types/AnswerHitlResult.d.ts +26 -0
- package/dist/api/types/AnswerHitlResult.js +13 -0
- package/dist/api/types/AppInstall.d.ts +36 -0
- package/dist/api/types/AppInstall.js +22 -0
- package/dist/api/types/AppInstallBatch.d.ts +39 -0
- package/dist/api/types/AppInstallBatch.js +28 -0
- package/dist/api/types/AppInstallBatchStarted.d.ts +19 -0
- package/dist/api/types/AppInstallBatchStarted.js +13 -0
- package/dist/api/types/AppInstallEvent.d.ts +16 -0
- package/dist/api/types/AppInstallEvent.js +8 -0
- package/dist/api/types/AppStoreInstallResponse.d.ts +31 -0
- package/dist/api/types/AppStoreInstallResponse.js +14 -0
- package/dist/api/types/ArchiveAgentResponse.d.ts +10 -0
- package/dist/api/types/ArchiveAgentResponse.js +2 -0
- package/dist/api/types/BackChainStep.d.ts +5 -0
- package/dist/api/types/BackChainStep.js +2 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +2 -0
- package/dist/api/types/BadRequestErrorBody.js +2 -0
- package/dist/api/types/Busy.d.ts +19 -0
- package/dist/api/types/Busy.js +9 -0
- package/dist/api/types/CancelQueuedFollowupResult.d.ts +8 -0
- package/dist/api/types/CancelQueuedFollowupResult.js +2 -0
- package/dist/api/types/CaptureField.d.ts +7 -0
- package/dist/api/types/CaptureField.js +2 -0
- package/dist/api/types/CaptureOnlyFilter.d.ts +8 -0
- package/dist/api/types/CaptureOnlyFilter.js +8 -0
- package/dist/api/types/CaptureOptions.d.ts +20 -0
- package/dist/api/types/CaptureOptions.js +2 -0
- package/dist/api/types/CaptureResponse.d.ts +56 -0
- package/dist/api/types/CaptureResponse.js +2 -0
- package/dist/api/types/CaptureVerbosity.d.ts +12 -0
- package/dist/api/types/CaptureVerbosity.js +12 -0
- package/dist/api/types/CatalogApp.d.ts +11 -0
- package/dist/api/types/CatalogApp.js +2 -0
- package/dist/api/types/ChainCapturePolicy.d.ts +12 -0
- package/dist/api/types/ChainCapturePolicy.js +12 -0
- package/dist/api/types/ChainResponse.d.ts +6 -0
- package/dist/api/types/ChainResponse.js +2 -0
- package/dist/api/types/ChainStep.d.ts +45 -0
- package/dist/api/types/ChainStep.js +2 -0
- package/dist/api/types/ChainStepResponse.d.ts +14 -0
- package/dist/api/types/ChainStepResponse.js +2 -0
- package/dist/api/types/ChainVerb.d.ts +16 -0
- package/dist/api/types/ChainVerb.js +16 -0
- package/dist/api/types/ClearChainStep.d.ts +5 -0
- package/dist/api/types/ClearChainStep.js +2 -0
- package/dist/api/types/ContinueSessionResult.d.ts +25 -0
- package/dist/api/types/ContinueSessionResult.js +7 -0
- package/dist/api/types/CreateSessionResult.d.ts +13 -0
- package/dist/api/types/CreateSessionResult.js +7 -0
- package/dist/api/types/Dataset.d.ts +18 -0
- package/dist/api/types/Dataset.js +7 -0
- package/dist/api/types/DatasetColumn.d.ts +5 -0
- package/dist/api/types/DatasetColumn.js +2 -0
- package/dist/api/types/DatasetColumnType.d.ts +6 -0
- package/dist/api/types/DatasetColumnType.js +6 -0
- package/dist/api/types/DatasetListResponse.d.ts +4 -0
- package/dist/api/types/DatasetListResponse.js +2 -0
- package/dist/api/types/DatasetOutput.d.ts +12 -0
- package/dist/api/types/DatasetOutput.js +2 -0
- package/dist/api/types/DatasetResponse.d.ts +4 -0
- package/dist/api/types/DatasetResponse.js +2 -0
- package/dist/api/types/DeleteDatasetResponse.d.ts +3 -0
- package/dist/api/types/DeleteDatasetResponse.js +2 -0
- package/dist/api/types/Device.d.ts +41 -0
- package/dist/api/types/Device.js +16 -0
- package/dist/api/types/DeviceAdvertisingIdReset.d.ts +6 -0
- package/dist/api/types/DeviceAdvertisingIdReset.js +2 -0
- package/dist/api/types/DeviceChangeConfirmInput.d.ts +4 -0
- package/dist/api/types/DeviceChangeConfirmInput.js +2 -0
- package/dist/api/types/DeviceChangePreview.d.ts +36 -0
- package/dist/api/types/DeviceChangePreview.js +7 -0
- package/dist/api/types/DeviceChangeResult.d.ts +9 -0
- package/dist/api/types/DeviceChangeResult.js +2 -0
- package/dist/api/types/DeviceControlError.d.ts +15 -0
- package/dist/api/types/DeviceControlError.js +15 -0
- package/dist/api/types/DeviceControlInProgress.d.ts +7 -0
- package/dist/api/types/DeviceControlInProgress.js +7 -0
- package/dist/api/types/DeviceControlState.d.ts +18 -0
- package/dist/api/types/DeviceControlState.js +18 -0
- package/dist/api/types/DeviceGeo.d.ts +37 -0
- package/dist/api/types/DeviceGeo.js +18 -0
- package/dist/api/types/DeviceIdentity.d.ts +9 -0
- package/dist/api/types/DeviceIdentity.js +2 -0
- package/dist/api/types/DeviceIdentityFields.d.ts +16 -0
- package/dist/api/types/DeviceIdentityFields.js +2 -0
- package/dist/api/types/DeviceInternetLocation.d.ts +28 -0
- package/dist/api/types/DeviceInternetLocation.js +16 -0
- package/dist/api/types/DeviceLanguage.d.ts +8 -0
- package/dist/api/types/DeviceLanguage.js +2 -0
- package/dist/api/types/DeviceOccupancy.d.ts +39 -0
- package/dist/api/types/DeviceOccupancy.js +2 -0
- package/dist/api/types/DeviceRemoveResult.d.ts +8 -0
- package/dist/api/types/DeviceRemoveResult.js +2 -0
- package/dist/api/types/DeviceReset.d.ts +35 -0
- package/dist/api/types/DeviceReset.js +20 -0
- package/dist/api/types/DeviceState.d.ts +21 -0
- package/dist/api/types/DeviceState.js +2 -0
- package/dist/api/types/DeviceStaticIp.d.ts +18 -0
- package/dist/api/types/DeviceStaticIp.js +10 -0
- package/dist/api/types/DeviceStaticIpStatus.d.ts +17 -0
- package/dist/api/types/DeviceStaticIpStatus.js +10 -0
- package/dist/api/types/EmailAddress.d.ts +11 -0
- package/dist/api/types/EmailAddress.js +2 -0
- package/dist/api/types/EmailAddressListResponse.d.ts +4 -0
- package/dist/api/types/EmailAddressListResponse.js +2 -0
- package/dist/api/types/EmailMessage.d.ts +15 -0
- package/dist/api/types/EmailMessage.js +2 -0
- package/dist/api/types/EmailMessageListResponse.d.ts +6 -0
- package/dist/api/types/EmailMessageListResponse.js +2 -0
- package/dist/api/types/EmptyChainStepParams.d.ts +6 -0
- package/dist/api/types/EmptyChainStepParams.js +2 -0
- package/dist/api/types/EmptyVerbInput.d.ts +9 -0
- package/dist/api/types/EmptyVerbInput.js +2 -0
- package/dist/api/types/ErrorResponse.d.ts +4 -0
- package/dist/api/types/ErrorResponse.js +2 -0
- package/dist/api/types/HistoryPolicy.d.ts +17 -0
- package/dist/api/types/HistoryPolicy.js +2 -0
- package/dist/api/types/HomeChainStep.d.ts +5 -0
- package/dist/api/types/HomeChainStep.js +2 -0
- package/dist/api/types/IceServer.d.ts +8 -0
- package/dist/api/types/IceServer.js +2 -0
- package/dist/api/types/IceServerIssuance.d.ts +13 -0
- package/dist/api/types/IceServerIssuance.js +2 -0
- package/dist/api/types/InboxAddressAddResult.d.ts +18 -0
- package/dist/api/types/InboxAddressAddResult.js +2 -0
- package/dist/api/types/InboxAddressPreview.d.ts +34 -0
- package/dist/api/types/InboxAddressPreview.js +7 -0
- package/dist/api/types/InboxAddressRemoveResult.d.ts +13 -0
- package/dist/api/types/InboxAddressRemoveResult.js +2 -0
- package/dist/api/types/KeyChainStep.d.ts +5 -0
- package/dist/api/types/KeyChainStep.js +2 -0
- package/dist/api/types/KeyChainStepParams.d.ts +3 -0
- package/dist/api/types/KeyChainStepParams.js +2 -0
- package/dist/api/types/LegacySession.d.ts +21 -0
- package/dist/api/types/LegacySession.js +11 -0
- package/dist/api/types/ModelKey.d.ts +14 -0
- package/dist/api/types/ModelKey.js +8 -0
- package/dist/api/types/NotificationApp.d.ts +6 -0
- package/dist/api/types/NotificationApp.js +2 -0
- package/dist/api/types/NotificationFeedItem.d.ts +34 -0
- package/dist/api/types/NotificationFeedItem.js +2 -0
- package/dist/api/types/NotificationRule.d.ts +41 -0
- package/dist/api/types/NotificationRule.js +12 -0
- package/dist/api/types/NotificationSettings.d.ts +29 -0
- package/dist/api/types/NotificationSettings.js +2 -0
- package/dist/api/types/PhoneNumber.d.ts +34 -0
- package/dist/api/types/PhoneNumber.js +18 -0
- package/dist/api/types/PhoneNumberListResponse.d.ts +4 -0
- package/dist/api/types/PhoneNumberListResponse.js +2 -0
- package/dist/api/types/PhoneNumberMessage.d.ts +9 -0
- package/dist/api/types/PhoneNumberMessage.js +2 -0
- package/dist/api/types/PhoneNumberMessageListResponse.d.ts +6 -0
- package/dist/api/types/PhoneNumberMessageListResponse.js +2 -0
- package/dist/api/types/PhoneNumberResponse.d.ts +4 -0
- package/dist/api/types/PhoneNumberResponse.js +2 -0
- package/dist/api/types/RecentChainStep.d.ts +5 -0
- package/dist/api/types/RecentChainStep.js +2 -0
- package/dist/api/types/RecordingFinalizationStatus.d.ts +11 -0
- package/dist/api/types/RecordingFinalizationStatus.js +11 -0
- package/dist/api/types/RetargetQueuedTurnsResult.d.ts +10 -0
- package/dist/api/types/RetargetQueuedTurnsResult.js +2 -0
- package/dist/api/types/ScreenshotChainStep.d.ts +5 -0
- package/dist/api/types/ScreenshotChainStep.js +2 -0
- package/dist/api/types/SecretTag.d.ts +6 -0
- package/dist/api/types/SecretTag.js +2 -0
- package/dist/api/types/SessionArtifacts.d.ts +29 -0
- package/dist/api/types/SessionArtifacts.js +2 -0
- package/dist/api/types/SessionDetail.d.ts +15 -0
- package/dist/api/types/SessionDetail.js +2 -0
- package/dist/api/types/SessionEvent.d.ts +10 -0
- package/dist/api/types/SessionEvent.js +2 -0
- package/dist/api/types/SessionRecording.d.ts +20 -0
- package/dist/api/types/SessionRecording.js +9 -0
- package/dist/api/types/SessionRecordingResponse.d.ts +8 -0
- package/dist/api/types/SessionRecordingResponse.js +2 -0
- package/dist/api/types/SessionRecordingSegment.d.ts +11 -0
- package/dist/api/types/SessionRecordingSegment.js +2 -0
- package/dist/api/types/SessionReplayFrame.d.ts +24 -0
- package/dist/api/types/SessionReplayFrame.js +10 -0
- package/dist/api/types/SessionReplayResponse.d.ts +4 -0
- package/dist/api/types/SessionReplayResponse.js +2 -0
- package/dist/api/types/SessionStatusV2.d.ts +11 -0
- package/dist/api/types/SessionStatusV2.js +11 -0
- package/dist/api/types/SessionStatusView.d.ts +9 -0
- package/dist/api/types/SessionStatusView.js +2 -0
- package/dist/api/types/SessionV2.d.ts +42 -0
- package/dist/api/types/SessionV2.js +2 -0
- package/dist/api/types/ShellResult.d.ts +6 -0
- package/dist/api/types/ShellResult.js +2 -0
- package/dist/api/types/Skill.d.ts +17 -0
- package/dist/api/types/Skill.js +2 -0
- package/dist/api/types/StartAppChainStep.d.ts +5 -0
- package/dist/api/types/StartAppChainStep.js +2 -0
- package/dist/api/types/StartAppChainStepParams.d.ts +12 -0
- package/dist/api/types/StartAppChainStepParams.js +2 -0
- package/dist/api/types/StopAppChainStep.d.ts +5 -0
- package/dist/api/types/StopAppChainStep.js +2 -0
- package/dist/api/types/StopAppChainStepParams.d.ts +7 -0
- package/dist/api/types/StopAppChainStepParams.js +2 -0
- package/dist/api/types/StopSessionResult.d.ts +7 -0
- package/dist/api/types/StopSessionResult.js +2 -0
- package/dist/api/types/StreamCommandResult.d.ts +10 -0
- package/dist/api/types/StreamCommandResult.js +2 -0
- package/dist/api/types/StreamSignalEvent.d.ts +23 -0
- package/dist/api/types/StreamSignalEvent.js +12 -0
- package/dist/api/types/StreamStartInput.d.ts +12 -0
- package/dist/api/types/StreamStartInput.js +2 -0
- package/dist/api/types/StreamViewerInput.d.ts +6 -0
- package/dist/api/types/StreamViewerInput.js +2 -0
- package/dist/api/types/SwipeChainStep.d.ts +5 -0
- package/dist/api/types/SwipeChainStep.js +2 -0
- package/dist/api/types/SwipeChainStepParams.d.ts +8 -0
- package/dist/api/types/SwipeChainStepParams.js +2 -0
- package/dist/api/types/TapChainStep.d.ts +5 -0
- package/dist/api/types/TapChainStep.js +2 -0
- package/dist/api/types/TapChainStepParams.d.ts +13 -0
- package/dist/api/types/TapChainStepParams.js +2 -0
- package/dist/api/types/TapResult.d.ts +12 -0
- package/dist/api/types/TapResult.js +2 -0
- package/dist/api/types/TypeChainStep.d.ts +5 -0
- package/dist/api/types/TypeChainStep.js +2 -0
- package/dist/api/types/TypeChainStepParams.d.ts +5 -0
- package/dist/api/types/TypeChainStepParams.js +2 -0
- package/dist/api/types/ValidationErrorResponse.d.ts +4 -0
- package/dist/api/types/ValidationErrorResponse.js +2 -0
- package/dist/api/types/VerbResult.d.ts +12 -0
- package/dist/api/types/VerbResult.js +2 -0
- package/dist/api/types/VerbResultWithOptionalCapture.d.ts +4 -0
- package/dist/api/types/VerbResultWithOptionalCapture.js +2 -0
- package/dist/api/types/WaitChainStep.d.ts +5 -0
- package/dist/api/types/WaitChainStep.js +2 -0
- package/dist/api/types/WaitChainStepParams.d.ts +11 -0
- package/dist/api/types/WaitChainStepParams.js +2 -0
- package/dist/api/types/Workspace.d.ts +7 -0
- package/dist/api/types/Workspace.js +2 -0
- package/dist/api/types/WorkspaceFile.d.ts +20 -0
- package/dist/api/types/WorkspaceFile.js +8 -0
- package/dist/api/types/WorkspaceFileDownload.d.ts +8 -0
- package/dist/api/types/WorkspaceFileDownload.js +2 -0
- package/dist/api/types/WorkspaceScopeInput.d.ts +4 -0
- package/dist/api/types/WorkspaceScopeInput.js +2 -0
- package/dist/api/types/WorkspaceSecret.d.ts +26 -0
- package/dist/api/types/WorkspaceSecret.js +2 -0
- package/dist/api/types/WorkspaceSecretListResponse.d.ts +4 -0
- package/dist/api/types/WorkspaceSecretListResponse.js +2 -0
- package/dist/api/types/index.d.ts +133 -0
- package/dist/api/types/index.js +133 -0
- package/dist/auth/HeaderAuthProvider.d.ts +20 -0
- package/dist/auth/HeaderAuthProvider.js +33 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/core/auth/AuthProvider.d.ts +8 -0
- package/dist/core/auth/AuthProvider.js +6 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +1 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +29 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/BearerToken.js +13 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/NoOpAuthProvider.js +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/auth/index.js +4 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +22 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/exports.js +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/core/fetcher/APIResponse.js +1 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/BinaryResponse.js +14 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointMetadata.js +1 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/EndpointSupplier.js +10 -0
- package/dist/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/core/fetcher/Fetcher.js +223 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +83 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +90 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +40 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +10 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +5 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +30 -0
- package/dist/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/core/fetcher/getFetchFn.js +3 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +8 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +13 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +66 -0
- package/dist/core/fetcher/index.d.ts +13 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makePassthroughRequest.js +144 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -0
- package/dist/core/fetcher/makeRequest.js +57 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/fetcher/redactUrl.js +84 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +56 -0
- package/dist/core/fetcher/signals.d.ts +5 -0
- package/dist/core/fetcher/signals.js +29 -0
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/headers.js +27 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.js +7 -0
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +19 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/exports.js +9 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/index.js +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/logging/logger.js +140 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/requestBody.js +23 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +1 -0
- package/dist/core/runtime/runtime.d.ts +28 -0
- package/dist/core/runtime/runtime.js +171 -0
- package/dist/core/stream/Stream.d.ts +100 -0
- package/dist/core/stream/Stream.js +428 -0
- package/dist/core/stream/index.d.ts +2 -0
- package/dist/core/stream/index.js +1 -0
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/QueryStringBuilder.js +78 -0
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +18 -0
- package/dist/core/url/index.d.ts +4 -0
- package/dist/core/url/index.js +4 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +65 -0
- package/dist/core/url/qs.d.ts +7 -0
- package/dist/core/url/qs.js +76 -0
- package/dist/environments.d.ts +4 -0
- package/dist/environments.js +4 -0
- package/dist/errors/LusorError.d.ts +15 -0
- package/dist/errors/LusorError.js +38 -0
- package/dist/errors/LusorTimeoutError.d.ts +6 -0
- package/dist/errors/LusorTimeoutError.js +15 -0
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +32 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +2 -0
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/package.json +54 -4
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js";
|
|
5
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.js";
|
|
6
|
+
import * as environments from "../../../../environments.js";
|
|
7
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
|
|
8
|
+
import * as errors from "../../../../errors/index.js";
|
|
9
|
+
import * as Lusor from "../../../index.js";
|
|
10
|
+
/**
|
|
11
|
+
* Reusable automation skills (Markdown documents).
|
|
12
|
+
*/
|
|
13
|
+
export class SkillsClient {
|
|
14
|
+
_options;
|
|
15
|
+
constructor(options = {}) {
|
|
16
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @param {Lusor.ListSkillsRequest} request
|
|
20
|
+
* @param {SkillsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
|
+
*
|
|
22
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
23
|
+
* @throws {@link errors.LusorError}
|
|
24
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* await client.skills.list()
|
|
28
|
+
*/
|
|
29
|
+
list(request = {}, requestOptions) {
|
|
30
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
31
|
+
}
|
|
32
|
+
async __list(request = {}, requestOptions) {
|
|
33
|
+
const { scope } = request;
|
|
34
|
+
const _queryParams = {
|
|
35
|
+
scope: scope != null ? scope : undefined,
|
|
36
|
+
};
|
|
37
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
38
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
39
|
+
const _response = await core.fetcher({
|
|
40
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
41
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
42
|
+
environments.LusorEnvironment.Production, "v1/skills"),
|
|
43
|
+
method: "GET",
|
|
44
|
+
headers: _headers,
|
|
45
|
+
queryString: core.url
|
|
46
|
+
.queryBuilder()
|
|
47
|
+
.addMany(_queryParams)
|
|
48
|
+
.mergeAdditional(requestOptions?.queryParams)
|
|
49
|
+
.build(),
|
|
50
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
51
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
52
|
+
abortSignal: requestOptions?.abortSignal,
|
|
53
|
+
fetchFn: this._options?.fetch,
|
|
54
|
+
logging: this._options.logging,
|
|
55
|
+
});
|
|
56
|
+
if (_response.ok) {
|
|
57
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
58
|
+
}
|
|
59
|
+
if (_response.error.reason === "status-code") {
|
|
60
|
+
switch (_response.error.statusCode) {
|
|
61
|
+
case 401:
|
|
62
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
63
|
+
default:
|
|
64
|
+
throw new errors.LusorError({
|
|
65
|
+
statusCode: _response.error.statusCode,
|
|
66
|
+
body: _response.error.body,
|
|
67
|
+
rawResponse: _response.rawResponse,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/skills");
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Creates a private skill owned by the caller. The slug is derived from
|
|
75
|
+
* `title`; a title that slugs to the same value as another of your
|
|
76
|
+
* skills returns `409 skill_exists`.
|
|
77
|
+
*
|
|
78
|
+
* @param {Lusor.CreateSkillInput} request
|
|
79
|
+
* @param {SkillsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link Lusor.BadRequestError}
|
|
82
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
83
|
+
* @throws {@link Lusor.ConflictError}
|
|
84
|
+
* @throws {@link errors.LusorError}
|
|
85
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* await client.skills.create({
|
|
89
|
+
* title: "title",
|
|
90
|
+
* content: "content"
|
|
91
|
+
* })
|
|
92
|
+
*/
|
|
93
|
+
create(request, requestOptions) {
|
|
94
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
95
|
+
}
|
|
96
|
+
async __create(request, requestOptions) {
|
|
97
|
+
const { "Idempotency-Key": idempotencyKey, ..._body } = request;
|
|
98
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
99
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, mergeOnlyDefinedHeaders({ "Idempotency-Key": idempotencyKey }), requestOptions?.headers);
|
|
100
|
+
const _response = await core.fetcher({
|
|
101
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
102
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
103
|
+
environments.LusorEnvironment.Production, "v1/skills"),
|
|
104
|
+
method: "POST",
|
|
105
|
+
headers: _headers,
|
|
106
|
+
contentType: "application/json",
|
|
107
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
108
|
+
requestType: "json",
|
|
109
|
+
body: mergeAdditionalBodyParameters(_body, requestOptions?.additionalBodyParameters),
|
|
110
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
111
|
+
maxRetries: 0,
|
|
112
|
+
abortSignal: requestOptions?.abortSignal,
|
|
113
|
+
fetchFn: this._options?.fetch,
|
|
114
|
+
logging: this._options.logging,
|
|
115
|
+
});
|
|
116
|
+
if (_response.ok) {
|
|
117
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
118
|
+
}
|
|
119
|
+
if (_response.error.reason === "status-code") {
|
|
120
|
+
switch (_response.error.statusCode) {
|
|
121
|
+
case 400:
|
|
122
|
+
throw new Lusor.BadRequestError(_response.error.body, _response.rawResponse);
|
|
123
|
+
case 401:
|
|
124
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
125
|
+
case 409:
|
|
126
|
+
throw new Lusor.ConflictError(_response.error.body, _response.rawResponse);
|
|
127
|
+
default:
|
|
128
|
+
throw new errors.LusorError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.body,
|
|
131
|
+
rawResponse: _response.rawResponse,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/skills");
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @param {Lusor.GetSkillsRequest} request
|
|
139
|
+
* @param {SkillsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
142
|
+
* @throws {@link Lusor.NotFoundError}
|
|
143
|
+
* @throws {@link errors.LusorError}
|
|
144
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* await client.skills.get({
|
|
148
|
+
* id: "id"
|
|
149
|
+
* })
|
|
150
|
+
*/
|
|
151
|
+
get(request, requestOptions) {
|
|
152
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
153
|
+
}
|
|
154
|
+
async __get(request, requestOptions) {
|
|
155
|
+
const { id } = request;
|
|
156
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
157
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
158
|
+
const _response = await core.fetcher({
|
|
159
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
160
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
161
|
+
environments.LusorEnvironment.Production, `v1/skills/${core.url.encodePathParam(id)}`),
|
|
162
|
+
method: "GET",
|
|
163
|
+
headers: _headers,
|
|
164
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
165
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
166
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
167
|
+
abortSignal: requestOptions?.abortSignal,
|
|
168
|
+
fetchFn: this._options?.fetch,
|
|
169
|
+
logging: this._options.logging,
|
|
170
|
+
});
|
|
171
|
+
if (_response.ok) {
|
|
172
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
173
|
+
}
|
|
174
|
+
if (_response.error.reason === "status-code") {
|
|
175
|
+
switch (_response.error.statusCode) {
|
|
176
|
+
case 401:
|
|
177
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
178
|
+
case 404:
|
|
179
|
+
throw new Lusor.NotFoundError(_response.error.body, _response.rawResponse);
|
|
180
|
+
default:
|
|
181
|
+
throw new errors.LusorError({
|
|
182
|
+
statusCode: _response.error.statusCode,
|
|
183
|
+
body: _response.error.body,
|
|
184
|
+
rawResponse: _response.rawResponse,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/skills/{id}");
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* **Retries:** safe without an `Idempotency-Key`: a repeat converges on the same deleted state.
|
|
192
|
+
*
|
|
193
|
+
* @param {Lusor.DeleteSkillsRequest} request
|
|
194
|
+
* @param {SkillsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
197
|
+
* @throws {@link Lusor.NotFoundError}
|
|
198
|
+
* @throws {@link errors.LusorError}
|
|
199
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* await client.skills.delete({
|
|
203
|
+
* id: "id"
|
|
204
|
+
* })
|
|
205
|
+
*/
|
|
206
|
+
delete(request, requestOptions) {
|
|
207
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
208
|
+
}
|
|
209
|
+
async __delete(request, requestOptions) {
|
|
210
|
+
const { id } = request;
|
|
211
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
212
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
213
|
+
const _response = await core.fetcher({
|
|
214
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
215
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
216
|
+
environments.LusorEnvironment.Production, `v1/skills/${core.url.encodePathParam(id)}`),
|
|
217
|
+
method: "DELETE",
|
|
218
|
+
headers: _headers,
|
|
219
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
220
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
221
|
+
maxRetries: 0,
|
|
222
|
+
abortSignal: requestOptions?.abortSignal,
|
|
223
|
+
fetchFn: this._options?.fetch,
|
|
224
|
+
logging: this._options.logging,
|
|
225
|
+
});
|
|
226
|
+
if (_response.ok) {
|
|
227
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
228
|
+
}
|
|
229
|
+
if (_response.error.reason === "status-code") {
|
|
230
|
+
switch (_response.error.statusCode) {
|
|
231
|
+
case 401:
|
|
232
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
233
|
+
case 404:
|
|
234
|
+
throw new Lusor.NotFoundError(_response.error.body, _response.rawResponse);
|
|
235
|
+
default:
|
|
236
|
+
throw new errors.LusorError({
|
|
237
|
+
statusCode: _response.error.statusCode,
|
|
238
|
+
body: _response.error.body,
|
|
239
|
+
rawResponse: _response.rawResponse,
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/v1/skills/{id}");
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Partial update. When `clientRevision` is supplied the update is applied only if it is newer than the stored revision — this orders concurrent PATCHes (e.g. an in-flight autosave racing the Skills panel's unload flush) so an older request landing last cannot revert newer values. A stale revision returns the current row.
|
|
247
|
+
* **Retries:** safe without an `Idempotency-Key`: the same patch converges on the same state.
|
|
248
|
+
*
|
|
249
|
+
* @param {Lusor.UpdateSkillsRequest} request
|
|
250
|
+
* @param {SkillsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
251
|
+
*
|
|
252
|
+
* @throws {@link Lusor.BadRequestError}
|
|
253
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
254
|
+
* @throws {@link Lusor.NotFoundError}
|
|
255
|
+
* @throws {@link Lusor.ConflictError}
|
|
256
|
+
* @throws {@link errors.LusorError}
|
|
257
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* await client.skills.update({
|
|
261
|
+
* id: "id"
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
update(request, requestOptions) {
|
|
265
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
266
|
+
}
|
|
267
|
+
async __update(request, requestOptions) {
|
|
268
|
+
const { id, ..._body } = request;
|
|
269
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
270
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
271
|
+
const _response = await core.fetcher({
|
|
272
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
273
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
274
|
+
environments.LusorEnvironment.Production, `v1/skills/${core.url.encodePathParam(id)}`),
|
|
275
|
+
method: "PATCH",
|
|
276
|
+
headers: _headers,
|
|
277
|
+
contentType: "application/json",
|
|
278
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
279
|
+
requestType: "json",
|
|
280
|
+
body: mergeAdditionalBodyParameters(_body, requestOptions?.additionalBodyParameters),
|
|
281
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
282
|
+
maxRetries: 0,
|
|
283
|
+
abortSignal: requestOptions?.abortSignal,
|
|
284
|
+
fetchFn: this._options?.fetch,
|
|
285
|
+
logging: this._options.logging,
|
|
286
|
+
});
|
|
287
|
+
if (_response.ok) {
|
|
288
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
289
|
+
}
|
|
290
|
+
if (_response.error.reason === "status-code") {
|
|
291
|
+
switch (_response.error.statusCode) {
|
|
292
|
+
case 400:
|
|
293
|
+
throw new Lusor.BadRequestError(_response.error.body, _response.rawResponse);
|
|
294
|
+
case 401:
|
|
295
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
296
|
+
case 404:
|
|
297
|
+
throw new Lusor.NotFoundError(_response.error.body, _response.rawResponse);
|
|
298
|
+
case 409:
|
|
299
|
+
throw new Lusor.ConflictError(_response.error.body, _response.rawResponse);
|
|
300
|
+
default:
|
|
301
|
+
throw new errors.LusorError({
|
|
302
|
+
statusCode: _response.error.statusCode,
|
|
303
|
+
body: _response.error.body,
|
|
304
|
+
rawResponse: _response.rawResponse,
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/v1/skills/{id}");
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* title: "title",
|
|
5
|
+
* content: "content"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateSkillInput {
|
|
9
|
+
/**
|
|
10
|
+
* Makes a retry of this write safe. Send a fresh key (for example a
|
|
11
|
+
* UUID) per change and the same key when you retry it.
|
|
12
|
+
*
|
|
13
|
+
* * The first request with a key runs and its result is kept for 24
|
|
14
|
+
* hours, whatever it was (success or error).
|
|
15
|
+
* * A repeat with the same key and the same request returns that
|
|
16
|
+
* result unchanged, without running it again, with the header
|
|
17
|
+
* `Idempotent-Replayed: true`.
|
|
18
|
+
* * A repeat while the first is still running returns
|
|
19
|
+
* `409 idempotency_key_in_use`; if the first never finished,
|
|
20
|
+
* `409 idempotency_outcome_unknown` (it is not run again: read the
|
|
21
|
+
* current state, then use a new key).
|
|
22
|
+
* * The same key with a different request (path, query or body)
|
|
23
|
+
* returns `422 idempotency_key_reused`.
|
|
24
|
+
* * A key that is not 1–255 visible ASCII characters returns `400
|
|
25
|
+
* invalid_idempotency_key`. Without the header, or with an empty
|
|
26
|
+
* one, nothing is deduplicated.
|
|
27
|
+
*
|
|
28
|
+
* Keys are scoped to the workspace (skills: the user) and the
|
|
29
|
+
* operation. Refusals before the write runs (validation, access,
|
|
30
|
+
* role, `409 phone_busy` from the busy-phone check, `409
|
|
31
|
+
* skill_exists`) do not use up the key. If the key cannot be recorded nothing
|
|
32
|
+
* runs and the response is `503 idempotency_unavailable`.
|
|
33
|
+
*/
|
|
34
|
+
"Idempotency-Key"?: string;
|
|
35
|
+
title: string;
|
|
36
|
+
/** Markdown skill document. May be empty for a draft. */
|
|
37
|
+
content: string;
|
|
38
|
+
tags?: string[];
|
|
39
|
+
appPackage?: string | null;
|
|
40
|
+
resultSchema?: Record<string, unknown> | null;
|
|
41
|
+
/** Folder grouping label. */
|
|
42
|
+
folder?: string | null;
|
|
43
|
+
clientRevision?: number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Lusor from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface ListSkillsRequest {
|
|
7
|
+
/** `own` lists the caller's skills; `public` lists the public catalog (read-only for non-owners). Any other value behaves as `own`. */
|
|
8
|
+
scope?: Lusor.ListSkillsRequestScope;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "id"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateSkillsRequest {
|
|
8
|
+
/** Skill UUID. */
|
|
9
|
+
id: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
content?: string;
|
|
12
|
+
tags?: string[];
|
|
13
|
+
/** Send `null` to clear the package association. */
|
|
14
|
+
appPackage?: string | null;
|
|
15
|
+
resultSchema?: Record<string, unknown> | null;
|
|
16
|
+
/** Folder grouping label; send `null` to clear. */
|
|
17
|
+
folder?: string | null;
|
|
18
|
+
/** Monotonic client revision for update ordering. */
|
|
19
|
+
clientRevision?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CreateSkillInput } from "./CreateSkillInput.js";
|
|
2
|
+
export type { DeleteSkillsRequest } from "./DeleteSkillsRequest.js";
|
|
3
|
+
export type { GetSkillsRequest } from "./GetSkillsRequest.js";
|
|
4
|
+
export type { ListSkillsRequest } from "./ListSkillsRequest.js";
|
|
5
|
+
export type { UpdateSkillsRequest } from "./UpdateSkillsRequest.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Lusor from "../../../index.js";
|
|
5
|
+
export declare namespace WorkspacesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The workspace an API key is bound to.
|
|
12
|
+
*/
|
|
13
|
+
export declare class WorkspacesClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<WorkspacesClient.Options>;
|
|
15
|
+
constructor(options?: WorkspacesClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* An API key can read only the workspace it is bound to; any other id returns an opaque `404`.
|
|
18
|
+
*
|
|
19
|
+
* @param {Lusor.GetWorkspacesRequest} request
|
|
20
|
+
* @param {WorkspacesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
|
+
*
|
|
22
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
23
|
+
* @throws {@link Lusor.NotFoundError}
|
|
24
|
+
* @throws {@link errors.LusorError}
|
|
25
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await client.workspaces.get({
|
|
29
|
+
* workspaceId: "workspaceId"
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
get(request: Lusor.GetWorkspacesRequest, requestOptions?: WorkspacesClient.RequestOptions): core.HttpResponsePromise<Lusor.GetWorkspacesResponse>;
|
|
33
|
+
private __get;
|
|
34
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import { mergeHeaders } from "../../../../core/headers.js";
|
|
5
|
+
import * as environments from "../../../../environments.js";
|
|
6
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
|
|
7
|
+
import * as errors from "../../../../errors/index.js";
|
|
8
|
+
import * as Lusor from "../../../index.js";
|
|
9
|
+
/**
|
|
10
|
+
* The workspace an API key is bound to.
|
|
11
|
+
*/
|
|
12
|
+
export class WorkspacesClient {
|
|
13
|
+
_options;
|
|
14
|
+
constructor(options = {}) {
|
|
15
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* An API key can read only the workspace it is bound to; any other id returns an opaque `404`.
|
|
19
|
+
*
|
|
20
|
+
* @param {Lusor.GetWorkspacesRequest} request
|
|
21
|
+
* @param {WorkspacesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
|
+
*
|
|
23
|
+
* @throws {@link Lusor.UnauthorizedError}
|
|
24
|
+
* @throws {@link Lusor.NotFoundError}
|
|
25
|
+
* @throws {@link errors.LusorError}
|
|
26
|
+
* @throws {@link errors.LusorTimeoutError}
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.workspaces.get({
|
|
30
|
+
* workspaceId: "workspaceId"
|
|
31
|
+
* })
|
|
32
|
+
*/
|
|
33
|
+
get(request, requestOptions) {
|
|
34
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
35
|
+
}
|
|
36
|
+
async __get(request, requestOptions) {
|
|
37
|
+
const { workspaceId } = request;
|
|
38
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
39
|
+
let _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
40
|
+
const _response = await core.fetcher({
|
|
41
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
42
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
43
|
+
environments.LusorEnvironment.Production, `v1/workspaces/${core.url.encodePathParam(workspaceId)}`),
|
|
44
|
+
method: "GET",
|
|
45
|
+
headers: _headers,
|
|
46
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
47
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
48
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
49
|
+
abortSignal: requestOptions?.abortSignal,
|
|
50
|
+
fetchFn: this._options?.fetch,
|
|
51
|
+
logging: this._options.logging,
|
|
52
|
+
});
|
|
53
|
+
if (_response.ok) {
|
|
54
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
55
|
+
}
|
|
56
|
+
if (_response.error.reason === "status-code") {
|
|
57
|
+
switch (_response.error.statusCode) {
|
|
58
|
+
case 401:
|
|
59
|
+
throw new Lusor.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
60
|
+
case 404:
|
|
61
|
+
throw new Lusor.NotFoundError(_response.error.body, _response.rawResponse);
|
|
62
|
+
default:
|
|
63
|
+
throw new errors.LusorError({
|
|
64
|
+
statusCode: _response.error.statusCode,
|
|
65
|
+
body: _response.error.body,
|
|
66
|
+
rawResponse: _response.rawResponse,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/workspaces/{workspaceId}");
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetWorkspacesRequest } from "./GetWorkspacesRequest.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|