Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class IoTEnsembleService
import { IoTEnsembleService } from "https://deno.land/x/fathym_atomic_iot@v0.0.55/src/services/IoTEnsembleService.ts";

Constructors

new
IoTEnsembleService(baseUrl: string)

Properties

private
baseUrl: string

Methods

EnrollDevice(
entLookup: string,
attestationType: DeviceAttestationTypes,
enrollmentType: DeviceEnrollmentTypes,
): Promise<EnrollDeviceResponse>
IssueDeviceSASToken(
entLookup: string,
deviceName: string,
expiryInSeconds?,
): Promise<BaseResponseModel<string>>
ListEnrolledDevices(
entLookup: string,
page?,
pageSize?,
): Promise<BaseResponseModel<Pageable<DeviceInfo>>>
RevokeDeviceEnrollment(deviceId: string, entLookup: string): Promise<BaseResponse>
SendCloudMessage(
request: Record<string | number | symbol, unknown>,
entLookup: string,
deviceName: string,
): Promise<BaseResponse>
SendDeviceMessage(
payload: Record<string | number | symbol, unknown>,
entLookup: string,
deviceName: string,
connStrType?,
): Promise<BaseResponse>