@contractspec/example.crm-pipeline 1.45.4 → 1.45.6
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 +5 -5
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +24 -0
- package/dist/deal/deal.enum.d.ts +3 -3
- package/dist/deal/deal.enum.d.ts.map +1 -1
- package/dist/deal/deal.operation.d.ts +127 -127
- package/dist/deal/deal.operation.d.ts.map +1 -1
- package/dist/deal/deal.schema.d.ts +71 -71
- package/dist/entities/company.entity.d.ts +28 -28
- package/dist/entities/company.entity.d.ts.map +1 -1
- package/dist/entities/contact.entity.d.ts +32 -32
- package/dist/entities/contact.entity.d.ts.map +1 -1
- package/dist/entities/deal.entity.d.ts +53 -53
- package/dist/events/deal.event.d.ts +30 -30
- package/dist/events/task.event.d.ts +8 -8
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema362 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events/deal.event.d.ts
|
|
5
|
-
declare const DealCreatedEvent:
|
|
5
|
+
declare const DealCreatedEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema362.SchemaModel<{
|
|
6
6
|
dealId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
value: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema362.FieldType<number, number>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
pipelineId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
stageId: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
ownerId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
createdAt: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema362.FieldType<Date, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>>;
|
|
35
|
-
declare const DealMovedEvent:
|
|
35
|
+
declare const DealMovedEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema362.SchemaModel<{
|
|
36
36
|
dealId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
fromStageId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
toStageId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
movedBy: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
movedAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema362.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>>;
|
|
57
|
-
declare const DealWonEvent:
|
|
57
|
+
declare const DealWonEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema362.SchemaModel<{
|
|
58
58
|
dealId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
value: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema362.FieldType<number, number>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
currency: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
contactId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
companyId: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
ownerId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
wonAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema362.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const DealLostEvent:
|
|
87
|
+
declare const DealLostEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema362.SchemaModel<{
|
|
88
88
|
dealId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
value: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema362.FieldType<number, number>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
reason: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
ownerId: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema362.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
lostAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema362.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema356 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts5 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events/task.event.d.ts
|
|
5
|
-
declare const TaskCompletedEvent:
|
|
5
|
+
declare const TaskCompletedEvent: _contractspec_lib_contracts5.EventSpec<_contractspec_lib_schema356.SchemaModel<{
|
|
6
6
|
taskId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
type: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
assignedTo: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
completedBy: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
completedAt: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema356.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.crm-pipeline",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.6",
|
|
4
4
|
"description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"test": "bun run"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@contractspec/lib.schema": "1.45.
|
|
51
|
-
"@contractspec/lib.contracts": "1.45.
|
|
52
|
-
"@contractspec/lib.identity-rbac": "1.45.
|
|
53
|
-
"@contractspec/module.audit-trail": "1.45.
|
|
54
|
-
"@contractspec/module.notifications": "1.45.
|
|
50
|
+
"@contractspec/lib.schema": "1.45.6",
|
|
51
|
+
"@contractspec/lib.contracts": "1.45.6",
|
|
52
|
+
"@contractspec/lib.identity-rbac": "1.45.6",
|
|
53
|
+
"@contractspec/module.audit-trail": "1.45.6",
|
|
54
|
+
"@contractspec/module.notifications": "1.45.6"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@contractspec/tool.tsdown": "1.45.
|
|
58
|
-
"@contractspec/tool.typescript": "1.45.
|
|
57
|
+
"@contractspec/tool.tsdown": "1.45.6",
|
|
58
|
+
"@contractspec/tool.typescript": "1.45.6",
|
|
59
59
|
"tsdown": "^0.18.3",
|
|
60
60
|
"typescript": "^5.9.3"
|
|
61
61
|
},
|