@lssm/example.workflow-system 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,333 +1,333 @@
1
- import * as _lssm_lib_schema292 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts33 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema227 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/contracts/instance.d.ts
5
- declare const WorkflowInstanceModel: _lssm_lib_schema292.SchemaModel<{
5
+ declare const WorkflowInstanceModel: _lssm_lib_schema227.SchemaModel<{
6
6
  id: {
7
- type: _lssm_lib_schema292.FieldType<string, string>;
7
+ type: _lssm_lib_schema227.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  workflowDefinitionId: {
11
- type: _lssm_lib_schema292.FieldType<string, string>;
11
+ type: _lssm_lib_schema227.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  referenceId: {
15
- type: _lssm_lib_schema292.FieldType<string, string>;
15
+ type: _lssm_lib_schema227.FieldType<string, string>;
16
16
  isOptional: true;
17
17
  };
18
18
  referenceType: {
19
- type: _lssm_lib_schema292.FieldType<string, string>;
19
+ type: _lssm_lib_schema227.FieldType<string, string>;
20
20
  isOptional: true;
21
21
  };
22
22
  status: {
23
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
23
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
24
24
  isOptional: false;
25
25
  };
26
26
  currentStepId: {
27
- type: _lssm_lib_schema292.FieldType<string, string>;
27
+ type: _lssm_lib_schema227.FieldType<string, string>;
28
28
  isOptional: true;
29
29
  };
30
30
  contextData: {
31
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
31
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
32
32
  isOptional: true;
33
33
  };
34
34
  triggeredBy: {
35
- type: _lssm_lib_schema292.FieldType<string, string>;
35
+ type: _lssm_lib_schema227.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  organizationId: {
39
- type: _lssm_lib_schema292.FieldType<string, string>;
39
+ type: _lssm_lib_schema227.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  priority: {
43
- type: _lssm_lib_schema292.FieldType<number, number>;
43
+ type: _lssm_lib_schema227.FieldType<number, number>;
44
44
  isOptional: false;
45
45
  };
46
46
  dueAt: {
47
- type: _lssm_lib_schema292.FieldType<Date, string>;
47
+ type: _lssm_lib_schema227.FieldType<Date, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  outcome: {
51
- type: _lssm_lib_schema292.FieldType<string, string>;
51
+ type: _lssm_lib_schema227.FieldType<string, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  resultData: {
55
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
55
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
56
56
  isOptional: true;
57
57
  };
58
58
  errorMessage: {
59
- type: _lssm_lib_schema292.FieldType<string, string>;
59
+ type: _lssm_lib_schema227.FieldType<string, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  createdAt: {
63
- type: _lssm_lib_schema292.FieldType<Date, string>;
63
+ type: _lssm_lib_schema227.FieldType<Date, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  startedAt: {
67
- type: _lssm_lib_schema292.FieldType<Date, string>;
67
+ type: _lssm_lib_schema227.FieldType<Date, string>;
68
68
  isOptional: true;
69
69
  };
70
70
  completedAt: {
71
- type: _lssm_lib_schema292.FieldType<Date, string>;
71
+ type: _lssm_lib_schema227.FieldType<Date, string>;
72
72
  isOptional: true;
73
73
  };
74
74
  }>;
75
- declare const StartWorkflowInputModel: _lssm_lib_schema292.SchemaModel<{
75
+ declare const StartWorkflowInputModel: _lssm_lib_schema227.SchemaModel<{
76
76
  workflowKey: {
77
- type: _lssm_lib_schema292.FieldType<string, string>;
77
+ type: _lssm_lib_schema227.FieldType<string, string>;
78
78
  isOptional: false;
79
79
  };
80
80
  contextData: {
81
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
81
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
82
82
  isOptional: true;
83
83
  };
84
84
  referenceId: {
85
- type: _lssm_lib_schema292.FieldType<string, string>;
85
+ type: _lssm_lib_schema227.FieldType<string, string>;
86
86
  isOptional: true;
87
87
  };
88
88
  referenceType: {
89
- type: _lssm_lib_schema292.FieldType<string, string>;
89
+ type: _lssm_lib_schema227.FieldType<string, string>;
90
90
  isOptional: true;
91
91
  };
92
92
  priority: {
93
- type: _lssm_lib_schema292.FieldType<number, number>;
93
+ type: _lssm_lib_schema227.FieldType<number, number>;
94
94
  isOptional: true;
95
95
  };
96
96
  dueAt: {
97
- type: _lssm_lib_schema292.FieldType<Date, string>;
97
+ type: _lssm_lib_schema227.FieldType<Date, string>;
98
98
  isOptional: true;
99
99
  };
100
100
  }>;
101
- declare const TransitionInputModel: _lssm_lib_schema292.SchemaModel<{
101
+ declare const TransitionInputModel: _lssm_lib_schema227.SchemaModel<{
102
102
  instanceId: {
103
- type: _lssm_lib_schema292.FieldType<string, string>;
103
+ type: _lssm_lib_schema227.FieldType<string, string>;
104
104
  isOptional: false;
105
105
  };
106
106
  action: {
107
- type: _lssm_lib_schema292.FieldType<string, string>;
107
+ type: _lssm_lib_schema227.FieldType<string, string>;
108
108
  isOptional: false;
109
109
  };
110
110
  data: {
111
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
111
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
112
112
  isOptional: true;
113
113
  };
114
114
  comment: {
115
- type: _lssm_lib_schema292.FieldType<string, string>;
115
+ type: _lssm_lib_schema227.FieldType<string, string>;
116
116
  isOptional: true;
117
117
  };
118
118
  }>;
119
- declare const TransitionResultModel: _lssm_lib_schema292.SchemaModel<{
119
+ declare const TransitionResultModel: _lssm_lib_schema227.SchemaModel<{
120
120
  success: {
121
- type: _lssm_lib_schema292.FieldType<boolean, boolean>;
121
+ type: _lssm_lib_schema227.FieldType<boolean, boolean>;
122
122
  isOptional: false;
123
123
  };
124
124
  instance: {
125
- type: _lssm_lib_schema292.SchemaModel<{
125
+ type: _lssm_lib_schema227.SchemaModel<{
126
126
  id: {
127
- type: _lssm_lib_schema292.FieldType<string, string>;
127
+ type: _lssm_lib_schema227.FieldType<string, string>;
128
128
  isOptional: false;
129
129
  };
130
130
  workflowDefinitionId: {
131
- type: _lssm_lib_schema292.FieldType<string, string>;
131
+ type: _lssm_lib_schema227.FieldType<string, string>;
132
132
  isOptional: false;
133
133
  };
134
134
  referenceId: {
135
- type: _lssm_lib_schema292.FieldType<string, string>;
135
+ type: _lssm_lib_schema227.FieldType<string, string>;
136
136
  isOptional: true;
137
137
  };
138
138
  referenceType: {
139
- type: _lssm_lib_schema292.FieldType<string, string>;
139
+ type: _lssm_lib_schema227.FieldType<string, string>;
140
140
  isOptional: true;
141
141
  };
142
142
  status: {
143
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
143
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
144
144
  isOptional: false;
145
145
  };
146
146
  currentStepId: {
147
- type: _lssm_lib_schema292.FieldType<string, string>;
147
+ type: _lssm_lib_schema227.FieldType<string, string>;
148
148
  isOptional: true;
149
149
  };
150
150
  contextData: {
151
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
151
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
152
152
  isOptional: true;
153
153
  };
154
154
  triggeredBy: {
155
- type: _lssm_lib_schema292.FieldType<string, string>;
155
+ type: _lssm_lib_schema227.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  organizationId: {
159
- type: _lssm_lib_schema292.FieldType<string, string>;
159
+ type: _lssm_lib_schema227.FieldType<string, string>;
160
160
  isOptional: false;
161
161
  };
162
162
  priority: {
163
- type: _lssm_lib_schema292.FieldType<number, number>;
163
+ type: _lssm_lib_schema227.FieldType<number, number>;
164
164
  isOptional: false;
165
165
  };
166
166
  dueAt: {
167
- type: _lssm_lib_schema292.FieldType<Date, string>;
167
+ type: _lssm_lib_schema227.FieldType<Date, string>;
168
168
  isOptional: true;
169
169
  };
170
170
  outcome: {
171
- type: _lssm_lib_schema292.FieldType<string, string>;
171
+ type: _lssm_lib_schema227.FieldType<string, string>;
172
172
  isOptional: true;
173
173
  };
174
174
  resultData: {
175
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
175
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
176
176
  isOptional: true;
177
177
  };
178
178
  errorMessage: {
179
- type: _lssm_lib_schema292.FieldType<string, string>;
179
+ type: _lssm_lib_schema227.FieldType<string, string>;
180
180
  isOptional: true;
181
181
  };
182
182
  createdAt: {
183
- type: _lssm_lib_schema292.FieldType<Date, string>;
183
+ type: _lssm_lib_schema227.FieldType<Date, string>;
184
184
  isOptional: false;
185
185
  };
186
186
  startedAt: {
187
- type: _lssm_lib_schema292.FieldType<Date, string>;
187
+ type: _lssm_lib_schema227.FieldType<Date, string>;
188
188
  isOptional: true;
189
189
  };
190
190
  completedAt: {
191
- type: _lssm_lib_schema292.FieldType<Date, string>;
191
+ type: _lssm_lib_schema227.FieldType<Date, string>;
192
192
  isOptional: true;
193
193
  };
194
194
  }>;
195
195
  isOptional: false;
196
196
  };
197
197
  previousStepKey: {
198
- type: _lssm_lib_schema292.FieldType<string, string>;
198
+ type: _lssm_lib_schema227.FieldType<string, string>;
199
199
  isOptional: true;
200
200
  };
201
201
  currentStepKey: {
202
- type: _lssm_lib_schema292.FieldType<string, string>;
202
+ type: _lssm_lib_schema227.FieldType<string, string>;
203
203
  isOptional: true;
204
204
  };
205
205
  message: {
206
- type: _lssm_lib_schema292.FieldType<string, string>;
206
+ type: _lssm_lib_schema227.FieldType<string, string>;
207
207
  isOptional: true;
208
208
  };
209
209
  }>;
210
- declare const PauseResumeInputModel: _lssm_lib_schema292.SchemaModel<{
210
+ declare const PauseResumeInputModel: _lssm_lib_schema227.SchemaModel<{
211
211
  instanceId: {
212
- type: _lssm_lib_schema292.FieldType<string, string>;
212
+ type: _lssm_lib_schema227.FieldType<string, string>;
213
213
  isOptional: false;
214
214
  };
215
215
  reason: {
216
- type: _lssm_lib_schema292.FieldType<string, string>;
216
+ type: _lssm_lib_schema227.FieldType<string, string>;
217
217
  isOptional: true;
218
218
  };
219
219
  }>;
220
- declare const CancelWorkflowInputModel: _lssm_lib_schema292.SchemaModel<{
220
+ declare const CancelWorkflowInputModel: _lssm_lib_schema227.SchemaModel<{
221
221
  instanceId: {
222
- type: _lssm_lib_schema292.FieldType<string, string>;
222
+ type: _lssm_lib_schema227.FieldType<string, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  reason: {
226
- type: _lssm_lib_schema292.FieldType<string, string>;
226
+ type: _lssm_lib_schema227.FieldType<string, string>;
227
227
  isOptional: false;
228
228
  };
229
229
  }>;
230
- declare const ListInstancesInputModel: _lssm_lib_schema292.SchemaModel<{
230
+ declare const ListInstancesInputModel: _lssm_lib_schema227.SchemaModel<{
231
231
  workflowKey: {
232
- type: _lssm_lib_schema292.FieldType<string, string>;
232
+ type: _lssm_lib_schema227.FieldType<string, string>;
233
233
  isOptional: true;
234
234
  };
235
235
  status: {
236
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
236
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
237
237
  isOptional: true;
238
238
  };
239
239
  referenceType: {
240
- type: _lssm_lib_schema292.FieldType<string, string>;
240
+ type: _lssm_lib_schema227.FieldType<string, string>;
241
241
  isOptional: true;
242
242
  };
243
243
  referenceId: {
244
- type: _lssm_lib_schema292.FieldType<string, string>;
244
+ type: _lssm_lib_schema227.FieldType<string, string>;
245
245
  isOptional: true;
246
246
  };
247
247
  triggeredBy: {
248
- type: _lssm_lib_schema292.FieldType<string, string>;
248
+ type: _lssm_lib_schema227.FieldType<string, string>;
249
249
  isOptional: true;
250
250
  };
251
251
  limit: {
252
- type: _lssm_lib_schema292.FieldType<number, number>;
252
+ type: _lssm_lib_schema227.FieldType<number, number>;
253
253
  isOptional: true;
254
254
  defaultValue: number;
255
255
  };
256
256
  offset: {
257
- type: _lssm_lib_schema292.FieldType<number, number>;
257
+ type: _lssm_lib_schema227.FieldType<number, number>;
258
258
  isOptional: true;
259
259
  defaultValue: number;
260
260
  };
261
261
  }>;
262
- declare const ListInstancesOutputModel: _lssm_lib_schema292.SchemaModel<{
262
+ declare const ListInstancesOutputModel: _lssm_lib_schema227.SchemaModel<{
263
263
  instances: {
264
- type: _lssm_lib_schema292.SchemaModel<{
264
+ type: _lssm_lib_schema227.SchemaModel<{
265
265
  id: {
266
- type: _lssm_lib_schema292.FieldType<string, string>;
266
+ type: _lssm_lib_schema227.FieldType<string, string>;
267
267
  isOptional: false;
268
268
  };
269
269
  workflowDefinitionId: {
270
- type: _lssm_lib_schema292.FieldType<string, string>;
270
+ type: _lssm_lib_schema227.FieldType<string, string>;
271
271
  isOptional: false;
272
272
  };
273
273
  referenceId: {
274
- type: _lssm_lib_schema292.FieldType<string, string>;
274
+ type: _lssm_lib_schema227.FieldType<string, string>;
275
275
  isOptional: true;
276
276
  };
277
277
  referenceType: {
278
- type: _lssm_lib_schema292.FieldType<string, string>;
278
+ type: _lssm_lib_schema227.FieldType<string, string>;
279
279
  isOptional: true;
280
280
  };
281
281
  status: {
282
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
282
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
283
283
  isOptional: false;
284
284
  };
285
285
  currentStepId: {
286
- type: _lssm_lib_schema292.FieldType<string, string>;
286
+ type: _lssm_lib_schema227.FieldType<string, string>;
287
287
  isOptional: true;
288
288
  };
289
289
  contextData: {
290
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
290
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
291
291
  isOptional: true;
292
292
  };
293
293
  triggeredBy: {
294
- type: _lssm_lib_schema292.FieldType<string, string>;
294
+ type: _lssm_lib_schema227.FieldType<string, string>;
295
295
  isOptional: false;
296
296
  };
297
297
  organizationId: {
298
- type: _lssm_lib_schema292.FieldType<string, string>;
298
+ type: _lssm_lib_schema227.FieldType<string, string>;
299
299
  isOptional: false;
300
300
  };
301
301
  priority: {
302
- type: _lssm_lib_schema292.FieldType<number, number>;
302
+ type: _lssm_lib_schema227.FieldType<number, number>;
303
303
  isOptional: false;
304
304
  };
305
305
  dueAt: {
306
- type: _lssm_lib_schema292.FieldType<Date, string>;
306
+ type: _lssm_lib_schema227.FieldType<Date, string>;
307
307
  isOptional: true;
308
308
  };
309
309
  outcome: {
310
- type: _lssm_lib_schema292.FieldType<string, string>;
310
+ type: _lssm_lib_schema227.FieldType<string, string>;
311
311
  isOptional: true;
312
312
  };
313
313
  resultData: {
314
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
314
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
315
315
  isOptional: true;
316
316
  };
317
317
  errorMessage: {
318
- type: _lssm_lib_schema292.FieldType<string, string>;
318
+ type: _lssm_lib_schema227.FieldType<string, string>;
319
319
  isOptional: true;
320
320
  };
321
321
  createdAt: {
322
- type: _lssm_lib_schema292.FieldType<Date, string>;
322
+ type: _lssm_lib_schema227.FieldType<Date, string>;
323
323
  isOptional: false;
324
324
  };
325
325
  startedAt: {
326
- type: _lssm_lib_schema292.FieldType<Date, string>;
326
+ type: _lssm_lib_schema227.FieldType<Date, string>;
327
327
  isOptional: true;
328
328
  };
329
329
  completedAt: {
330
- type: _lssm_lib_schema292.FieldType<Date, string>;
330
+ type: _lssm_lib_schema227.FieldType<Date, string>;
331
331
  isOptional: true;
332
332
  };
333
333
  }>;
@@ -335,178 +335,178 @@ declare const ListInstancesOutputModel: _lssm_lib_schema292.SchemaModel<{
335
335
  isOptional: false;
336
336
  };
337
337
  total: {
338
- type: _lssm_lib_schema292.FieldType<number, number>;
338
+ type: _lssm_lib_schema227.FieldType<number, number>;
339
339
  isOptional: false;
340
340
  };
341
341
  }>;
342
342
  /**
343
343
  * Start a new workflow instance.
344
344
  */
345
- declare const StartWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
345
+ declare const StartWorkflowContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
346
346
  workflowKey: {
347
- type: _lssm_lib_schema292.FieldType<string, string>;
347
+ type: _lssm_lib_schema227.FieldType<string, string>;
348
348
  isOptional: false;
349
349
  };
350
350
  contextData: {
351
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
351
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
352
352
  isOptional: true;
353
353
  };
354
354
  referenceId: {
355
- type: _lssm_lib_schema292.FieldType<string, string>;
355
+ type: _lssm_lib_schema227.FieldType<string, string>;
356
356
  isOptional: true;
357
357
  };
358
358
  referenceType: {
359
- type: _lssm_lib_schema292.FieldType<string, string>;
359
+ type: _lssm_lib_schema227.FieldType<string, string>;
360
360
  isOptional: true;
361
361
  };
362
362
  priority: {
363
- type: _lssm_lib_schema292.FieldType<number, number>;
363
+ type: _lssm_lib_schema227.FieldType<number, number>;
364
364
  isOptional: true;
365
365
  };
366
366
  dueAt: {
367
- type: _lssm_lib_schema292.FieldType<Date, string>;
367
+ type: _lssm_lib_schema227.FieldType<Date, string>;
368
368
  isOptional: true;
369
369
  };
370
- }>, _lssm_lib_schema292.SchemaModel<{
370
+ }>, _lssm_lib_schema227.SchemaModel<{
371
371
  id: {
372
- type: _lssm_lib_schema292.FieldType<string, string>;
372
+ type: _lssm_lib_schema227.FieldType<string, string>;
373
373
  isOptional: false;
374
374
  };
375
375
  workflowDefinitionId: {
376
- type: _lssm_lib_schema292.FieldType<string, string>;
376
+ type: _lssm_lib_schema227.FieldType<string, string>;
377
377
  isOptional: false;
378
378
  };
379
379
  referenceId: {
380
- type: _lssm_lib_schema292.FieldType<string, string>;
380
+ type: _lssm_lib_schema227.FieldType<string, string>;
381
381
  isOptional: true;
382
382
  };
383
383
  referenceType: {
384
- type: _lssm_lib_schema292.FieldType<string, string>;
384
+ type: _lssm_lib_schema227.FieldType<string, string>;
385
385
  isOptional: true;
386
386
  };
387
387
  status: {
388
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
388
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
389
389
  isOptional: false;
390
390
  };
391
391
  currentStepId: {
392
- type: _lssm_lib_schema292.FieldType<string, string>;
392
+ type: _lssm_lib_schema227.FieldType<string, string>;
393
393
  isOptional: true;
394
394
  };
395
395
  contextData: {
396
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
396
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
397
397
  isOptional: true;
398
398
  };
399
399
  triggeredBy: {
400
- type: _lssm_lib_schema292.FieldType<string, string>;
400
+ type: _lssm_lib_schema227.FieldType<string, string>;
401
401
  isOptional: false;
402
402
  };
403
403
  organizationId: {
404
- type: _lssm_lib_schema292.FieldType<string, string>;
404
+ type: _lssm_lib_schema227.FieldType<string, string>;
405
405
  isOptional: false;
406
406
  };
407
407
  priority: {
408
- type: _lssm_lib_schema292.FieldType<number, number>;
408
+ type: _lssm_lib_schema227.FieldType<number, number>;
409
409
  isOptional: false;
410
410
  };
411
411
  dueAt: {
412
- type: _lssm_lib_schema292.FieldType<Date, string>;
412
+ type: _lssm_lib_schema227.FieldType<Date, string>;
413
413
  isOptional: true;
414
414
  };
415
415
  outcome: {
416
- type: _lssm_lib_schema292.FieldType<string, string>;
416
+ type: _lssm_lib_schema227.FieldType<string, string>;
417
417
  isOptional: true;
418
418
  };
419
419
  resultData: {
420
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
420
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
421
421
  isOptional: true;
422
422
  };
423
423
  errorMessage: {
424
- type: _lssm_lib_schema292.FieldType<string, string>;
424
+ type: _lssm_lib_schema227.FieldType<string, string>;
425
425
  isOptional: true;
426
426
  };
427
427
  createdAt: {
428
- type: _lssm_lib_schema292.FieldType<Date, string>;
428
+ type: _lssm_lib_schema227.FieldType<Date, string>;
429
429
  isOptional: false;
430
430
  };
431
431
  startedAt: {
432
- type: _lssm_lib_schema292.FieldType<Date, string>;
432
+ type: _lssm_lib_schema227.FieldType<Date, string>;
433
433
  isOptional: true;
434
434
  };
435
435
  completedAt: {
436
- type: _lssm_lib_schema292.FieldType<Date, string>;
436
+ type: _lssm_lib_schema227.FieldType<Date, string>;
437
437
  isOptional: true;
438
438
  };
439
439
  }>, {
440
440
  name: string;
441
441
  version: number;
442
442
  when: string;
443
- payload: _lssm_lib_schema292.SchemaModel<{
443
+ payload: _lssm_lib_schema227.SchemaModel<{
444
444
  id: {
445
- type: _lssm_lib_schema292.FieldType<string, string>;
445
+ type: _lssm_lib_schema227.FieldType<string, string>;
446
446
  isOptional: false;
447
447
  };
448
448
  workflowDefinitionId: {
449
- type: _lssm_lib_schema292.FieldType<string, string>;
449
+ type: _lssm_lib_schema227.FieldType<string, string>;
450
450
  isOptional: false;
451
451
  };
452
452
  referenceId: {
453
- type: _lssm_lib_schema292.FieldType<string, string>;
453
+ type: _lssm_lib_schema227.FieldType<string, string>;
454
454
  isOptional: true;
455
455
  };
456
456
  referenceType: {
457
- type: _lssm_lib_schema292.FieldType<string, string>;
457
+ type: _lssm_lib_schema227.FieldType<string, string>;
458
458
  isOptional: true;
459
459
  };
460
460
  status: {
461
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
461
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
462
462
  isOptional: false;
463
463
  };
464
464
  currentStepId: {
465
- type: _lssm_lib_schema292.FieldType<string, string>;
465
+ type: _lssm_lib_schema227.FieldType<string, string>;
466
466
  isOptional: true;
467
467
  };
468
468
  contextData: {
469
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
469
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
470
470
  isOptional: true;
471
471
  };
472
472
  triggeredBy: {
473
- type: _lssm_lib_schema292.FieldType<string, string>;
473
+ type: _lssm_lib_schema227.FieldType<string, string>;
474
474
  isOptional: false;
475
475
  };
476
476
  organizationId: {
477
- type: _lssm_lib_schema292.FieldType<string, string>;
477
+ type: _lssm_lib_schema227.FieldType<string, string>;
478
478
  isOptional: false;
479
479
  };
480
480
  priority: {
481
- type: _lssm_lib_schema292.FieldType<number, number>;
481
+ type: _lssm_lib_schema227.FieldType<number, number>;
482
482
  isOptional: false;
483
483
  };
484
484
  dueAt: {
485
- type: _lssm_lib_schema292.FieldType<Date, string>;
485
+ type: _lssm_lib_schema227.FieldType<Date, string>;
486
486
  isOptional: true;
487
487
  };
488
488
  outcome: {
489
- type: _lssm_lib_schema292.FieldType<string, string>;
489
+ type: _lssm_lib_schema227.FieldType<string, string>;
490
490
  isOptional: true;
491
491
  };
492
492
  resultData: {
493
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
493
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
494
494
  isOptional: true;
495
495
  };
496
496
  errorMessage: {
497
- type: _lssm_lib_schema292.FieldType<string, string>;
497
+ type: _lssm_lib_schema227.FieldType<string, string>;
498
498
  isOptional: true;
499
499
  };
500
500
  createdAt: {
501
- type: _lssm_lib_schema292.FieldType<Date, string>;
501
+ type: _lssm_lib_schema227.FieldType<Date, string>;
502
502
  isOptional: false;
503
503
  };
504
504
  startedAt: {
505
- type: _lssm_lib_schema292.FieldType<Date, string>;
505
+ type: _lssm_lib_schema227.FieldType<Date, string>;
506
506
  isOptional: true;
507
507
  };
508
508
  completedAt: {
509
- type: _lssm_lib_schema292.FieldType<Date, string>;
509
+ type: _lssm_lib_schema227.FieldType<Date, string>;
510
510
  isOptional: true;
511
511
  };
512
512
  }>;
@@ -514,184 +514,184 @@ declare const StartWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_li
514
514
  /**
515
515
  * Transition workflow to next step.
516
516
  */
517
- declare const TransitionWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
517
+ declare const TransitionWorkflowContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
518
518
  instanceId: {
519
- type: _lssm_lib_schema292.FieldType<string, string>;
519
+ type: _lssm_lib_schema227.FieldType<string, string>;
520
520
  isOptional: false;
521
521
  };
522
522
  action: {
523
- type: _lssm_lib_schema292.FieldType<string, string>;
523
+ type: _lssm_lib_schema227.FieldType<string, string>;
524
524
  isOptional: false;
525
525
  };
526
526
  data: {
527
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
527
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
528
528
  isOptional: true;
529
529
  };
530
530
  comment: {
531
- type: _lssm_lib_schema292.FieldType<string, string>;
531
+ type: _lssm_lib_schema227.FieldType<string, string>;
532
532
  isOptional: true;
533
533
  };
534
- }>, _lssm_lib_schema292.SchemaModel<{
534
+ }>, _lssm_lib_schema227.SchemaModel<{
535
535
  success: {
536
- type: _lssm_lib_schema292.FieldType<boolean, boolean>;
536
+ type: _lssm_lib_schema227.FieldType<boolean, boolean>;
537
537
  isOptional: false;
538
538
  };
539
539
  instance: {
540
- type: _lssm_lib_schema292.SchemaModel<{
540
+ type: _lssm_lib_schema227.SchemaModel<{
541
541
  id: {
542
- type: _lssm_lib_schema292.FieldType<string, string>;
542
+ type: _lssm_lib_schema227.FieldType<string, string>;
543
543
  isOptional: false;
544
544
  };
545
545
  workflowDefinitionId: {
546
- type: _lssm_lib_schema292.FieldType<string, string>;
546
+ type: _lssm_lib_schema227.FieldType<string, string>;
547
547
  isOptional: false;
548
548
  };
549
549
  referenceId: {
550
- type: _lssm_lib_schema292.FieldType<string, string>;
550
+ type: _lssm_lib_schema227.FieldType<string, string>;
551
551
  isOptional: true;
552
552
  };
553
553
  referenceType: {
554
- type: _lssm_lib_schema292.FieldType<string, string>;
554
+ type: _lssm_lib_schema227.FieldType<string, string>;
555
555
  isOptional: true;
556
556
  };
557
557
  status: {
558
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
558
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
559
559
  isOptional: false;
560
560
  };
561
561
  currentStepId: {
562
- type: _lssm_lib_schema292.FieldType<string, string>;
562
+ type: _lssm_lib_schema227.FieldType<string, string>;
563
563
  isOptional: true;
564
564
  };
565
565
  contextData: {
566
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
566
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
567
567
  isOptional: true;
568
568
  };
569
569
  triggeredBy: {
570
- type: _lssm_lib_schema292.FieldType<string, string>;
570
+ type: _lssm_lib_schema227.FieldType<string, string>;
571
571
  isOptional: false;
572
572
  };
573
573
  organizationId: {
574
- type: _lssm_lib_schema292.FieldType<string, string>;
574
+ type: _lssm_lib_schema227.FieldType<string, string>;
575
575
  isOptional: false;
576
576
  };
577
577
  priority: {
578
- type: _lssm_lib_schema292.FieldType<number, number>;
578
+ type: _lssm_lib_schema227.FieldType<number, number>;
579
579
  isOptional: false;
580
580
  };
581
581
  dueAt: {
582
- type: _lssm_lib_schema292.FieldType<Date, string>;
582
+ type: _lssm_lib_schema227.FieldType<Date, string>;
583
583
  isOptional: true;
584
584
  };
585
585
  outcome: {
586
- type: _lssm_lib_schema292.FieldType<string, string>;
586
+ type: _lssm_lib_schema227.FieldType<string, string>;
587
587
  isOptional: true;
588
588
  };
589
589
  resultData: {
590
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
590
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
591
591
  isOptional: true;
592
592
  };
593
593
  errorMessage: {
594
- type: _lssm_lib_schema292.FieldType<string, string>;
594
+ type: _lssm_lib_schema227.FieldType<string, string>;
595
595
  isOptional: true;
596
596
  };
597
597
  createdAt: {
598
- type: _lssm_lib_schema292.FieldType<Date, string>;
598
+ type: _lssm_lib_schema227.FieldType<Date, string>;
599
599
  isOptional: false;
600
600
  };
601
601
  startedAt: {
602
- type: _lssm_lib_schema292.FieldType<Date, string>;
602
+ type: _lssm_lib_schema227.FieldType<Date, string>;
603
603
  isOptional: true;
604
604
  };
605
605
  completedAt: {
606
- type: _lssm_lib_schema292.FieldType<Date, string>;
606
+ type: _lssm_lib_schema227.FieldType<Date, string>;
607
607
  isOptional: true;
608
608
  };
609
609
  }>;
610
610
  isOptional: false;
611
611
  };
612
612
  previousStepKey: {
613
- type: _lssm_lib_schema292.FieldType<string, string>;
613
+ type: _lssm_lib_schema227.FieldType<string, string>;
614
614
  isOptional: true;
615
615
  };
616
616
  currentStepKey: {
617
- type: _lssm_lib_schema292.FieldType<string, string>;
617
+ type: _lssm_lib_schema227.FieldType<string, string>;
618
618
  isOptional: true;
619
619
  };
620
620
  message: {
621
- type: _lssm_lib_schema292.FieldType<string, string>;
621
+ type: _lssm_lib_schema227.FieldType<string, string>;
622
622
  isOptional: true;
623
623
  };
624
624
  }>, {
625
625
  name: string;
626
626
  version: number;
627
627
  when: string;
628
- payload: _lssm_lib_schema292.SchemaModel<{
628
+ payload: _lssm_lib_schema227.SchemaModel<{
629
629
  id: {
630
- type: _lssm_lib_schema292.FieldType<string, string>;
630
+ type: _lssm_lib_schema227.FieldType<string, string>;
631
631
  isOptional: false;
632
632
  };
633
633
  workflowDefinitionId: {
634
- type: _lssm_lib_schema292.FieldType<string, string>;
634
+ type: _lssm_lib_schema227.FieldType<string, string>;
635
635
  isOptional: false;
636
636
  };
637
637
  referenceId: {
638
- type: _lssm_lib_schema292.FieldType<string, string>;
638
+ type: _lssm_lib_schema227.FieldType<string, string>;
639
639
  isOptional: true;
640
640
  };
641
641
  referenceType: {
642
- type: _lssm_lib_schema292.FieldType<string, string>;
642
+ type: _lssm_lib_schema227.FieldType<string, string>;
643
643
  isOptional: true;
644
644
  };
645
645
  status: {
646
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
646
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
647
647
  isOptional: false;
648
648
  };
649
649
  currentStepId: {
650
- type: _lssm_lib_schema292.FieldType<string, string>;
650
+ type: _lssm_lib_schema227.FieldType<string, string>;
651
651
  isOptional: true;
652
652
  };
653
653
  contextData: {
654
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
654
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
655
655
  isOptional: true;
656
656
  };
657
657
  triggeredBy: {
658
- type: _lssm_lib_schema292.FieldType<string, string>;
658
+ type: _lssm_lib_schema227.FieldType<string, string>;
659
659
  isOptional: false;
660
660
  };
661
661
  organizationId: {
662
- type: _lssm_lib_schema292.FieldType<string, string>;
662
+ type: _lssm_lib_schema227.FieldType<string, string>;
663
663
  isOptional: false;
664
664
  };
665
665
  priority: {
666
- type: _lssm_lib_schema292.FieldType<number, number>;
666
+ type: _lssm_lib_schema227.FieldType<number, number>;
667
667
  isOptional: false;
668
668
  };
669
669
  dueAt: {
670
- type: _lssm_lib_schema292.FieldType<Date, string>;
670
+ type: _lssm_lib_schema227.FieldType<Date, string>;
671
671
  isOptional: true;
672
672
  };
673
673
  outcome: {
674
- type: _lssm_lib_schema292.FieldType<string, string>;
674
+ type: _lssm_lib_schema227.FieldType<string, string>;
675
675
  isOptional: true;
676
676
  };
677
677
  resultData: {
678
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
678
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
679
679
  isOptional: true;
680
680
  };
681
681
  errorMessage: {
682
- type: _lssm_lib_schema292.FieldType<string, string>;
682
+ type: _lssm_lib_schema227.FieldType<string, string>;
683
683
  isOptional: true;
684
684
  };
685
685
  createdAt: {
686
- type: _lssm_lib_schema292.FieldType<Date, string>;
686
+ type: _lssm_lib_schema227.FieldType<Date, string>;
687
687
  isOptional: false;
688
688
  };
689
689
  startedAt: {
690
- type: _lssm_lib_schema292.FieldType<Date, string>;
690
+ type: _lssm_lib_schema227.FieldType<Date, string>;
691
691
  isOptional: true;
692
692
  };
693
693
  completedAt: {
694
- type: _lssm_lib_schema292.FieldType<Date, string>;
694
+ type: _lssm_lib_schema227.FieldType<Date, string>;
695
695
  isOptional: true;
696
696
  };
697
697
  }>;
@@ -699,155 +699,155 @@ declare const TransitionWorkflowContract: _lssm_lib_contracts33.ContractSpec<_ls
699
699
  /**
700
700
  * Pause a running workflow.
701
701
  */
702
- declare const PauseWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
702
+ declare const PauseWorkflowContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
703
703
  instanceId: {
704
- type: _lssm_lib_schema292.FieldType<string, string>;
704
+ type: _lssm_lib_schema227.FieldType<string, string>;
705
705
  isOptional: false;
706
706
  };
707
707
  reason: {
708
- type: _lssm_lib_schema292.FieldType<string, string>;
708
+ type: _lssm_lib_schema227.FieldType<string, string>;
709
709
  isOptional: true;
710
710
  };
711
- }>, _lssm_lib_schema292.SchemaModel<{
711
+ }>, _lssm_lib_schema227.SchemaModel<{
712
712
  id: {
713
- type: _lssm_lib_schema292.FieldType<string, string>;
713
+ type: _lssm_lib_schema227.FieldType<string, string>;
714
714
  isOptional: false;
715
715
  };
716
716
  workflowDefinitionId: {
717
- type: _lssm_lib_schema292.FieldType<string, string>;
717
+ type: _lssm_lib_schema227.FieldType<string, string>;
718
718
  isOptional: false;
719
719
  };
720
720
  referenceId: {
721
- type: _lssm_lib_schema292.FieldType<string, string>;
721
+ type: _lssm_lib_schema227.FieldType<string, string>;
722
722
  isOptional: true;
723
723
  };
724
724
  referenceType: {
725
- type: _lssm_lib_schema292.FieldType<string, string>;
725
+ type: _lssm_lib_schema227.FieldType<string, string>;
726
726
  isOptional: true;
727
727
  };
728
728
  status: {
729
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
729
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
730
730
  isOptional: false;
731
731
  };
732
732
  currentStepId: {
733
- type: _lssm_lib_schema292.FieldType<string, string>;
733
+ type: _lssm_lib_schema227.FieldType<string, string>;
734
734
  isOptional: true;
735
735
  };
736
736
  contextData: {
737
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
737
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
738
738
  isOptional: true;
739
739
  };
740
740
  triggeredBy: {
741
- type: _lssm_lib_schema292.FieldType<string, string>;
741
+ type: _lssm_lib_schema227.FieldType<string, string>;
742
742
  isOptional: false;
743
743
  };
744
744
  organizationId: {
745
- type: _lssm_lib_schema292.FieldType<string, string>;
745
+ type: _lssm_lib_schema227.FieldType<string, string>;
746
746
  isOptional: false;
747
747
  };
748
748
  priority: {
749
- type: _lssm_lib_schema292.FieldType<number, number>;
749
+ type: _lssm_lib_schema227.FieldType<number, number>;
750
750
  isOptional: false;
751
751
  };
752
752
  dueAt: {
753
- type: _lssm_lib_schema292.FieldType<Date, string>;
753
+ type: _lssm_lib_schema227.FieldType<Date, string>;
754
754
  isOptional: true;
755
755
  };
756
756
  outcome: {
757
- type: _lssm_lib_schema292.FieldType<string, string>;
757
+ type: _lssm_lib_schema227.FieldType<string, string>;
758
758
  isOptional: true;
759
759
  };
760
760
  resultData: {
761
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
761
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
762
762
  isOptional: true;
763
763
  };
764
764
  errorMessage: {
765
- type: _lssm_lib_schema292.FieldType<string, string>;
765
+ type: _lssm_lib_schema227.FieldType<string, string>;
766
766
  isOptional: true;
767
767
  };
768
768
  createdAt: {
769
- type: _lssm_lib_schema292.FieldType<Date, string>;
769
+ type: _lssm_lib_schema227.FieldType<Date, string>;
770
770
  isOptional: false;
771
771
  };
772
772
  startedAt: {
773
- type: _lssm_lib_schema292.FieldType<Date, string>;
773
+ type: _lssm_lib_schema227.FieldType<Date, string>;
774
774
  isOptional: true;
775
775
  };
776
776
  completedAt: {
777
- type: _lssm_lib_schema292.FieldType<Date, string>;
777
+ type: _lssm_lib_schema227.FieldType<Date, string>;
778
778
  isOptional: true;
779
779
  };
780
780
  }>, {
781
781
  name: string;
782
782
  version: number;
783
783
  when: string;
784
- payload: _lssm_lib_schema292.SchemaModel<{
784
+ payload: _lssm_lib_schema227.SchemaModel<{
785
785
  id: {
786
- type: _lssm_lib_schema292.FieldType<string, string>;
786
+ type: _lssm_lib_schema227.FieldType<string, string>;
787
787
  isOptional: false;
788
788
  };
789
789
  workflowDefinitionId: {
790
- type: _lssm_lib_schema292.FieldType<string, string>;
790
+ type: _lssm_lib_schema227.FieldType<string, string>;
791
791
  isOptional: false;
792
792
  };
793
793
  referenceId: {
794
- type: _lssm_lib_schema292.FieldType<string, string>;
794
+ type: _lssm_lib_schema227.FieldType<string, string>;
795
795
  isOptional: true;
796
796
  };
797
797
  referenceType: {
798
- type: _lssm_lib_schema292.FieldType<string, string>;
798
+ type: _lssm_lib_schema227.FieldType<string, string>;
799
799
  isOptional: true;
800
800
  };
801
801
  status: {
802
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
802
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
803
803
  isOptional: false;
804
804
  };
805
805
  currentStepId: {
806
- type: _lssm_lib_schema292.FieldType<string, string>;
806
+ type: _lssm_lib_schema227.FieldType<string, string>;
807
807
  isOptional: true;
808
808
  };
809
809
  contextData: {
810
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
810
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
811
811
  isOptional: true;
812
812
  };
813
813
  triggeredBy: {
814
- type: _lssm_lib_schema292.FieldType<string, string>;
814
+ type: _lssm_lib_schema227.FieldType<string, string>;
815
815
  isOptional: false;
816
816
  };
817
817
  organizationId: {
818
- type: _lssm_lib_schema292.FieldType<string, string>;
818
+ type: _lssm_lib_schema227.FieldType<string, string>;
819
819
  isOptional: false;
820
820
  };
821
821
  priority: {
822
- type: _lssm_lib_schema292.FieldType<number, number>;
822
+ type: _lssm_lib_schema227.FieldType<number, number>;
823
823
  isOptional: false;
824
824
  };
825
825
  dueAt: {
826
- type: _lssm_lib_schema292.FieldType<Date, string>;
826
+ type: _lssm_lib_schema227.FieldType<Date, string>;
827
827
  isOptional: true;
828
828
  };
829
829
  outcome: {
830
- type: _lssm_lib_schema292.FieldType<string, string>;
830
+ type: _lssm_lib_schema227.FieldType<string, string>;
831
831
  isOptional: true;
832
832
  };
833
833
  resultData: {
834
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
834
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
835
835
  isOptional: true;
836
836
  };
837
837
  errorMessage: {
838
- type: _lssm_lib_schema292.FieldType<string, string>;
838
+ type: _lssm_lib_schema227.FieldType<string, string>;
839
839
  isOptional: true;
840
840
  };
841
841
  createdAt: {
842
- type: _lssm_lib_schema292.FieldType<Date, string>;
842
+ type: _lssm_lib_schema227.FieldType<Date, string>;
843
843
  isOptional: false;
844
844
  };
845
845
  startedAt: {
846
- type: _lssm_lib_schema292.FieldType<Date, string>;
846
+ type: _lssm_lib_schema227.FieldType<Date, string>;
847
847
  isOptional: true;
848
848
  };
849
849
  completedAt: {
850
- type: _lssm_lib_schema292.FieldType<Date, string>;
850
+ type: _lssm_lib_schema227.FieldType<Date, string>;
851
851
  isOptional: true;
852
852
  };
853
853
  }>;
@@ -855,155 +855,155 @@ declare const PauseWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_li
855
855
  /**
856
856
  * Resume a paused workflow.
857
857
  */
858
- declare const ResumeWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
858
+ declare const ResumeWorkflowContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
859
859
  instanceId: {
860
- type: _lssm_lib_schema292.FieldType<string, string>;
860
+ type: _lssm_lib_schema227.FieldType<string, string>;
861
861
  isOptional: false;
862
862
  };
863
863
  reason: {
864
- type: _lssm_lib_schema292.FieldType<string, string>;
864
+ type: _lssm_lib_schema227.FieldType<string, string>;
865
865
  isOptional: true;
866
866
  };
867
- }>, _lssm_lib_schema292.SchemaModel<{
867
+ }>, _lssm_lib_schema227.SchemaModel<{
868
868
  id: {
869
- type: _lssm_lib_schema292.FieldType<string, string>;
869
+ type: _lssm_lib_schema227.FieldType<string, string>;
870
870
  isOptional: false;
871
871
  };
872
872
  workflowDefinitionId: {
873
- type: _lssm_lib_schema292.FieldType<string, string>;
873
+ type: _lssm_lib_schema227.FieldType<string, string>;
874
874
  isOptional: false;
875
875
  };
876
876
  referenceId: {
877
- type: _lssm_lib_schema292.FieldType<string, string>;
877
+ type: _lssm_lib_schema227.FieldType<string, string>;
878
878
  isOptional: true;
879
879
  };
880
880
  referenceType: {
881
- type: _lssm_lib_schema292.FieldType<string, string>;
881
+ type: _lssm_lib_schema227.FieldType<string, string>;
882
882
  isOptional: true;
883
883
  };
884
884
  status: {
885
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
885
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
886
886
  isOptional: false;
887
887
  };
888
888
  currentStepId: {
889
- type: _lssm_lib_schema292.FieldType<string, string>;
889
+ type: _lssm_lib_schema227.FieldType<string, string>;
890
890
  isOptional: true;
891
891
  };
892
892
  contextData: {
893
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
893
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
894
894
  isOptional: true;
895
895
  };
896
896
  triggeredBy: {
897
- type: _lssm_lib_schema292.FieldType<string, string>;
897
+ type: _lssm_lib_schema227.FieldType<string, string>;
898
898
  isOptional: false;
899
899
  };
900
900
  organizationId: {
901
- type: _lssm_lib_schema292.FieldType<string, string>;
901
+ type: _lssm_lib_schema227.FieldType<string, string>;
902
902
  isOptional: false;
903
903
  };
904
904
  priority: {
905
- type: _lssm_lib_schema292.FieldType<number, number>;
905
+ type: _lssm_lib_schema227.FieldType<number, number>;
906
906
  isOptional: false;
907
907
  };
908
908
  dueAt: {
909
- type: _lssm_lib_schema292.FieldType<Date, string>;
909
+ type: _lssm_lib_schema227.FieldType<Date, string>;
910
910
  isOptional: true;
911
911
  };
912
912
  outcome: {
913
- type: _lssm_lib_schema292.FieldType<string, string>;
913
+ type: _lssm_lib_schema227.FieldType<string, string>;
914
914
  isOptional: true;
915
915
  };
916
916
  resultData: {
917
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
917
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
918
918
  isOptional: true;
919
919
  };
920
920
  errorMessage: {
921
- type: _lssm_lib_schema292.FieldType<string, string>;
921
+ type: _lssm_lib_schema227.FieldType<string, string>;
922
922
  isOptional: true;
923
923
  };
924
924
  createdAt: {
925
- type: _lssm_lib_schema292.FieldType<Date, string>;
925
+ type: _lssm_lib_schema227.FieldType<Date, string>;
926
926
  isOptional: false;
927
927
  };
928
928
  startedAt: {
929
- type: _lssm_lib_schema292.FieldType<Date, string>;
929
+ type: _lssm_lib_schema227.FieldType<Date, string>;
930
930
  isOptional: true;
931
931
  };
932
932
  completedAt: {
933
- type: _lssm_lib_schema292.FieldType<Date, string>;
933
+ type: _lssm_lib_schema227.FieldType<Date, string>;
934
934
  isOptional: true;
935
935
  };
936
936
  }>, {
937
937
  name: string;
938
938
  version: number;
939
939
  when: string;
940
- payload: _lssm_lib_schema292.SchemaModel<{
940
+ payload: _lssm_lib_schema227.SchemaModel<{
941
941
  id: {
942
- type: _lssm_lib_schema292.FieldType<string, string>;
942
+ type: _lssm_lib_schema227.FieldType<string, string>;
943
943
  isOptional: false;
944
944
  };
945
945
  workflowDefinitionId: {
946
- type: _lssm_lib_schema292.FieldType<string, string>;
946
+ type: _lssm_lib_schema227.FieldType<string, string>;
947
947
  isOptional: false;
948
948
  };
949
949
  referenceId: {
950
- type: _lssm_lib_schema292.FieldType<string, string>;
950
+ type: _lssm_lib_schema227.FieldType<string, string>;
951
951
  isOptional: true;
952
952
  };
953
953
  referenceType: {
954
- type: _lssm_lib_schema292.FieldType<string, string>;
954
+ type: _lssm_lib_schema227.FieldType<string, string>;
955
955
  isOptional: true;
956
956
  };
957
957
  status: {
958
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
958
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
959
959
  isOptional: false;
960
960
  };
961
961
  currentStepId: {
962
- type: _lssm_lib_schema292.FieldType<string, string>;
962
+ type: _lssm_lib_schema227.FieldType<string, string>;
963
963
  isOptional: true;
964
964
  };
965
965
  contextData: {
966
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
966
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
967
967
  isOptional: true;
968
968
  };
969
969
  triggeredBy: {
970
- type: _lssm_lib_schema292.FieldType<string, string>;
970
+ type: _lssm_lib_schema227.FieldType<string, string>;
971
971
  isOptional: false;
972
972
  };
973
973
  organizationId: {
974
- type: _lssm_lib_schema292.FieldType<string, string>;
974
+ type: _lssm_lib_schema227.FieldType<string, string>;
975
975
  isOptional: false;
976
976
  };
977
977
  priority: {
978
- type: _lssm_lib_schema292.FieldType<number, number>;
978
+ type: _lssm_lib_schema227.FieldType<number, number>;
979
979
  isOptional: false;
980
980
  };
981
981
  dueAt: {
982
- type: _lssm_lib_schema292.FieldType<Date, string>;
982
+ type: _lssm_lib_schema227.FieldType<Date, string>;
983
983
  isOptional: true;
984
984
  };
985
985
  outcome: {
986
- type: _lssm_lib_schema292.FieldType<string, string>;
986
+ type: _lssm_lib_schema227.FieldType<string, string>;
987
987
  isOptional: true;
988
988
  };
989
989
  resultData: {
990
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
990
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
991
991
  isOptional: true;
992
992
  };
993
993
  errorMessage: {
994
- type: _lssm_lib_schema292.FieldType<string, string>;
994
+ type: _lssm_lib_schema227.FieldType<string, string>;
995
995
  isOptional: true;
996
996
  };
997
997
  createdAt: {
998
- type: _lssm_lib_schema292.FieldType<Date, string>;
998
+ type: _lssm_lib_schema227.FieldType<Date, string>;
999
999
  isOptional: false;
1000
1000
  };
1001
1001
  startedAt: {
1002
- type: _lssm_lib_schema292.FieldType<Date, string>;
1002
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1003
1003
  isOptional: true;
1004
1004
  };
1005
1005
  completedAt: {
1006
- type: _lssm_lib_schema292.FieldType<Date, string>;
1006
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1007
1007
  isOptional: true;
1008
1008
  };
1009
1009
  }>;
@@ -1011,155 +1011,155 @@ declare const ResumeWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_l
1011
1011
  /**
1012
1012
  * Cancel a workflow instance.
1013
1013
  */
1014
- declare const CancelWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
1014
+ declare const CancelWorkflowContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
1015
1015
  instanceId: {
1016
- type: _lssm_lib_schema292.FieldType<string, string>;
1016
+ type: _lssm_lib_schema227.FieldType<string, string>;
1017
1017
  isOptional: false;
1018
1018
  };
1019
1019
  reason: {
1020
- type: _lssm_lib_schema292.FieldType<string, string>;
1020
+ type: _lssm_lib_schema227.FieldType<string, string>;
1021
1021
  isOptional: false;
1022
1022
  };
1023
- }>, _lssm_lib_schema292.SchemaModel<{
1023
+ }>, _lssm_lib_schema227.SchemaModel<{
1024
1024
  id: {
1025
- type: _lssm_lib_schema292.FieldType<string, string>;
1025
+ type: _lssm_lib_schema227.FieldType<string, string>;
1026
1026
  isOptional: false;
1027
1027
  };
1028
1028
  workflowDefinitionId: {
1029
- type: _lssm_lib_schema292.FieldType<string, string>;
1029
+ type: _lssm_lib_schema227.FieldType<string, string>;
1030
1030
  isOptional: false;
1031
1031
  };
1032
1032
  referenceId: {
1033
- type: _lssm_lib_schema292.FieldType<string, string>;
1033
+ type: _lssm_lib_schema227.FieldType<string, string>;
1034
1034
  isOptional: true;
1035
1035
  };
1036
1036
  referenceType: {
1037
- type: _lssm_lib_schema292.FieldType<string, string>;
1037
+ type: _lssm_lib_schema227.FieldType<string, string>;
1038
1038
  isOptional: true;
1039
1039
  };
1040
1040
  status: {
1041
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
1041
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
1042
1042
  isOptional: false;
1043
1043
  };
1044
1044
  currentStepId: {
1045
- type: _lssm_lib_schema292.FieldType<string, string>;
1045
+ type: _lssm_lib_schema227.FieldType<string, string>;
1046
1046
  isOptional: true;
1047
1047
  };
1048
1048
  contextData: {
1049
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1049
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1050
1050
  isOptional: true;
1051
1051
  };
1052
1052
  triggeredBy: {
1053
- type: _lssm_lib_schema292.FieldType<string, string>;
1053
+ type: _lssm_lib_schema227.FieldType<string, string>;
1054
1054
  isOptional: false;
1055
1055
  };
1056
1056
  organizationId: {
1057
- type: _lssm_lib_schema292.FieldType<string, string>;
1057
+ type: _lssm_lib_schema227.FieldType<string, string>;
1058
1058
  isOptional: false;
1059
1059
  };
1060
1060
  priority: {
1061
- type: _lssm_lib_schema292.FieldType<number, number>;
1061
+ type: _lssm_lib_schema227.FieldType<number, number>;
1062
1062
  isOptional: false;
1063
1063
  };
1064
1064
  dueAt: {
1065
- type: _lssm_lib_schema292.FieldType<Date, string>;
1065
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1066
1066
  isOptional: true;
1067
1067
  };
1068
1068
  outcome: {
1069
- type: _lssm_lib_schema292.FieldType<string, string>;
1069
+ type: _lssm_lib_schema227.FieldType<string, string>;
1070
1070
  isOptional: true;
1071
1071
  };
1072
1072
  resultData: {
1073
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1073
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1074
1074
  isOptional: true;
1075
1075
  };
1076
1076
  errorMessage: {
1077
- type: _lssm_lib_schema292.FieldType<string, string>;
1077
+ type: _lssm_lib_schema227.FieldType<string, string>;
1078
1078
  isOptional: true;
1079
1079
  };
1080
1080
  createdAt: {
1081
- type: _lssm_lib_schema292.FieldType<Date, string>;
1081
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1082
1082
  isOptional: false;
1083
1083
  };
1084
1084
  startedAt: {
1085
- type: _lssm_lib_schema292.FieldType<Date, string>;
1085
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1086
1086
  isOptional: true;
1087
1087
  };
1088
1088
  completedAt: {
1089
- type: _lssm_lib_schema292.FieldType<Date, string>;
1089
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1090
1090
  isOptional: true;
1091
1091
  };
1092
1092
  }>, {
1093
1093
  name: string;
1094
1094
  version: number;
1095
1095
  when: string;
1096
- payload: _lssm_lib_schema292.SchemaModel<{
1096
+ payload: _lssm_lib_schema227.SchemaModel<{
1097
1097
  id: {
1098
- type: _lssm_lib_schema292.FieldType<string, string>;
1098
+ type: _lssm_lib_schema227.FieldType<string, string>;
1099
1099
  isOptional: false;
1100
1100
  };
1101
1101
  workflowDefinitionId: {
1102
- type: _lssm_lib_schema292.FieldType<string, string>;
1102
+ type: _lssm_lib_schema227.FieldType<string, string>;
1103
1103
  isOptional: false;
1104
1104
  };
1105
1105
  referenceId: {
1106
- type: _lssm_lib_schema292.FieldType<string, string>;
1106
+ type: _lssm_lib_schema227.FieldType<string, string>;
1107
1107
  isOptional: true;
1108
1108
  };
1109
1109
  referenceType: {
1110
- type: _lssm_lib_schema292.FieldType<string, string>;
1110
+ type: _lssm_lib_schema227.FieldType<string, string>;
1111
1111
  isOptional: true;
1112
1112
  };
1113
1113
  status: {
1114
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
1114
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
1115
1115
  isOptional: false;
1116
1116
  };
1117
1117
  currentStepId: {
1118
- type: _lssm_lib_schema292.FieldType<string, string>;
1118
+ type: _lssm_lib_schema227.FieldType<string, string>;
1119
1119
  isOptional: true;
1120
1120
  };
1121
1121
  contextData: {
1122
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1122
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1123
1123
  isOptional: true;
1124
1124
  };
1125
1125
  triggeredBy: {
1126
- type: _lssm_lib_schema292.FieldType<string, string>;
1126
+ type: _lssm_lib_schema227.FieldType<string, string>;
1127
1127
  isOptional: false;
1128
1128
  };
1129
1129
  organizationId: {
1130
- type: _lssm_lib_schema292.FieldType<string, string>;
1130
+ type: _lssm_lib_schema227.FieldType<string, string>;
1131
1131
  isOptional: false;
1132
1132
  };
1133
1133
  priority: {
1134
- type: _lssm_lib_schema292.FieldType<number, number>;
1134
+ type: _lssm_lib_schema227.FieldType<number, number>;
1135
1135
  isOptional: false;
1136
1136
  };
1137
1137
  dueAt: {
1138
- type: _lssm_lib_schema292.FieldType<Date, string>;
1138
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1139
1139
  isOptional: true;
1140
1140
  };
1141
1141
  outcome: {
1142
- type: _lssm_lib_schema292.FieldType<string, string>;
1142
+ type: _lssm_lib_schema227.FieldType<string, string>;
1143
1143
  isOptional: true;
1144
1144
  };
1145
1145
  resultData: {
1146
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1146
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1147
1147
  isOptional: true;
1148
1148
  };
1149
1149
  errorMessage: {
1150
- type: _lssm_lib_schema292.FieldType<string, string>;
1150
+ type: _lssm_lib_schema227.FieldType<string, string>;
1151
1151
  isOptional: true;
1152
1152
  };
1153
1153
  createdAt: {
1154
- type: _lssm_lib_schema292.FieldType<Date, string>;
1154
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1155
1155
  isOptional: false;
1156
1156
  };
1157
1157
  startedAt: {
1158
- type: _lssm_lib_schema292.FieldType<Date, string>;
1158
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1159
1159
  isOptional: true;
1160
1160
  };
1161
1161
  completedAt: {
1162
- type: _lssm_lib_schema292.FieldType<Date, string>;
1162
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1163
1163
  isOptional: true;
1164
1164
  };
1165
1165
  }>;
@@ -1167,106 +1167,106 @@ declare const CancelWorkflowContract: _lssm_lib_contracts33.ContractSpec<_lssm_l
1167
1167
  /**
1168
1168
  * List workflow instances.
1169
1169
  */
1170
- declare const ListInstancesContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
1170
+ declare const ListInstancesContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
1171
1171
  workflowKey: {
1172
- type: _lssm_lib_schema292.FieldType<string, string>;
1172
+ type: _lssm_lib_schema227.FieldType<string, string>;
1173
1173
  isOptional: true;
1174
1174
  };
1175
1175
  status: {
1176
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
1176
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
1177
1177
  isOptional: true;
1178
1178
  };
1179
1179
  referenceType: {
1180
- type: _lssm_lib_schema292.FieldType<string, string>;
1180
+ type: _lssm_lib_schema227.FieldType<string, string>;
1181
1181
  isOptional: true;
1182
1182
  };
1183
1183
  referenceId: {
1184
- type: _lssm_lib_schema292.FieldType<string, string>;
1184
+ type: _lssm_lib_schema227.FieldType<string, string>;
1185
1185
  isOptional: true;
1186
1186
  };
1187
1187
  triggeredBy: {
1188
- type: _lssm_lib_schema292.FieldType<string, string>;
1188
+ type: _lssm_lib_schema227.FieldType<string, string>;
1189
1189
  isOptional: true;
1190
1190
  };
1191
1191
  limit: {
1192
- type: _lssm_lib_schema292.FieldType<number, number>;
1192
+ type: _lssm_lib_schema227.FieldType<number, number>;
1193
1193
  isOptional: true;
1194
1194
  defaultValue: number;
1195
1195
  };
1196
1196
  offset: {
1197
- type: _lssm_lib_schema292.FieldType<number, number>;
1197
+ type: _lssm_lib_schema227.FieldType<number, number>;
1198
1198
  isOptional: true;
1199
1199
  defaultValue: number;
1200
1200
  };
1201
- }>, _lssm_lib_schema292.SchemaModel<{
1201
+ }>, _lssm_lib_schema227.SchemaModel<{
1202
1202
  instances: {
1203
- type: _lssm_lib_schema292.SchemaModel<{
1203
+ type: _lssm_lib_schema227.SchemaModel<{
1204
1204
  id: {
1205
- type: _lssm_lib_schema292.FieldType<string, string>;
1205
+ type: _lssm_lib_schema227.FieldType<string, string>;
1206
1206
  isOptional: false;
1207
1207
  };
1208
1208
  workflowDefinitionId: {
1209
- type: _lssm_lib_schema292.FieldType<string, string>;
1209
+ type: _lssm_lib_schema227.FieldType<string, string>;
1210
1210
  isOptional: false;
1211
1211
  };
1212
1212
  referenceId: {
1213
- type: _lssm_lib_schema292.FieldType<string, string>;
1213
+ type: _lssm_lib_schema227.FieldType<string, string>;
1214
1214
  isOptional: true;
1215
1215
  };
1216
1216
  referenceType: {
1217
- type: _lssm_lib_schema292.FieldType<string, string>;
1217
+ type: _lssm_lib_schema227.FieldType<string, string>;
1218
1218
  isOptional: true;
1219
1219
  };
1220
1220
  status: {
1221
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
1221
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
1222
1222
  isOptional: false;
1223
1223
  };
1224
1224
  currentStepId: {
1225
- type: _lssm_lib_schema292.FieldType<string, string>;
1225
+ type: _lssm_lib_schema227.FieldType<string, string>;
1226
1226
  isOptional: true;
1227
1227
  };
1228
1228
  contextData: {
1229
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1229
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1230
1230
  isOptional: true;
1231
1231
  };
1232
1232
  triggeredBy: {
1233
- type: _lssm_lib_schema292.FieldType<string, string>;
1233
+ type: _lssm_lib_schema227.FieldType<string, string>;
1234
1234
  isOptional: false;
1235
1235
  };
1236
1236
  organizationId: {
1237
- type: _lssm_lib_schema292.FieldType<string, string>;
1237
+ type: _lssm_lib_schema227.FieldType<string, string>;
1238
1238
  isOptional: false;
1239
1239
  };
1240
1240
  priority: {
1241
- type: _lssm_lib_schema292.FieldType<number, number>;
1241
+ type: _lssm_lib_schema227.FieldType<number, number>;
1242
1242
  isOptional: false;
1243
1243
  };
1244
1244
  dueAt: {
1245
- type: _lssm_lib_schema292.FieldType<Date, string>;
1245
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1246
1246
  isOptional: true;
1247
1247
  };
1248
1248
  outcome: {
1249
- type: _lssm_lib_schema292.FieldType<string, string>;
1249
+ type: _lssm_lib_schema227.FieldType<string, string>;
1250
1250
  isOptional: true;
1251
1251
  };
1252
1252
  resultData: {
1253
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1253
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1254
1254
  isOptional: true;
1255
1255
  };
1256
1256
  errorMessage: {
1257
- type: _lssm_lib_schema292.FieldType<string, string>;
1257
+ type: _lssm_lib_schema227.FieldType<string, string>;
1258
1258
  isOptional: true;
1259
1259
  };
1260
1260
  createdAt: {
1261
- type: _lssm_lib_schema292.FieldType<Date, string>;
1261
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1262
1262
  isOptional: false;
1263
1263
  };
1264
1264
  startedAt: {
1265
- type: _lssm_lib_schema292.FieldType<Date, string>;
1265
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1266
1266
  isOptional: true;
1267
1267
  };
1268
1268
  completedAt: {
1269
- type: _lssm_lib_schema292.FieldType<Date, string>;
1269
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1270
1270
  isOptional: true;
1271
1271
  };
1272
1272
  }>;
@@ -1274,91 +1274,91 @@ declare const ListInstancesContract: _lssm_lib_contracts33.ContractSpec<_lssm_li
1274
1274
  isOptional: false;
1275
1275
  };
1276
1276
  total: {
1277
- type: _lssm_lib_schema292.FieldType<number, number>;
1277
+ type: _lssm_lib_schema227.FieldType<number, number>;
1278
1278
  isOptional: false;
1279
1279
  };
1280
1280
  }>, undefined>;
1281
1281
  /**
1282
1282
  * Get a single workflow instance.
1283
1283
  */
1284
- declare const GetInstanceInputModel: _lssm_lib_schema292.SchemaModel<{
1284
+ declare const GetInstanceInputModel: _lssm_lib_schema227.SchemaModel<{
1285
1285
  instanceId: {
1286
- type: _lssm_lib_schema292.FieldType<string, string>;
1286
+ type: _lssm_lib_schema227.FieldType<string, string>;
1287
1287
  isOptional: false;
1288
1288
  };
1289
1289
  }>;
1290
- declare const GetInstanceContract: _lssm_lib_contracts33.ContractSpec<_lssm_lib_schema292.SchemaModel<{
1290
+ declare const GetInstanceContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema227.SchemaModel<{
1291
1291
  instanceId: {
1292
- type: _lssm_lib_schema292.FieldType<string, string>;
1292
+ type: _lssm_lib_schema227.FieldType<string, string>;
1293
1293
  isOptional: false;
1294
1294
  };
1295
- }>, _lssm_lib_schema292.SchemaModel<{
1295
+ }>, _lssm_lib_schema227.SchemaModel<{
1296
1296
  id: {
1297
- type: _lssm_lib_schema292.FieldType<string, string>;
1297
+ type: _lssm_lib_schema227.FieldType<string, string>;
1298
1298
  isOptional: false;
1299
1299
  };
1300
1300
  workflowDefinitionId: {
1301
- type: _lssm_lib_schema292.FieldType<string, string>;
1301
+ type: _lssm_lib_schema227.FieldType<string, string>;
1302
1302
  isOptional: false;
1303
1303
  };
1304
1304
  referenceId: {
1305
- type: _lssm_lib_schema292.FieldType<string, string>;
1305
+ type: _lssm_lib_schema227.FieldType<string, string>;
1306
1306
  isOptional: true;
1307
1307
  };
1308
1308
  referenceType: {
1309
- type: _lssm_lib_schema292.FieldType<string, string>;
1309
+ type: _lssm_lib_schema227.FieldType<string, string>;
1310
1310
  isOptional: true;
1311
1311
  };
1312
1312
  status: {
1313
- type: _lssm_lib_schema292.EnumType<[string, string, string, string, string, string, string, string]>;
1313
+ type: _lssm_lib_schema227.EnumType<[string, string, string, string, string, string, string, string]>;
1314
1314
  isOptional: false;
1315
1315
  };
1316
1316
  currentStepId: {
1317
- type: _lssm_lib_schema292.FieldType<string, string>;
1317
+ type: _lssm_lib_schema227.FieldType<string, string>;
1318
1318
  isOptional: true;
1319
1319
  };
1320
1320
  contextData: {
1321
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1321
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1322
1322
  isOptional: true;
1323
1323
  };
1324
1324
  triggeredBy: {
1325
- type: _lssm_lib_schema292.FieldType<string, string>;
1325
+ type: _lssm_lib_schema227.FieldType<string, string>;
1326
1326
  isOptional: false;
1327
1327
  };
1328
1328
  organizationId: {
1329
- type: _lssm_lib_schema292.FieldType<string, string>;
1329
+ type: _lssm_lib_schema227.FieldType<string, string>;
1330
1330
  isOptional: false;
1331
1331
  };
1332
1332
  priority: {
1333
- type: _lssm_lib_schema292.FieldType<number, number>;
1333
+ type: _lssm_lib_schema227.FieldType<number, number>;
1334
1334
  isOptional: false;
1335
1335
  };
1336
1336
  dueAt: {
1337
- type: _lssm_lib_schema292.FieldType<Date, string>;
1337
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1338
1338
  isOptional: true;
1339
1339
  };
1340
1340
  outcome: {
1341
- type: _lssm_lib_schema292.FieldType<string, string>;
1341
+ type: _lssm_lib_schema227.FieldType<string, string>;
1342
1342
  isOptional: true;
1343
1343
  };
1344
1344
  resultData: {
1345
- type: _lssm_lib_schema292.FieldType<unknown, unknown>;
1345
+ type: _lssm_lib_schema227.FieldType<unknown, unknown>;
1346
1346
  isOptional: true;
1347
1347
  };
1348
1348
  errorMessage: {
1349
- type: _lssm_lib_schema292.FieldType<string, string>;
1349
+ type: _lssm_lib_schema227.FieldType<string, string>;
1350
1350
  isOptional: true;
1351
1351
  };
1352
1352
  createdAt: {
1353
- type: _lssm_lib_schema292.FieldType<Date, string>;
1353
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1354
1354
  isOptional: false;
1355
1355
  };
1356
1356
  startedAt: {
1357
- type: _lssm_lib_schema292.FieldType<Date, string>;
1357
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1358
1358
  isOptional: true;
1359
1359
  };
1360
1360
  completedAt: {
1361
- type: _lssm_lib_schema292.FieldType<Date, string>;
1361
+ type: _lssm_lib_schema227.FieldType<Date, string>;
1362
1362
  isOptional: true;
1363
1363
  };
1364
1364
  }>, undefined>;