@lssm/example.workflow-system 0.0.0-canary-20251217060433 → 0.0.0-canary-20251217062139
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/approval/approval.contracts.d.ts +134 -134
- package/dist/approval/approval.contracts.js +1 -1
- package/dist/approval/approval.enum.d.ts +3 -3
- package/dist/approval/approval.enum.js +1 -1
- package/dist/approval/approval.event.d.ts +32 -32
- package/dist/approval/approval.event.js +1 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/approval/approval.schema.js +1 -1
- package/dist/docs/workflow-system.docblock.js +1 -1
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.js +1 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/instance.d.ts +47 -47
- package/dist/entities/instance.js +1 -1
- package/dist/entities/step.d.ts +32 -32
- package/dist/entities/step.js +1 -1
- package/dist/entities/workflow.d.ts +23 -23
- package/dist/entities/workflow.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/instance/instance.contracts.d.ts +256 -256
- package/dist/instance/instance.contracts.js +1 -1
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/instance/instance.enum.js +1 -1
- package/dist/instance/instance.event.d.ts +87 -87
- package/dist/instance/instance.event.js +1 -1
- package/dist/instance/instance.schema.d.ts +54 -54
- package/dist/instance/instance.schema.js +1 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
- package/dist/libs/contracts/dist/client/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +1 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/libs/contracts/dist/docs/index.js +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/libs/contracts/dist/events.js +1 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +1 -0
- package/dist/libs/contracts/dist/install.js +1 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
- package/dist/libs/contracts/dist/integrations/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
- package/dist/libs/contracts/dist/knowledge/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/index.js +1 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +1 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +1 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
- package/dist/libs/contracts/dist/server/index.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +1 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +1 -0
- package/dist/libs/schema/dist/FieldType.js +1 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +1 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +1 -0
- package/dist/workflow/workflow.contracts.d.ts +246 -246
- package/dist/workflow/workflow.contracts.js +1 -1
- package/dist/workflow/workflow.enum.d.ts +5 -5
- package/dist/workflow/workflow.enum.js +1 -1
- package/dist/workflow/workflow.event.d.ts +32 -32
- package/dist/workflow/workflow.event.js +1 -1
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.js +1 -1
- package/package.json +11 -11
|
@@ -1,175 +1,175 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema295 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/instance/instance.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Start a new workflow instance.
|
|
7
7
|
*/
|
|
8
|
-
declare const StartWorkflowContract:
|
|
8
|
+
declare const StartWorkflowContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
9
9
|
workflowKey: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
contextData: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
referenceId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
referenceType: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
priority: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
dueAt: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
workflowDefinitionId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
referenceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
referenceType: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
status: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
currentStepId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
contextData: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
triggeredBy: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
organizationId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
priority: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
dueAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
outcome: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
resultData: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
errorMessage: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
createdAt: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
startedAt: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
96
96
|
isOptional: true;
|
|
97
97
|
};
|
|
98
98
|
completedAt: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
100
100
|
isOptional: true;
|
|
101
101
|
};
|
|
102
102
|
}>, {
|
|
103
103
|
name: string;
|
|
104
104
|
version: number;
|
|
105
105
|
when: string;
|
|
106
|
-
payload:
|
|
106
|
+
payload: _lssm_lib_schema295.SchemaModel<{
|
|
107
107
|
id: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
workflowDefinitionId: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
referenceId: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
referenceType: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
status: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
currentStepId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
contextData: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
triggeredBy: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
organizationId: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
priority: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
dueAt: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
outcome: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
153
153
|
isOptional: true;
|
|
154
154
|
};
|
|
155
155
|
resultData: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
errorMessage: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
161
161
|
isOptional: true;
|
|
162
162
|
};
|
|
163
163
|
createdAt: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
startedAt: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
completedAt: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
}>;
|
|
@@ -177,184 +177,184 @@ declare const StartWorkflowContract: _lssm_lib_contracts14.ContractSpec<_lssm_li
|
|
|
177
177
|
/**
|
|
178
178
|
* Transition workflow to next step.
|
|
179
179
|
*/
|
|
180
|
-
declare const TransitionWorkflowContract:
|
|
180
|
+
declare const TransitionWorkflowContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
181
181
|
instanceId: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
action: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
data: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
191
191
|
isOptional: true;
|
|
192
192
|
};
|
|
193
193
|
comment: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
195
195
|
isOptional: true;
|
|
196
196
|
};
|
|
197
|
-
}>,
|
|
197
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
198
198
|
success: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema295.FieldType<boolean, boolean>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
instance: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema295.SchemaModel<{
|
|
204
204
|
id: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
workflowDefinitionId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
referenceId: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
referenceType: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
status: {
|
|
221
|
-
type:
|
|
221
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
currentStepId: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
226
226
|
isOptional: true;
|
|
227
227
|
};
|
|
228
228
|
contextData: {
|
|
229
|
-
type:
|
|
229
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
230
230
|
isOptional: true;
|
|
231
231
|
};
|
|
232
232
|
triggeredBy: {
|
|
233
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
234
234
|
isOptional: false;
|
|
235
235
|
};
|
|
236
236
|
organizationId: {
|
|
237
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
238
238
|
isOptional: false;
|
|
239
239
|
};
|
|
240
240
|
priority: {
|
|
241
|
-
type:
|
|
241
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
242
242
|
isOptional: false;
|
|
243
243
|
};
|
|
244
244
|
dueAt: {
|
|
245
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
246
246
|
isOptional: true;
|
|
247
247
|
};
|
|
248
248
|
outcome: {
|
|
249
|
-
type:
|
|
249
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
250
250
|
isOptional: true;
|
|
251
251
|
};
|
|
252
252
|
resultData: {
|
|
253
|
-
type:
|
|
253
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
254
254
|
isOptional: true;
|
|
255
255
|
};
|
|
256
256
|
errorMessage: {
|
|
257
|
-
type:
|
|
257
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
258
258
|
isOptional: true;
|
|
259
259
|
};
|
|
260
260
|
createdAt: {
|
|
261
|
-
type:
|
|
261
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
262
262
|
isOptional: false;
|
|
263
263
|
};
|
|
264
264
|
startedAt: {
|
|
265
|
-
type:
|
|
265
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
266
266
|
isOptional: true;
|
|
267
267
|
};
|
|
268
268
|
completedAt: {
|
|
269
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
270
270
|
isOptional: true;
|
|
271
271
|
};
|
|
272
272
|
}>;
|
|
273
273
|
isOptional: false;
|
|
274
274
|
};
|
|
275
275
|
previousStepKey: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
currentStepKey: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
message: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
285
285
|
isOptional: true;
|
|
286
286
|
};
|
|
287
287
|
}>, {
|
|
288
288
|
name: string;
|
|
289
289
|
version: number;
|
|
290
290
|
when: string;
|
|
291
|
-
payload:
|
|
291
|
+
payload: _lssm_lib_schema295.SchemaModel<{
|
|
292
292
|
id: {
|
|
293
|
-
type:
|
|
293
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
294
294
|
isOptional: false;
|
|
295
295
|
};
|
|
296
296
|
workflowDefinitionId: {
|
|
297
|
-
type:
|
|
297
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
298
298
|
isOptional: false;
|
|
299
299
|
};
|
|
300
300
|
referenceId: {
|
|
301
|
-
type:
|
|
301
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
302
302
|
isOptional: true;
|
|
303
303
|
};
|
|
304
304
|
referenceType: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
306
306
|
isOptional: true;
|
|
307
307
|
};
|
|
308
308
|
status: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
currentStepId: {
|
|
313
|
-
type:
|
|
313
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
314
314
|
isOptional: true;
|
|
315
315
|
};
|
|
316
316
|
contextData: {
|
|
317
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
318
318
|
isOptional: true;
|
|
319
319
|
};
|
|
320
320
|
triggeredBy: {
|
|
321
|
-
type:
|
|
321
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
322
322
|
isOptional: false;
|
|
323
323
|
};
|
|
324
324
|
organizationId: {
|
|
325
|
-
type:
|
|
325
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
326
326
|
isOptional: false;
|
|
327
327
|
};
|
|
328
328
|
priority: {
|
|
329
|
-
type:
|
|
329
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
330
330
|
isOptional: false;
|
|
331
331
|
};
|
|
332
332
|
dueAt: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
334
334
|
isOptional: true;
|
|
335
335
|
};
|
|
336
336
|
outcome: {
|
|
337
|
-
type:
|
|
337
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
338
338
|
isOptional: true;
|
|
339
339
|
};
|
|
340
340
|
resultData: {
|
|
341
|
-
type:
|
|
341
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
342
342
|
isOptional: true;
|
|
343
343
|
};
|
|
344
344
|
errorMessage: {
|
|
345
|
-
type:
|
|
345
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
346
346
|
isOptional: true;
|
|
347
347
|
};
|
|
348
348
|
createdAt: {
|
|
349
|
-
type:
|
|
349
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
350
350
|
isOptional: false;
|
|
351
351
|
};
|
|
352
352
|
startedAt: {
|
|
353
|
-
type:
|
|
353
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
354
354
|
isOptional: true;
|
|
355
355
|
};
|
|
356
356
|
completedAt: {
|
|
357
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
358
358
|
isOptional: true;
|
|
359
359
|
};
|
|
360
360
|
}>;
|
|
@@ -362,155 +362,155 @@ declare const TransitionWorkflowContract: _lssm_lib_contracts14.ContractSpec<_ls
|
|
|
362
362
|
/**
|
|
363
363
|
* Pause a running workflow.
|
|
364
364
|
*/
|
|
365
|
-
declare const PauseWorkflowContract:
|
|
365
|
+
declare const PauseWorkflowContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
366
366
|
instanceId: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
reason: {
|
|
371
|
-
type:
|
|
371
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
372
372
|
isOptional: true;
|
|
373
373
|
};
|
|
374
|
-
}>,
|
|
374
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
375
375
|
id: {
|
|
376
|
-
type:
|
|
376
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
377
377
|
isOptional: false;
|
|
378
378
|
};
|
|
379
379
|
workflowDefinitionId: {
|
|
380
|
-
type:
|
|
380
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
381
381
|
isOptional: false;
|
|
382
382
|
};
|
|
383
383
|
referenceId: {
|
|
384
|
-
type:
|
|
384
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
385
385
|
isOptional: true;
|
|
386
386
|
};
|
|
387
387
|
referenceType: {
|
|
388
|
-
type:
|
|
388
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
389
389
|
isOptional: true;
|
|
390
390
|
};
|
|
391
391
|
status: {
|
|
392
|
-
type:
|
|
392
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
393
393
|
isOptional: false;
|
|
394
394
|
};
|
|
395
395
|
currentStepId: {
|
|
396
|
-
type:
|
|
396
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
397
397
|
isOptional: true;
|
|
398
398
|
};
|
|
399
399
|
contextData: {
|
|
400
|
-
type:
|
|
400
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
401
401
|
isOptional: true;
|
|
402
402
|
};
|
|
403
403
|
triggeredBy: {
|
|
404
|
-
type:
|
|
404
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
405
405
|
isOptional: false;
|
|
406
406
|
};
|
|
407
407
|
organizationId: {
|
|
408
|
-
type:
|
|
408
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
409
409
|
isOptional: false;
|
|
410
410
|
};
|
|
411
411
|
priority: {
|
|
412
|
-
type:
|
|
412
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
413
413
|
isOptional: false;
|
|
414
414
|
};
|
|
415
415
|
dueAt: {
|
|
416
|
-
type:
|
|
416
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
417
417
|
isOptional: true;
|
|
418
418
|
};
|
|
419
419
|
outcome: {
|
|
420
|
-
type:
|
|
420
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
421
421
|
isOptional: true;
|
|
422
422
|
};
|
|
423
423
|
resultData: {
|
|
424
|
-
type:
|
|
424
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
425
425
|
isOptional: true;
|
|
426
426
|
};
|
|
427
427
|
errorMessage: {
|
|
428
|
-
type:
|
|
428
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
429
429
|
isOptional: true;
|
|
430
430
|
};
|
|
431
431
|
createdAt: {
|
|
432
|
-
type:
|
|
432
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
433
433
|
isOptional: false;
|
|
434
434
|
};
|
|
435
435
|
startedAt: {
|
|
436
|
-
type:
|
|
436
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
437
437
|
isOptional: true;
|
|
438
438
|
};
|
|
439
439
|
completedAt: {
|
|
440
|
-
type:
|
|
440
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
441
441
|
isOptional: true;
|
|
442
442
|
};
|
|
443
443
|
}>, {
|
|
444
444
|
name: string;
|
|
445
445
|
version: number;
|
|
446
446
|
when: string;
|
|
447
|
-
payload:
|
|
447
|
+
payload: _lssm_lib_schema295.SchemaModel<{
|
|
448
448
|
id: {
|
|
449
|
-
type:
|
|
449
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
450
450
|
isOptional: false;
|
|
451
451
|
};
|
|
452
452
|
workflowDefinitionId: {
|
|
453
|
-
type:
|
|
453
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
454
454
|
isOptional: false;
|
|
455
455
|
};
|
|
456
456
|
referenceId: {
|
|
457
|
-
type:
|
|
457
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
458
458
|
isOptional: true;
|
|
459
459
|
};
|
|
460
460
|
referenceType: {
|
|
461
|
-
type:
|
|
461
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
462
462
|
isOptional: true;
|
|
463
463
|
};
|
|
464
464
|
status: {
|
|
465
|
-
type:
|
|
465
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
currentStepId: {
|
|
469
|
-
type:
|
|
469
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
470
470
|
isOptional: true;
|
|
471
471
|
};
|
|
472
472
|
contextData: {
|
|
473
|
-
type:
|
|
473
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
474
474
|
isOptional: true;
|
|
475
475
|
};
|
|
476
476
|
triggeredBy: {
|
|
477
|
-
type:
|
|
477
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
478
478
|
isOptional: false;
|
|
479
479
|
};
|
|
480
480
|
organizationId: {
|
|
481
|
-
type:
|
|
481
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
priority: {
|
|
485
|
-
type:
|
|
485
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
486
486
|
isOptional: false;
|
|
487
487
|
};
|
|
488
488
|
dueAt: {
|
|
489
|
-
type:
|
|
489
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
490
490
|
isOptional: true;
|
|
491
491
|
};
|
|
492
492
|
outcome: {
|
|
493
|
-
type:
|
|
493
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
494
494
|
isOptional: true;
|
|
495
495
|
};
|
|
496
496
|
resultData: {
|
|
497
|
-
type:
|
|
497
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
498
498
|
isOptional: true;
|
|
499
499
|
};
|
|
500
500
|
errorMessage: {
|
|
501
|
-
type:
|
|
501
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
502
502
|
isOptional: true;
|
|
503
503
|
};
|
|
504
504
|
createdAt: {
|
|
505
|
-
type:
|
|
505
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
506
506
|
isOptional: false;
|
|
507
507
|
};
|
|
508
508
|
startedAt: {
|
|
509
|
-
type:
|
|
509
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
510
510
|
isOptional: true;
|
|
511
511
|
};
|
|
512
512
|
completedAt: {
|
|
513
|
-
type:
|
|
513
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
514
514
|
isOptional: true;
|
|
515
515
|
};
|
|
516
516
|
}>;
|
|
@@ -518,155 +518,155 @@ declare const PauseWorkflowContract: _lssm_lib_contracts14.ContractSpec<_lssm_li
|
|
|
518
518
|
/**
|
|
519
519
|
* Resume a paused workflow.
|
|
520
520
|
*/
|
|
521
|
-
declare const ResumeWorkflowContract:
|
|
521
|
+
declare const ResumeWorkflowContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
522
522
|
instanceId: {
|
|
523
|
-
type:
|
|
523
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
524
524
|
isOptional: false;
|
|
525
525
|
};
|
|
526
526
|
reason: {
|
|
527
|
-
type:
|
|
527
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
528
528
|
isOptional: true;
|
|
529
529
|
};
|
|
530
|
-
}>,
|
|
530
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
531
531
|
id: {
|
|
532
|
-
type:
|
|
532
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
533
533
|
isOptional: false;
|
|
534
534
|
};
|
|
535
535
|
workflowDefinitionId: {
|
|
536
|
-
type:
|
|
536
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
537
537
|
isOptional: false;
|
|
538
538
|
};
|
|
539
539
|
referenceId: {
|
|
540
|
-
type:
|
|
540
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
541
541
|
isOptional: true;
|
|
542
542
|
};
|
|
543
543
|
referenceType: {
|
|
544
|
-
type:
|
|
544
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
545
545
|
isOptional: true;
|
|
546
546
|
};
|
|
547
547
|
status: {
|
|
548
|
-
type:
|
|
548
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
549
549
|
isOptional: false;
|
|
550
550
|
};
|
|
551
551
|
currentStepId: {
|
|
552
|
-
type:
|
|
552
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
553
553
|
isOptional: true;
|
|
554
554
|
};
|
|
555
555
|
contextData: {
|
|
556
|
-
type:
|
|
556
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
557
557
|
isOptional: true;
|
|
558
558
|
};
|
|
559
559
|
triggeredBy: {
|
|
560
|
-
type:
|
|
560
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
561
561
|
isOptional: false;
|
|
562
562
|
};
|
|
563
563
|
organizationId: {
|
|
564
|
-
type:
|
|
564
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
565
565
|
isOptional: false;
|
|
566
566
|
};
|
|
567
567
|
priority: {
|
|
568
|
-
type:
|
|
568
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
569
569
|
isOptional: false;
|
|
570
570
|
};
|
|
571
571
|
dueAt: {
|
|
572
|
-
type:
|
|
572
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
573
573
|
isOptional: true;
|
|
574
574
|
};
|
|
575
575
|
outcome: {
|
|
576
|
-
type:
|
|
576
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
577
577
|
isOptional: true;
|
|
578
578
|
};
|
|
579
579
|
resultData: {
|
|
580
|
-
type:
|
|
580
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
581
581
|
isOptional: true;
|
|
582
582
|
};
|
|
583
583
|
errorMessage: {
|
|
584
|
-
type:
|
|
584
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
585
585
|
isOptional: true;
|
|
586
586
|
};
|
|
587
587
|
createdAt: {
|
|
588
|
-
type:
|
|
588
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
589
589
|
isOptional: false;
|
|
590
590
|
};
|
|
591
591
|
startedAt: {
|
|
592
|
-
type:
|
|
592
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
593
593
|
isOptional: true;
|
|
594
594
|
};
|
|
595
595
|
completedAt: {
|
|
596
|
-
type:
|
|
596
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
597
597
|
isOptional: true;
|
|
598
598
|
};
|
|
599
599
|
}>, {
|
|
600
600
|
name: string;
|
|
601
601
|
version: number;
|
|
602
602
|
when: string;
|
|
603
|
-
payload:
|
|
603
|
+
payload: _lssm_lib_schema295.SchemaModel<{
|
|
604
604
|
id: {
|
|
605
|
-
type:
|
|
605
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
606
606
|
isOptional: false;
|
|
607
607
|
};
|
|
608
608
|
workflowDefinitionId: {
|
|
609
|
-
type:
|
|
609
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
610
610
|
isOptional: false;
|
|
611
611
|
};
|
|
612
612
|
referenceId: {
|
|
613
|
-
type:
|
|
613
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
614
614
|
isOptional: true;
|
|
615
615
|
};
|
|
616
616
|
referenceType: {
|
|
617
|
-
type:
|
|
617
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
618
618
|
isOptional: true;
|
|
619
619
|
};
|
|
620
620
|
status: {
|
|
621
|
-
type:
|
|
621
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
622
622
|
isOptional: false;
|
|
623
623
|
};
|
|
624
624
|
currentStepId: {
|
|
625
|
-
type:
|
|
625
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
626
626
|
isOptional: true;
|
|
627
627
|
};
|
|
628
628
|
contextData: {
|
|
629
|
-
type:
|
|
629
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
630
630
|
isOptional: true;
|
|
631
631
|
};
|
|
632
632
|
triggeredBy: {
|
|
633
|
-
type:
|
|
633
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
634
634
|
isOptional: false;
|
|
635
635
|
};
|
|
636
636
|
organizationId: {
|
|
637
|
-
type:
|
|
637
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
638
638
|
isOptional: false;
|
|
639
639
|
};
|
|
640
640
|
priority: {
|
|
641
|
-
type:
|
|
641
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
642
642
|
isOptional: false;
|
|
643
643
|
};
|
|
644
644
|
dueAt: {
|
|
645
|
-
type:
|
|
645
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
646
646
|
isOptional: true;
|
|
647
647
|
};
|
|
648
648
|
outcome: {
|
|
649
|
-
type:
|
|
649
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
650
650
|
isOptional: true;
|
|
651
651
|
};
|
|
652
652
|
resultData: {
|
|
653
|
-
type:
|
|
653
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
654
654
|
isOptional: true;
|
|
655
655
|
};
|
|
656
656
|
errorMessage: {
|
|
657
|
-
type:
|
|
657
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
658
658
|
isOptional: true;
|
|
659
659
|
};
|
|
660
660
|
createdAt: {
|
|
661
|
-
type:
|
|
661
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
662
662
|
isOptional: false;
|
|
663
663
|
};
|
|
664
664
|
startedAt: {
|
|
665
|
-
type:
|
|
665
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
666
666
|
isOptional: true;
|
|
667
667
|
};
|
|
668
668
|
completedAt: {
|
|
669
|
-
type:
|
|
669
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
670
670
|
isOptional: true;
|
|
671
671
|
};
|
|
672
672
|
}>;
|
|
@@ -674,155 +674,155 @@ declare const ResumeWorkflowContract: _lssm_lib_contracts14.ContractSpec<_lssm_l
|
|
|
674
674
|
/**
|
|
675
675
|
* Cancel a workflow instance.
|
|
676
676
|
*/
|
|
677
|
-
declare const CancelWorkflowContract:
|
|
677
|
+
declare const CancelWorkflowContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
678
678
|
instanceId: {
|
|
679
|
-
type:
|
|
679
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
680
680
|
isOptional: false;
|
|
681
681
|
};
|
|
682
682
|
reason: {
|
|
683
|
-
type:
|
|
683
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
684
684
|
isOptional: false;
|
|
685
685
|
};
|
|
686
|
-
}>,
|
|
686
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
687
687
|
id: {
|
|
688
|
-
type:
|
|
688
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
689
689
|
isOptional: false;
|
|
690
690
|
};
|
|
691
691
|
workflowDefinitionId: {
|
|
692
|
-
type:
|
|
692
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
693
693
|
isOptional: false;
|
|
694
694
|
};
|
|
695
695
|
referenceId: {
|
|
696
|
-
type:
|
|
696
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
697
697
|
isOptional: true;
|
|
698
698
|
};
|
|
699
699
|
referenceType: {
|
|
700
|
-
type:
|
|
700
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
701
701
|
isOptional: true;
|
|
702
702
|
};
|
|
703
703
|
status: {
|
|
704
|
-
type:
|
|
704
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
705
705
|
isOptional: false;
|
|
706
706
|
};
|
|
707
707
|
currentStepId: {
|
|
708
|
-
type:
|
|
708
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
709
709
|
isOptional: true;
|
|
710
710
|
};
|
|
711
711
|
contextData: {
|
|
712
|
-
type:
|
|
712
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
713
713
|
isOptional: true;
|
|
714
714
|
};
|
|
715
715
|
triggeredBy: {
|
|
716
|
-
type:
|
|
716
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
717
717
|
isOptional: false;
|
|
718
718
|
};
|
|
719
719
|
organizationId: {
|
|
720
|
-
type:
|
|
720
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
721
721
|
isOptional: false;
|
|
722
722
|
};
|
|
723
723
|
priority: {
|
|
724
|
-
type:
|
|
724
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
725
725
|
isOptional: false;
|
|
726
726
|
};
|
|
727
727
|
dueAt: {
|
|
728
|
-
type:
|
|
728
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
729
729
|
isOptional: true;
|
|
730
730
|
};
|
|
731
731
|
outcome: {
|
|
732
|
-
type:
|
|
732
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
733
733
|
isOptional: true;
|
|
734
734
|
};
|
|
735
735
|
resultData: {
|
|
736
|
-
type:
|
|
736
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
737
737
|
isOptional: true;
|
|
738
738
|
};
|
|
739
739
|
errorMessage: {
|
|
740
|
-
type:
|
|
740
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
741
741
|
isOptional: true;
|
|
742
742
|
};
|
|
743
743
|
createdAt: {
|
|
744
|
-
type:
|
|
744
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
745
745
|
isOptional: false;
|
|
746
746
|
};
|
|
747
747
|
startedAt: {
|
|
748
|
-
type:
|
|
748
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
749
749
|
isOptional: true;
|
|
750
750
|
};
|
|
751
751
|
completedAt: {
|
|
752
|
-
type:
|
|
752
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
753
753
|
isOptional: true;
|
|
754
754
|
};
|
|
755
755
|
}>, {
|
|
756
756
|
name: string;
|
|
757
757
|
version: number;
|
|
758
758
|
when: string;
|
|
759
|
-
payload:
|
|
759
|
+
payload: _lssm_lib_schema295.SchemaModel<{
|
|
760
760
|
id: {
|
|
761
|
-
type:
|
|
761
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
762
762
|
isOptional: false;
|
|
763
763
|
};
|
|
764
764
|
workflowDefinitionId: {
|
|
765
|
-
type:
|
|
765
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
766
766
|
isOptional: false;
|
|
767
767
|
};
|
|
768
768
|
referenceId: {
|
|
769
|
-
type:
|
|
769
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
770
770
|
isOptional: true;
|
|
771
771
|
};
|
|
772
772
|
referenceType: {
|
|
773
|
-
type:
|
|
773
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
774
774
|
isOptional: true;
|
|
775
775
|
};
|
|
776
776
|
status: {
|
|
777
|
-
type:
|
|
777
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
778
778
|
isOptional: false;
|
|
779
779
|
};
|
|
780
780
|
currentStepId: {
|
|
781
|
-
type:
|
|
781
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
782
782
|
isOptional: true;
|
|
783
783
|
};
|
|
784
784
|
contextData: {
|
|
785
|
-
type:
|
|
785
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
786
786
|
isOptional: true;
|
|
787
787
|
};
|
|
788
788
|
triggeredBy: {
|
|
789
|
-
type:
|
|
789
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
790
790
|
isOptional: false;
|
|
791
791
|
};
|
|
792
792
|
organizationId: {
|
|
793
|
-
type:
|
|
793
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
794
794
|
isOptional: false;
|
|
795
795
|
};
|
|
796
796
|
priority: {
|
|
797
|
-
type:
|
|
797
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
798
798
|
isOptional: false;
|
|
799
799
|
};
|
|
800
800
|
dueAt: {
|
|
801
|
-
type:
|
|
801
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
802
802
|
isOptional: true;
|
|
803
803
|
};
|
|
804
804
|
outcome: {
|
|
805
|
-
type:
|
|
805
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
806
806
|
isOptional: true;
|
|
807
807
|
};
|
|
808
808
|
resultData: {
|
|
809
|
-
type:
|
|
809
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
810
810
|
isOptional: true;
|
|
811
811
|
};
|
|
812
812
|
errorMessage: {
|
|
813
|
-
type:
|
|
813
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
814
814
|
isOptional: true;
|
|
815
815
|
};
|
|
816
816
|
createdAt: {
|
|
817
|
-
type:
|
|
817
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
818
818
|
isOptional: false;
|
|
819
819
|
};
|
|
820
820
|
startedAt: {
|
|
821
|
-
type:
|
|
821
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
822
822
|
isOptional: true;
|
|
823
823
|
};
|
|
824
824
|
completedAt: {
|
|
825
|
-
type:
|
|
825
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
826
826
|
isOptional: true;
|
|
827
827
|
};
|
|
828
828
|
}>;
|
|
@@ -830,106 +830,106 @@ declare const CancelWorkflowContract: _lssm_lib_contracts14.ContractSpec<_lssm_l
|
|
|
830
830
|
/**
|
|
831
831
|
* List workflow instances.
|
|
832
832
|
*/
|
|
833
|
-
declare const ListInstancesContract:
|
|
833
|
+
declare const ListInstancesContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
834
834
|
workflowKey: {
|
|
835
|
-
type:
|
|
835
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
836
836
|
isOptional: true;
|
|
837
837
|
};
|
|
838
838
|
status: {
|
|
839
|
-
type:
|
|
839
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
840
840
|
isOptional: true;
|
|
841
841
|
};
|
|
842
842
|
referenceType: {
|
|
843
|
-
type:
|
|
843
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
844
844
|
isOptional: true;
|
|
845
845
|
};
|
|
846
846
|
referenceId: {
|
|
847
|
-
type:
|
|
847
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
848
848
|
isOptional: true;
|
|
849
849
|
};
|
|
850
850
|
triggeredBy: {
|
|
851
|
-
type:
|
|
851
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
852
852
|
isOptional: true;
|
|
853
853
|
};
|
|
854
854
|
limit: {
|
|
855
|
-
type:
|
|
855
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
856
856
|
isOptional: true;
|
|
857
857
|
defaultValue: number;
|
|
858
858
|
};
|
|
859
859
|
offset: {
|
|
860
|
-
type:
|
|
860
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
861
861
|
isOptional: true;
|
|
862
862
|
defaultValue: number;
|
|
863
863
|
};
|
|
864
|
-
}>,
|
|
864
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
865
865
|
instances: {
|
|
866
|
-
type:
|
|
866
|
+
type: _lssm_lib_schema295.SchemaModel<{
|
|
867
867
|
id: {
|
|
868
|
-
type:
|
|
868
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
869
869
|
isOptional: false;
|
|
870
870
|
};
|
|
871
871
|
workflowDefinitionId: {
|
|
872
|
-
type:
|
|
872
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
873
873
|
isOptional: false;
|
|
874
874
|
};
|
|
875
875
|
referenceId: {
|
|
876
|
-
type:
|
|
876
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
877
877
|
isOptional: true;
|
|
878
878
|
};
|
|
879
879
|
referenceType: {
|
|
880
|
-
type:
|
|
880
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
881
881
|
isOptional: true;
|
|
882
882
|
};
|
|
883
883
|
status: {
|
|
884
|
-
type:
|
|
884
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
885
885
|
isOptional: false;
|
|
886
886
|
};
|
|
887
887
|
currentStepId: {
|
|
888
|
-
type:
|
|
888
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
889
889
|
isOptional: true;
|
|
890
890
|
};
|
|
891
891
|
contextData: {
|
|
892
|
-
type:
|
|
892
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
893
893
|
isOptional: true;
|
|
894
894
|
};
|
|
895
895
|
triggeredBy: {
|
|
896
|
-
type:
|
|
896
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
897
897
|
isOptional: false;
|
|
898
898
|
};
|
|
899
899
|
organizationId: {
|
|
900
|
-
type:
|
|
900
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
901
901
|
isOptional: false;
|
|
902
902
|
};
|
|
903
903
|
priority: {
|
|
904
|
-
type:
|
|
904
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
905
905
|
isOptional: false;
|
|
906
906
|
};
|
|
907
907
|
dueAt: {
|
|
908
|
-
type:
|
|
908
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
909
909
|
isOptional: true;
|
|
910
910
|
};
|
|
911
911
|
outcome: {
|
|
912
|
-
type:
|
|
912
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
913
913
|
isOptional: true;
|
|
914
914
|
};
|
|
915
915
|
resultData: {
|
|
916
|
-
type:
|
|
916
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
917
917
|
isOptional: true;
|
|
918
918
|
};
|
|
919
919
|
errorMessage: {
|
|
920
|
-
type:
|
|
920
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
921
921
|
isOptional: true;
|
|
922
922
|
};
|
|
923
923
|
createdAt: {
|
|
924
|
-
type:
|
|
924
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
925
925
|
isOptional: false;
|
|
926
926
|
};
|
|
927
927
|
startedAt: {
|
|
928
|
-
type:
|
|
928
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
929
929
|
isOptional: true;
|
|
930
930
|
};
|
|
931
931
|
completedAt: {
|
|
932
|
-
type:
|
|
932
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
933
933
|
isOptional: true;
|
|
934
934
|
};
|
|
935
935
|
}>;
|
|
@@ -937,85 +937,85 @@ declare const ListInstancesContract: _lssm_lib_contracts14.ContractSpec<_lssm_li
|
|
|
937
937
|
isOptional: false;
|
|
938
938
|
};
|
|
939
939
|
total: {
|
|
940
|
-
type:
|
|
940
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
941
941
|
isOptional: false;
|
|
942
942
|
};
|
|
943
943
|
}>, undefined>;
|
|
944
944
|
/**
|
|
945
945
|
* Get a single workflow instance.
|
|
946
946
|
*/
|
|
947
|
-
declare const GetInstanceContract:
|
|
947
|
+
declare const GetInstanceContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema295.SchemaModel<{
|
|
948
948
|
instanceId: {
|
|
949
|
-
type:
|
|
949
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
950
950
|
isOptional: false;
|
|
951
951
|
};
|
|
952
|
-
}>,
|
|
952
|
+
}>, _lssm_lib_schema295.SchemaModel<{
|
|
953
953
|
id: {
|
|
954
|
-
type:
|
|
954
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
955
955
|
isOptional: false;
|
|
956
956
|
};
|
|
957
957
|
workflowDefinitionId: {
|
|
958
|
-
type:
|
|
958
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
959
959
|
isOptional: false;
|
|
960
960
|
};
|
|
961
961
|
referenceId: {
|
|
962
|
-
type:
|
|
962
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
963
963
|
isOptional: true;
|
|
964
964
|
};
|
|
965
965
|
referenceType: {
|
|
966
|
-
type:
|
|
966
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
967
967
|
isOptional: true;
|
|
968
968
|
};
|
|
969
969
|
status: {
|
|
970
|
-
type:
|
|
970
|
+
type: _lssm_lib_schema295.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
971
971
|
isOptional: false;
|
|
972
972
|
};
|
|
973
973
|
currentStepId: {
|
|
974
|
-
type:
|
|
974
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
975
975
|
isOptional: true;
|
|
976
976
|
};
|
|
977
977
|
contextData: {
|
|
978
|
-
type:
|
|
978
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
979
979
|
isOptional: true;
|
|
980
980
|
};
|
|
981
981
|
triggeredBy: {
|
|
982
|
-
type:
|
|
982
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
983
983
|
isOptional: false;
|
|
984
984
|
};
|
|
985
985
|
organizationId: {
|
|
986
|
-
type:
|
|
986
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
987
987
|
isOptional: false;
|
|
988
988
|
};
|
|
989
989
|
priority: {
|
|
990
|
-
type:
|
|
990
|
+
type: _lssm_lib_schema295.FieldType<number, number>;
|
|
991
991
|
isOptional: false;
|
|
992
992
|
};
|
|
993
993
|
dueAt: {
|
|
994
|
-
type:
|
|
994
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
995
995
|
isOptional: true;
|
|
996
996
|
};
|
|
997
997
|
outcome: {
|
|
998
|
-
type:
|
|
998
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
999
999
|
isOptional: true;
|
|
1000
1000
|
};
|
|
1001
1001
|
resultData: {
|
|
1002
|
-
type:
|
|
1002
|
+
type: _lssm_lib_schema295.FieldType<unknown, unknown>;
|
|
1003
1003
|
isOptional: true;
|
|
1004
1004
|
};
|
|
1005
1005
|
errorMessage: {
|
|
1006
|
-
type:
|
|
1006
|
+
type: _lssm_lib_schema295.FieldType<string, string>;
|
|
1007
1007
|
isOptional: true;
|
|
1008
1008
|
};
|
|
1009
1009
|
createdAt: {
|
|
1010
|
-
type:
|
|
1010
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
1011
1011
|
isOptional: false;
|
|
1012
1012
|
};
|
|
1013
1013
|
startedAt: {
|
|
1014
|
-
type:
|
|
1014
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
1015
1015
|
isOptional: true;
|
|
1016
1016
|
};
|
|
1017
1017
|
completedAt: {
|
|
1018
|
-
type:
|
|
1018
|
+
type: _lssm_lib_schema295.FieldType<Date, string>;
|
|
1019
1019
|
isOptional: true;
|
|
1020
1020
|
};
|
|
1021
1021
|
}>, undefined>;
|