evo360-types 1.3.10 → 1.3.13
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/apps/evo-crm/dic/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-crm/dic/zod-schemas.js +1 -0
- package/dist/apps/evo-crm/dic/zod-schemas.ts +1 -0
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +12 -12
- package/dist/types/evo-chat/fb_collections.d.ts +3 -0
- package/dist/types/evo-chat/fb_collections.js +9 -0
- package/dist/types/evo-chat/fb_collections.ts +8 -0
- package/dist/types/evo-chat/index.d.ts +1 -0
- package/dist/types/evo-chat/index.js +2 -0
- package/dist/types/evo-chat/index.ts +0 -0
- package/dist/types/evo-crm/dic/index.d.ts +2 -1
- package/dist/types/evo-crm/dic/index.js +1 -0
- package/dist/types/evo-crm/dic/index.ts +2 -0
- package/package.json +9 -2
|
@@ -154,7 +154,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
154
154
|
color?: string | undefined;
|
|
155
155
|
}>, "many">>>;
|
|
156
156
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
157
|
-
export declare const zQualificationFunnelLevelSchema: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
157
|
+
export declare const zQualificationFunnelLevelSchema: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
158
158
|
export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
159
159
|
id: z.ZodString;
|
|
160
160
|
ref: z.ZodAny;
|
|
@@ -166,7 +166,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
166
166
|
}, {
|
|
167
167
|
code: z.ZodString;
|
|
168
168
|
name: z.ZodString;
|
|
169
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
169
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
170
170
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
171
171
|
name: z.ZodString;
|
|
172
172
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -191,7 +191,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
191
191
|
}, {
|
|
192
192
|
code: z.ZodString;
|
|
193
193
|
name: z.ZodString;
|
|
194
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
194
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
195
195
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
196
196
|
name: z.ZodString;
|
|
197
197
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -216,7 +216,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
216
216
|
}, {
|
|
217
217
|
code: z.ZodString;
|
|
218
218
|
name: z.ZodString;
|
|
219
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
219
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
220
220
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
221
221
|
name: z.ZodString;
|
|
222
222
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -3,17 +3,17 @@ export declare const zLeadStatusSchema: z.ZodEnum<["active", "inactive", "draft"
|
|
|
3
3
|
export declare const zLeadQualificationSchema: z.ZodObject<{
|
|
4
4
|
code: z.ZodString;
|
|
5
5
|
name: z.ZodString;
|
|
6
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
6
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
7
7
|
ref: z.ZodAny;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
code: string;
|
|
10
10
|
name: string;
|
|
11
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
11
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
12
12
|
ref?: any;
|
|
13
13
|
}, {
|
|
14
14
|
code: string;
|
|
15
15
|
name: string;
|
|
16
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
16
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
17
17
|
ref?: any;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const zLeadDistChannelSchema: z.ZodObject<{
|
|
@@ -50,17 +50,17 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
50
50
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
51
|
code: z.ZodString;
|
|
52
52
|
name: z.ZodString;
|
|
53
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
53
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
54
54
|
ref: z.ZodAny;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
code: string;
|
|
57
57
|
name: string;
|
|
58
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
58
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
59
59
|
ref?: any;
|
|
60
60
|
}, {
|
|
61
61
|
code: string;
|
|
62
62
|
name: string;
|
|
63
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
63
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
64
64
|
ref?: any;
|
|
65
65
|
}>>>;
|
|
66
66
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -155,17 +155,17 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
155
155
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
156
|
code: z.ZodString;
|
|
157
157
|
name: z.ZodString;
|
|
158
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
158
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
159
159
|
ref: z.ZodAny;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
161
|
code: string;
|
|
162
162
|
name: string;
|
|
163
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
163
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
164
164
|
ref?: any;
|
|
165
165
|
}, {
|
|
166
166
|
code: string;
|
|
167
167
|
name: string;
|
|
168
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
168
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
169
169
|
ref?: any;
|
|
170
170
|
}>>>;
|
|
171
171
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -260,17 +260,17 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
260
260
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
261
261
|
code: z.ZodString;
|
|
262
262
|
name: z.ZodString;
|
|
263
|
-
funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
263
|
+
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
264
264
|
ref: z.ZodAny;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
code: string;
|
|
267
267
|
name: string;
|
|
268
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
268
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
269
269
|
ref?: any;
|
|
270
270
|
}, {
|
|
271
271
|
code: string;
|
|
272
272
|
name: string;
|
|
273
|
-
funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
273
|
+
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
274
274
|
ref?: any;
|
|
275
275
|
}>>>;
|
|
276
276
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PROTOCOLS_COLLECTION = exports.CONTACTS_COLLECTION = exports.EVO_CHAT_APP = void 0;
|
|
4
|
+
//EVO Chat Application Doc
|
|
5
|
+
exports.EVO_CHAT_APP = "evo-chat";
|
|
6
|
+
//contacts collection
|
|
7
|
+
exports.CONTACTS_COLLECTION = "contacts";
|
|
8
|
+
//protocols collection
|
|
9
|
+
exports.PROTOCOLS_COLLECTION = "protocols";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -27,8 +27,9 @@ export interface IDistChannel extends IFireDoc {
|
|
|
27
27
|
tags?: ITag[] | null;
|
|
28
28
|
[key: string]: unknown;
|
|
29
29
|
}
|
|
30
|
-
export type QualificationFunnelLevel = "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
30
|
+
export type QualificationFunnelLevel = "invalid" | "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
31
31
|
export declare enum IQualificationFunnelLevel {
|
|
32
|
+
Invalid = "invalid",// Lead inválido
|
|
32
33
|
New = "new",// Lead recém-captado
|
|
33
34
|
TryingContact = "trying_contact",// Tentando contato inicial
|
|
34
35
|
Contacted = "contacted",// Contato estabelecido
|
|
@@ -30,6 +30,7 @@ var ICRMDicAction;
|
|
|
30
30
|
})(ICRMDicAction || (exports.ICRMDicAction = ICRMDicAction = {}));
|
|
31
31
|
var IQualificationFunnelLevel;
|
|
32
32
|
(function (IQualificationFunnelLevel) {
|
|
33
|
+
IQualificationFunnelLevel["Invalid"] = "invalid";
|
|
33
34
|
IQualificationFunnelLevel["New"] = "new";
|
|
34
35
|
IQualificationFunnelLevel["TryingContact"] = "trying_contact";
|
|
35
36
|
IQualificationFunnelLevel["Contacted"] = "contacted";
|
|
@@ -47,6 +47,7 @@ export interface IDistChannel extends IFireDoc {
|
|
|
47
47
|
|
|
48
48
|
// Funnel levels
|
|
49
49
|
export type QualificationFunnelLevel =
|
|
50
|
+
| "invalid"
|
|
50
51
|
| "new"
|
|
51
52
|
| "trying_contact"
|
|
52
53
|
| "contacted"
|
|
@@ -62,6 +63,7 @@ export type QualificationFunnelLevel =
|
|
|
62
63
|
| "follow_up_later";
|
|
63
64
|
|
|
64
65
|
export enum IQualificationFunnelLevel {
|
|
66
|
+
Invalid = "invalid", // Lead inválido
|
|
65
67
|
New = "new", // Lead recém-captado
|
|
66
68
|
TryingContact = "trying_contact", // Tentando contato inicial
|
|
67
69
|
Contacted = "contacted", // Contato estabelecido
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "evo360-types",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "HREVO360 Shared Types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -8,9 +8,13 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
+
"prebuild": "node scripts/bump-version.cjs",
|
|
11
12
|
"build": "tsc && copyfiles -u 1 src/**/*.ts dist",
|
|
12
13
|
"build-bkp": "tsc",
|
|
13
|
-
"compile": "tsc"
|
|
14
|
+
"compile": "tsc",
|
|
15
|
+
"bump": "node scripts/bump-version.cjs",
|
|
16
|
+
"bump:minor": "node scripts/bump-version.cjs minor",
|
|
17
|
+
"bump:major": "node scripts/bump-version.cjs major"
|
|
14
18
|
},
|
|
15
19
|
"homepage": "https://www.hubmedica.com.br",
|
|
16
20
|
"repository": {
|
|
@@ -22,5 +26,8 @@
|
|
|
22
26
|
"license": "MIT",
|
|
23
27
|
"dependencies": {
|
|
24
28
|
"zod": "^3.23.8"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"semver": "^7.7.2"
|
|
25
32
|
}
|
|
26
33
|
}
|