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