@captureid/datatypes 1.0.78 → 1.0.80

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
@@ -106,7 +106,8 @@ export declare enum DataType {
106
106
  IMAGETOADVERTISEMENT = 104,
107
107
  ADDRESSTOMANUFACTURER = 105,
108
108
  KEYS = 106,
109
- CATALOG = 107
109
+ CATALOG = 107,
110
+ ENTERPRISE_STRUCTURE = 108
110
111
  }
111
112
  export declare enum BookingType {
112
113
  UNKNOWN = 0,
@@ -0,0 +1,17 @@
1
+ import { DataObject } from "../data-object";
2
+ export interface EnterpriseNode {
3
+ label: string;
4
+ expanded: boolean;
5
+ data?: any;
6
+ children: EnterpriseNode[];
7
+ }
8
+ export declare class EnterpriseNode implements EnterpriseNode {
9
+ constructor(label?: string, expanded?: boolean, data?: any, children?: EnterpriseNode[]);
10
+ }
11
+ export interface EnterpriseObject {
12
+ data: EnterpriseNode[];
13
+ }
14
+ export declare class EnterpriseObject extends DataObject implements EnterpriseObject {
15
+ constructor(data: EnterpriseNode[]);
16
+ getEntryCount(): number;
17
+ }
@@ -16,9 +16,10 @@ export interface Coupon {
16
16
  value: number;
17
17
  generatecount: number;
18
18
  carts: Cart[];
19
+ itemno: string;
19
20
  }
20
21
  export declare class Coupon implements Coupon {
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);
22
+ 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, itemno?: string);
22
23
  }
23
24
  export interface CouponObject {
24
25
  data: Coupon[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -44,6 +44,7 @@ export * from './lib/model/common/store-object';
44
44
  export * from './lib/model/common/calendar-object';
45
45
  export * from './lib/model/common/pos-terminal-object';
46
46
  export * from './lib/model/common/userprofile-object';
47
+ export * from './lib/model/common/enterprise-object';
47
48
  export * from './lib/model/common/security-profile-object';
48
49
  export * from './lib/model/configuration/menu-object';
49
50
  export * from './lib/model/messaging/topic-object';