@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/esm2022/lib/enums.mjs +2 -1
- package/esm2022/lib/model/common/supplier-object.mjs +22 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/captureid-datatypes.mjs +63 -43
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +2 -1
- package/lib/model/common/supplier-object.d.ts +20 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/lib/enums.d.ts
CHANGED
|
@@ -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
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';
|