@captureid/datatypes 0.0.89 → 0.0.90

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
@@ -71,7 +71,8 @@ export declare enum DataType {
71
71
  PROPERTYNAMES = 69,
72
72
  CATEGORYNAMES = 70,
73
73
  ITEMGROUP = 71,
74
- VAT = 72
74
+ VAT = 72,
75
+ SUPPLIER = 73
75
76
  }
76
77
  export declare enum BookingType {
77
78
  UNKNOWN = 0,
@@ -0,0 +1,20 @@
1
+ import { DataObject } from "../data-object";
2
+ import { Address } from "./address-object";
3
+ export interface Supplier {
4
+ id: string;
5
+ name: string;
6
+ email: string;
7
+ phone: string;
8
+ website: string;
9
+ addresses: Address[];
10
+ code: string;
11
+ }
12
+ export declare class Supplier implements Supplier {
13
+ constructor(id?: string, name?: string, email?: string, phone?: string, website?: string, addresses?: Address[], code?: string);
14
+ }
15
+ export interface SupplierObject {
16
+ data: Supplier[];
17
+ }
18
+ export declare class SupplierObject extends DataObject implements SupplierObject {
19
+ constructor(data: Supplier[]);
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -30,6 +30,7 @@ export * from './lib/model/common/accesspoint-object';
30
30
  export * from './lib/model/common/message-object';
31
31
  export * from './lib/model/common/cart-object';
32
32
  export * from './lib/model/common/role-object';
33
+ export * from './lib/model/common/supplier-object';
33
34
  export * from './lib/model/configuration/menu-object';
34
35
  export * from './lib/model/erp/items/dimension-object';
35
36
  export * from './lib/model/erp/items/gtin';