Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class IoTEnsembleService
import { IoTEnsembleService } from "https://deno.land/x/fathym_atomic_iot@v0.0.50/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>