@cofondateurauchomage/libs 1.1.165 → 1.1.167
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/build/db.model.d.ts +15 -1
- package/build/db.model.js +2 -0
- package/package.json +1 -1
package/build/db.model.d.ts
CHANGED
|
@@ -9,7 +9,9 @@ export declare enum Collections {
|
|
|
9
9
|
reactions = "reactions",
|
|
10
10
|
visits = "visits",
|
|
11
11
|
blogHtmlArticles = "blog_html_articles",
|
|
12
|
-
crm_profiles = "crm_profiles"
|
|
12
|
+
crm_profiles = "crm_profiles",
|
|
13
|
+
admins = "admins",
|
|
14
|
+
crm_team_call_events = "crm_team_call_events"
|
|
13
15
|
}
|
|
14
16
|
export type TSkill = "Sales" | "Operation" | "Design" | "Marketing" | "Produit" | "Tech" | "Growth" | "Finance";
|
|
15
17
|
export type TPlan = "free" | "pro" | "premium";
|
|
@@ -152,6 +154,18 @@ export interface ICrmNote {
|
|
|
152
154
|
createdAt: number;
|
|
153
155
|
author: string;
|
|
154
156
|
}
|
|
157
|
+
/** CRM operator identity (document id = Firebase Auth uid). */
|
|
158
|
+
export interface IAdmin {
|
|
159
|
+
uid: string;
|
|
160
|
+
displayName: string;
|
|
161
|
+
email: string;
|
|
162
|
+
}
|
|
163
|
+
/** One logged team call (append-only; filter by `createdAt` for date ranges). */
|
|
164
|
+
export interface ICrmTeamCallEvent {
|
|
165
|
+
uid: string;
|
|
166
|
+
crmId: string;
|
|
167
|
+
createdAt: number;
|
|
168
|
+
}
|
|
155
169
|
export interface IContact {
|
|
156
170
|
email: string;
|
|
157
171
|
linkedin?: string;
|
package/build/db.model.js
CHANGED
|
@@ -14,4 +14,6 @@ var Collections;
|
|
|
14
14
|
Collections["visits"] = "visits";
|
|
15
15
|
Collections["blogHtmlArticles"] = "blog_html_articles";
|
|
16
16
|
Collections["crm_profiles"] = "crm_profiles";
|
|
17
|
+
Collections["admins"] = "admins";
|
|
18
|
+
Collections["crm_team_call_events"] = "crm_team_call_events";
|
|
17
19
|
})(Collections || (exports.Collections = Collections = {}));
|