@captureid/datatypes 1.0.72 → 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/esm2022/lib/enums.mjs +4 -1
- package/esm2022/lib/model/common/manufacturer-object.mjs +15 -1
- package/esm2022/lib/model/common/module-object.mjs +14 -1
- package/esm2022/lib/model/erp/items/journal-object.mjs +4 -2
- package/fesm2022/captureid-datatypes.mjs +34 -2
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +5 -2
- package/lib/model/common/manufacturer-object.d.ts +16 -1
- package/lib/model/common/module-object.d.ts +16 -1
- package/lib/model/erp/items/journal-object.d.ts +4 -1
- package/package.json +1 -1
package/lib/enums.d.ts
CHANGED
|
@@ -103,7 +103,9 @@ export declare enum DataType {
|
|
|
103
103
|
PREORDERTOCUSTOMER = 101,
|
|
104
104
|
SECURITYPROFILE = 102,
|
|
105
105
|
ADVERTISEMENT_IMAGE_TYPE = 103,
|
|
106
|
-
IMAGETOADVERTISEMENT = 104
|
|
106
|
+
IMAGETOADVERTISEMENT = 104,
|
|
107
|
+
ADDRESSTOMANUFACTURER = 105,
|
|
108
|
+
KEYS = 106
|
|
107
109
|
}
|
|
108
110
|
export declare enum BookingType {
|
|
109
111
|
UNKNOWN = 0,
|
|
@@ -216,7 +218,8 @@ export declare enum ModuleType {
|
|
|
216
218
|
AUTHENTICATION_MODULE = 8,
|
|
217
219
|
GATEWAY_MODULE = 9,
|
|
218
220
|
PRINT_MODULE = 10,
|
|
219
|
-
REGISTRY_MODULE = 11
|
|
221
|
+
REGISTRY_MODULE = 11,
|
|
222
|
+
WEB_MODULE = 12
|
|
220
223
|
}
|
|
221
224
|
export declare namespace ModuleType {
|
|
222
225
|
function valueOf(str: string): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataObject } from "../data-object";
|
|
2
|
-
import { Address } from "./address-object";
|
|
2
|
+
import { Address, AddressType } from "./address-object";
|
|
3
3
|
export interface Manufacturer {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -19,3 +19,18 @@ export interface ManufacturerObject {
|
|
|
19
19
|
export declare class ManufacturerObject extends DataObject implements ManufacturerObject {
|
|
20
20
|
constructor(data: Manufacturer[]);
|
|
21
21
|
}
|
|
22
|
+
export interface Address2Manufacturer {
|
|
23
|
+
id?: string;
|
|
24
|
+
address?: Address;
|
|
25
|
+
manufacturer?: Manufacturer;
|
|
26
|
+
addresstype?: AddressType;
|
|
27
|
+
}
|
|
28
|
+
export declare class Address2Manufacturer implements Address2Manufacturer {
|
|
29
|
+
constructor(id?: string, address?: Address, manufacturer?: Manufacturer, addresstype?: AddressType);
|
|
30
|
+
}
|
|
31
|
+
export interface AddressToManufacturerObject {
|
|
32
|
+
data: Address2Manufacturer[];
|
|
33
|
+
}
|
|
34
|
+
export declare class AddressToManufacturerObject extends DataObject implements AddressToManufacturerObject {
|
|
35
|
+
constructor(data: Address2Manufacturer[]);
|
|
36
|
+
}
|
|
@@ -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:
|
|
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[];
|