@lssm/example.crm-pipeline 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217060834
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 +60 -61
- package/.turbo/turbo-build.log +61 -38
- package/CHANGELOG.md +8 -8
- package/dist/deal/deal.contracts.d.ts +128 -128
- 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,151 +1,151 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/deal/deal.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new deal.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateDealContract:
|
|
8
|
+
declare const CreateDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
value: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
currency: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
pipelineId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
stageId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
contactId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
33
|
companyId: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
expectedCloseDate: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
42
42
|
id: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
name: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
value: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
currency: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
pipelineId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
stageId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
status: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
contactId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
companyId: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
ownerId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
expectedCloseDate: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
createdAt: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
updatedAt: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
name: string;
|
|
96
96
|
version: number;
|
|
97
97
|
when: string;
|
|
98
|
-
payload:
|
|
98
|
+
payload: _lssm_lib_schema0.SchemaModel<{
|
|
99
99
|
id: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
name: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
value: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
currency: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
pipelineId: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
stageId: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
status: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
contactId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
companyId: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
ownerId: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
expectedCloseDate: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
};
|
|
143
143
|
createdAt: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
updatedAt: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
}>;
|
|
@@ -153,87 +153,87 @@ declare const CreateDealContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_sc
|
|
|
153
153
|
/**
|
|
154
154
|
* Move deal to a different stage.
|
|
155
155
|
*/
|
|
156
|
-
declare const MoveDealContract:
|
|
156
|
+
declare const MoveDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
157
157
|
dealId: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
stageId: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
position: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
167
167
|
isOptional: true;
|
|
168
168
|
};
|
|
169
|
-
}>,
|
|
169
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
170
170
|
id: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
name: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
value: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
180
180
|
isOptional: false;
|
|
181
181
|
};
|
|
182
182
|
currency: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
pipelineId: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
stageId: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
status: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
contactId: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
companyId: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
ownerId: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
208
208
|
isOptional: false;
|
|
209
209
|
};
|
|
210
210
|
expectedCloseDate: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
212
212
|
isOptional: true;
|
|
213
213
|
};
|
|
214
214
|
createdAt: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
updatedAt: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
}>, {
|
|
223
223
|
name: string;
|
|
224
224
|
version: number;
|
|
225
225
|
when: string;
|
|
226
|
-
payload:
|
|
226
|
+
payload: _lssm_lib_schema0.SchemaModel<{
|
|
227
227
|
dealId: {
|
|
228
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
229
229
|
isOptional: false;
|
|
230
230
|
};
|
|
231
231
|
fromStage: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
233
233
|
isOptional: false;
|
|
234
234
|
};
|
|
235
235
|
toStage: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
@@ -241,83 +241,83 @@ declare const MoveDealContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_sche
|
|
|
241
241
|
/**
|
|
242
242
|
* Mark deal as won.
|
|
243
243
|
*/
|
|
244
|
-
declare const WinDealContract:
|
|
244
|
+
declare const WinDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
245
245
|
dealId: {
|
|
246
|
-
type:
|
|
246
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
wonSource: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
251
251
|
isOptional: true;
|
|
252
252
|
};
|
|
253
253
|
notes: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
255
255
|
isOptional: true;
|
|
256
256
|
};
|
|
257
|
-
}>,
|
|
257
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
258
258
|
id: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
name: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
value: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
268
268
|
isOptional: false;
|
|
269
269
|
};
|
|
270
270
|
currency: {
|
|
271
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
272
272
|
isOptional: false;
|
|
273
273
|
};
|
|
274
274
|
pipelineId: {
|
|
275
|
-
type:
|
|
275
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
276
276
|
isOptional: false;
|
|
277
277
|
};
|
|
278
278
|
stageId: {
|
|
279
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
280
280
|
isOptional: false;
|
|
281
281
|
};
|
|
282
282
|
status: {
|
|
283
|
-
type:
|
|
283
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
284
284
|
isOptional: false;
|
|
285
285
|
};
|
|
286
286
|
contactId: {
|
|
287
|
-
type:
|
|
287
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
288
288
|
isOptional: true;
|
|
289
289
|
};
|
|
290
290
|
companyId: {
|
|
291
|
-
type:
|
|
291
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
292
292
|
isOptional: true;
|
|
293
293
|
};
|
|
294
294
|
ownerId: {
|
|
295
|
-
type:
|
|
295
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
296
296
|
isOptional: false;
|
|
297
297
|
};
|
|
298
298
|
expectedCloseDate: {
|
|
299
|
-
type:
|
|
299
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
300
300
|
isOptional: true;
|
|
301
301
|
};
|
|
302
302
|
createdAt: {
|
|
303
|
-
type:
|
|
303
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
updatedAt: {
|
|
307
|
-
type:
|
|
307
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
308
308
|
isOptional: false;
|
|
309
309
|
};
|
|
310
310
|
}>, {
|
|
311
311
|
name: string;
|
|
312
312
|
version: number;
|
|
313
313
|
when: string;
|
|
314
|
-
payload:
|
|
314
|
+
payload: _lssm_lib_schema0.SchemaModel<{
|
|
315
315
|
dealId: {
|
|
316
|
-
type:
|
|
316
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
317
317
|
isOptional: false;
|
|
318
318
|
};
|
|
319
319
|
value: {
|
|
320
|
-
type:
|
|
320
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
321
321
|
isOptional: false;
|
|
322
322
|
};
|
|
323
323
|
}>;
|
|
@@ -325,83 +325,83 @@ declare const WinDealContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schem
|
|
|
325
325
|
/**
|
|
326
326
|
* Mark deal as lost.
|
|
327
327
|
*/
|
|
328
|
-
declare const LoseDealContract:
|
|
328
|
+
declare const LoseDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
329
329
|
dealId: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
331
331
|
isOptional: false;
|
|
332
332
|
};
|
|
333
333
|
lostReason: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
335
335
|
isOptional: false;
|
|
336
336
|
};
|
|
337
337
|
notes: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
339
339
|
isOptional: true;
|
|
340
340
|
};
|
|
341
|
-
}>,
|
|
341
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
342
342
|
id: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
344
344
|
isOptional: false;
|
|
345
345
|
};
|
|
346
346
|
name: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
value: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
currency: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
356
356
|
isOptional: false;
|
|
357
357
|
};
|
|
358
358
|
pipelineId: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
stageId: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
status: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
contactId: {
|
|
371
|
-
type:
|
|
371
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
372
372
|
isOptional: true;
|
|
373
373
|
};
|
|
374
374
|
companyId: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
376
376
|
isOptional: true;
|
|
377
377
|
};
|
|
378
378
|
ownerId: {
|
|
379
|
-
type:
|
|
379
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
380
380
|
isOptional: false;
|
|
381
381
|
};
|
|
382
382
|
expectedCloseDate: {
|
|
383
|
-
type:
|
|
383
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
384
384
|
isOptional: true;
|
|
385
385
|
};
|
|
386
386
|
createdAt: {
|
|
387
|
-
type:
|
|
387
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
388
388
|
isOptional: false;
|
|
389
389
|
};
|
|
390
390
|
updatedAt: {
|
|
391
|
-
type:
|
|
391
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
392
392
|
isOptional: false;
|
|
393
393
|
};
|
|
394
394
|
}>, {
|
|
395
395
|
name: string;
|
|
396
396
|
version: number;
|
|
397
397
|
when: string;
|
|
398
|
-
payload:
|
|
398
|
+
payload: _lssm_lib_schema0.SchemaModel<{
|
|
399
399
|
dealId: {
|
|
400
|
-
type:
|
|
400
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
401
401
|
isOptional: false;
|
|
402
402
|
};
|
|
403
403
|
reason: {
|
|
404
|
-
type:
|
|
404
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
405
405
|
isOptional: false;
|
|
406
406
|
};
|
|
407
407
|
}>;
|
|
@@ -409,90 +409,90 @@ declare const LoseDealContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_sche
|
|
|
409
409
|
/**
|
|
410
410
|
* List deals in pipeline.
|
|
411
411
|
*/
|
|
412
|
-
declare const ListDealsContract:
|
|
412
|
+
declare const ListDealsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
413
413
|
pipelineId: {
|
|
414
|
-
type:
|
|
414
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
415
415
|
isOptional: true;
|
|
416
416
|
};
|
|
417
417
|
stageId: {
|
|
418
|
-
type:
|
|
418
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
419
419
|
isOptional: true;
|
|
420
420
|
};
|
|
421
421
|
status: {
|
|
422
|
-
type:
|
|
422
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
423
423
|
isOptional: true;
|
|
424
424
|
};
|
|
425
425
|
ownerId: {
|
|
426
|
-
type:
|
|
426
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
427
427
|
isOptional: true;
|
|
428
428
|
};
|
|
429
429
|
search: {
|
|
430
|
-
type:
|
|
430
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
431
431
|
isOptional: true;
|
|
432
432
|
};
|
|
433
433
|
limit: {
|
|
434
|
-
type:
|
|
434
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
435
435
|
isOptional: true;
|
|
436
436
|
defaultValue: number;
|
|
437
437
|
};
|
|
438
438
|
offset: {
|
|
439
|
-
type:
|
|
439
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
440
440
|
isOptional: true;
|
|
441
441
|
defaultValue: number;
|
|
442
442
|
};
|
|
443
|
-
}>,
|
|
443
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
444
444
|
deals: {
|
|
445
|
-
type:
|
|
445
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
446
446
|
id: {
|
|
447
|
-
type:
|
|
447
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
448
448
|
isOptional: false;
|
|
449
449
|
};
|
|
450
450
|
name: {
|
|
451
|
-
type:
|
|
451
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
452
452
|
isOptional: false;
|
|
453
453
|
};
|
|
454
454
|
value: {
|
|
455
|
-
type:
|
|
455
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
456
456
|
isOptional: false;
|
|
457
457
|
};
|
|
458
458
|
currency: {
|
|
459
|
-
type:
|
|
459
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
460
460
|
isOptional: false;
|
|
461
461
|
};
|
|
462
462
|
pipelineId: {
|
|
463
|
-
type:
|
|
463
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
464
464
|
isOptional: false;
|
|
465
465
|
};
|
|
466
466
|
stageId: {
|
|
467
|
-
type:
|
|
467
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
468
468
|
isOptional: false;
|
|
469
469
|
};
|
|
470
470
|
status: {
|
|
471
|
-
type:
|
|
471
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
472
472
|
isOptional: false;
|
|
473
473
|
};
|
|
474
474
|
contactId: {
|
|
475
|
-
type:
|
|
475
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
476
476
|
isOptional: true;
|
|
477
477
|
};
|
|
478
478
|
companyId: {
|
|
479
|
-
type:
|
|
479
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
480
480
|
isOptional: true;
|
|
481
481
|
};
|
|
482
482
|
ownerId: {
|
|
483
|
-
type:
|
|
483
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
484
484
|
isOptional: false;
|
|
485
485
|
};
|
|
486
486
|
expectedCloseDate: {
|
|
487
|
-
type:
|
|
487
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
488
488
|
isOptional: true;
|
|
489
489
|
};
|
|
490
490
|
createdAt: {
|
|
491
|
-
type:
|
|
491
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
492
492
|
isOptional: false;
|
|
493
493
|
};
|
|
494
494
|
updatedAt: {
|
|
495
|
-
type:
|
|
495
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
498
|
}>;
|
|
@@ -500,11 +500,11 @@ declare const ListDealsContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_sch
|
|
|
500
500
|
isOptional: false;
|
|
501
501
|
};
|
|
502
502
|
total: {
|
|
503
|
-
type:
|
|
503
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
totalValue: {
|
|
507
|
-
type:
|
|
507
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
508
508
|
isOptional: false;
|
|
509
509
|
};
|
|
510
510
|
}>, undefined>;
|
package/dist/deal/deal.enum.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema126 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/deal/deal.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Deal status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const DealStatusEnum:
|
|
7
|
+
declare const DealStatusEnum: _lssm_lib_schema126.EnumType<[string, string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Deal status filter enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const DealStatusFilterEnum:
|
|
11
|
+
declare const DealStatusFilterEnum: _lssm_lib_schema126.EnumType<[string, string, string, string]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DealStatusEnum, DealStatusFilterEnum };
|