/**
 *   Generated file. Do not edit
 */
import { isTapFirmwareVersionGreaterThanOrEqual, isTapFirmwareVersionLessThanOrEqual } from "../util";
import { ConfigKeyNotSupportedByFirmwareVersion } from "../errors";
var ɵ0 = function (context) {
    return context.service.interface.getApplicationDataCall();
}, ɵ1 = function (context) {
    return context.service.interface.getAppNameCall();
}, ɵ2 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.113")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("application.productCode", context.firmwareVersion, {
                minApiVersion: "1.113",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.interface.getProductCodeCall();
}, ɵ3 = function (context) {
    return context.service.interface.getUniversalLinkCall();
}, ɵ4 = function (context) {
    return context.service.interface.getAppPathCall();
}, ɵ5 = function (context) {
    return context.service.cloud.getDataLogPublishTopicCall();
}, ɵ6 = function (context) {
    return context.service.cloud.getDataLogSubscribeTopicCall();
}, ɵ7 = function (context) {
    return context.service.cloud.getDataLogUploadPeriodCall();
}, ɵ8 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionLessThanOrEqual(context.firmwareVersion, "1.103")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("cloud.mqtt.brokerPort", context.firmwareVersion, {
                minApiVersion: undefined,
                maxApiVersion: "1.103"
            });
        }
    }
    return context.service.cloud.getMqttBrokerPortCall();
}, ɵ9 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionLessThanOrEqual(context.firmwareVersion, "1.103")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("cloud.mqtt.clientId", context.firmwareVersion, {
                minApiVersion: undefined,
                maxApiVersion: "1.103"
            });
        }
    }
    return context.service.cloud.getMqttClientIdCall();
}, ɵ10 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionLessThanOrEqual(context.firmwareVersion, "1.103")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("cloud.mqtt.password", context.firmwareVersion, {
                minApiVersion: undefined,
                maxApiVersion: "1.103"
            });
        }
    }
    return context.service.cloud.getMqttPasswordCall();
}, ɵ11 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionLessThanOrEqual(context.firmwareVersion, "1.103")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("cloud.mqtt.username", context.firmwareVersion, {
                minApiVersion: undefined,
                maxApiVersion: "1.103"
            });
        }
    }
    return context.service.cloud.getMqttUsernameCall();
}, ɵ12 = function (context) {
    return context.service.cloud.getPlatformCall();
}, ɵ13 = function (context) {
    return context.service.interface.getConfigFormatVersionCall();
}, ɵ14 = function (context) {
    return context.service.bundle.getDataLogPeriodCall(context.param);
}, ɵ15 = function (context) {
    return context.service.bundle.getNameCall(context.param);
}, ɵ16 = function (context) {
    return context.service.group.getAliasCall(context.param);
}, ɵ17 = function (context) {
    return context.service.group.getSessionLifetimeCall(context.param);
}, ɵ18 = function (context) {
    return context.service.group.getNameCall(context.param);
}, ɵ19 = function (context) {
    return context.service.variable.getVariableAddressCall(context.param);
}, ɵ20 = function (context) {
    return context.service.variable.getBundleIdCall(context.param);
}, ɵ21 = function (context) {
    return context.service.variable.getNumberOfElementsCall(context.param);
}, ɵ22 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.73")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("data.variables[].meta", context.firmwareVersion, {
                minApiVersion: "1.73",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.variable.getMetaCall(context.param);
}, ɵ23 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.73")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("data.variables[].rawMeta", context.firmwareVersion, {
                minApiVersion: "1.73",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.variable.getRawMetaCall(context.param);
}, ɵ24 = function (context) {
    return context.service.variable.getTypeCall(context.param);
}, ɵ25 = function (context) {
    return context.service.jvm.getProfileIdCall();
}, ɵ26 = function (context) {
    return context.service.interface.getPowerOptimisationLevelCall();
}, ɵ27 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.11")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("tap.scram.hashIteration", context.firmwareVersion, {
                minApiVersion: "1.11",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.scram.getHashIterationCall();
}, ɵ28 = function (context) {
    return context.service.interface.getSecurityOptionsCall();
}, ɵ29 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.107")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("tap.time.ntpServer", context.firmwareVersion, {
                minApiVersion: "1.107",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.time.getNtpServerCall();
}, ɵ30 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.107")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("tap.time.zone", context.firmwareVersion, {
                minApiVersion: "1.107",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.time.getTimeZoneCall();
}, ɵ31 = function (context) {
    return context.service.target.getFirmwareVersionCall();
}, ɵ32 = function (context) {
    return context.service.target.getSerialModbusConfigurationCall();
}, ɵ33 = function (context) {
    return context.service.target.getProtocolCall();
}, ɵ34 = function (context) {
    return context.service.interface.getConfigVersionCall();
}, ɵ35 = function (context) {
    return context.service.interface.getAuthorizedHostProtocolCall();
}, ɵ36 = function (context) {
    return context.service.interface.getHostInactivityPeriodCall();
}, ɵ37 = function (context) {
    return context.service.lora.getConfigCall();
}, ɵ38 = function (context) {
    return context.service.lora.getIdsCall();
}, ɵ39 = function (context) {
    return context.service.mqtt.getBrokerHostnameCall();
}, ɵ40 = function (context) {
    return context.service.mqtt.getBrokerPortCall();
}, ɵ41 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.86")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.mqtt.clientId", context.firmwareVersion, {
                minApiVersion: "1.86",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.mqtt.getClientIdCall();
}, ɵ42 = function (context) {
    return context.service.mqtt.getPasswordCall();
}, ɵ43 = function (context) {
    return context.service.mqtt.getRelayNetKeyCall();
}, ɵ44 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.86")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.mqtt.username", context.firmwareVersion, {
                minApiVersion: "1.86",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.mqtt.getUsernameCall();
}, ɵ45 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.55")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.nfc.autoLogProfileId", context.firmwareVersion, {
                minApiVersion: "1.55",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.interface.getNfcAutologProfileIdCall();
}, ɵ46 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.85")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.nfc.connectionPriority", context.firmwareVersion, {
                minApiVersion: "1.85",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.interface.getNfcConnectionPriorityCall();
}, ɵ47 = function (context) {
    return context.service.interface.getNfcPairingModeCall();
}, ɵ48 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.88")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.wifi.countryCode", context.firmwareVersion, {
                minApiVersion: "1.88",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.wifi.getCountryCodeCall();
}, ɵ49 = function (context) {
    return context.service.wifi.getGatewayIpCall();
}, ɵ50 = function (context) {
    return context.service.wifi.getIpCall();
}, ɵ51 = function (context) {
    return context.service.wifi.getKeyCall();
}, ɵ52 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.88")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.wifi.keyVisibility", context.firmwareVersion, {
                minApiVersion: "1.88",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.wifi.getKeyVisibilityCall();
}, ɵ53 = function (context) {
    return context.service.wifi.getIpMaskCall();
}, ɵ54 = function (context) {
    return context.service.wifi.getModeCall();
}, ɵ55 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.88")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.wifi.protocol", context.firmwareVersion, {
                minApiVersion: "1.88",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.wifi.getProtocolCall();
}, ɵ56 = function (context) {
    return context.service.wifi.getSSIDCall();
}, ɵ57 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.88")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.wifi.ssidVisibility", context.firmwareVersion, {
                minApiVersion: "1.88",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.wifi.getSSIDVisibilityCall();
}, ɵ58 = function (context) {
    if (context.firmwareVersion) {
        if (!isTapFirmwareVersionGreaterThanOrEqual(context.firmwareVersion, "1.88")) {
            return new ConfigKeyNotSupportedByFirmwareVersion("wireless.protocols.wifi.txPower", context.firmwareVersion, {
                minApiVersion: "1.88",
                maxApiVersion: undefined
            });
        }
    }
    return context.service.wifi.getTxPowerCall();
};
export var READ_CONFIGURATOR_CONFIG = {
    "application.data": ɵ0,
    "application.name": ɵ1,
    "application.productCode": ɵ2,
    "application.universalLink": ɵ3,
    "application.uri": ɵ4,
    "cloud.dataLog.mqttPublishTopic": ɵ5,
    "cloud.dataLog.mqttSubscribeTopic": ɵ6,
    "cloud.dataLog.uploadPeriod": ɵ7,
    "cloud.mqtt.brokerPort": ɵ8,
    "cloud.mqtt.clientId": ɵ9,
    "cloud.mqtt.password": ɵ10,
    "cloud.mqtt.username": ɵ11,
    "cloud.platform": ɵ12,
    configFormatVersion: ɵ13,
    "data.bundles[].dataLog.period": ɵ14,
    "data.bundles[].name": ɵ15,
    "data.profiles[].alias": ɵ16,
    "data.profiles[].lifeTime": ɵ17,
    "data.profiles[].username": ɵ18,
    "data.variables[].address": ɵ19,
    "data.variables[].bundleId": ɵ20,
    "data.variables[].length": ɵ21,
    "data.variables[].meta": ɵ22,
    "data.variables[].rawMeta": ɵ23,
    "data.variables[].type": ɵ24,
    "jvm.profileId": ɵ25,
    "tap.powerOptimization": ɵ26,
    "tap.scram.hashIteration": ɵ27,
    "tap.security": ɵ28,
    "tap.time.ntpServer": ɵ29,
    "tap.time.zone": ɵ30,
    "target.firmwareVersion": ɵ31,
    "target.protocol.config": ɵ32,
    "target.protocol.type": ɵ33,
    version: ɵ34,
    "wireless.options.authorizedProtocols": ɵ35,
    "wireless.options.inactivityTimeout": ɵ36,
    "wireless.protocols.lora.config": ɵ37,
    "wireless.protocols.lora.ids": ɵ38,
    "wireless.protocols.mqtt.brokerHostname": ɵ39,
    "wireless.protocols.mqtt.brokerPort": ɵ40,
    "wireless.protocols.mqtt.clientId": ɵ41,
    "wireless.protocols.mqtt.password": ɵ42,
    "wireless.protocols.mqtt.relayNetKey": ɵ43,
    "wireless.protocols.mqtt.username": ɵ44,
    "wireless.protocols.nfc.autoLogProfileId": ɵ45,
    "wireless.protocols.nfc.connectionPriority": ɵ46,
    "wireless.protocols.nfc.pairingMode": ɵ47,
    "wireless.protocols.wifi.countryCode": ɵ48,
    "wireless.protocols.wifi.gatewayIp": ɵ49,
    "wireless.protocols.wifi.ip": ɵ50,
    "wireless.protocols.wifi.key": ɵ51,
    "wireless.protocols.wifi.keyVisibility": ɵ52,
    "wireless.protocols.wifi.mask": ɵ53,
    "wireless.protocols.wifi.mode": ɵ54,
    "wireless.protocols.wifi.protocol": ɵ55,
    "wireless.protocols.wifi.ssid": ɵ56,
    "wireless.protocols.wifi.ssidVisibility": ɵ57,
    "wireless.protocols.wifi.txPower": ɵ58
};
export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ18, ɵ19, ɵ20, ɵ21, ɵ22, ɵ23, ɵ24, ɵ25, ɵ26, ɵ27, ɵ28, ɵ29, ɵ30, ɵ31, ɵ32, ɵ33, ɵ34, ɵ35, ɵ36, ɵ37, ɵ38, ɵ39, ɵ40, ɵ41, ɵ42, ɵ43, ɵ44, ɵ45, ɵ46, ɵ47, ɵ48, ɵ49, ɵ50, ɵ51, ɵ52, ɵ53, ɵ54, ɵ55, ɵ56, ɵ57, ɵ58 };
//# sourceMappingURL=data:application/json;base64, 