@lssm/example.crm-pipeline 0.0.0-canary-20251217072406 → 0.0.0-canary-20251217080011
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 +844 -843
- package/.turbo/turbo-build.log +38 -844
- package/CHANGELOG.md +8 -8
- package/dist/deal/deal.contracts.d.ts +127 -127
- package/dist/deal/deal.enum.d.ts +3 -3
- package/dist/deal/deal.schema.d.ts +71 -71
- 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 +8 -8
- package/dist/events/deal.event.d.ts +30 -30
- package/dist/events/task.event.d.ts +8 -8
- package/dist/index.d.ts +2 -2
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,225 +1,225 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema261 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/deal/deal.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A deal in the CRM pipeline.
|
|
6
6
|
*/
|
|
7
|
-
declare const DealModel:
|
|
7
|
+
declare const DealModel: _lssm_lib_schema261.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
value: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
currency: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
pipelineId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
stageId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
status: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema261.EnumType<[string, string, string, string]>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
contactId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
companyId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
ownerId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
expectedCloseDate: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
50
50
|
isOptional: true;
|
|
51
51
|
};
|
|
52
52
|
createdAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
updatedAt: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>;
|
|
61
61
|
/**
|
|
62
62
|
* Input for creating a deal.
|
|
63
63
|
*/
|
|
64
|
-
declare const CreateDealInputModel:
|
|
64
|
+
declare const CreateDealInputModel: _lssm_lib_schema261.SchemaModel<{
|
|
65
65
|
name: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
value: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
currency: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
pipelineId: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
stageId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
contactId: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
87
87
|
isOptional: true;
|
|
88
88
|
};
|
|
89
89
|
companyId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
expectedCloseDate: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
}>;
|
|
98
98
|
/**
|
|
99
99
|
* Input for moving a deal to another stage.
|
|
100
100
|
*/
|
|
101
|
-
declare const MoveDealInputModel:
|
|
101
|
+
declare const MoveDealInputModel: _lssm_lib_schema261.SchemaModel<{
|
|
102
102
|
dealId: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
stageId: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
position: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
112
112
|
isOptional: true;
|
|
113
113
|
};
|
|
114
114
|
}>;
|
|
115
115
|
/**
|
|
116
116
|
* Payload for deal moved event.
|
|
117
117
|
*/
|
|
118
|
-
declare const DealMovedPayloadModel:
|
|
118
|
+
declare const DealMovedPayloadModel: _lssm_lib_schema261.SchemaModel<{
|
|
119
119
|
dealId: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
fromStage: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
toStage: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
}>;
|
|
132
132
|
/**
|
|
133
133
|
* Input for marking a deal as won.
|
|
134
134
|
*/
|
|
135
|
-
declare const WinDealInputModel:
|
|
135
|
+
declare const WinDealInputModel: _lssm_lib_schema261.SchemaModel<{
|
|
136
136
|
dealId: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
wonSource: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
142
142
|
isOptional: true;
|
|
143
143
|
};
|
|
144
144
|
notes: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
}>;
|
|
149
149
|
/**
|
|
150
150
|
* Payload for deal won event.
|
|
151
151
|
*/
|
|
152
|
-
declare const DealWonPayloadModel:
|
|
152
|
+
declare const DealWonPayloadModel: _lssm_lib_schema261.SchemaModel<{
|
|
153
153
|
dealId: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
value: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
162
162
|
/**
|
|
163
163
|
* Input for marking a deal as lost.
|
|
164
164
|
*/
|
|
165
|
-
declare const LoseDealInputModel:
|
|
165
|
+
declare const LoseDealInputModel: _lssm_lib_schema261.SchemaModel<{
|
|
166
166
|
dealId: {
|
|
167
|
-
type:
|
|
167
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
lostReason: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
notes: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
}>;
|
|
179
179
|
/**
|
|
180
180
|
* Payload for deal lost event.
|
|
181
181
|
*/
|
|
182
|
-
declare const DealLostPayloadModel:
|
|
182
|
+
declare const DealLostPayloadModel: _lssm_lib_schema261.SchemaModel<{
|
|
183
183
|
dealId: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
reason: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
193
193
|
* Input for listing deals.
|
|
194
194
|
*/
|
|
195
|
-
declare const ListDealsInputModel:
|
|
195
|
+
declare const ListDealsInputModel: _lssm_lib_schema261.SchemaModel<{
|
|
196
196
|
pipelineId: {
|
|
197
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
198
198
|
isOptional: true;
|
|
199
199
|
};
|
|
200
200
|
stageId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
202
202
|
isOptional: true;
|
|
203
203
|
};
|
|
204
204
|
status: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema261.EnumType<[string, string, string, string]>;
|
|
206
206
|
isOptional: true;
|
|
207
207
|
};
|
|
208
208
|
ownerId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
search: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
limit: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
defaultValue: number;
|
|
220
220
|
};
|
|
221
221
|
offset: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
223
223
|
isOptional: true;
|
|
224
224
|
defaultValue: number;
|
|
225
225
|
};
|
|
@@ -227,59 +227,59 @@ declare const ListDealsInputModel: _lssm_lib_schema180.SchemaModel<{
|
|
|
227
227
|
/**
|
|
228
228
|
* Output for listing deals.
|
|
229
229
|
*/
|
|
230
|
-
declare const ListDealsOutputModel:
|
|
230
|
+
declare const ListDealsOutputModel: _lssm_lib_schema261.SchemaModel<{
|
|
231
231
|
deals: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema261.SchemaModel<{
|
|
233
233
|
id: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
235
235
|
isOptional: false;
|
|
236
236
|
};
|
|
237
237
|
name: {
|
|
238
|
-
type:
|
|
238
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
239
239
|
isOptional: false;
|
|
240
240
|
};
|
|
241
241
|
value: {
|
|
242
|
-
type:
|
|
242
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
currency: {
|
|
246
|
-
type:
|
|
246
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
pipelineId: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
251
251
|
isOptional: false;
|
|
252
252
|
};
|
|
253
253
|
stageId: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
};
|
|
257
257
|
status: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema261.EnumType<[string, string, string, string]>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
contactId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
263
263
|
isOptional: true;
|
|
264
264
|
};
|
|
265
265
|
companyId: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
267
267
|
isOptional: true;
|
|
268
268
|
};
|
|
269
269
|
ownerId: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema261.FieldType<string, string>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
expectedCloseDate: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
275
275
|
isOptional: true;
|
|
276
276
|
};
|
|
277
277
|
createdAt: {
|
|
278
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
updatedAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema261.FieldType<Date, string>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
}>;
|
|
@@ -287,11 +287,11 @@ declare const ListDealsOutputModel: _lssm_lib_schema180.SchemaModel<{
|
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
total: {
|
|
290
|
-
type:
|
|
290
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
291
291
|
isOptional: false;
|
|
292
292
|
};
|
|
293
293
|
totalValue: {
|
|
294
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema261.FieldType<number, number>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
}>;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema100 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_schema100.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_schema100.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema100.EntityScalarField;
|
|
13
|
+
name: _lssm_lib_schema100.EntityScalarField;
|
|
14
|
+
domain: _lssm_lib_schema100.EntityScalarField;
|
|
15
|
+
website: _lssm_lib_schema100.EntityScalarField;
|
|
16
|
+
industry: _lssm_lib_schema100.EntityScalarField;
|
|
17
|
+
size: _lssm_lib_schema100.EntityEnumField;
|
|
18
|
+
employeeCount: _lssm_lib_schema100.EntityScalarField;
|
|
19
|
+
annualRevenue: _lssm_lib_schema100.EntityScalarField;
|
|
20
|
+
organizationId: _lssm_lib_schema100.EntityScalarField;
|
|
21
|
+
ownerId: _lssm_lib_schema100.EntityScalarField;
|
|
22
|
+
phone: _lssm_lib_schema100.EntityScalarField;
|
|
23
|
+
email: _lssm_lib_schema100.EntityScalarField;
|
|
24
|
+
address: _lssm_lib_schema100.EntityScalarField;
|
|
25
|
+
city: _lssm_lib_schema100.EntityScalarField;
|
|
26
|
+
state: _lssm_lib_schema100.EntityScalarField;
|
|
27
|
+
country: _lssm_lib_schema100.EntityScalarField;
|
|
28
|
+
postalCode: _lssm_lib_schema100.EntityScalarField;
|
|
29
|
+
linkedInUrl: _lssm_lib_schema100.EntityScalarField;
|
|
30
|
+
description: _lssm_lib_schema100.EntityScalarField;
|
|
31
|
+
tags: _lssm_lib_schema100.EntityScalarField;
|
|
32
|
+
customFields: _lssm_lib_schema100.EntityScalarField;
|
|
33
|
+
createdAt: _lssm_lib_schema100.EntityScalarField;
|
|
34
|
+
updatedAt: _lssm_lib_schema100.EntityScalarField;
|
|
35
|
+
contacts: _lssm_lib_schema100.EntityRelationField;
|
|
36
|
+
deals: _lssm_lib_schema100.EntityRelationField;
|
|
37
37
|
}>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { CompanyEntity, CompanySizeEnum };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema331 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_schema331.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_schema331.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema331.EntityScalarField;
|
|
13
|
+
firstName: _lssm_lib_schema331.EntityScalarField;
|
|
14
|
+
lastName: _lssm_lib_schema331.EntityScalarField;
|
|
15
|
+
email: _lssm_lib_schema331.EntityScalarField;
|
|
16
|
+
phone: _lssm_lib_schema331.EntityScalarField;
|
|
17
|
+
companyId: _lssm_lib_schema331.EntityScalarField;
|
|
18
|
+
jobTitle: _lssm_lib_schema331.EntityScalarField;
|
|
19
|
+
status: _lssm_lib_schema331.EntityEnumField;
|
|
20
|
+
organizationId: _lssm_lib_schema331.EntityScalarField;
|
|
21
|
+
ownerId: _lssm_lib_schema331.EntityScalarField;
|
|
22
|
+
source: _lssm_lib_schema331.EntityScalarField;
|
|
23
|
+
linkedInUrl: _lssm_lib_schema331.EntityScalarField;
|
|
24
|
+
twitterHandle: _lssm_lib_schema331.EntityScalarField;
|
|
25
|
+
address: _lssm_lib_schema331.EntityScalarField;
|
|
26
|
+
city: _lssm_lib_schema331.EntityScalarField;
|
|
27
|
+
state: _lssm_lib_schema331.EntityScalarField;
|
|
28
|
+
country: _lssm_lib_schema331.EntityScalarField;
|
|
29
|
+
postalCode: _lssm_lib_schema331.EntityScalarField;
|
|
30
|
+
notes: _lssm_lib_schema331.EntityScalarField;
|
|
31
|
+
tags: _lssm_lib_schema331.EntityScalarField;
|
|
32
|
+
customFields: _lssm_lib_schema331.EntityScalarField;
|
|
33
|
+
lastContactedAt: _lssm_lib_schema331.EntityScalarField;
|
|
34
|
+
nextFollowUpAt: _lssm_lib_schema331.EntityScalarField;
|
|
35
|
+
createdAt: _lssm_lib_schema331.EntityScalarField;
|
|
36
|
+
updatedAt: _lssm_lib_schema331.EntityScalarField;
|
|
37
|
+
company: _lssm_lib_schema331.EntityRelationField;
|
|
38
|
+
deals: _lssm_lib_schema331.EntityRelationField;
|
|
39
|
+
tasks: _lssm_lib_schema331.EntityRelationField;
|
|
40
|
+
activities: _lssm_lib_schema331.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { ContactEntity, ContactStatusEnum };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema48 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_schema48.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_schema48.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema48.EntityScalarField;
|
|
13
|
+
name: _lssm_lib_schema48.EntityScalarField;
|
|
14
|
+
description: _lssm_lib_schema48.EntityScalarField;
|
|
15
|
+
organizationId: _lssm_lib_schema48.EntityScalarField;
|
|
16
|
+
isDefault: _lssm_lib_schema48.EntityScalarField;
|
|
17
|
+
createdAt: _lssm_lib_schema48.EntityScalarField;
|
|
18
|
+
updatedAt: _lssm_lib_schema48.EntityScalarField;
|
|
19
|
+
stages: _lssm_lib_schema48.EntityRelationField;
|
|
20
|
+
deals: _lssm_lib_schema48.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_schema48.EntitySpec<{
|
|
26
|
+
id: _lssm_lib_schema48.EntityScalarField;
|
|
27
|
+
name: _lssm_lib_schema48.EntityScalarField;
|
|
28
|
+
pipelineId: _lssm_lib_schema48.EntityScalarField;
|
|
29
|
+
position: _lssm_lib_schema48.EntityScalarField;
|
|
30
|
+
probability: _lssm_lib_schema48.EntityScalarField;
|
|
31
|
+
isWonStage: _lssm_lib_schema48.EntityScalarField;
|
|
32
|
+
isLostStage: _lssm_lib_schema48.EntityScalarField;
|
|
33
|
+
color: _lssm_lib_schema48.EntityScalarField;
|
|
34
|
+
createdAt: _lssm_lib_schema48.EntityScalarField;
|
|
35
|
+
updatedAt: _lssm_lib_schema48.EntityScalarField;
|
|
36
|
+
pipeline: _lssm_lib_schema48.EntityRelationField;
|
|
37
|
+
deals: _lssm_lib_schema48.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_schema48.EntitySpec<{
|
|
43
|
+
id: _lssm_lib_schema48.EntityScalarField;
|
|
44
|
+
name: _lssm_lib_schema48.EntityScalarField;
|
|
45
|
+
value: _lssm_lib_schema48.EntityScalarField;
|
|
46
|
+
currency: _lssm_lib_schema48.EntityScalarField;
|
|
47
|
+
pipelineId: _lssm_lib_schema48.EntityScalarField;
|
|
48
|
+
stageId: _lssm_lib_schema48.EntityScalarField;
|
|
49
|
+
status: _lssm_lib_schema48.EntityEnumField;
|
|
50
|
+
contactId: _lssm_lib_schema48.EntityScalarField;
|
|
51
|
+
companyId: _lssm_lib_schema48.EntityScalarField;
|
|
52
|
+
organizationId: _lssm_lib_schema48.EntityScalarField;
|
|
53
|
+
ownerId: _lssm_lib_schema48.EntityScalarField;
|
|
54
|
+
expectedCloseDate: _lssm_lib_schema48.EntityScalarField;
|
|
55
|
+
closedAt: _lssm_lib_schema48.EntityScalarField;
|
|
56
|
+
lostReason: _lssm_lib_schema48.EntityScalarField;
|
|
57
|
+
wonSource: _lssm_lib_schema48.EntityScalarField;
|
|
58
|
+
notes: _lssm_lib_schema48.EntityScalarField;
|
|
59
|
+
tags: _lssm_lib_schema48.EntityScalarField;
|
|
60
|
+
customFields: _lssm_lib_schema48.EntityScalarField;
|
|
61
|
+
stagePosition: _lssm_lib_schema48.EntityScalarField;
|
|
62
|
+
createdAt: _lssm_lib_schema48.EntityScalarField;
|
|
63
|
+
updatedAt: _lssm_lib_schema48.EntityScalarField;
|
|
64
|
+
pipeline: _lssm_lib_schema48.EntityRelationField;
|
|
65
|
+
stage: _lssm_lib_schema48.EntityRelationField;
|
|
66
|
+
contact: _lssm_lib_schema48.EntityRelationField;
|
|
67
|
+
company: _lssm_lib_schema48.EntityRelationField;
|
|
68
|
+
tasks: _lssm_lib_schema48.EntityRelationField;
|
|
69
|
+
activities: _lssm_lib_schema48.EntityRelationField;
|
|
70
70
|
}>;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { DealEntity, DealStatusEnum, PipelineEntity, StageEntity };
|