@captureid/datatypes 1.0.21 → 1.0.23
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/marketing/advertisement-object.mjs +24 -0
- package/esm2022/lib/model/marketing/campain-object.mjs +26 -0
- package/esm2022/lib/model/statistic/rt-state-object.mjs +29 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/captureid-datatypes.mjs +197 -126
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +2 -1
- package/lib/model/marketing/advertisement-object.d.ts +21 -0
- package/lib/model/marketing/campain-object.d.ts +24 -0
- package/lib/model/statistic/rt-state-object.d.ts +25 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
package/lib/enums.d.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Image } from '../common/image-object';
|
|
2
|
+
import { DataObject } from '../data-object';
|
|
3
|
+
import { Item } from '../erp/items/item-object';
|
|
4
|
+
export interface Advertisement {
|
|
5
|
+
id?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
title: string;
|
|
8
|
+
longtext: string;
|
|
9
|
+
image: Image;
|
|
10
|
+
items: Item[];
|
|
11
|
+
}
|
|
12
|
+
export declare class Advertisement implements Advertisement {
|
|
13
|
+
constructor(id?: string, name?: string, title?: string, longtext?: string, image?: Image, items?: Item[]);
|
|
14
|
+
}
|
|
15
|
+
export interface AdvertisementObject {
|
|
16
|
+
data: Advertisement[];
|
|
17
|
+
}
|
|
18
|
+
export declare class AdvertisementObject extends DataObject implements AdvertisementObject {
|
|
19
|
+
constructor(data: Advertisement[]);
|
|
20
|
+
getEntryCount(): number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Client } from "../common/client-object";
|
|
2
|
+
import { Advertisement } from "./advertisement-object";
|
|
3
|
+
import { DataObject } from "../data-object";
|
|
4
|
+
import { Company } from "../common/company-object";
|
|
5
|
+
export interface Campain {
|
|
6
|
+
id?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
clients: Client;
|
|
10
|
+
companies: Company;
|
|
11
|
+
startdate: Date;
|
|
12
|
+
enddate: Date;
|
|
13
|
+
advertisements: Advertisement[];
|
|
14
|
+
}
|
|
15
|
+
export declare class Campain implements Campain {
|
|
16
|
+
constructor(id?: string, name?: string, description?: string, clients?: Client, companies?: Company, startdate?: Date, enddate?: Date, advertisements?: Advertisement[]);
|
|
17
|
+
}
|
|
18
|
+
export interface CampainObject {
|
|
19
|
+
data: Campain[];
|
|
20
|
+
}
|
|
21
|
+
export declare class CampainObject extends DataObject implements CampainObject {
|
|
22
|
+
constructor(data: Campain[]);
|
|
23
|
+
getEntryCount(): number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
export interface RTStateTopic {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
topic: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class RTStateTopic implements RTStateTopic {
|
|
8
|
+
constructor(id?: string, name?: string, topic?: string);
|
|
9
|
+
}
|
|
10
|
+
export interface RTStateSubscription {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
store: string;
|
|
14
|
+
topics: RTStateTopic[];
|
|
15
|
+
}
|
|
16
|
+
export declare class RTStateSubscription implements RTStateSubscription {
|
|
17
|
+
constructor(id?: string, name?: string, store?: string, topics?: RTStateTopic[]);
|
|
18
|
+
}
|
|
19
|
+
export interface RTStateObject {
|
|
20
|
+
subscriptions: RTStateSubscription[];
|
|
21
|
+
}
|
|
22
|
+
export declare class RTStateObject extends DataObject implements RTStateObject {
|
|
23
|
+
constructor(subscriptions: RTStateSubscription[]);
|
|
24
|
+
getEntryCount(): number;
|
|
25
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export * from './lib/model/configuration/menu-object';
|
|
|
41
41
|
export * from './lib/model/messaging/topic-object';
|
|
42
42
|
export * from './lib/model/messaging/subscription-object';
|
|
43
43
|
export * from './lib/model/messaging/notification-object';
|
|
44
|
+
export * from './lib/model/marketing/advertisement-object';
|
|
45
|
+
export * from './lib/model/marketing/campain-object';
|
|
44
46
|
export * from './lib/model/erp/items/dimension-object';
|
|
45
47
|
export * from './lib/model/erp/items/gtin';
|
|
46
48
|
export * from './lib/model/erp/items/inventory-object';
|
|
@@ -69,3 +71,4 @@ export * from './lib/model/print/printer-object';
|
|
|
69
71
|
export * from './lib/model/print/queue-object';
|
|
70
72
|
export * from './lib/model/rfid/reader-object';
|
|
71
73
|
export * from './lib/model/statistic/statistic-object';
|
|
74
|
+
export * from './lib/model/statistic/rt-state-object';
|