UNPKG

@iotize/tap

Version:

IoTize Device client for Javascript

100 lines (99 loc) 12.6 kB
/** * Generated file. Do not edit */ import { ServiceCallType } from '@iotize/tap'; import { CloudPlatform, ReadWriteRights, VariableMeta, ModbusVariableAddress, VariableType, LowPowerOptimizationLevel, PowerOptimizationOptions, SecurityOptions, TargetProtocol, NetworkOptions, WirelessPairingOptions, LoraConfig, NfcConnectionPriority, WifiKeyVisibility, WifiMode, WifiSSIDVisibility, HostProtocol, WifiProtocol } from '@iotize/tap/service/all'; import { ConfigKeyNotSupportedByFirmwareVersion } from '../errors'; import { WriteConfigContext } from '../definitions'; export declare const WRITE_CONFIGURATOR_CONFIG: { 'application.data': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<any, any>; 'application.name': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'application.productCode': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'application.universalLink': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'application.uri': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'cloud.dataLog.mqttPublishTopic': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'cloud.dataLog.mqttSubscribeTopic': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'cloud.dataLog.uploadPeriod': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'cloud.mqtt.brokerPort': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'cloud.mqtt.clientId': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'cloud.mqtt.password': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'cloud.mqtt.username': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'cloud.platform': (context: WriteConfigContext<keyof CloudPlatform, undefined>) => ServiceCallType<any, any>; configFormatVersion: (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'data.bundles[]': (context: WriteConfigContext<void, number>) => ServiceCallType<any, any>; 'data.bundles[].acl[].$': (context: WriteConfigContext<ReadWriteRights, number>) => ServiceCallType<any, any>; 'data.bundles[].dataLog.cryptoGroupId': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.bundles[].dataLog.period': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.bundles[].name': (context: WriteConfigContext<string, number>) => ServiceCallType<any, any>; 'data.features[].bundleId': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'data.profiles[]': (context: WriteConfigContext<void, number>) => ServiceCallType<any, any>; 'data.profiles[].alias': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.profiles[].key': (context: WriteConfigContext<Uint8Array, number>) => ServiceCallType<any, any>; 'data.profiles[].lifeTime': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.profiles[].password': (context: WriteConfigContext<string, number>) => ServiceCallType<any, any>; 'data.profiles[].username': (context: WriteConfigContext<string, number>) => ServiceCallType<any, any>; 'data.variables[]': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.variables[].address': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.variables[].bundleId': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.variables[].length': (context: WriteConfigContext<number, number>) => ServiceCallType<any, any>; 'data.variables[].meta': (context: WriteConfigContext<VariableMeta, number>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'data.variables[].modbusAddress': (context: WriteConfigContext<ModbusVariableAddress, number>) => ServiceCallType<any, any>; 'data.variables[].rawMeta': (context: WriteConfigContext<Uint8Array, number>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'data.variables[].type': (context: WriteConfigContext<VariableType, number>) => ServiceCallType<any, any>; 'data.variables[].value': (context: WriteConfigContext<Uint8Array, number>) => ServiceCallType<any, any>; 'jvm.code': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion; 'jvm.codeSize': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'jvm.profileId': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'ports.ethernet.gatewayIp': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'ports.ethernet.ip': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'ports.ethernet.ipMask': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'tap.autoRebootTimeout': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'tap.certificate.privateKey': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion; 'tap.certificate.publicKey': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion; 'tap.certificate.rootKey': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion; 'tap.maxLowPowerTime': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'tap.powerOptimization': (context: WriteConfigContext<keyof LowPowerOptimizationLevel, undefined>) => ServiceCallType<any, any>; 'tap.powerOptimizationOptions': (context: WriteConfigContext<PowerOptimizationOptions, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'tap.scram.hashIteration': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'tap.security': (context: WriteConfigContext<SecurityOptions, undefined>) => ServiceCallType<any, any>; 'tap.time.ntpServer': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'tap.time.zone': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'target.firmwareVersion': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'target.modbusDefaultSlaveAddress': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'target.protocol.type': (context: WriteConfigContext<keyof TargetProtocol, undefined>) => ServiceCallType<any, any>; version: (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.options.authorizedProtocols': (context: WriteConfigContext<(keyof HostProtocol)[], undefined>) => ServiceCallType<any, any>; 'wireless.options.inactivityTimeout': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any>; 'wireless.options.network': (context: WriteConfigContext<NetworkOptions, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.options.pairing': (context: WriteConfigContext<WirelessPairingOptions, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.ethernet.dnsIp': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.lora.config': (context: WriteConfigContext<LoraConfig, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.lora.ids': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.lte.applicationData': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.brokerCertificate': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.brokerHostname': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.mqtt.brokerPort': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.mqtt.clientId': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.password': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.mqtt.relayNetKey': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.mqtt.requestTopic': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.responseTopic': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.topicPrefix': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.mqtt.username': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.nfc.autoLogProfileId': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.nfc.connectionPriority': (context: WriteConfigContext<keyof NfcConnectionPriority, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.countryCode': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.dnsIp': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.gatewayIp': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.ip': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.key': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.keyVisibility': (context: WriteConfigContext<keyof WifiKeyVisibility, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.mask': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.mode': (context: WriteConfigContext<keyof WifiMode, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.networkMode': (context: WriteConfigContext<keyof WifiMode, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.protocol': (context: WriteConfigContext<(keyof WifiProtocol)[], undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.ssid': (context: WriteConfigContext<string, undefined>) => ServiceCallType<any, any>; 'wireless.protocols.wifi.ssidVisibility': (context: WriteConfigContext<keyof WifiSSIDVisibility, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; 'wireless.protocols.wifi.txPower': (context: WriteConfigContext<number, undefined>) => ServiceCallType<any, any> | ConfigKeyNotSupportedByFirmwareVersion; }; export declare type WriteConfigKey = keyof typeof WRITE_CONFIGURATOR_CONFIG;