@captureid/datatypes 1.0.79 → 1.0.81
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 +29 -1
- package/esm2022/lib/model/common/enterprise-object.mjs +22 -0
- 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 +4 -1
- package/fesm2022/captureid-datatypes.mjs +235 -163
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +15 -1
- package/lib/model/common/enterprise-object.d.ts +17 -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 +3 -0
package/lib/enums.d.ts
CHANGED
|
@@ -106,7 +106,10 @@ export declare enum DataType {
|
|
|
106
106
|
IMAGETOADVERTISEMENT = 104,
|
|
107
107
|
ADDRESSTOMANUFACTURER = 105,
|
|
108
108
|
KEYS = 106,
|
|
109
|
-
CATALOG = 107
|
|
109
|
+
CATALOG = 107,
|
|
110
|
+
ENTERPRISE_STRUCTURE = 108,
|
|
111
|
+
BUILDINGS_STRUCTURE = 109,
|
|
112
|
+
LOCATIONS_STRUCTURE = 110
|
|
110
113
|
}
|
|
111
114
|
export declare enum BookingType {
|
|
112
115
|
UNKNOWN = 0,
|
|
@@ -467,3 +470,14 @@ export declare namespace PosEventType {
|
|
|
467
470
|
function valueOf(str: string): number;
|
|
468
471
|
function values(): any[];
|
|
469
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,17 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
export interface EnterpriseNode {
|
|
3
|
+
label: string;
|
|
4
|
+
expanded: boolean;
|
|
5
|
+
data?: any;
|
|
6
|
+
children: EnterpriseNode[];
|
|
7
|
+
}
|
|
8
|
+
export declare class EnterpriseNode implements EnterpriseNode {
|
|
9
|
+
constructor(label?: string, expanded?: boolean, data?: any, children?: EnterpriseNode[]);
|
|
10
|
+
}
|
|
11
|
+
export interface EnterpriseObject {
|
|
12
|
+
data: EnterpriseNode[];
|
|
13
|
+
}
|
|
14
|
+
export declare class EnterpriseObject extends DataObject implements EnterpriseObject {
|
|
15
|
+
constructor(data: EnterpriseNode[]);
|
|
16
|
+
getEntryCount(): number;
|
|
17
|
+
}
|
|
@@ -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
|
@@ -44,6 +44,7 @@ export * from './lib/model/common/store-object';
|
|
|
44
44
|
export * from './lib/model/common/calendar-object';
|
|
45
45
|
export * from './lib/model/common/pos-terminal-object';
|
|
46
46
|
export * from './lib/model/common/userprofile-object';
|
|
47
|
+
export * from './lib/model/common/enterprise-object';
|
|
47
48
|
export * from './lib/model/common/security-profile-object';
|
|
48
49
|
export * from './lib/model/configuration/menu-object';
|
|
49
50
|
export * from './lib/model/messaging/topic-object';
|
|
@@ -86,3 +87,5 @@ export * from './lib/model/print/queue-object';
|
|
|
86
87
|
export * from './lib/model/rfid/reader-object';
|
|
87
88
|
export * from './lib/model/statistic/statistic-object';
|
|
88
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';
|