@captureid/datatypes 1.0.20 → 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/lib/enums.d.ts CHANGED
@@ -126,7 +126,13 @@ export declare enum BookingType {
126
126
  DONATION = 101,//Spende
127
127
  GIFT = 111,//Geschenk
128
128
  GIFTCARD = 112,//Geschenkkarte
129
- GIFTVOUCHER = 113
129
+ GIFTVOUCHER = 113,//Gutschein
130
+ SCAN = 121,
131
+ CARTADD = 122,//Warenkorbzuschlag
132
+ CARTREMOVE = 123,//Warenkorbabzug
133
+ CARTUPDATE = 124,//Warenkorbanpassung
134
+ CARTFINALIZE = 125,//Warenkorbabschluss
135
+ CARTCANCEL = 126
130
136
  }
131
137
  export declare enum Operators {
132
138
  UNKNOWN = 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
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';