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(">=")
     * @return
     */
    getIds() {
        return this.serviceCallRunner.execute(this.getIdsCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=")
     * @return call options
     */
    getIdsCall() {
        const callOptions = Object.assign({}, this.resources.getIds);
        return callOptions;
    }
    /**
     * Write LoRa IDs
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putIds(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putIdsCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//90
     *
     * @tapVersion(">=")
     * @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(">=")
     * @return
     */
    getConfig() {
        return this.serviceCallRunner.execute(this.getConfigCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=")
     * @return call options
     */
    getConfigCall() {
        const callOptions = Object.assign({}, this.resources.getConfig);
        return callOptions;
    }
    /**
     * Write LoRa configuration
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putConfig(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putConfigCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//91
     *
     * @tapVersion(">=")
     * @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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V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