@captureid/datatypes 1.0.23 → 1.0.25
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/image-object.mjs +1 -1
- package/esm2022/lib/model/common/store-object.mjs +25 -0
- package/esm2022/lib/model/common/user-object.mjs +1 -1
- package/esm2022/lib/model/messaging/notification-object.mjs +1 -1
- package/esm2022/lib/model/payment/payment-terminal-object.mjs +25 -0
- package/esm2022/public-api.mjs +3 -2
- package/fesm2022/captureid-datatypes.mjs +165 -120
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +2 -1
- package/lib/model/common/image-object.d.ts +1 -1
- package/lib/model/common/store-object.d.ts +22 -0
- package/lib/model/common/user-object.d.ts +3 -2
- package/lib/model/messaging/notification-object.d.ts +4 -3
- package/lib/model/payment/payment-terminal-object.d.ts +21 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -1
- package/esm2022/lib/model/payment/terminal-object.mjs +0 -2
- package/lib/model/payment/terminal-object.d.ts +0 -2
package/lib/enums.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface Image {
|
|
|
6
6
|
blob: Blob;
|
|
7
7
|
}
|
|
8
8
|
export declare class Image implements Image {
|
|
9
|
-
constructor(width: number, height: number, url
|
|
9
|
+
constructor(width: number, height: number, url?: string, blob?: Blob);
|
|
10
10
|
}
|
|
11
11
|
export interface ImageObject {
|
|
12
12
|
data: Image[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
import { PaymentTerminal } from "../payment/payment-terminal-object";
|
|
3
|
+
import { Room } from "./location-object";
|
|
4
|
+
export interface Store {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
ownerid: string;
|
|
9
|
+
companyid: string;
|
|
10
|
+
rooms: Room[];
|
|
11
|
+
terminals: PaymentTerminal[];
|
|
12
|
+
}
|
|
13
|
+
export declare class Store implements Store {
|
|
14
|
+
constructor(id?: string, name?: string, description?: string, ownerid?: string, companyid?: string, rooms?: Room[], terminals?: PaymentTerminal[]);
|
|
15
|
+
}
|
|
16
|
+
export interface StoreObject {
|
|
17
|
+
data: Store[];
|
|
18
|
+
}
|
|
19
|
+
export declare class StoreObject extends DataObject implements StoreObject {
|
|
20
|
+
constructor(data: Store[]);
|
|
21
|
+
getEntryCount(): number;
|
|
22
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RegistrationState } from "../../enums";
|
|
2
2
|
import { DataObject } from "../data-object";
|
|
3
|
+
import { Image } from '../common/image-object';
|
|
3
4
|
import { Context } from "./context";
|
|
4
5
|
export interface User {
|
|
5
6
|
id?: string;
|
|
@@ -23,7 +24,7 @@ export interface User {
|
|
|
23
24
|
state?: string;
|
|
24
25
|
dateOfBirth?: string;
|
|
25
26
|
context?: Context;
|
|
26
|
-
avatarImg?:
|
|
27
|
+
avatarImg?: Image;
|
|
27
28
|
credentialsNonExpired?: boolean;
|
|
28
29
|
accountNonLocked?: boolean;
|
|
29
30
|
accountNonExpired?: boolean;
|
|
@@ -32,7 +33,7 @@ export interface User {
|
|
|
32
33
|
clientid?: string;
|
|
33
34
|
}
|
|
34
35
|
export declare class User implements User {
|
|
35
|
-
constructor(id?: string, use2FA?: boolean, created?: Date, regstate?: RegistrationState, creator?: string, changed?: Date, changedBy?: string, firstname?: string, lastname?: string, email?: string, role?: string, phone?: string, mobile?: string, city?: string, zipcode?: string, street?: string, no?: string, country?: string, state?: string, dateOfBirth?: string, context?: Context, avatarImg?:
|
|
36
|
+
constructor(id?: string, use2FA?: boolean, created?: Date, regstate?: RegistrationState, creator?: string, changed?: Date, changedBy?: string, firstname?: string, lastname?: string, email?: string, role?: string, phone?: string, mobile?: string, city?: string, zipcode?: string, street?: string, no?: string, country?: string, state?: string, dateOfBirth?: string, context?: Context, avatarImg?: Image, credentialsNonExpired?: boolean, accountNonLocked?: boolean, accountNonExpired?: boolean, username?: string, enabled?: boolean, clientid?: string);
|
|
36
37
|
}
|
|
37
38
|
export interface UserObject {
|
|
38
39
|
data: User[];
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DataObject } from '../data-object';
|
|
2
|
+
import { Image } from '../common/image-object';
|
|
2
3
|
import { Topic } from './topic-object';
|
|
3
4
|
export interface Notification {
|
|
4
5
|
id?: string;
|
|
5
6
|
name: string;
|
|
6
7
|
description: string;
|
|
7
|
-
icon:
|
|
8
|
-
image:
|
|
8
|
+
icon: Image;
|
|
9
|
+
image: Image;
|
|
9
10
|
action: string;
|
|
10
11
|
topics: Topic[];
|
|
11
12
|
title: string;
|
|
@@ -15,7 +16,7 @@ export interface Notification {
|
|
|
15
16
|
endtime: string;
|
|
16
17
|
}
|
|
17
18
|
export declare class Notification implements Notification {
|
|
18
|
-
constructor(id?: string, name?: string, description?: string, icon?:
|
|
19
|
+
constructor(id?: string, name?: string, description?: string, icon?: Image, image?: Image, action?: string, topics?: Topic[], title?: string, text?: string, startdate?: Date, starttime?: string, endtime?: string);
|
|
19
20
|
}
|
|
20
21
|
export interface NotificationObject {
|
|
21
22
|
data: Notification[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Manufacturer } from "../common/manufacturer-object";
|
|
2
|
+
import { DataObject } from "../data-object";
|
|
3
|
+
export interface PaymentTerminal {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
terminalID: string;
|
|
7
|
+
wifiAddress: string;
|
|
8
|
+
btAddress: string;
|
|
9
|
+
ipAddress: string;
|
|
10
|
+
manufacturer: Manufacturer;
|
|
11
|
+
}
|
|
12
|
+
export declare class PaymentTerminal implements PaymentTerminal {
|
|
13
|
+
constructor(id?: string, name?: string, terminalID?: string, wifiAddress?: string, btAddress?: string, ipAddress?: string, manufacturer?: Manufacturer);
|
|
14
|
+
}
|
|
15
|
+
export interface PaymentTerminalObject {
|
|
16
|
+
data: PaymentTerminal[];
|
|
17
|
+
}
|
|
18
|
+
export declare class PaymentTerminalObject extends DataObject implements PaymentTerminalObject {
|
|
19
|
+
constructor(data: PaymentTerminal[]);
|
|
20
|
+
getEntryCount(): number;
|
|
21
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export * from './lib/model/common/chat-object';
|
|
|
37
37
|
export * from './lib/model/common/ticket-object';
|
|
38
38
|
export * from './lib/model/common/fileimport-object';
|
|
39
39
|
export * from './lib/model/common/buildingaccess-object';
|
|
40
|
+
export * from './lib/model/common/store-object';
|
|
40
41
|
export * from './lib/model/configuration/menu-object';
|
|
41
42
|
export * from './lib/model/messaging/topic-object';
|
|
42
43
|
export * from './lib/model/messaging/subscription-object';
|
|
@@ -64,7 +65,7 @@ export * from './lib/model/esl/esl-pool-object';
|
|
|
64
65
|
export * from './lib/model/esl/esl-association-object';
|
|
65
66
|
export * from './lib/model/esl/esl-template-object';
|
|
66
67
|
export * from './lib/model/esl/esl-update-object';
|
|
67
|
-
export * from './lib/model/payment/terminal-object';
|
|
68
|
+
export * from './lib/model/payment/payment-terminal-object';
|
|
68
69
|
export * from './lib/model/print/label-object';
|
|
69
70
|
export * from './lib/model/print/print-label-object';
|
|
70
71
|
export * from './lib/model/print/printer-object';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVybWluYWwtb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2FwdHVyZWlkLWRhdGF0eXBlcy9zcmMvbGliL21vZGVsL3BheW1lbnQvdGVybWluYWwtb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFRlcm1pbmFsT2JqZWN0IHtcbn1cbiJdfQ==
|