UNPKG

@iotize/device-client.js

Version:

IoTize Device client for Javascript

69 lines (68 loc) 1.88 kB
/** * This file has been generated * DO NOT EDIT, IT MAY BE OVERWRITTEN */ import { Client, Response, ApiConfig } from "../import-adapter"; import { AbstractService, ServiceCallType } from '../abstract-service'; export declare class SecureElementService extends AbstractService { constructor(client: Client, apiConfig: ApiConfig); resources: { [key: string]: ServiceCallType; }; /** * Get configuration of Secure Element * * LWM2M path: /1024//70 * @tapVersion(">=1.0") * @return Uint8Array api call */ getConfig(): Promise<Response<Uint8Array>>; /** * Get configuration of Secure Element * * LWM2M path: /1024//70 * @tapVersion(">=1.0") * @return call options */ getConfigCall(): ServiceCallType; /** * Crypted communication channel * * LWM2M path: /1024//71 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param data input * @return Uint8Array api call */ send(data: Uint8Array): Promise<Response<Uint8Array>>; /** * Crypted communication channel * * LWM2M path: /1024//71 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param data input * @return call options */ sendCall(data: Uint8Array): ServiceCallType; /** * Write secure element configuration * * LWM2M path: /1024//70 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param conf input * @return void api call */ setConfig(conf: Uint8Array): Promise<Response<void>>; /** * Write secure element configuration * * LWM2M path: /1024//70 * Body converter id: "Bytes" * @tapVersion(">=1.0") * @param conf input * @return call options */ setConfigCall(conf: Uint8Array): ServiceCallType; }