@iotize/device-client.js
Version:
IoTize Device client for Javascript
126 lines (125 loc) • 3.49 kB
TypeScript
/**
* 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';
import { AdpStats } from '../../all-models';
import { AdpControlIn } from '../../all-models';
import { AdpControlOut } from '../../all-models';
export declare class AdpService extends AbstractService {
constructor(client: Client, apiConfig: ApiConfig);
resources: {
[key: string]: ServiceCallType;
};
/**
* Read target status
*
* LWM2M path: /1027//36
* @tapVersion(">=1.0")
* @return AdpStats api call
*/
getAdpStatus(): Promise<Response<AdpStats>>;
/**
* Read target status
*
* LWM2M path: /1027//36
* @tapVersion(">=1.0")
* @return call options
*/
getAdpStatusCall(): ServiceCallType;
/**
* Get TAPNPass ADPCtrl1 Reg\"
*
* LWM2M path: /1027//41
* @tapVersion(">=1.51")
* @return AdpControlIn api call
*/
getControlIn(): Promise<Response<AdpControlIn>>;
/**
* Get TAPNPass ADPCtrl1 Reg\"
*
* LWM2M path: /1027//41
* @tapVersion(">=1.51")
* @return call options
*/
getControlInCall(): ServiceCallType;
/**
* Direct access to TAPNPass ADPCtrl2 Reg
*
* LWM2M path: /1027//42
* @tapVersion(">=1.51")
* @return AdpControlOut api call
*/
getControlOut(): Promise<Response<AdpControlOut>>;
/**
* Direct access to TAPNPass ADPCtrl2 Reg
*
* LWM2M path: /1027//42
* @tapVersion(">=1.51")
* @return call options
*/
getControlOutCall(): ServiceCallType;
/**
* Perform actions to ADP target.
*
* LWM2M path: /1027//39
* Body converter id: "Bytes"
* @deprecated
* @tapVersion(">=1.0")
* @param data input
* @return void api call
*/
postAdpAction(data: Uint8Array): Promise<Response<void>>;
/**
* Perform actions to ADP target.
*
* LWM2M path: /1027//39
* Body converter id: "Bytes"
* @deprecated
* @tapVersion(">=1.0")
* @param data input
* @return call options
*/
postAdpActionCall(data: Uint8Array): ServiceCallType;
/**
* Direct access to TAPNPass ADPCtrl2 Reg
*
* LWM2M path: /1027//42
* Body converter id: "AdpControlOut"
* @tapVersion(">=1.51")
* @param data input
* @return AdpControlOut api call
*/
setAdpControlOut(data: AdpControlOut): Promise<Response<AdpControlOut>>;
/**
* Direct access to TAPNPass ADPCtrl2 Reg
*
* LWM2M path: /1027//42
* Body converter id: "AdpControlOut"
* @tapVersion(">=1.51")
* @param data input
* @return call options
*/
setAdpControlOutCall(data: AdpControlOut): ServiceCallType;
/**
* Direct access to TAPNPass ADPCtrl1 Reg
*
* LWM2M path: /1027//41
* Body converter id: "AdpControlIn"
* @tapVersion(">=1.51")
* @param data input
* @return void api call
*/
setControlIn(data: AdpControlIn): Promise<Response<void>>;
/**
* Direct access to TAPNPass ADPCtrl1 Reg
*
* LWM2M path: /1027//41
* Body converter id: "AdpControlIn"
* @tapVersion(">=1.51")
* @param data input
* @return call options
*/
setControlInCall(data: AdpControlIn): ServiceCallType;
}