@captureid/datatypes 1.0.35 → 1.0.37
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 +2 -1
- package/esm2022/lib/model/common/store-object.mjs +19 -1
- package/esm2022/lib/model/payment/payment-terminal-object.mjs +2 -2
- package/fesm2022/captureid-datatypes.mjs +20 -2
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +2 -1
- package/lib/model/common/store-object.d.ts +17 -0
- package/lib/model/payment/payment-terminal-object.d.ts +4 -4
- package/package.json +1 -1
package/lib/enums.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DataObject } from "../data-object";
|
|
2
2
|
import { PaymentTerminal } from "../payment/payment-terminal-object";
|
|
3
|
+
import { Address } from "./address-object";
|
|
3
4
|
import { Room } from "./location-object";
|
|
4
5
|
export interface Store {
|
|
5
6
|
id: string;
|
|
@@ -20,3 +21,19 @@ export declare class StoreObject extends DataObject implements StoreObject {
|
|
|
20
21
|
constructor(data: Store[]);
|
|
21
22
|
getEntryCount(): number;
|
|
22
23
|
}
|
|
24
|
+
export interface StoreInformation {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
address: Address;
|
|
28
|
+
stockid: string[];
|
|
29
|
+
}
|
|
30
|
+
export declare class StoreInformation implements StoreInformation {
|
|
31
|
+
constructor(id?: string, name?: string, address?: Address, stockid?: string[]);
|
|
32
|
+
}
|
|
33
|
+
export interface StoreInformationObject {
|
|
34
|
+
data: StoreInformation[];
|
|
35
|
+
}
|
|
36
|
+
export declare class StoreInformationObject extends DataObject implements StoreInformationObject {
|
|
37
|
+
constructor(data: StoreInformation[]);
|
|
38
|
+
getEntryCount(): number;
|
|
39
|
+
}
|
|
@@ -20,17 +20,17 @@ export declare class PaymentTerminalObject extends DataObject implements Payment
|
|
|
20
20
|
constructor(data: PaymentTerminal[]);
|
|
21
21
|
getEntryCount(): number;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface PaymentTerminalShort {
|
|
24
24
|
name: string;
|
|
25
25
|
terminalid: string;
|
|
26
26
|
}
|
|
27
|
-
export declare class
|
|
27
|
+
export declare class PaymentTerminalShort implements PaymentTerminalShort {
|
|
28
28
|
constructor(name?: string, terminalid?: string);
|
|
29
29
|
}
|
|
30
30
|
export interface PaymentTerminalShortObject {
|
|
31
|
-
data:
|
|
31
|
+
data: PaymentTerminalShort[];
|
|
32
32
|
}
|
|
33
33
|
export declare class PaymentTerminalShortObject extends DataObject implements PaymentTerminalShortObject {
|
|
34
|
-
constructor(data:
|
|
34
|
+
constructor(data: PaymentTerminalShort[]);
|
|
35
35
|
getEntryCount(): number;
|
|
36
36
|
}
|