@captureid/datatypes 1.0.73 → 1.0.74

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
@@ -104,7 +104,8 @@ export declare enum DataType {
104
104
  SECURITYPROFILE = 102,
105
105
  ADVERTISEMENT_IMAGE_TYPE = 103,
106
106
  IMAGETOADVERTISEMENT = 104,
107
- ADDRESSTOMANUFACTURER = 105
107
+ ADDRESSTOMANUFACTURER = 105,
108
+ KEYS = 106
108
109
  }
109
110
  export declare enum BookingType {
110
111
  UNKNOWN = 0,
@@ -217,7 +218,8 @@ export declare enum ModuleType {
217
218
  AUTHENTICATION_MODULE = 8,
218
219
  GATEWAY_MODULE = 9,
219
220
  PRINT_MODULE = 10,
220
- REGISTRY_MODULE = 11
221
+ REGISTRY_MODULE = 11,
222
+ WEB_MODULE = 12
221
223
  }
222
224
  export declare namespace ModuleType {
223
225
  function valueOf(str: string): number;
@@ -1,9 +1,10 @@
1
+ import { ModuleType } from "../../enums";
1
2
  import { DataObject } from "../data-object";
2
3
  import { Tenant } from "./tenant-object";
3
4
  export interface Module {
4
5
  id?: string;
5
6
  name: string;
6
- type: string;
7
+ type: ModuleType;
7
8
  description: string;
8
9
  hostname: string;
9
10
  port: number;
@@ -18,3 +19,17 @@ export interface ModuleObject {
18
19
  export declare class ModuleObject extends DataObject implements ModuleObject {
19
20
  constructor(data: Module[]);
20
21
  }
22
+ export interface Keys {
23
+ id?: string;
24
+ encryptedkey: string;
25
+ module: Module;
26
+ }
27
+ export declare class Keys implements Keys {
28
+ constructor(id?: string, encryptedkey?: string, module?: Module);
29
+ }
30
+ export interface KeysObject {
31
+ data: Keys[];
32
+ }
33
+ export declare class KeysObject extends DataObject implements KeysObject {
34
+ constructor(data: Keys[]);
35
+ }
@@ -1,3 +1,4 @@
1
+ import { Cart } from "../../common/cart-object";
1
2
  import { Company } from "../../common/company-object";
2
3
  import { Currency } from "../../common/currency-object";
3
4
  import { Building } from "../../common/location-object";
@@ -39,9 +40,11 @@ export interface JournalEntry {
39
40
  company?: Company;
40
41
  building?: Building;
41
42
  bon?: Bon;
43
+ cart?: Cart;
44
+ price?: number;
42
45
  }
43
46
  export declare class JournalEntry implements JournalEntry {
44
- constructor(timestamp?: Date, user?: User, itementry?: ItemJournalEntry[], company?: Company, building?: Building, bon?: Bon);
47
+ constructor(timestamp?: Date, user?: User, itementry?: ItemJournalEntry[], company?: Company, building?: Building, bon?: Bon, cart?: Cart, price?: number);
45
48
  }
46
49
  export interface JournalObject {
47
50
  data: JournalEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"