/** * Generated file. Do not edit */ import { TapResponse } from '@iotize/tap'; import { AbstractService, ServiceCallType } from '@iotize/tap'; export declare class JvmService extends AbstractService { resources: { getCodeSize: ServiceCallType; putCodeSize: ServiceCallType; appendCode: ServiceCallType; clearCode: ServiceCallType; getProfileId: ServiceCallType; putProfileId: ServiceCallType; getLogAndClear: ServiceCallType; clearLog: ServiceCallType; getLog: ServiceCallType; putLog: ServiceCallType; getErrorCode: ServiceCallType; postErrorCode: ServiceCallType; }; /** * Get JVM reserved code size * * LWM2M path: /1024//73 * * @tapVersion(">=1.90") * @return */ getCodeSize(): Promise>; /** * * * LWM2M path: /1024//73 * * @tapVersion(">=1.90") * @return call options */ getCodeSizeCall(): ServiceCallType; /** * Write JVM reserved code size * * LWM2M path: /1024//73 * * @tapVersion(">=1.90") * @param value input * @return */ putCodeSize(value: number): Promise>; /** * * * LWM2M path: /1024//73 * * @tapVersion(">=1.90") * @param value input * @return call options */ putCodeSizeCall(value: number): ServiceCallType; /** * Append JVM code. If body length is 0, it will clear code stored in Tap. * * LWM2M path: /1024//74 * * @tapVersion(">=1.90") * @param value input * @return */ appendCode(value: Uint8Array): Promise>; appendCodeAppendCalls(value: Uint8Array, chunkSize?: number): ServiceCallType, void>[]; /** * * * LWM2M path: /1024//74 * * @tapVersion(">=1.90") * @param value input * @return call options */ appendCodeCall(value: Uint8Array): ServiceCallType; /** * Clear code stored in Tap. * * LWM2M path: /1024//74 * * @tapVersion(">=1.90") * @return */ clearCode(): Promise>; /** * * * LWM2M path: /1024//74 * * @tapVersion(">=1.90") * @return call options */ clearCodeCall(): ServiceCallType; /** * Get user id that gives rights to the JVM code * * LWM2M path: /1024//66 * * @tapVersion(">=1.0") * @return */ getProfileId(): Promise>; /** * * * LWM2M path: /1024//66 * * @tapVersion(">=1.0") * @return call options */ getProfileIdCall(): ServiceCallType; /** * Write user id that gives right to the JVM code * * LWM2M path: /1024//66 * * @tapVersion(">=1.0") * @param key input * @return */ putProfileId(key: number): Promise>; /** * * * LWM2M path: /1024//66 * * @tapVersion(">=1.0") * @param key input * @return call options */ putProfileIdCall(key: number): ServiceCallType; /** * Read and then clear JVM log * * LWM2M path: /1024//120 * * @tapVersion(">=2.11") * @return */ getLogAndClear(): Promise>; /** * * * LWM2M path: /1024//120 * * @tapVersion(">=2.11") * @return call options */ getLogAndClearCall(): ServiceCallType; /** * Clear JVM log * * LWM2M path: /1024//120 * * @tapVersion(">=2.11") * @return */ clearLog(): Promise>; /** * * * LWM2M path: /1024//120 * * @tapVersion(">=2.11") * @return call options */ clearLogCall(): ServiceCallType; /** * Read JVM log * * LWM2M path: /1024//121 * * @tapVersion(">=2.11") * @return */ getLog(): Promise>; /** * * * LWM2M path: /1024//121 * * @tapVersion(">=2.11") * @return call options */ getLogCall(): ServiceCallType; /** * Write JVM log * * LWM2M path: /1024//121 * * @tapVersion(">=2.11") * @param value input * @return */ putLog(value: string): Promise>; /** * * * LWM2M path: /1024//121 * * @tapVersion(">=2.11") * @param value input * @return call options */ putLogCall(value: string): ServiceCallType; /** * Get jvm last error code * * LWM2M path: /3//14 * * @tapVersion(">=2.11") * @return */ getErrorCode(): Promise>; /** * * * LWM2M path: /3//14 * * @tapVersion(">=2.11") * @return call options */ getErrorCodeCall(): ServiceCallType; /** * Set jvm last error code * * LWM2M path: /3//14 * * @tapVersion(">=2.11") * @param errorCode input * @return */ postErrorCode(errorCode: number): Promise>; /** * * * LWM2M path: /3//14 * * @tapVersion(">=2.11") * @param errorCode input * @return call options */ postErrorCodeCall(errorCode: number): ServiceCallType; }