@captureid/datatypes 1.0.21 → 1.0.22
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/model/marketing/advertisement-object.mjs +24 -0
- package/esm2022/lib/model/marketing/campain-object.mjs +26 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/captureid-datatypes.mjs +112 -68
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/model/marketing/advertisement-object.d.ts +21 -0
- package/lib/model/marketing/campain-object.d.ts +24 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -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
|
+
}
|
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';
|