import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class LoraService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get LoRa IDs
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getIds() {
        return this.serviceCallRunner.execute(this.getIdsCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getIdsCall() {
        const callOptions = Object.assign({}, this.resources.getIds);
        return callOptions;
    }
    /**
     * Write LoRa IDs
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return
     */
    putIds(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putIdsCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return call options
     */
    putIdsCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putIds);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get LoRa configuration
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getConfig() {
        return this.serviceCallRunner.execute(this.getConfigCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getConfigCall() {
        const callOptions = Object.assign({}, this.resources.getConfig);
        return callOptions;
    }
    /**
     * Write LoRa configuration
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return
     */
    putConfig(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putConfigCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return call options
     */
    putConfigCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putConfig);
        callOptions.body = value;
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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