@captureid/datatypes 0.0.93 → 0.0.95
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/chat-object.mjs +22 -0
- package/esm2022/lib/model/common/faq-object.mjs +19 -0
- package/esm2022/lib/model/common/farmingmethod-object.mjs +17 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/captureid-datatypes.mjs +97 -45
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +4 -1
- package/lib/model/common/chat-object.d.ts +19 -0
- package/lib/model/common/faq-object.d.ts +16 -0
- package/lib/model/common/farmingmethod-object.d.ts +14 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
package/lib/enums.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
export interface Chat {
|
|
3
|
+
id: string;
|
|
4
|
+
senderid: string;
|
|
5
|
+
sendername: string;
|
|
6
|
+
receiverid: string;
|
|
7
|
+
receivername: string;
|
|
8
|
+
message: string;
|
|
9
|
+
timestamp: Date;
|
|
10
|
+
}
|
|
11
|
+
export declare class Chat implements Chat {
|
|
12
|
+
constructor(id?: string, senderid?: string, sendername?: string, receiverid?: string, receivername?: string, message?: string, timestamp?: Date);
|
|
13
|
+
}
|
|
14
|
+
export interface ChatObject {
|
|
15
|
+
data: Chat[];
|
|
16
|
+
}
|
|
17
|
+
export declare class ChatObject extends DataObject implements ChatObject {
|
|
18
|
+
constructor(data: Chat[]);
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
export interface FAQ {
|
|
3
|
+
id: string;
|
|
4
|
+
topic: string;
|
|
5
|
+
question: string;
|
|
6
|
+
answer: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class FAQ implements FAQ {
|
|
9
|
+
constructor(id?: string, topic?: string, question?: string, answer?: string);
|
|
10
|
+
}
|
|
11
|
+
export interface FAQObject {
|
|
12
|
+
data: FAQ[];
|
|
13
|
+
}
|
|
14
|
+
export declare class FAQObject extends DataObject implements FAQObject {
|
|
15
|
+
constructor(data: FAQ[]);
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DataObject } from "../data-object";
|
|
2
|
+
export interface FarmingMethod {
|
|
3
|
+
id: string;
|
|
4
|
+
method: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class FarmingMethod implements FarmingMethod {
|
|
7
|
+
constructor(id?: string, method?: string);
|
|
8
|
+
}
|
|
9
|
+
export interface FarmingMethodObject {
|
|
10
|
+
data: FarmingMethod[];
|
|
11
|
+
}
|
|
12
|
+
export declare class FarmingMethodObject extends DataObject implements FarmingMethodObject {
|
|
13
|
+
constructor(data: FarmingMethod[]);
|
|
14
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ 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
33
|
export * from './lib/model/common/supplier-object';
|
|
34
|
+
export * from './lib/model/common/faq-object';
|
|
35
|
+
export * from './lib/model/common/farmingmethod-object';
|
|
36
|
+
export * from './lib/model/common/chat-object';
|
|
34
37
|
export * from './lib/model/configuration/menu-object';
|
|
35
38
|
export * from './lib/model/erp/items/dimension-object';
|
|
36
39
|
export * from './lib/model/erp/items/gtin';
|