evo360-types 1.3.166 → 1.3.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.
|
@@ -2,6 +2,14 @@ export * from "../fb_collections";
|
|
|
2
2
|
import { FirestoreDocumentReference, IAddress, IContact, ITag } from "../../shared";
|
|
3
3
|
import { IProfile } from "../../evo-people";
|
|
4
4
|
import { QualificationFunnelLevel } from "../dic";
|
|
5
|
+
export declare const EvoCrmLeadPermissions: {
|
|
6
|
+
readonly List: "evo_crm_leads_read";
|
|
7
|
+
readonly Get: "evo_crm_leads_read";
|
|
8
|
+
readonly Create: "evo_crm_leads_write";
|
|
9
|
+
readonly Update: "evo_crm_leads_write";
|
|
10
|
+
readonly Delete: "evo_crm_leads_write";
|
|
11
|
+
};
|
|
12
|
+
export type EvoCrmLeadPermissions = (typeof EvoCrmLeadPermissions)[keyof typeof EvoCrmLeadPermissions];
|
|
5
13
|
export type LeadStatus = "active" | "inactive" | "draft";
|
|
6
14
|
export declare enum ILeadStatus {
|
|
7
15
|
Active = "active",
|
|
@@ -14,8 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ILeadStatus = void 0;
|
|
17
|
+
exports.ILeadStatus = exports.EvoCrmLeadPermissions = void 0;
|
|
18
18
|
__exportStar(require("../fb_collections"), exports);
|
|
19
|
+
// Permissões para o lead
|
|
20
|
+
exports.EvoCrmLeadPermissions = {
|
|
21
|
+
List: "evo_crm_leads_read",
|
|
22
|
+
Get: "evo_crm_leads_read",
|
|
23
|
+
Create: "evo_crm_leads_write",
|
|
24
|
+
Update: "evo_crm_leads_write",
|
|
25
|
+
Delete: "evo_crm_leads_write",
|
|
26
|
+
};
|
|
19
27
|
var ILeadStatus;
|
|
20
28
|
(function (ILeadStatus) {
|
|
21
29
|
ILeadStatus["Active"] = "active";
|
|
@@ -9,6 +9,18 @@ import {
|
|
|
9
9
|
import { IProfile } from "../../evo-people";
|
|
10
10
|
import { QualificationFunnelLevel } from "../dic";
|
|
11
11
|
|
|
12
|
+
// Permissões para o lead
|
|
13
|
+
export const EvoCrmLeadPermissions = {
|
|
14
|
+
List: "evo_crm_leads_read",
|
|
15
|
+
Get: "evo_crm_leads_read",
|
|
16
|
+
Create: "evo_crm_leads_write",
|
|
17
|
+
Update: "evo_crm_leads_write",
|
|
18
|
+
Delete: "evo_crm_leads_write",
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
export type EvoCrmLeadPermissions =
|
|
22
|
+
(typeof EvoCrmLeadPermissions)[keyof typeof EvoCrmLeadPermissions];
|
|
23
|
+
|
|
12
24
|
// Lead status
|
|
13
25
|
export type LeadStatus = "active" | "inactive" | "draft";
|
|
14
26
|
export enum ILeadStatus {
|