@voyantjs/crm 0.4.4 → 0.4.5
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/README.md +6 -6
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -22,16 +22,16 @@ const app = createApp({
|
|
|
22
22
|
|
|
23
23
|
## Entities
|
|
24
24
|
|
|
25
|
-
- **People** (`
|
|
26
|
-
- **Organizations** (`
|
|
27
|
-
- **Pipelines** + **Stages** (`pipe`, `
|
|
28
|
-
- **Opportunities** (`
|
|
25
|
+
- **People** (`pers`) — canonical person record; syncs inline contact fields (email, phone, address) to `identity` module
|
|
26
|
+
- **Organizations** (`org`) — canonical company record
|
|
27
|
+
- **Pipelines** + **Stages** (`pipe`, `stg`) — sales funnels
|
|
28
|
+
- **Opportunities** (`opp`, `oppp`) — deals attached to people/orgs
|
|
29
29
|
- **Quotes** + **Quote lines** (`quot`, `qtln`)
|
|
30
|
-
- **Activities** (`
|
|
30
|
+
- **Activities** (`act`, `actl`, `actp`) — tasks, calls, meetings, emails
|
|
31
31
|
- **Custom fields** (`cfdf`, `cfvl`)
|
|
32
32
|
- **Notes** — person (`pnot`), organization (`onot`)
|
|
33
33
|
- **Communication log** (`clog`)
|
|
34
|
-
- **Segments** + **segment members** (`
|
|
34
|
+
- **Segments** + **segment members** (`seg`, `segm`)
|
|
35
35
|
|
|
36
36
|
## Exports
|
|
37
37
|
|
package/dist/index.js
CHANGED
|
@@ -4,13 +4,13 @@ export const personLinkable = {
|
|
|
4
4
|
module: "crm",
|
|
5
5
|
entity: "person",
|
|
6
6
|
table: "people",
|
|
7
|
-
idPrefix: "
|
|
7
|
+
idPrefix: "pers",
|
|
8
8
|
};
|
|
9
9
|
export const organizationLinkable = {
|
|
10
10
|
module: "crm",
|
|
11
11
|
entity: "organization",
|
|
12
12
|
table: "organizations",
|
|
13
|
-
idPrefix: "
|
|
13
|
+
idPrefix: "org",
|
|
14
14
|
};
|
|
15
15
|
export const crmModule = {
|
|
16
16
|
name: "crm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/crm",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/core": "0.4.
|
|
33
|
-
"@voyantjs/db": "0.4.
|
|
34
|
-
"@voyantjs/hono": "0.4.
|
|
35
|
-
"@voyantjs/identity": "0.4.
|
|
32
|
+
"@voyantjs/core": "0.4.5",
|
|
33
|
+
"@voyantjs/db": "0.4.5",
|
|
34
|
+
"@voyantjs/hono": "0.4.5",
|
|
35
|
+
"@voyantjs/identity": "0.4.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^6.0.2",
|