@captureid/datatypes 1.0.41 → 1.0.43
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 +4 -1
- package/esm2022/lib/model/common/pos-terminal-object.mjs +26 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/captureid-datatypes.mjs +93 -67
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +4 -1
- package/lib/model/common/pos-terminal-object.d.ts +22 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/lib/enums.d.ts
CHANGED
|
@@ -94,7 +94,8 @@ export declare enum DataType {
|
|
|
94
94
|
CALENDAR = 92,
|
|
95
95
|
TENANT = 93,
|
|
96
96
|
PAYMENTTERMINALSHORT = 94,
|
|
97
|
-
STOREINFORMATION = 95
|
|
97
|
+
STOREINFORMATION = 95,
|
|
98
|
+
POSTERMINAL = 96
|
|
98
99
|
}
|
|
99
100
|
export declare enum BookingType {
|
|
100
101
|
UNKNOWN = 0,
|
|
@@ -321,6 +322,8 @@ export declare enum Status {
|
|
|
321
322
|
LOCKED = 4,
|
|
322
323
|
UNLOCKED = 5,
|
|
323
324
|
PENDING = 6,
|
|
325
|
+
ABORTED = 7,
|
|
326
|
+
TIMEOUT = 8,
|
|
324
327
|
UNKNOWN = 99
|
|
325
328
|
}
|
|
326
329
|
export declare namespace Status {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Manufacturer } from "./manufacturer-object";
|
|
2
|
+
import { DataObject } from "../data-object";
|
|
3
|
+
export interface PosTerminal {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
terminalid: string;
|
|
7
|
+
wifiAddress: string;
|
|
8
|
+
btAddress: string;
|
|
9
|
+
ipAddress: string;
|
|
10
|
+
manufacturer: Manufacturer;
|
|
11
|
+
paymentterminalid: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class PosTerminal implements PosTerminal {
|
|
14
|
+
constructor(id?: string, name?: string, terminalid?: string, wifiAddress?: string, btAddress?: string, ipAddress?: string, manufacturer?: Manufacturer, paymentterminalid?: string);
|
|
15
|
+
}
|
|
16
|
+
export interface PosTerminalObject {
|
|
17
|
+
data: PosTerminal[];
|
|
18
|
+
}
|
|
19
|
+
export declare class PosTerminalObject extends DataObject implements PosTerminalObject {
|
|
20
|
+
constructor(data: PosTerminal[]);
|
|
21
|
+
getEntryCount(): number;
|
|
22
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export * from './lib/model/common/fileimport-object';
|
|
|
41
41
|
export * from './lib/model/common/buildingaccess-object';
|
|
42
42
|
export * from './lib/model/common/store-object';
|
|
43
43
|
export * from './lib/model/common/calendar-object';
|
|
44
|
+
export * from './lib/model/common/pos-terminal-object';
|
|
44
45
|
export * from './lib/model/configuration/menu-object';
|
|
45
46
|
export * from './lib/model/messaging/topic-object';
|
|
46
47
|
export * from './lib/model/messaging/subscription-object';
|