@captureid/datatypes 1.0.42 → 1.0.44

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
@@ -94,7 +94,8 @@ export declare enum DataType {
94
94
  CALENDAR = 92,
95
95
  TENANT = 93,
96
96
  PAYMENTTERMINALSHORT = 94,
97
- STOREINFORMATION = 95
97
+ STOREINFORMATION = 95,
98
+ POSTERMINAL = 96
98
99
  }
99
100
  export declare enum BookingType {
100
101
  UNKNOWN = 0,
@@ -0,0 +1,22 @@
1
+ import { Manufacturer } from "./manufacturer-object";
2
+ import { DataObject } from "../data-object";
3
+ export interface PosTerminal {
4
+ id: string;
5
+ name: string;
6
+ terminalid: string;
7
+ wifiAddress: string;
8
+ btAddress: string;
9
+ ipAddress: string;
10
+ manufacturer: Manufacturer;
11
+ paymentterminalid: string;
12
+ }
13
+ export declare class PosTerminal implements PosTerminal {
14
+ constructor(id?: string, name?: string, terminalid?: string, wifiAddress?: string, btAddress?: string, ipAddress?: string, manufacturer?: Manufacturer, paymentterminalid?: string);
15
+ }
16
+ export interface PosTerminalObject {
17
+ data: PosTerminal[];
18
+ }
19
+ export declare class PosTerminalObject extends DataObject implements PosTerminalObject {
20
+ constructor(data: PosTerminal[]);
21
+ getEntryCount(): number;
22
+ }
@@ -1,20 +1,36 @@
1
1
  import { Company } from "../../common/company-object";
2
+ import { Currency } from "../../common/currency-object";
2
3
  import { Building } from "../../common/location-object";
3
4
  import { VAT } from "../../common/taxes";
4
5
  import { User } from "../../common/user-object";
5
6
  import { DataObject } from "../../data-object";
6
7
  import { Bon } from "./bon-object";
7
- import { Item } from "./item-object";
8
- import { SellingPrice } from "./price-object";
8
+ import { ItemGroup } from "./item-object";
9
9
  export interface ItemJournalEntry {
10
- item?: Item;
11
- price?: SellingPrice;
12
- quantity?: number;
13
- total?: number;
14
- tax?: VAT;
10
+ id: string;
11
+ name: string;
12
+ description: string;
13
+ itemno: string;
14
+ itemgroup: ItemGroup;
15
+ ean: string;
16
+ coo: string;
17
+ manufacturer: string;
18
+ manufactureritemno: string;
19
+ manufacturerean: string;
20
+ proddetail: string;
21
+ packaging: string;
22
+ vat: string;
23
+ currency: Currency;
24
+ defaultunit: string;
25
+ farmingmethod: number;
26
+ producttype: Array<string>;
27
+ price: number;
28
+ quantity: number;
29
+ total: number;
30
+ tax: VAT;
15
31
  }
16
32
  export declare class ItemJournalEntry implements ItemJournalEntry {
17
- constructor(item?: Item, price?: SellingPrice, quantity?: number, total?: number, tax?: VAT);
33
+ constructor(id: string, name: string, description: string, itemno: string, itemgroup: ItemGroup, ean: string, coo: string, manufacturer: string, manufactureritemno: string, manufacturerean: string, proddetail: string, packaging: string, vat: string, currency: Currency, defaultunit: string, farmingmethod: number, producttype: Array<string>, price: number, quantity: number, total: number, tax: VAT);
18
34
  }
19
35
  export interface JournalEntry {
20
36
  timestamp?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
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,7 @@ export * from './lib/model/common/fileimport-object';
41
41
  export * from './lib/model/common/buildingaccess-object';
42
42
  export * from './lib/model/common/store-object';
43
43
  export * from './lib/model/common/calendar-object';
44
+ export * from './lib/model/common/pos-terminal-object';
44
45
  export * from './lib/model/configuration/menu-object';
45
46
  export * from './lib/model/messaging/topic-object';
46
47
  export * from './lib/model/messaging/subscription-object';