@captureid/datatypes 1.0.80 → 1.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/enums.mjs +28 -1
- package/esm2022/lib/model/common/tenant-object.mjs +1 -1
- package/esm2022/lib/model/views/ap-device-object.mjs +16 -0
- package/esm2022/lib/model/views/network-device-object.mjs +13 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/captureid-datatypes.mjs +217 -165
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +14 -1
- package/lib/model/common/tenant-object.d.ts +1 -0
- package/lib/model/views/ap-device-object.d.ts +12 -0
- package/lib/model/views/network-device-object.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
package/lib/enums.d.ts
CHANGED
|
@@ -107,7 +107,9 @@ export declare enum DataType {
|
|
|
107
107
|
ADDRESSTOMANUFACTURER = 105,
|
|
108
108
|
KEYS = 106,
|
|
109
109
|
CATALOG = 107,
|
|
110
|
-
ENTERPRISE_STRUCTURE = 108
|
|
110
|
+
ENTERPRISE_STRUCTURE = 108,
|
|
111
|
+
BUILDINGS_STRUCTURE = 109,
|
|
112
|
+
LOCATIONS_STRUCTURE = 110
|
|
111
113
|
}
|
|
112
114
|
export declare enum BookingType {
|
|
113
115
|
UNKNOWN = 0,
|
|
@@ -468,3 +470,14 @@ export declare namespace PosEventType {
|
|
|
468
470
|
function valueOf(str: string): number;
|
|
469
471
|
function values(): any[];
|
|
470
472
|
}
|
|
473
|
+
export declare enum NetworkDeviceType {
|
|
474
|
+
UNKNOWN = 0,
|
|
475
|
+
SHELFLABEL = 1,
|
|
476
|
+
ACCESSPOINT = 2,
|
|
477
|
+
ESL_ACCESSPOINT = 3,
|
|
478
|
+
WIFI_ACCESSPOINT = 4
|
|
479
|
+
}
|
|
480
|
+
export declare namespace NetworkDeviceType {
|
|
481
|
+
function valueOf(str: string): number;
|
|
482
|
+
function values(): any[];
|
|
483
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NetworkDevice } from "./network-device-object";
|
|
2
|
+
export interface ApDevice extends NetworkDevice {
|
|
3
|
+
ssid: string;
|
|
4
|
+
bssid: string;
|
|
5
|
+
channel: number;
|
|
6
|
+
frequency: number;
|
|
7
|
+
signalStrength: number;
|
|
8
|
+
connectedClients: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class ApDevice extends NetworkDevice implements ApDevice {
|
|
11
|
+
constructor(ipAddress?: string, macAddress?: string, manufacturer?: string, model?: string, firmwareVersion?: string, ssid?: string, bssid?: string, channel?: number, frequency?: number, signalStrength?: number, connectedClients?: number);
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NetworkDeviceType } from "../../enums";
|
|
2
|
+
export interface NetworkDevice {
|
|
3
|
+
ipAddress: string;
|
|
4
|
+
macAddress: string;
|
|
5
|
+
manufacturer: string;
|
|
6
|
+
type: NetworkDeviceType;
|
|
7
|
+
subtype: NetworkDeviceType;
|
|
8
|
+
firmwareVersion: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class NetworkDevice implements NetworkDevice {
|
|
11
|
+
constructor(ipAddress?: string, macAddress?: string, manufacturer?: string, type?: NetworkDeviceType, subtype?: NetworkDeviceType, firmwareVersion?: string);
|
|
12
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -87,3 +87,5 @@ export * from './lib/model/print/queue-object';
|
|
|
87
87
|
export * from './lib/model/rfid/reader-object';
|
|
88
88
|
export * from './lib/model/statistic/statistic-object';
|
|
89
89
|
export * from './lib/model/statistic/rt-state-object';
|
|
90
|
+
export * from './lib/model/views/network-device-object';
|
|
91
|
+
export * from './lib/model/views/ap-device-object';
|