evo360-types 1.3.17 → 1.3.18
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/dist/types/evo-chat/contact/index.d.ts +24 -0
- package/dist/types/evo-chat/contact/index.js +17 -0
- package/dist/types/evo-chat/contact/index.ts +28 -0
- package/dist/types/evo-chat/fb_collections.d.ts +1 -0
- package/dist/types/evo-chat/fb_collections.js +3 -1
- package/dist/types/evo-chat/fb_collections.ts +3 -0
- package/dist/types/evo-chat/index.d.ts +2 -0
- package/dist/types/evo-chat/index.js +2 -0
- package/dist/types/evo-chat/index.ts +2 -0
- package/dist/types/evo-chat/message/index.d.ts +8 -0
- package/dist/types/evo-chat/message/index.js +2 -0
- package/dist/types/evo-chat/message/index.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from "../fb_collections";
|
|
2
|
+
import { FirestoreDocumentReference, ITag } from "../../shared";
|
|
3
|
+
export interface IChatbeeChannel {
|
|
4
|
+
id: string;
|
|
5
|
+
external_id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IChatbeeContact {
|
|
9
|
+
id: string;
|
|
10
|
+
external_id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
is_group: string;
|
|
13
|
+
address: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IChatContact {
|
|
17
|
+
channel: IChatbeeChannel;
|
|
18
|
+
contact: IChatbeeContact;
|
|
19
|
+
lead_id?: string;
|
|
20
|
+
lead_ref?: FirestoreDocumentReference;
|
|
21
|
+
tags?: ITag[] | null;
|
|
22
|
+
userRef?: FirestoreDocumentReference;
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../fb_collections"), exports);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "../fb_collections";
|
|
2
|
+
|
|
3
|
+
import { FirestoreDocumentReference, ITag } from "../../shared";
|
|
4
|
+
|
|
5
|
+
export interface IChatbeeChannel {
|
|
6
|
+
id: string;
|
|
7
|
+
external_id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface IChatbeeContact {
|
|
12
|
+
id: string;
|
|
13
|
+
external_id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
is_group: string;
|
|
16
|
+
address: string;
|
|
17
|
+
type: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface IChatContact {
|
|
21
|
+
channel: IChatbeeChannel;
|
|
22
|
+
contact: IChatbeeContact;
|
|
23
|
+
lead_id?: string;
|
|
24
|
+
lead_ref?: FirestoreDocumentReference;
|
|
25
|
+
tags?: ITag[] | null;
|
|
26
|
+
userRef?: FirestoreDocumentReference;
|
|
27
|
+
[key: string]: unknown; // index signature
|
|
28
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PROTOCOLS_COLLECTION = exports.CONTACTS_COLLECTION = exports.EVO_CHAT_APP = void 0;
|
|
3
|
+
exports.HSM_MESSAGES_COLLECTION = exports.PROTOCOLS_COLLECTION = exports.CONTACTS_COLLECTION = exports.EVO_CHAT_APP = void 0;
|
|
4
4
|
//EVO Chat Application Doc
|
|
5
5
|
exports.EVO_CHAT_APP = "evo-chat";
|
|
6
6
|
//contacts collection
|
|
7
7
|
exports.CONTACTS_COLLECTION = "contacts";
|
|
8
8
|
//protocols collection
|
|
9
9
|
exports.PROTOCOLS_COLLECTION = "protocols";
|
|
10
|
+
//protocols collection
|
|
11
|
+
exports.HSM_MESSAGES_COLLECTION = "hsm-messages";
|
|
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./fb_collections"), exports);
|
|
18
|
+
__exportStar(require("./contact"), exports);
|
|
19
|
+
__exportStar(require("./message"), exports);
|