@lssm/example.crm-pipeline 0.0.0-canary-20251206181705 → 0.0.0-canary-20251207013726

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.
@@ -1,257 +1,257 @@
1
- import * as _lssm_lib_schema299 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
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/contracts/deal.d.ts
5
- declare const DealStatusFilterEnum: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
6
- declare const DealModel: _lssm_lib_schema299.SchemaModel<{
5
+ declare const DealStatusFilterEnum: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
6
+ declare const DealModel: _lssm_lib_schema0.SchemaModel<{
7
7
  id: {
8
- type: _lssm_lib_schema299.FieldType<string, string>;
8
+ type: _lssm_lib_schema0.FieldType<string, string>;
9
9
  isOptional: false;
10
10
  };
11
11
  name: {
12
- type: _lssm_lib_schema299.FieldType<string, string>;
12
+ type: _lssm_lib_schema0.FieldType<string, string>;
13
13
  isOptional: false;
14
14
  };
15
15
  value: {
16
- type: _lssm_lib_schema299.FieldType<number, number>;
16
+ type: _lssm_lib_schema0.FieldType<number, number>;
17
17
  isOptional: false;
18
18
  };
19
19
  currency: {
20
- type: _lssm_lib_schema299.FieldType<string, string>;
20
+ type: _lssm_lib_schema0.FieldType<string, string>;
21
21
  isOptional: false;
22
22
  };
23
23
  pipelineId: {
24
- type: _lssm_lib_schema299.FieldType<string, string>;
24
+ type: _lssm_lib_schema0.FieldType<string, string>;
25
25
  isOptional: false;
26
26
  };
27
27
  stageId: {
28
- type: _lssm_lib_schema299.FieldType<string, string>;
28
+ type: _lssm_lib_schema0.FieldType<string, string>;
29
29
  isOptional: false;
30
30
  };
31
31
  status: {
32
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
32
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
33
33
  isOptional: false;
34
34
  };
35
35
  contactId: {
36
- type: _lssm_lib_schema299.FieldType<string, string>;
36
+ type: _lssm_lib_schema0.FieldType<string, string>;
37
37
  isOptional: true;
38
38
  };
39
39
  companyId: {
40
- type: _lssm_lib_schema299.FieldType<string, string>;
40
+ type: _lssm_lib_schema0.FieldType<string, string>;
41
41
  isOptional: true;
42
42
  };
43
43
  ownerId: {
44
- type: _lssm_lib_schema299.FieldType<string, string>;
44
+ type: _lssm_lib_schema0.FieldType<string, string>;
45
45
  isOptional: false;
46
46
  };
47
47
  expectedCloseDate: {
48
- type: _lssm_lib_schema299.FieldType<Date, string>;
48
+ type: _lssm_lib_schema0.FieldType<Date, string>;
49
49
  isOptional: true;
50
50
  };
51
51
  createdAt: {
52
- type: _lssm_lib_schema299.FieldType<Date, string>;
52
+ type: _lssm_lib_schema0.FieldType<Date, string>;
53
53
  isOptional: false;
54
54
  };
55
55
  updatedAt: {
56
- type: _lssm_lib_schema299.FieldType<Date, string>;
56
+ type: _lssm_lib_schema0.FieldType<Date, string>;
57
57
  isOptional: false;
58
58
  };
59
59
  }>;
60
- declare const CreateDealInputModel: _lssm_lib_schema299.SchemaModel<{
60
+ declare const CreateDealInputModel: _lssm_lib_schema0.SchemaModel<{
61
61
  name: {
62
- type: _lssm_lib_schema299.FieldType<string, string>;
62
+ type: _lssm_lib_schema0.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  value: {
66
- type: _lssm_lib_schema299.FieldType<number, number>;
66
+ type: _lssm_lib_schema0.FieldType<number, number>;
67
67
  isOptional: false;
68
68
  };
69
69
  currency: {
70
- type: _lssm_lib_schema299.FieldType<string, string>;
70
+ type: _lssm_lib_schema0.FieldType<string, string>;
71
71
  isOptional: true;
72
72
  };
73
73
  pipelineId: {
74
- type: _lssm_lib_schema299.FieldType<string, string>;
74
+ type: _lssm_lib_schema0.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  stageId: {
78
- type: _lssm_lib_schema299.FieldType<string, string>;
78
+ type: _lssm_lib_schema0.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  contactId: {
82
- type: _lssm_lib_schema299.FieldType<string, string>;
82
+ type: _lssm_lib_schema0.FieldType<string, string>;
83
83
  isOptional: true;
84
84
  };
85
85
  companyId: {
86
- type: _lssm_lib_schema299.FieldType<string, string>;
86
+ type: _lssm_lib_schema0.FieldType<string, string>;
87
87
  isOptional: true;
88
88
  };
89
89
  expectedCloseDate: {
90
- type: _lssm_lib_schema299.FieldType<Date, string>;
90
+ type: _lssm_lib_schema0.FieldType<Date, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  }>;
94
- declare const MoveDealInputModel: _lssm_lib_schema299.SchemaModel<{
94
+ declare const MoveDealInputModel: _lssm_lib_schema0.SchemaModel<{
95
95
  dealId: {
96
- type: _lssm_lib_schema299.FieldType<string, string>;
96
+ type: _lssm_lib_schema0.FieldType<string, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  stageId: {
100
- type: _lssm_lib_schema299.FieldType<string, string>;
100
+ type: _lssm_lib_schema0.FieldType<string, string>;
101
101
  isOptional: false;
102
102
  };
103
103
  position: {
104
- type: _lssm_lib_schema299.FieldType<number, number>;
104
+ type: _lssm_lib_schema0.FieldType<number, number>;
105
105
  isOptional: true;
106
106
  };
107
107
  }>;
108
- declare const DealMovedPayloadModel: _lssm_lib_schema299.SchemaModel<{
108
+ declare const DealMovedPayloadModel: _lssm_lib_schema0.SchemaModel<{
109
109
  dealId: {
110
- type: _lssm_lib_schema299.FieldType<string, string>;
110
+ type: _lssm_lib_schema0.FieldType<string, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  fromStage: {
114
- type: _lssm_lib_schema299.FieldType<string, string>;
114
+ type: _lssm_lib_schema0.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  toStage: {
118
- type: _lssm_lib_schema299.FieldType<string, string>;
118
+ type: _lssm_lib_schema0.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  }>;
122
- declare const WinDealInputModel: _lssm_lib_schema299.SchemaModel<{
122
+ declare const WinDealInputModel: _lssm_lib_schema0.SchemaModel<{
123
123
  dealId: {
124
- type: _lssm_lib_schema299.FieldType<string, string>;
124
+ type: _lssm_lib_schema0.FieldType<string, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  wonSource: {
128
- type: _lssm_lib_schema299.FieldType<string, string>;
128
+ type: _lssm_lib_schema0.FieldType<string, string>;
129
129
  isOptional: true;
130
130
  };
131
131
  notes: {
132
- type: _lssm_lib_schema299.FieldType<string, string>;
132
+ type: _lssm_lib_schema0.FieldType<string, string>;
133
133
  isOptional: true;
134
134
  };
135
135
  }>;
136
- declare const DealWonPayloadModel: _lssm_lib_schema299.SchemaModel<{
136
+ declare const DealWonPayloadModel: _lssm_lib_schema0.SchemaModel<{
137
137
  dealId: {
138
- type: _lssm_lib_schema299.FieldType<string, string>;
138
+ type: _lssm_lib_schema0.FieldType<string, string>;
139
139
  isOptional: false;
140
140
  };
141
141
  value: {
142
- type: _lssm_lib_schema299.FieldType<number, number>;
142
+ type: _lssm_lib_schema0.FieldType<number, number>;
143
143
  isOptional: false;
144
144
  };
145
145
  }>;
146
- declare const LoseDealInputModel: _lssm_lib_schema299.SchemaModel<{
146
+ declare const LoseDealInputModel: _lssm_lib_schema0.SchemaModel<{
147
147
  dealId: {
148
- type: _lssm_lib_schema299.FieldType<string, string>;
148
+ type: _lssm_lib_schema0.FieldType<string, string>;
149
149
  isOptional: false;
150
150
  };
151
151
  lostReason: {
152
- type: _lssm_lib_schema299.FieldType<string, string>;
152
+ type: _lssm_lib_schema0.FieldType<string, string>;
153
153
  isOptional: false;
154
154
  };
155
155
  notes: {
156
- type: _lssm_lib_schema299.FieldType<string, string>;
156
+ type: _lssm_lib_schema0.FieldType<string, string>;
157
157
  isOptional: true;
158
158
  };
159
159
  }>;
160
- declare const DealLostPayloadModel: _lssm_lib_schema299.SchemaModel<{
160
+ declare const DealLostPayloadModel: _lssm_lib_schema0.SchemaModel<{
161
161
  dealId: {
162
- type: _lssm_lib_schema299.FieldType<string, string>;
162
+ type: _lssm_lib_schema0.FieldType<string, string>;
163
163
  isOptional: false;
164
164
  };
165
165
  reason: {
166
- type: _lssm_lib_schema299.FieldType<string, string>;
166
+ type: _lssm_lib_schema0.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  }>;
170
- declare const ListDealsInputModel: _lssm_lib_schema299.SchemaModel<{
170
+ declare const ListDealsInputModel: _lssm_lib_schema0.SchemaModel<{
171
171
  pipelineId: {
172
- type: _lssm_lib_schema299.FieldType<string, string>;
172
+ type: _lssm_lib_schema0.FieldType<string, string>;
173
173
  isOptional: true;
174
174
  };
175
175
  stageId: {
176
- type: _lssm_lib_schema299.FieldType<string, string>;
176
+ type: _lssm_lib_schema0.FieldType<string, string>;
177
177
  isOptional: true;
178
178
  };
179
179
  status: {
180
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
180
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
181
181
  isOptional: true;
182
182
  };
183
183
  ownerId: {
184
- type: _lssm_lib_schema299.FieldType<string, string>;
184
+ type: _lssm_lib_schema0.FieldType<string, string>;
185
185
  isOptional: true;
186
186
  };
187
187
  search: {
188
- type: _lssm_lib_schema299.FieldType<string, string>;
188
+ type: _lssm_lib_schema0.FieldType<string, string>;
189
189
  isOptional: true;
190
190
  };
191
191
  limit: {
192
- type: _lssm_lib_schema299.FieldType<number, number>;
192
+ type: _lssm_lib_schema0.FieldType<number, number>;
193
193
  isOptional: true;
194
194
  defaultValue: number;
195
195
  };
196
196
  offset: {
197
- type: _lssm_lib_schema299.FieldType<number, number>;
197
+ type: _lssm_lib_schema0.FieldType<number, number>;
198
198
  isOptional: true;
199
199
  defaultValue: number;
200
200
  };
201
201
  }>;
202
- declare const ListDealsOutputModel: _lssm_lib_schema299.SchemaModel<{
202
+ declare const ListDealsOutputModel: _lssm_lib_schema0.SchemaModel<{
203
203
  deals: {
204
- type: _lssm_lib_schema299.SchemaModel<{
204
+ type: _lssm_lib_schema0.SchemaModel<{
205
205
  id: {
206
- type: _lssm_lib_schema299.FieldType<string, string>;
206
+ type: _lssm_lib_schema0.FieldType<string, string>;
207
207
  isOptional: false;
208
208
  };
209
209
  name: {
210
- type: _lssm_lib_schema299.FieldType<string, string>;
210
+ type: _lssm_lib_schema0.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  value: {
214
- type: _lssm_lib_schema299.FieldType<number, number>;
214
+ type: _lssm_lib_schema0.FieldType<number, number>;
215
215
  isOptional: false;
216
216
  };
217
217
  currency: {
218
- type: _lssm_lib_schema299.FieldType<string, string>;
218
+ type: _lssm_lib_schema0.FieldType<string, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  pipelineId: {
222
- type: _lssm_lib_schema299.FieldType<string, string>;
222
+ type: _lssm_lib_schema0.FieldType<string, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  stageId: {
226
- type: _lssm_lib_schema299.FieldType<string, string>;
226
+ type: _lssm_lib_schema0.FieldType<string, string>;
227
227
  isOptional: false;
228
228
  };
229
229
  status: {
230
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
230
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
231
231
  isOptional: false;
232
232
  };
233
233
  contactId: {
234
- type: _lssm_lib_schema299.FieldType<string, string>;
234
+ type: _lssm_lib_schema0.FieldType<string, string>;
235
235
  isOptional: true;
236
236
  };
237
237
  companyId: {
238
- type: _lssm_lib_schema299.FieldType<string, string>;
238
+ type: _lssm_lib_schema0.FieldType<string, string>;
239
239
  isOptional: true;
240
240
  };
241
241
  ownerId: {
242
- type: _lssm_lib_schema299.FieldType<string, string>;
242
+ type: _lssm_lib_schema0.FieldType<string, string>;
243
243
  isOptional: false;
244
244
  };
245
245
  expectedCloseDate: {
246
- type: _lssm_lib_schema299.FieldType<Date, string>;
246
+ type: _lssm_lib_schema0.FieldType<Date, string>;
247
247
  isOptional: true;
248
248
  };
249
249
  createdAt: {
250
- type: _lssm_lib_schema299.FieldType<Date, string>;
250
+ type: _lssm_lib_schema0.FieldType<Date, string>;
251
251
  isOptional: false;
252
252
  };
253
253
  updatedAt: {
254
- type: _lssm_lib_schema299.FieldType<Date, string>;
254
+ type: _lssm_lib_schema0.FieldType<Date, string>;
255
255
  isOptional: false;
256
256
  };
257
257
  }>;
@@ -259,158 +259,158 @@ declare const ListDealsOutputModel: _lssm_lib_schema299.SchemaModel<{
259
259
  isOptional: false;
260
260
  };
261
261
  total: {
262
- type: _lssm_lib_schema299.FieldType<number, number>;
262
+ type: _lssm_lib_schema0.FieldType<number, number>;
263
263
  isOptional: false;
264
264
  };
265
265
  totalValue: {
266
- type: _lssm_lib_schema299.FieldType<number, number>;
266
+ type: _lssm_lib_schema0.FieldType<number, number>;
267
267
  isOptional: false;
268
268
  };
269
269
  }>;
270
270
  /**
271
271
  * Create a new deal.
272
272
  */
273
- declare const CreateDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema299.SchemaModel<{
273
+ declare const CreateDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
274
274
  name: {
275
- type: _lssm_lib_schema299.FieldType<string, string>;
275
+ type: _lssm_lib_schema0.FieldType<string, string>;
276
276
  isOptional: false;
277
277
  };
278
278
  value: {
279
- type: _lssm_lib_schema299.FieldType<number, number>;
279
+ type: _lssm_lib_schema0.FieldType<number, number>;
280
280
  isOptional: false;
281
281
  };
282
282
  currency: {
283
- type: _lssm_lib_schema299.FieldType<string, string>;
283
+ type: _lssm_lib_schema0.FieldType<string, string>;
284
284
  isOptional: true;
285
285
  };
286
286
  pipelineId: {
287
- type: _lssm_lib_schema299.FieldType<string, string>;
287
+ type: _lssm_lib_schema0.FieldType<string, string>;
288
288
  isOptional: false;
289
289
  };
290
290
  stageId: {
291
- type: _lssm_lib_schema299.FieldType<string, string>;
291
+ type: _lssm_lib_schema0.FieldType<string, string>;
292
292
  isOptional: false;
293
293
  };
294
294
  contactId: {
295
- type: _lssm_lib_schema299.FieldType<string, string>;
295
+ type: _lssm_lib_schema0.FieldType<string, string>;
296
296
  isOptional: true;
297
297
  };
298
298
  companyId: {
299
- type: _lssm_lib_schema299.FieldType<string, string>;
299
+ type: _lssm_lib_schema0.FieldType<string, string>;
300
300
  isOptional: true;
301
301
  };
302
302
  expectedCloseDate: {
303
- type: _lssm_lib_schema299.FieldType<Date, string>;
303
+ type: _lssm_lib_schema0.FieldType<Date, string>;
304
304
  isOptional: true;
305
305
  };
306
- }>, _lssm_lib_schema299.SchemaModel<{
306
+ }>, _lssm_lib_schema0.SchemaModel<{
307
307
  id: {
308
- type: _lssm_lib_schema299.FieldType<string, string>;
308
+ type: _lssm_lib_schema0.FieldType<string, string>;
309
309
  isOptional: false;
310
310
  };
311
311
  name: {
312
- type: _lssm_lib_schema299.FieldType<string, string>;
312
+ type: _lssm_lib_schema0.FieldType<string, string>;
313
313
  isOptional: false;
314
314
  };
315
315
  value: {
316
- type: _lssm_lib_schema299.FieldType<number, number>;
316
+ type: _lssm_lib_schema0.FieldType<number, number>;
317
317
  isOptional: false;
318
318
  };
319
319
  currency: {
320
- type: _lssm_lib_schema299.FieldType<string, string>;
320
+ type: _lssm_lib_schema0.FieldType<string, string>;
321
321
  isOptional: false;
322
322
  };
323
323
  pipelineId: {
324
- type: _lssm_lib_schema299.FieldType<string, string>;
324
+ type: _lssm_lib_schema0.FieldType<string, string>;
325
325
  isOptional: false;
326
326
  };
327
327
  stageId: {
328
- type: _lssm_lib_schema299.FieldType<string, string>;
328
+ type: _lssm_lib_schema0.FieldType<string, string>;
329
329
  isOptional: false;
330
330
  };
331
331
  status: {
332
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
332
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
333
333
  isOptional: false;
334
334
  };
335
335
  contactId: {
336
- type: _lssm_lib_schema299.FieldType<string, string>;
336
+ type: _lssm_lib_schema0.FieldType<string, string>;
337
337
  isOptional: true;
338
338
  };
339
339
  companyId: {
340
- type: _lssm_lib_schema299.FieldType<string, string>;
340
+ type: _lssm_lib_schema0.FieldType<string, string>;
341
341
  isOptional: true;
342
342
  };
343
343
  ownerId: {
344
- type: _lssm_lib_schema299.FieldType<string, string>;
344
+ type: _lssm_lib_schema0.FieldType<string, string>;
345
345
  isOptional: false;
346
346
  };
347
347
  expectedCloseDate: {
348
- type: _lssm_lib_schema299.FieldType<Date, string>;
348
+ type: _lssm_lib_schema0.FieldType<Date, string>;
349
349
  isOptional: true;
350
350
  };
351
351
  createdAt: {
352
- type: _lssm_lib_schema299.FieldType<Date, string>;
352
+ type: _lssm_lib_schema0.FieldType<Date, string>;
353
353
  isOptional: false;
354
354
  };
355
355
  updatedAt: {
356
- type: _lssm_lib_schema299.FieldType<Date, string>;
356
+ type: _lssm_lib_schema0.FieldType<Date, string>;
357
357
  isOptional: false;
358
358
  };
359
359
  }>, {
360
360
  name: string;
361
361
  version: number;
362
362
  when: string;
363
- payload: _lssm_lib_schema299.SchemaModel<{
363
+ payload: _lssm_lib_schema0.SchemaModel<{
364
364
  id: {
365
- type: _lssm_lib_schema299.FieldType<string, string>;
365
+ type: _lssm_lib_schema0.FieldType<string, string>;
366
366
  isOptional: false;
367
367
  };
368
368
  name: {
369
- type: _lssm_lib_schema299.FieldType<string, string>;
369
+ type: _lssm_lib_schema0.FieldType<string, string>;
370
370
  isOptional: false;
371
371
  };
372
372
  value: {
373
- type: _lssm_lib_schema299.FieldType<number, number>;
373
+ type: _lssm_lib_schema0.FieldType<number, number>;
374
374
  isOptional: false;
375
375
  };
376
376
  currency: {
377
- type: _lssm_lib_schema299.FieldType<string, string>;
377
+ type: _lssm_lib_schema0.FieldType<string, string>;
378
378
  isOptional: false;
379
379
  };
380
380
  pipelineId: {
381
- type: _lssm_lib_schema299.FieldType<string, string>;
381
+ type: _lssm_lib_schema0.FieldType<string, string>;
382
382
  isOptional: false;
383
383
  };
384
384
  stageId: {
385
- type: _lssm_lib_schema299.FieldType<string, string>;
385
+ type: _lssm_lib_schema0.FieldType<string, string>;
386
386
  isOptional: false;
387
387
  };
388
388
  status: {
389
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
389
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
390
390
  isOptional: false;
391
391
  };
392
392
  contactId: {
393
- type: _lssm_lib_schema299.FieldType<string, string>;
393
+ type: _lssm_lib_schema0.FieldType<string, string>;
394
394
  isOptional: true;
395
395
  };
396
396
  companyId: {
397
- type: _lssm_lib_schema299.FieldType<string, string>;
397
+ type: _lssm_lib_schema0.FieldType<string, string>;
398
398
  isOptional: true;
399
399
  };
400
400
  ownerId: {
401
- type: _lssm_lib_schema299.FieldType<string, string>;
401
+ type: _lssm_lib_schema0.FieldType<string, string>;
402
402
  isOptional: false;
403
403
  };
404
404
  expectedCloseDate: {
405
- type: _lssm_lib_schema299.FieldType<Date, string>;
405
+ type: _lssm_lib_schema0.FieldType<Date, string>;
406
406
  isOptional: true;
407
407
  };
408
408
  createdAt: {
409
- type: _lssm_lib_schema299.FieldType<Date, string>;
409
+ type: _lssm_lib_schema0.FieldType<Date, string>;
410
410
  isOptional: false;
411
411
  };
412
412
  updatedAt: {
413
- type: _lssm_lib_schema299.FieldType<Date, string>;
413
+ type: _lssm_lib_schema0.FieldType<Date, string>;
414
414
  isOptional: false;
415
415
  };
416
416
  }>;
@@ -418,87 +418,87 @@ declare const CreateDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_s
418
418
  /**
419
419
  * Move deal to a different stage.
420
420
  */
421
- declare const MoveDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema299.SchemaModel<{
421
+ declare const MoveDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
422
422
  dealId: {
423
- type: _lssm_lib_schema299.FieldType<string, string>;
423
+ type: _lssm_lib_schema0.FieldType<string, string>;
424
424
  isOptional: false;
425
425
  };
426
426
  stageId: {
427
- type: _lssm_lib_schema299.FieldType<string, string>;
427
+ type: _lssm_lib_schema0.FieldType<string, string>;
428
428
  isOptional: false;
429
429
  };
430
430
  position: {
431
- type: _lssm_lib_schema299.FieldType<number, number>;
431
+ type: _lssm_lib_schema0.FieldType<number, number>;
432
432
  isOptional: true;
433
433
  };
434
- }>, _lssm_lib_schema299.SchemaModel<{
434
+ }>, _lssm_lib_schema0.SchemaModel<{
435
435
  id: {
436
- type: _lssm_lib_schema299.FieldType<string, string>;
436
+ type: _lssm_lib_schema0.FieldType<string, string>;
437
437
  isOptional: false;
438
438
  };
439
439
  name: {
440
- type: _lssm_lib_schema299.FieldType<string, string>;
440
+ type: _lssm_lib_schema0.FieldType<string, string>;
441
441
  isOptional: false;
442
442
  };
443
443
  value: {
444
- type: _lssm_lib_schema299.FieldType<number, number>;
444
+ type: _lssm_lib_schema0.FieldType<number, number>;
445
445
  isOptional: false;
446
446
  };
447
447
  currency: {
448
- type: _lssm_lib_schema299.FieldType<string, string>;
448
+ type: _lssm_lib_schema0.FieldType<string, string>;
449
449
  isOptional: false;
450
450
  };
451
451
  pipelineId: {
452
- type: _lssm_lib_schema299.FieldType<string, string>;
452
+ type: _lssm_lib_schema0.FieldType<string, string>;
453
453
  isOptional: false;
454
454
  };
455
455
  stageId: {
456
- type: _lssm_lib_schema299.FieldType<string, string>;
456
+ type: _lssm_lib_schema0.FieldType<string, string>;
457
457
  isOptional: false;
458
458
  };
459
459
  status: {
460
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
460
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
461
461
  isOptional: false;
462
462
  };
463
463
  contactId: {
464
- type: _lssm_lib_schema299.FieldType<string, string>;
464
+ type: _lssm_lib_schema0.FieldType<string, string>;
465
465
  isOptional: true;
466
466
  };
467
467
  companyId: {
468
- type: _lssm_lib_schema299.FieldType<string, string>;
468
+ type: _lssm_lib_schema0.FieldType<string, string>;
469
469
  isOptional: true;
470
470
  };
471
471
  ownerId: {
472
- type: _lssm_lib_schema299.FieldType<string, string>;
472
+ type: _lssm_lib_schema0.FieldType<string, string>;
473
473
  isOptional: false;
474
474
  };
475
475
  expectedCloseDate: {
476
- type: _lssm_lib_schema299.FieldType<Date, string>;
476
+ type: _lssm_lib_schema0.FieldType<Date, string>;
477
477
  isOptional: true;
478
478
  };
479
479
  createdAt: {
480
- type: _lssm_lib_schema299.FieldType<Date, string>;
480
+ type: _lssm_lib_schema0.FieldType<Date, string>;
481
481
  isOptional: false;
482
482
  };
483
483
  updatedAt: {
484
- type: _lssm_lib_schema299.FieldType<Date, string>;
484
+ type: _lssm_lib_schema0.FieldType<Date, string>;
485
485
  isOptional: false;
486
486
  };
487
487
  }>, {
488
488
  name: string;
489
489
  version: number;
490
490
  when: string;
491
- payload: _lssm_lib_schema299.SchemaModel<{
491
+ payload: _lssm_lib_schema0.SchemaModel<{
492
492
  dealId: {
493
- type: _lssm_lib_schema299.FieldType<string, string>;
493
+ type: _lssm_lib_schema0.FieldType<string, string>;
494
494
  isOptional: false;
495
495
  };
496
496
  fromStage: {
497
- type: _lssm_lib_schema299.FieldType<string, string>;
497
+ type: _lssm_lib_schema0.FieldType<string, string>;
498
498
  isOptional: false;
499
499
  };
500
500
  toStage: {
501
- type: _lssm_lib_schema299.FieldType<string, string>;
501
+ type: _lssm_lib_schema0.FieldType<string, string>;
502
502
  isOptional: false;
503
503
  };
504
504
  }>;
@@ -506,83 +506,83 @@ declare const MoveDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_sch
506
506
  /**
507
507
  * Mark deal as won.
508
508
  */
509
- declare const WinDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema299.SchemaModel<{
509
+ declare const WinDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
510
510
  dealId: {
511
- type: _lssm_lib_schema299.FieldType<string, string>;
511
+ type: _lssm_lib_schema0.FieldType<string, string>;
512
512
  isOptional: false;
513
513
  };
514
514
  wonSource: {
515
- type: _lssm_lib_schema299.FieldType<string, string>;
515
+ type: _lssm_lib_schema0.FieldType<string, string>;
516
516
  isOptional: true;
517
517
  };
518
518
  notes: {
519
- type: _lssm_lib_schema299.FieldType<string, string>;
519
+ type: _lssm_lib_schema0.FieldType<string, string>;
520
520
  isOptional: true;
521
521
  };
522
- }>, _lssm_lib_schema299.SchemaModel<{
522
+ }>, _lssm_lib_schema0.SchemaModel<{
523
523
  id: {
524
- type: _lssm_lib_schema299.FieldType<string, string>;
524
+ type: _lssm_lib_schema0.FieldType<string, string>;
525
525
  isOptional: false;
526
526
  };
527
527
  name: {
528
- type: _lssm_lib_schema299.FieldType<string, string>;
528
+ type: _lssm_lib_schema0.FieldType<string, string>;
529
529
  isOptional: false;
530
530
  };
531
531
  value: {
532
- type: _lssm_lib_schema299.FieldType<number, number>;
532
+ type: _lssm_lib_schema0.FieldType<number, number>;
533
533
  isOptional: false;
534
534
  };
535
535
  currency: {
536
- type: _lssm_lib_schema299.FieldType<string, string>;
536
+ type: _lssm_lib_schema0.FieldType<string, string>;
537
537
  isOptional: false;
538
538
  };
539
539
  pipelineId: {
540
- type: _lssm_lib_schema299.FieldType<string, string>;
540
+ type: _lssm_lib_schema0.FieldType<string, string>;
541
541
  isOptional: false;
542
542
  };
543
543
  stageId: {
544
- type: _lssm_lib_schema299.FieldType<string, string>;
544
+ type: _lssm_lib_schema0.FieldType<string, string>;
545
545
  isOptional: false;
546
546
  };
547
547
  status: {
548
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
548
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
549
549
  isOptional: false;
550
550
  };
551
551
  contactId: {
552
- type: _lssm_lib_schema299.FieldType<string, string>;
552
+ type: _lssm_lib_schema0.FieldType<string, string>;
553
553
  isOptional: true;
554
554
  };
555
555
  companyId: {
556
- type: _lssm_lib_schema299.FieldType<string, string>;
556
+ type: _lssm_lib_schema0.FieldType<string, string>;
557
557
  isOptional: true;
558
558
  };
559
559
  ownerId: {
560
- type: _lssm_lib_schema299.FieldType<string, string>;
560
+ type: _lssm_lib_schema0.FieldType<string, string>;
561
561
  isOptional: false;
562
562
  };
563
563
  expectedCloseDate: {
564
- type: _lssm_lib_schema299.FieldType<Date, string>;
564
+ type: _lssm_lib_schema0.FieldType<Date, string>;
565
565
  isOptional: true;
566
566
  };
567
567
  createdAt: {
568
- type: _lssm_lib_schema299.FieldType<Date, string>;
568
+ type: _lssm_lib_schema0.FieldType<Date, string>;
569
569
  isOptional: false;
570
570
  };
571
571
  updatedAt: {
572
- type: _lssm_lib_schema299.FieldType<Date, string>;
572
+ type: _lssm_lib_schema0.FieldType<Date, string>;
573
573
  isOptional: false;
574
574
  };
575
575
  }>, {
576
576
  name: string;
577
577
  version: number;
578
578
  when: string;
579
- payload: _lssm_lib_schema299.SchemaModel<{
579
+ payload: _lssm_lib_schema0.SchemaModel<{
580
580
  dealId: {
581
- type: _lssm_lib_schema299.FieldType<string, string>;
581
+ type: _lssm_lib_schema0.FieldType<string, string>;
582
582
  isOptional: false;
583
583
  };
584
584
  value: {
585
- type: _lssm_lib_schema299.FieldType<number, number>;
585
+ type: _lssm_lib_schema0.FieldType<number, number>;
586
586
  isOptional: false;
587
587
  };
588
588
  }>;
@@ -590,83 +590,83 @@ declare const WinDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_sche
590
590
  /**
591
591
  * Mark deal as lost.
592
592
  */
593
- declare const LoseDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema299.SchemaModel<{
593
+ declare const LoseDealContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
594
594
  dealId: {
595
- type: _lssm_lib_schema299.FieldType<string, string>;
595
+ type: _lssm_lib_schema0.FieldType<string, string>;
596
596
  isOptional: false;
597
597
  };
598
598
  lostReason: {
599
- type: _lssm_lib_schema299.FieldType<string, string>;
599
+ type: _lssm_lib_schema0.FieldType<string, string>;
600
600
  isOptional: false;
601
601
  };
602
602
  notes: {
603
- type: _lssm_lib_schema299.FieldType<string, string>;
603
+ type: _lssm_lib_schema0.FieldType<string, string>;
604
604
  isOptional: true;
605
605
  };
606
- }>, _lssm_lib_schema299.SchemaModel<{
606
+ }>, _lssm_lib_schema0.SchemaModel<{
607
607
  id: {
608
- type: _lssm_lib_schema299.FieldType<string, string>;
608
+ type: _lssm_lib_schema0.FieldType<string, string>;
609
609
  isOptional: false;
610
610
  };
611
611
  name: {
612
- type: _lssm_lib_schema299.FieldType<string, string>;
612
+ type: _lssm_lib_schema0.FieldType<string, string>;
613
613
  isOptional: false;
614
614
  };
615
615
  value: {
616
- type: _lssm_lib_schema299.FieldType<number, number>;
616
+ type: _lssm_lib_schema0.FieldType<number, number>;
617
617
  isOptional: false;
618
618
  };
619
619
  currency: {
620
- type: _lssm_lib_schema299.FieldType<string, string>;
620
+ type: _lssm_lib_schema0.FieldType<string, string>;
621
621
  isOptional: false;
622
622
  };
623
623
  pipelineId: {
624
- type: _lssm_lib_schema299.FieldType<string, string>;
624
+ type: _lssm_lib_schema0.FieldType<string, string>;
625
625
  isOptional: false;
626
626
  };
627
627
  stageId: {
628
- type: _lssm_lib_schema299.FieldType<string, string>;
628
+ type: _lssm_lib_schema0.FieldType<string, string>;
629
629
  isOptional: false;
630
630
  };
631
631
  status: {
632
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
632
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
633
633
  isOptional: false;
634
634
  };
635
635
  contactId: {
636
- type: _lssm_lib_schema299.FieldType<string, string>;
636
+ type: _lssm_lib_schema0.FieldType<string, string>;
637
637
  isOptional: true;
638
638
  };
639
639
  companyId: {
640
- type: _lssm_lib_schema299.FieldType<string, string>;
640
+ type: _lssm_lib_schema0.FieldType<string, string>;
641
641
  isOptional: true;
642
642
  };
643
643
  ownerId: {
644
- type: _lssm_lib_schema299.FieldType<string, string>;
644
+ type: _lssm_lib_schema0.FieldType<string, string>;
645
645
  isOptional: false;
646
646
  };
647
647
  expectedCloseDate: {
648
- type: _lssm_lib_schema299.FieldType<Date, string>;
648
+ type: _lssm_lib_schema0.FieldType<Date, string>;
649
649
  isOptional: true;
650
650
  };
651
651
  createdAt: {
652
- type: _lssm_lib_schema299.FieldType<Date, string>;
652
+ type: _lssm_lib_schema0.FieldType<Date, string>;
653
653
  isOptional: false;
654
654
  };
655
655
  updatedAt: {
656
- type: _lssm_lib_schema299.FieldType<Date, string>;
656
+ type: _lssm_lib_schema0.FieldType<Date, string>;
657
657
  isOptional: false;
658
658
  };
659
659
  }>, {
660
660
  name: string;
661
661
  version: number;
662
662
  when: string;
663
- payload: _lssm_lib_schema299.SchemaModel<{
663
+ payload: _lssm_lib_schema0.SchemaModel<{
664
664
  dealId: {
665
- type: _lssm_lib_schema299.FieldType<string, string>;
665
+ type: _lssm_lib_schema0.FieldType<string, string>;
666
666
  isOptional: false;
667
667
  };
668
668
  reason: {
669
- type: _lssm_lib_schema299.FieldType<string, string>;
669
+ type: _lssm_lib_schema0.FieldType<string, string>;
670
670
  isOptional: false;
671
671
  };
672
672
  }>;
@@ -674,90 +674,90 @@ declare const LoseDealContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_sch
674
674
  /**
675
675
  * List deals in pipeline.
676
676
  */
677
- declare const ListDealsContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema299.SchemaModel<{
677
+ declare const ListDealsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
678
678
  pipelineId: {
679
- type: _lssm_lib_schema299.FieldType<string, string>;
679
+ type: _lssm_lib_schema0.FieldType<string, string>;
680
680
  isOptional: true;
681
681
  };
682
682
  stageId: {
683
- type: _lssm_lib_schema299.FieldType<string, string>;
683
+ type: _lssm_lib_schema0.FieldType<string, string>;
684
684
  isOptional: true;
685
685
  };
686
686
  status: {
687
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
687
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
688
688
  isOptional: true;
689
689
  };
690
690
  ownerId: {
691
- type: _lssm_lib_schema299.FieldType<string, string>;
691
+ type: _lssm_lib_schema0.FieldType<string, string>;
692
692
  isOptional: true;
693
693
  };
694
694
  search: {
695
- type: _lssm_lib_schema299.FieldType<string, string>;
695
+ type: _lssm_lib_schema0.FieldType<string, string>;
696
696
  isOptional: true;
697
697
  };
698
698
  limit: {
699
- type: _lssm_lib_schema299.FieldType<number, number>;
699
+ type: _lssm_lib_schema0.FieldType<number, number>;
700
700
  isOptional: true;
701
701
  defaultValue: number;
702
702
  };
703
703
  offset: {
704
- type: _lssm_lib_schema299.FieldType<number, number>;
704
+ type: _lssm_lib_schema0.FieldType<number, number>;
705
705
  isOptional: true;
706
706
  defaultValue: number;
707
707
  };
708
- }>, _lssm_lib_schema299.SchemaModel<{
708
+ }>, _lssm_lib_schema0.SchemaModel<{
709
709
  deals: {
710
- type: _lssm_lib_schema299.SchemaModel<{
710
+ type: _lssm_lib_schema0.SchemaModel<{
711
711
  id: {
712
- type: _lssm_lib_schema299.FieldType<string, string>;
712
+ type: _lssm_lib_schema0.FieldType<string, string>;
713
713
  isOptional: false;
714
714
  };
715
715
  name: {
716
- type: _lssm_lib_schema299.FieldType<string, string>;
716
+ type: _lssm_lib_schema0.FieldType<string, string>;
717
717
  isOptional: false;
718
718
  };
719
719
  value: {
720
- type: _lssm_lib_schema299.FieldType<number, number>;
720
+ type: _lssm_lib_schema0.FieldType<number, number>;
721
721
  isOptional: false;
722
722
  };
723
723
  currency: {
724
- type: _lssm_lib_schema299.FieldType<string, string>;
724
+ type: _lssm_lib_schema0.FieldType<string, string>;
725
725
  isOptional: false;
726
726
  };
727
727
  pipelineId: {
728
- type: _lssm_lib_schema299.FieldType<string, string>;
728
+ type: _lssm_lib_schema0.FieldType<string, string>;
729
729
  isOptional: false;
730
730
  };
731
731
  stageId: {
732
- type: _lssm_lib_schema299.FieldType<string, string>;
732
+ type: _lssm_lib_schema0.FieldType<string, string>;
733
733
  isOptional: false;
734
734
  };
735
735
  status: {
736
- type: _lssm_lib_schema299.EnumType<[string, string, string, string]>;
736
+ type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
737
737
  isOptional: false;
738
738
  };
739
739
  contactId: {
740
- type: _lssm_lib_schema299.FieldType<string, string>;
740
+ type: _lssm_lib_schema0.FieldType<string, string>;
741
741
  isOptional: true;
742
742
  };
743
743
  companyId: {
744
- type: _lssm_lib_schema299.FieldType<string, string>;
744
+ type: _lssm_lib_schema0.FieldType<string, string>;
745
745
  isOptional: true;
746
746
  };
747
747
  ownerId: {
748
- type: _lssm_lib_schema299.FieldType<string, string>;
748
+ type: _lssm_lib_schema0.FieldType<string, string>;
749
749
  isOptional: false;
750
750
  };
751
751
  expectedCloseDate: {
752
- type: _lssm_lib_schema299.FieldType<Date, string>;
752
+ type: _lssm_lib_schema0.FieldType<Date, string>;
753
753
  isOptional: true;
754
754
  };
755
755
  createdAt: {
756
- type: _lssm_lib_schema299.FieldType<Date, string>;
756
+ type: _lssm_lib_schema0.FieldType<Date, string>;
757
757
  isOptional: false;
758
758
  };
759
759
  updatedAt: {
760
- type: _lssm_lib_schema299.FieldType<Date, string>;
760
+ type: _lssm_lib_schema0.FieldType<Date, string>;
761
761
  isOptional: false;
762
762
  };
763
763
  }>;
@@ -765,11 +765,11 @@ declare const ListDealsContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_sc
765
765
  isOptional: false;
766
766
  };
767
767
  total: {
768
- type: _lssm_lib_schema299.FieldType<number, number>;
768
+ type: _lssm_lib_schema0.FieldType<number, number>;
769
769
  isOptional: false;
770
770
  };
771
771
  totalValue: {
772
- type: _lssm_lib_schema299.FieldType<number, number>;
772
+ type: _lssm_lib_schema0.FieldType<number, number>;
773
773
  isOptional: false;
774
774
  };
775
775
  }>, undefined>;