@lssm/example.crm-pipeline 0.0.0-canary-20251221165922 → 0.0.0-canary-20251221185840
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/.turbo/turbo-build$colon$bundle.log +132 -112
- package/.turbo/turbo-build.log +142 -122
- package/CHANGELOG.md +8 -8
- package/dist/entities/company.entity.d.ts +28 -28
- package/dist/entities/contact.entity.d.ts +32 -32
- package/dist/entities/deal.entity.d.ts +53 -53
- package/dist/entities/task.entity.d.ts +43 -43
- package/dist/events/contact.event.d.ts +7 -7
- package/dist/events/deal.event.d.ts +29 -29
- package/dist/events/task.event.d.ts +7 -7
- package/dist/libs/contracts/dist/data-views/data-views.js +7 -1
- package/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/libs/contracts/dist/features.js +7 -1
- package/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/data-views/data-views.js +7 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/features.js +7 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/features.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/registry.js +7 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/registry.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/presentations.js +7 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/workflow/spec.js +7 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/data-views/data-views.js +7 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/features.js +7 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/data-views/data-views.js +7 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/features.js +7 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.crm-pipeline
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251221185840
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies [66a5dfd]
|
|
12
|
-
- @lssm/lib.bus@0.0.0-canary-
|
|
13
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
14
|
-
- @lssm/lib.identity-rbac@0.0.0-canary-
|
|
15
|
-
- @lssm/lib.jobs@0.0.0-canary-
|
|
16
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
17
|
-
- @lssm/module.audit-trail@0.0.0-canary-
|
|
18
|
-
- @lssm/module.notifications@0.0.0-canary-
|
|
12
|
+
- @lssm/lib.bus@0.0.0-canary-20251221185840
|
|
13
|
+
- @lssm/lib.contracts@0.0.0-canary-20251221185840
|
|
14
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251221185840
|
|
15
|
+
- @lssm/lib.jobs@0.0.0-canary-20251221185840
|
|
16
|
+
- @lssm/lib.schema@0.0.0-canary-20251221185840
|
|
17
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251221185840
|
|
18
|
+
- @lssm/module.notifications@0.0.0-canary-20251221185840
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema229 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/company.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Company size enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const CompanySizeEnum:
|
|
7
|
+
declare const CompanySizeEnum: _lssm_lib_schema229.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Company entity - organization/account.
|
|
10
10
|
*/
|
|
11
|
-
declare const CompanyEntity:
|
|
12
|
-
id:
|
|
13
|
-
name:
|
|
14
|
-
domain:
|
|
15
|
-
website:
|
|
16
|
-
industry:
|
|
17
|
-
size:
|
|
18
|
-
employeeCount:
|
|
19
|
-
annualRevenue:
|
|
20
|
-
organizationId:
|
|
21
|
-
ownerId:
|
|
22
|
-
phone:
|
|
23
|
-
email:
|
|
24
|
-
address:
|
|
25
|
-
city:
|
|
26
|
-
state:
|
|
27
|
-
country:
|
|
28
|
-
postalCode:
|
|
29
|
-
linkedInUrl:
|
|
30
|
-
description:
|
|
31
|
-
tags:
|
|
32
|
-
customFields:
|
|
33
|
-
createdAt:
|
|
34
|
-
updatedAt:
|
|
35
|
-
contacts:
|
|
36
|
-
deals:
|
|
11
|
+
declare const CompanyEntity: _lssm_lib_schema229.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema229.EntityScalarField;
|
|
13
|
+
name: _lssm_lib_schema229.EntityScalarField;
|
|
14
|
+
domain: _lssm_lib_schema229.EntityScalarField;
|
|
15
|
+
website: _lssm_lib_schema229.EntityScalarField;
|
|
16
|
+
industry: _lssm_lib_schema229.EntityScalarField;
|
|
17
|
+
size: _lssm_lib_schema229.EntityEnumField;
|
|
18
|
+
employeeCount: _lssm_lib_schema229.EntityScalarField;
|
|
19
|
+
annualRevenue: _lssm_lib_schema229.EntityScalarField;
|
|
20
|
+
organizationId: _lssm_lib_schema229.EntityScalarField;
|
|
21
|
+
ownerId: _lssm_lib_schema229.EntityScalarField;
|
|
22
|
+
phone: _lssm_lib_schema229.EntityScalarField;
|
|
23
|
+
email: _lssm_lib_schema229.EntityScalarField;
|
|
24
|
+
address: _lssm_lib_schema229.EntityScalarField;
|
|
25
|
+
city: _lssm_lib_schema229.EntityScalarField;
|
|
26
|
+
state: _lssm_lib_schema229.EntityScalarField;
|
|
27
|
+
country: _lssm_lib_schema229.EntityScalarField;
|
|
28
|
+
postalCode: _lssm_lib_schema229.EntityScalarField;
|
|
29
|
+
linkedInUrl: _lssm_lib_schema229.EntityScalarField;
|
|
30
|
+
description: _lssm_lib_schema229.EntityScalarField;
|
|
31
|
+
tags: _lssm_lib_schema229.EntityScalarField;
|
|
32
|
+
customFields: _lssm_lib_schema229.EntityScalarField;
|
|
33
|
+
createdAt: _lssm_lib_schema229.EntityScalarField;
|
|
34
|
+
updatedAt: _lssm_lib_schema229.EntityScalarField;
|
|
35
|
+
contacts: _lssm_lib_schema229.EntityRelationField;
|
|
36
|
+
deals: _lssm_lib_schema229.EntityRelationField;
|
|
37
37
|
}>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { CompanyEntity, CompanySizeEnum };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema198 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/contact.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Contact status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ContactStatusEnum:
|
|
7
|
+
declare const ContactStatusEnum: _lssm_lib_schema198.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Contact entity - individual person.
|
|
10
10
|
*/
|
|
11
|
-
declare const ContactEntity:
|
|
12
|
-
id:
|
|
13
|
-
firstName:
|
|
14
|
-
lastName:
|
|
15
|
-
email:
|
|
16
|
-
phone:
|
|
17
|
-
companyId:
|
|
18
|
-
jobTitle:
|
|
19
|
-
status:
|
|
20
|
-
organizationId:
|
|
21
|
-
ownerId:
|
|
22
|
-
source:
|
|
23
|
-
linkedInUrl:
|
|
24
|
-
twitterHandle:
|
|
25
|
-
address:
|
|
26
|
-
city:
|
|
27
|
-
state:
|
|
28
|
-
country:
|
|
29
|
-
postalCode:
|
|
30
|
-
notes:
|
|
31
|
-
tags:
|
|
32
|
-
customFields:
|
|
33
|
-
lastContactedAt:
|
|
34
|
-
nextFollowUpAt:
|
|
35
|
-
createdAt:
|
|
36
|
-
updatedAt:
|
|
37
|
-
company:
|
|
38
|
-
deals:
|
|
39
|
-
tasks:
|
|
40
|
-
activities:
|
|
11
|
+
declare const ContactEntity: _lssm_lib_schema198.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema198.EntityScalarField;
|
|
13
|
+
firstName: _lssm_lib_schema198.EntityScalarField;
|
|
14
|
+
lastName: _lssm_lib_schema198.EntityScalarField;
|
|
15
|
+
email: _lssm_lib_schema198.EntityScalarField;
|
|
16
|
+
phone: _lssm_lib_schema198.EntityScalarField;
|
|
17
|
+
companyId: _lssm_lib_schema198.EntityScalarField;
|
|
18
|
+
jobTitle: _lssm_lib_schema198.EntityScalarField;
|
|
19
|
+
status: _lssm_lib_schema198.EntityEnumField;
|
|
20
|
+
organizationId: _lssm_lib_schema198.EntityScalarField;
|
|
21
|
+
ownerId: _lssm_lib_schema198.EntityScalarField;
|
|
22
|
+
source: _lssm_lib_schema198.EntityScalarField;
|
|
23
|
+
linkedInUrl: _lssm_lib_schema198.EntityScalarField;
|
|
24
|
+
twitterHandle: _lssm_lib_schema198.EntityScalarField;
|
|
25
|
+
address: _lssm_lib_schema198.EntityScalarField;
|
|
26
|
+
city: _lssm_lib_schema198.EntityScalarField;
|
|
27
|
+
state: _lssm_lib_schema198.EntityScalarField;
|
|
28
|
+
country: _lssm_lib_schema198.EntityScalarField;
|
|
29
|
+
postalCode: _lssm_lib_schema198.EntityScalarField;
|
|
30
|
+
notes: _lssm_lib_schema198.EntityScalarField;
|
|
31
|
+
tags: _lssm_lib_schema198.EntityScalarField;
|
|
32
|
+
customFields: _lssm_lib_schema198.EntityScalarField;
|
|
33
|
+
lastContactedAt: _lssm_lib_schema198.EntityScalarField;
|
|
34
|
+
nextFollowUpAt: _lssm_lib_schema198.EntityScalarField;
|
|
35
|
+
createdAt: _lssm_lib_schema198.EntityScalarField;
|
|
36
|
+
updatedAt: _lssm_lib_schema198.EntityScalarField;
|
|
37
|
+
company: _lssm_lib_schema198.EntityRelationField;
|
|
38
|
+
deals: _lssm_lib_schema198.EntityRelationField;
|
|
39
|
+
tasks: _lssm_lib_schema198.EntityRelationField;
|
|
40
|
+
activities: _lssm_lib_schema198.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { ContactEntity, ContactStatusEnum };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema256 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/deal.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Deal status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const DealStatusEnum:
|
|
7
|
+
declare const DealStatusEnum: _lssm_lib_schema256.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Pipeline entity - sales pipeline definition.
|
|
10
10
|
*/
|
|
11
|
-
declare const PipelineEntity:
|
|
12
|
-
id:
|
|
13
|
-
name:
|
|
14
|
-
description:
|
|
15
|
-
organizationId:
|
|
16
|
-
isDefault:
|
|
17
|
-
createdAt:
|
|
18
|
-
updatedAt:
|
|
19
|
-
stages:
|
|
20
|
-
deals:
|
|
11
|
+
declare const PipelineEntity: _lssm_lib_schema256.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema256.EntityScalarField;
|
|
13
|
+
name: _lssm_lib_schema256.EntityScalarField;
|
|
14
|
+
description: _lssm_lib_schema256.EntityScalarField;
|
|
15
|
+
organizationId: _lssm_lib_schema256.EntityScalarField;
|
|
16
|
+
isDefault: _lssm_lib_schema256.EntityScalarField;
|
|
17
|
+
createdAt: _lssm_lib_schema256.EntityScalarField;
|
|
18
|
+
updatedAt: _lssm_lib_schema256.EntityScalarField;
|
|
19
|
+
stages: _lssm_lib_schema256.EntityRelationField;
|
|
20
|
+
deals: _lssm_lib_schema256.EntityRelationField;
|
|
21
21
|
}>;
|
|
22
22
|
/**
|
|
23
23
|
* Stage entity - pipeline stage.
|
|
24
24
|
*/
|
|
25
|
-
declare const StageEntity:
|
|
26
|
-
id:
|
|
27
|
-
name:
|
|
28
|
-
pipelineId:
|
|
29
|
-
position:
|
|
30
|
-
probability:
|
|
31
|
-
isWonStage:
|
|
32
|
-
isLostStage:
|
|
33
|
-
color:
|
|
34
|
-
createdAt:
|
|
35
|
-
updatedAt:
|
|
36
|
-
pipeline:
|
|
37
|
-
deals:
|
|
25
|
+
declare const StageEntity: _lssm_lib_schema256.EntitySpec<{
|
|
26
|
+
id: _lssm_lib_schema256.EntityScalarField;
|
|
27
|
+
name: _lssm_lib_schema256.EntityScalarField;
|
|
28
|
+
pipelineId: _lssm_lib_schema256.EntityScalarField;
|
|
29
|
+
position: _lssm_lib_schema256.EntityScalarField;
|
|
30
|
+
probability: _lssm_lib_schema256.EntityScalarField;
|
|
31
|
+
isWonStage: _lssm_lib_schema256.EntityScalarField;
|
|
32
|
+
isLostStage: _lssm_lib_schema256.EntityScalarField;
|
|
33
|
+
color: _lssm_lib_schema256.EntityScalarField;
|
|
34
|
+
createdAt: _lssm_lib_schema256.EntityScalarField;
|
|
35
|
+
updatedAt: _lssm_lib_schema256.EntityScalarField;
|
|
36
|
+
pipeline: _lssm_lib_schema256.EntityRelationField;
|
|
37
|
+
deals: _lssm_lib_schema256.EntityRelationField;
|
|
38
38
|
}>;
|
|
39
39
|
/**
|
|
40
40
|
* Deal entity - sales opportunity.
|
|
41
41
|
*/
|
|
42
|
-
declare const DealEntity:
|
|
43
|
-
id:
|
|
44
|
-
name:
|
|
45
|
-
value:
|
|
46
|
-
currency:
|
|
47
|
-
pipelineId:
|
|
48
|
-
stageId:
|
|
49
|
-
status:
|
|
50
|
-
contactId:
|
|
51
|
-
companyId:
|
|
52
|
-
organizationId:
|
|
53
|
-
ownerId:
|
|
54
|
-
expectedCloseDate:
|
|
55
|
-
closedAt:
|
|
56
|
-
lostReason:
|
|
57
|
-
wonSource:
|
|
58
|
-
notes:
|
|
59
|
-
tags:
|
|
60
|
-
customFields:
|
|
61
|
-
stagePosition:
|
|
62
|
-
createdAt:
|
|
63
|
-
updatedAt:
|
|
64
|
-
pipeline:
|
|
65
|
-
stage:
|
|
66
|
-
contact:
|
|
67
|
-
company:
|
|
68
|
-
tasks:
|
|
69
|
-
activities:
|
|
42
|
+
declare const DealEntity: _lssm_lib_schema256.EntitySpec<{
|
|
43
|
+
id: _lssm_lib_schema256.EntityScalarField;
|
|
44
|
+
name: _lssm_lib_schema256.EntityScalarField;
|
|
45
|
+
value: _lssm_lib_schema256.EntityScalarField;
|
|
46
|
+
currency: _lssm_lib_schema256.EntityScalarField;
|
|
47
|
+
pipelineId: _lssm_lib_schema256.EntityScalarField;
|
|
48
|
+
stageId: _lssm_lib_schema256.EntityScalarField;
|
|
49
|
+
status: _lssm_lib_schema256.EntityEnumField;
|
|
50
|
+
contactId: _lssm_lib_schema256.EntityScalarField;
|
|
51
|
+
companyId: _lssm_lib_schema256.EntityScalarField;
|
|
52
|
+
organizationId: _lssm_lib_schema256.EntityScalarField;
|
|
53
|
+
ownerId: _lssm_lib_schema256.EntityScalarField;
|
|
54
|
+
expectedCloseDate: _lssm_lib_schema256.EntityScalarField;
|
|
55
|
+
closedAt: _lssm_lib_schema256.EntityScalarField;
|
|
56
|
+
lostReason: _lssm_lib_schema256.EntityScalarField;
|
|
57
|
+
wonSource: _lssm_lib_schema256.EntityScalarField;
|
|
58
|
+
notes: _lssm_lib_schema256.EntityScalarField;
|
|
59
|
+
tags: _lssm_lib_schema256.EntityScalarField;
|
|
60
|
+
customFields: _lssm_lib_schema256.EntityScalarField;
|
|
61
|
+
stagePosition: _lssm_lib_schema256.EntityScalarField;
|
|
62
|
+
createdAt: _lssm_lib_schema256.EntityScalarField;
|
|
63
|
+
updatedAt: _lssm_lib_schema256.EntityScalarField;
|
|
64
|
+
pipeline: _lssm_lib_schema256.EntityRelationField;
|
|
65
|
+
stage: _lssm_lib_schema256.EntityRelationField;
|
|
66
|
+
contact: _lssm_lib_schema256.EntityRelationField;
|
|
67
|
+
company: _lssm_lib_schema256.EntityRelationField;
|
|
68
|
+
tasks: _lssm_lib_schema256.EntityRelationField;
|
|
69
|
+
activities: _lssm_lib_schema256.EntityRelationField;
|
|
70
70
|
}>;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { DealEntity, DealStatusEnum, PipelineEntity, StageEntity };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema308 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/task.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Task type enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const TaskTypeEnum:
|
|
7
|
+
declare const TaskTypeEnum: _lssm_lib_schema308.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Task priority enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const TaskPriorityEnum:
|
|
11
|
+
declare const TaskPriorityEnum: _lssm_lib_schema308.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Task status enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const TaskStatusEnum:
|
|
15
|
+
declare const TaskStatusEnum: _lssm_lib_schema308.EntityEnumDef;
|
|
16
16
|
/**
|
|
17
17
|
* Task entity - follow-up activities.
|
|
18
18
|
*/
|
|
19
|
-
declare const TaskEntity:
|
|
20
|
-
id:
|
|
21
|
-
title:
|
|
22
|
-
description:
|
|
23
|
-
type:
|
|
24
|
-
priority:
|
|
25
|
-
status:
|
|
26
|
-
dueDate:
|
|
27
|
-
reminderAt:
|
|
28
|
-
contactId:
|
|
29
|
-
dealId:
|
|
30
|
-
companyId:
|
|
31
|
-
organizationId:
|
|
32
|
-
assignedTo:
|
|
33
|
-
createdBy:
|
|
34
|
-
completedAt:
|
|
35
|
-
completedBy:
|
|
36
|
-
createdAt:
|
|
37
|
-
updatedAt:
|
|
38
|
-
contact:
|
|
39
|
-
deal:
|
|
40
|
-
company:
|
|
19
|
+
declare const TaskEntity: _lssm_lib_schema308.EntitySpec<{
|
|
20
|
+
id: _lssm_lib_schema308.EntityScalarField;
|
|
21
|
+
title: _lssm_lib_schema308.EntityScalarField;
|
|
22
|
+
description: _lssm_lib_schema308.EntityScalarField;
|
|
23
|
+
type: _lssm_lib_schema308.EntityEnumField;
|
|
24
|
+
priority: _lssm_lib_schema308.EntityEnumField;
|
|
25
|
+
status: _lssm_lib_schema308.EntityEnumField;
|
|
26
|
+
dueDate: _lssm_lib_schema308.EntityScalarField;
|
|
27
|
+
reminderAt: _lssm_lib_schema308.EntityScalarField;
|
|
28
|
+
contactId: _lssm_lib_schema308.EntityScalarField;
|
|
29
|
+
dealId: _lssm_lib_schema308.EntityScalarField;
|
|
30
|
+
companyId: _lssm_lib_schema308.EntityScalarField;
|
|
31
|
+
organizationId: _lssm_lib_schema308.EntityScalarField;
|
|
32
|
+
assignedTo: _lssm_lib_schema308.EntityScalarField;
|
|
33
|
+
createdBy: _lssm_lib_schema308.EntityScalarField;
|
|
34
|
+
completedAt: _lssm_lib_schema308.EntityScalarField;
|
|
35
|
+
completedBy: _lssm_lib_schema308.EntityScalarField;
|
|
36
|
+
createdAt: _lssm_lib_schema308.EntityScalarField;
|
|
37
|
+
updatedAt: _lssm_lib_schema308.EntityScalarField;
|
|
38
|
+
contact: _lssm_lib_schema308.EntityRelationField;
|
|
39
|
+
deal: _lssm_lib_schema308.EntityRelationField;
|
|
40
|
+
company: _lssm_lib_schema308.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* Activity entity - interaction history.
|
|
44
44
|
*/
|
|
45
|
-
declare const ActivityEntity:
|
|
46
|
-
id:
|
|
47
|
-
type:
|
|
48
|
-
subject:
|
|
49
|
-
description:
|
|
50
|
-
contactId:
|
|
51
|
-
dealId:
|
|
52
|
-
companyId:
|
|
53
|
-
organizationId:
|
|
54
|
-
performedBy:
|
|
55
|
-
outcome:
|
|
56
|
-
occurredAt:
|
|
57
|
-
duration:
|
|
58
|
-
createdAt:
|
|
59
|
-
contact:
|
|
60
|
-
deal:
|
|
61
|
-
company:
|
|
45
|
+
declare const ActivityEntity: _lssm_lib_schema308.EntitySpec<{
|
|
46
|
+
id: _lssm_lib_schema308.EntityScalarField;
|
|
47
|
+
type: _lssm_lib_schema308.EntityEnumField;
|
|
48
|
+
subject: _lssm_lib_schema308.EntityScalarField;
|
|
49
|
+
description: _lssm_lib_schema308.EntityScalarField;
|
|
50
|
+
contactId: _lssm_lib_schema308.EntityScalarField;
|
|
51
|
+
dealId: _lssm_lib_schema308.EntityScalarField;
|
|
52
|
+
companyId: _lssm_lib_schema308.EntityScalarField;
|
|
53
|
+
organizationId: _lssm_lib_schema308.EntityScalarField;
|
|
54
|
+
performedBy: _lssm_lib_schema308.EntityScalarField;
|
|
55
|
+
outcome: _lssm_lib_schema308.EntityScalarField;
|
|
56
|
+
occurredAt: _lssm_lib_schema308.EntityScalarField;
|
|
57
|
+
duration: _lssm_lib_schema308.EntityScalarField;
|
|
58
|
+
createdAt: _lssm_lib_schema308.EntityScalarField;
|
|
59
|
+
contact: _lssm_lib_schema308.EntityRelationField;
|
|
60
|
+
deal: _lssm_lib_schema308.EntityRelationField;
|
|
61
|
+
company: _lssm_lib_schema308.EntityRelationField;
|
|
62
62
|
}>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { ActivityEntity, TaskEntity, TaskPriorityEnum, TaskStatusEnum, TaskTypeEnum };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema350 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events/contact.event.d.ts
|
|
5
|
-
declare const ContactCreatedEvent: _lssm_lib_contracts4.EventSpec<
|
|
5
|
+
declare const ContactCreatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema350.SchemaModel<{
|
|
6
6
|
contactId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema350.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
email: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema350.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
organizationId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema350.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
ownerId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema350.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
createdAt: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema350.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema356 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts5 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events/deal.event.d.ts
|
|
5
|
-
declare const DealCreatedEvent: _lssm_lib_contracts5.EventSpec<
|
|
5
|
+
declare const DealCreatedEvent: _lssm_lib_contracts5.EventSpec<_lssm_lib_schema356.SchemaModel<{
|
|
6
6
|
dealId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
value: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema356.FieldType<number, number>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
pipelineId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
stageId: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
ownerId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
createdAt: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema356.FieldType<Date, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>>;
|
|
35
|
-
declare const DealMovedEvent: _lssm_lib_contracts5.EventSpec<
|
|
35
|
+
declare const DealMovedEvent: _lssm_lib_contracts5.EventSpec<_lssm_lib_schema356.SchemaModel<{
|
|
36
36
|
dealId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
fromStageId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
toStageId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
movedBy: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
movedAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema356.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>>;
|
|
57
|
-
declare const DealWonEvent: _lssm_lib_contracts5.EventSpec<
|
|
57
|
+
declare const DealWonEvent: _lssm_lib_contracts5.EventSpec<_lssm_lib_schema356.SchemaModel<{
|
|
58
58
|
dealId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
value: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema356.FieldType<number, number>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
currency: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
contactId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
companyId: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
ownerId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
wonAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema356.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const DealLostEvent: _lssm_lib_contracts5.EventSpec<
|
|
87
|
+
declare const DealLostEvent: _lssm_lib_contracts5.EventSpec<_lssm_lib_schema356.SchemaModel<{
|
|
88
88
|
dealId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
value: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema356.FieldType<number, number>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
reason: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
ownerId: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema356.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
lostAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema356.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema384 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events/task.event.d.ts
|
|
5
|
-
declare const TaskCompletedEvent: _lssm_lib_contracts9.EventSpec<
|
|
5
|
+
declare const TaskCompletedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema384.SchemaModel<{
|
|
6
6
|
taskId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema384.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
type: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema384.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
assignedTo: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema384.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
completedBy: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema384.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
completedAt: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema384.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-views.js","names":[],"sources":["../../../../../../../libs/contracts/dist/data-views/data-views.js"],"sourcesContent":["import { filterBy, getUniqueTags, groupBy, init_registry_utils } from \"../registry-utils.js\";\n\n//#region src/data-views/data-views.ts\ninit_registry_utils();\nfunction keyOf(spec) {\n\treturn `${spec.meta.name}.v${spec.meta.version}`;\n}\nvar DataViewRegistry = class {\n\titems = /* @__PURE__ */ new Map();\n\tregister(spec) {\n\t\tconst key = keyOf(spec);\n\t\tif (this.items.has(key)) throw new Error(`Duplicate data view ${key}`);\n\t\tthis.items.set(key, spec);\n\t\treturn this;\n\t}\n\tlist() {\n\t\treturn [...this.items.values()];\n\t}\n\tget(name, version) {\n\t\tif (version != null) return this.items.get(`${name}.v${version}`);\n\t\tlet candidate;\n\t\tlet max = -Infinity;\n\t\tfor (const spec of this.items.values()) {\n\t\t\tif (spec.meta.name !== name) continue;\n\t\t\tif (spec.meta.version > max) {\n\t\t\t\tmax = spec.meta.version;\n\t\t\t\tcandidate = spec;\n\t\t\t}\n\t\t}\n\t\treturn candidate;\n\t}\n\t/** Filter data views by criteria. */\n\tfilter(criteria) {\n\t\treturn filterBy(this.list(), criteria);\n\t}\n\t/** List data views with specific tag. */\n\tlistByTag(tag) {\n\t\treturn this.list().filter((d) => d.meta.tags?.includes(tag));\n\t}\n\t/** List data views by owner. */\n\tlistByOwner(owner) {\n\t\treturn this.list().filter((d) => d.meta.owners?.includes(owner));\n\t}\n\t/** Group data views by key function. */\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.list(), keyFn);\n\t}\n\t/** Get unique tags from all data views. */\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.list());\n\t}\n};\nfunction dataViewKey(spec) {\n\treturn keyOf(spec);\n}\n\n//#endregion\nexport { DataViewRegistry, dataViewKey };"],"mappings":";;;AAGA,qBAAqB"}
|