@captureid/datatypes 1.0.74 → 1.0.76

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
@@ -105,7 +105,8 @@ export declare enum DataType {
105
105
  ADVERTISEMENT_IMAGE_TYPE = 103,
106
106
  IMAGETOADVERTISEMENT = 104,
107
107
  ADDRESSTOMANUFACTURER = 105,
108
- KEYS = 106
108
+ KEYS = 106,
109
+ CATALOG = 107
109
110
  }
110
111
  export declare enum BookingType {
111
112
  UNKNOWN = 0,
@@ -0,0 +1,25 @@
1
+ import { DataObject } from "../../data-object";
2
+ import { Inventory } from "./inventory-object";
3
+ export interface CatalogGroup {
4
+ id?: string;
5
+ name?: string;
6
+ groups?: CatalogGroup[];
7
+ inventory?: Inventory[];
8
+ }
9
+ export declare class CatalogGroup implements CatalogGroup {
10
+ constructor(id?: string, name?: string, groups?: CatalogGroup[], inventory?: Inventory[]);
11
+ }
12
+ export interface Catalog {
13
+ id?: string;
14
+ groups?: CatalogGroup[];
15
+ }
16
+ export declare class Catalog implements Catalog {
17
+ constructor(id?: string, groups?: CatalogGroup[]);
18
+ }
19
+ export interface CatalogObject {
20
+ data: Catalog[];
21
+ }
22
+ export declare class CatalogObject extends DataObject implements CatalogObject {
23
+ constructor(data: Catalog[]);
24
+ getEntryCount(): number;
25
+ }
@@ -14,10 +14,11 @@ export interface Coupon {
14
14
  startdate: Date;
15
15
  enddate: Date;
16
16
  value: number;
17
+ generatecount: number;
17
18
  carts: Cart[];
18
19
  }
19
20
  export declare class Coupon implements Coupon {
20
- constructor(id?: string, type?: CouponType, created?: Date, activationcode?: string, buyer?: User, beneficiary?: User, activated?: Date, activatedby?: User, startdate?: Date, enddate?: Date, value?: number);
21
+ constructor(id?: string, type?: CouponType, created?: Date, activationcode?: string, buyer?: User, beneficiary?: User, activated?: Date, activatedby?: User, startdate?: Date, enddate?: Date, value?: number, generatecount?: number);
21
22
  }
22
23
  export interface CouponObject {
23
24
  data: Coupon[];
@@ -11,9 +11,12 @@ export interface PreOrder {
11
11
  startdate: Date;
12
12
  enddate: Date;
13
13
  active: boolean;
14
+ dayofweek: string;
15
+ additionaltext: string;
16
+ confirmationtext: string;
14
17
  }
15
18
  export declare class PreOrder implements PreOrder {
16
- constructor(id?: string, stores?: Store[], type?: PreOrderType, item?: Item, price?: number, startdate?: Date, enddate?: Date, active?: boolean);
19
+ constructor(id?: string, stores?: Store[], type?: PreOrderType, item?: Item, price?: number, startdate?: Date, enddate?: Date, active?: boolean, dayofweek?: string, additionaltext?: string, confirmationtext?: string);
17
20
  }
18
21
  export interface PreOrderToCustomer {
19
22
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -68,6 +68,7 @@ export * from './lib/model/erp/items/coupon-object';
68
68
  export * from './lib/model/erp/items/bon-object';
69
69
  export * from './lib/model/erp/items/journal-object';
70
70
  export * from './lib/model/erp/items/pre-order-object';
71
+ export * from './lib/model/erp/items/catalog-object';
71
72
  export * from './lib/model/esl/esl-object';
72
73
  export * from './lib/model/esl/esl-pool-object';
73
74
  export * from './lib/model/esl/esl-association-object';