@lssm/example.workflow-system 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217063201
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,124 +1,124 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema341 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts8 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/workflow/workflow.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new workflow definition.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateWorkflowContract:
|
|
8
|
+
declare const CreateWorkflowContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
key: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
triggerType: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
triggerConfig: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
featureFlagKey: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
33
|
settings: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
|
-
}>,
|
|
37
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
38
38
|
id: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
name: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
key: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
description: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
version: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
status: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
triggerType: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
initialStepId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
featureFlagKey: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
organizationId: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
createdAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
updatedAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
steps: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
88
88
|
id: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
key: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
name: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
description: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
type: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
position: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
transitions: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
approvalMode: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
118
118
|
isOptional: true;
|
|
119
119
|
};
|
|
120
120
|
approverRoles: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
122
122
|
isArray: true;
|
|
123
123
|
isOptional: true;
|
|
124
124
|
};
|
|
@@ -130,91 +130,91 @@ declare const CreateWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_l
|
|
|
130
130
|
name: string;
|
|
131
131
|
version: number;
|
|
132
132
|
when: string;
|
|
133
|
-
payload:
|
|
133
|
+
payload: _lssm_lib_schema341.SchemaModel<{
|
|
134
134
|
id: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
name: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
key: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
description: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
148
148
|
isOptional: true;
|
|
149
149
|
};
|
|
150
150
|
version: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
status: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
triggerType: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
initialStepId: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
164
164
|
isOptional: true;
|
|
165
165
|
};
|
|
166
166
|
featureFlagKey: {
|
|
167
|
-
type:
|
|
167
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
organizationId: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
createdAt: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
updatedAt: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
180
180
|
isOptional: false;
|
|
181
181
|
};
|
|
182
182
|
steps: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
184
184
|
id: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
186
186
|
isOptional: false;
|
|
187
187
|
};
|
|
188
188
|
key: {
|
|
189
|
-
type:
|
|
189
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
190
190
|
isOptional: false;
|
|
191
191
|
};
|
|
192
192
|
name: {
|
|
193
|
-
type:
|
|
193
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
194
194
|
isOptional: false;
|
|
195
195
|
};
|
|
196
196
|
description: {
|
|
197
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
198
198
|
isOptional: true;
|
|
199
199
|
};
|
|
200
200
|
type: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
position: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
transitions: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
approvalMode: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
approverRoles: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
218
218
|
isArray: true;
|
|
219
219
|
isOptional: true;
|
|
220
220
|
};
|
|
@@ -227,120 +227,120 @@ declare const CreateWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_l
|
|
|
227
227
|
/**
|
|
228
228
|
* Update an existing workflow definition.
|
|
229
229
|
*/
|
|
230
|
-
declare const UpdateWorkflowContract:
|
|
230
|
+
declare const UpdateWorkflowContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
231
231
|
workflowId: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
233
233
|
isOptional: false;
|
|
234
234
|
};
|
|
235
235
|
name: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
237
237
|
isOptional: true;
|
|
238
238
|
};
|
|
239
239
|
description: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
241
241
|
isOptional: true;
|
|
242
242
|
};
|
|
243
243
|
triggerType: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
245
245
|
isOptional: true;
|
|
246
246
|
};
|
|
247
247
|
triggerConfig: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
249
249
|
isOptional: true;
|
|
250
250
|
};
|
|
251
251
|
featureFlagKey: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
253
253
|
isOptional: true;
|
|
254
254
|
};
|
|
255
255
|
settings: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
257
257
|
isOptional: true;
|
|
258
258
|
};
|
|
259
|
-
}>,
|
|
259
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
260
260
|
id: {
|
|
261
|
-
type:
|
|
261
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
262
262
|
isOptional: false;
|
|
263
263
|
};
|
|
264
264
|
name: {
|
|
265
|
-
type:
|
|
265
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
266
266
|
isOptional: false;
|
|
267
267
|
};
|
|
268
268
|
key: {
|
|
269
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
description: {
|
|
273
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
274
274
|
isOptional: true;
|
|
275
275
|
};
|
|
276
276
|
version: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
278
278
|
isOptional: false;
|
|
279
279
|
};
|
|
280
280
|
status: {
|
|
281
|
-
type:
|
|
281
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
282
282
|
isOptional: false;
|
|
283
283
|
};
|
|
284
284
|
triggerType: {
|
|
285
|
-
type:
|
|
285
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
286
286
|
isOptional: false;
|
|
287
287
|
};
|
|
288
288
|
initialStepId: {
|
|
289
|
-
type:
|
|
289
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
290
290
|
isOptional: true;
|
|
291
291
|
};
|
|
292
292
|
featureFlagKey: {
|
|
293
|
-
type:
|
|
293
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
294
294
|
isOptional: true;
|
|
295
295
|
};
|
|
296
296
|
organizationId: {
|
|
297
|
-
type:
|
|
297
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
298
298
|
isOptional: false;
|
|
299
299
|
};
|
|
300
300
|
createdAt: {
|
|
301
|
-
type:
|
|
301
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
302
302
|
isOptional: false;
|
|
303
303
|
};
|
|
304
304
|
updatedAt: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
steps: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
310
310
|
id: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
key: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
name: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
description: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
324
324
|
isOptional: true;
|
|
325
325
|
};
|
|
326
326
|
type: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
position: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
332
332
|
isOptional: false;
|
|
333
333
|
};
|
|
334
334
|
transitions: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
approvalMode: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
340
340
|
isOptional: true;
|
|
341
341
|
};
|
|
342
342
|
approverRoles: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
344
344
|
isArray: true;
|
|
345
345
|
isOptional: true;
|
|
346
346
|
};
|
|
@@ -352,91 +352,91 @@ declare const UpdateWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_l
|
|
|
352
352
|
name: string;
|
|
353
353
|
version: number;
|
|
354
354
|
when: string;
|
|
355
|
-
payload:
|
|
355
|
+
payload: _lssm_lib_schema341.SchemaModel<{
|
|
356
356
|
id: {
|
|
357
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
358
358
|
isOptional: false;
|
|
359
359
|
};
|
|
360
360
|
name: {
|
|
361
|
-
type:
|
|
361
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
362
362
|
isOptional: false;
|
|
363
363
|
};
|
|
364
364
|
key: {
|
|
365
|
-
type:
|
|
365
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
366
366
|
isOptional: false;
|
|
367
367
|
};
|
|
368
368
|
description: {
|
|
369
|
-
type:
|
|
369
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
370
370
|
isOptional: true;
|
|
371
371
|
};
|
|
372
372
|
version: {
|
|
373
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
374
374
|
isOptional: false;
|
|
375
375
|
};
|
|
376
376
|
status: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
triggerType: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
initialStepId: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
386
386
|
isOptional: true;
|
|
387
387
|
};
|
|
388
388
|
featureFlagKey: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
390
390
|
isOptional: true;
|
|
391
391
|
};
|
|
392
392
|
organizationId: {
|
|
393
|
-
type:
|
|
393
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
394
394
|
isOptional: false;
|
|
395
395
|
};
|
|
396
396
|
createdAt: {
|
|
397
|
-
type:
|
|
397
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
398
398
|
isOptional: false;
|
|
399
399
|
};
|
|
400
400
|
updatedAt: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
steps: {
|
|
405
|
-
type:
|
|
405
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
406
406
|
id: {
|
|
407
|
-
type:
|
|
407
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
408
408
|
isOptional: false;
|
|
409
409
|
};
|
|
410
410
|
key: {
|
|
411
|
-
type:
|
|
411
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
412
412
|
isOptional: false;
|
|
413
413
|
};
|
|
414
414
|
name: {
|
|
415
|
-
type:
|
|
415
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
416
416
|
isOptional: false;
|
|
417
417
|
};
|
|
418
418
|
description: {
|
|
419
|
-
type:
|
|
419
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
420
420
|
isOptional: true;
|
|
421
421
|
};
|
|
422
422
|
type: {
|
|
423
|
-
type:
|
|
423
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
424
424
|
isOptional: false;
|
|
425
425
|
};
|
|
426
426
|
position: {
|
|
427
|
-
type:
|
|
427
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
428
428
|
isOptional: false;
|
|
429
429
|
};
|
|
430
430
|
transitions: {
|
|
431
|
-
type:
|
|
431
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
432
432
|
isOptional: false;
|
|
433
433
|
};
|
|
434
434
|
approvalMode: {
|
|
435
|
-
type:
|
|
435
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
436
436
|
isOptional: true;
|
|
437
437
|
};
|
|
438
438
|
approverRoles: {
|
|
439
|
-
type:
|
|
439
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
440
440
|
isArray: true;
|
|
441
441
|
isOptional: true;
|
|
442
442
|
};
|
|
@@ -449,92 +449,92 @@ declare const UpdateWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_l
|
|
|
449
449
|
/**
|
|
450
450
|
* Add a step to a workflow definition.
|
|
451
451
|
*/
|
|
452
|
-
declare const AddStepContract:
|
|
452
|
+
declare const AddStepContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
453
453
|
workflowId: {
|
|
454
|
-
type:
|
|
454
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
455
455
|
isOptional: false;
|
|
456
456
|
};
|
|
457
457
|
key: {
|
|
458
|
-
type:
|
|
458
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
459
459
|
isOptional: false;
|
|
460
460
|
};
|
|
461
461
|
name: {
|
|
462
|
-
type:
|
|
462
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
463
463
|
isOptional: false;
|
|
464
464
|
};
|
|
465
465
|
description: {
|
|
466
|
-
type:
|
|
466
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
467
467
|
isOptional: true;
|
|
468
468
|
};
|
|
469
469
|
type: {
|
|
470
|
-
type:
|
|
470
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
471
471
|
isOptional: false;
|
|
472
472
|
};
|
|
473
473
|
position: {
|
|
474
|
-
type:
|
|
474
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
475
475
|
isOptional: true;
|
|
476
476
|
};
|
|
477
477
|
transitions: {
|
|
478
|
-
type:
|
|
478
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
479
479
|
isOptional: false;
|
|
480
480
|
};
|
|
481
481
|
approvalMode: {
|
|
482
|
-
type:
|
|
482
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
483
483
|
isOptional: true;
|
|
484
484
|
};
|
|
485
485
|
approverRoles: {
|
|
486
|
-
type:
|
|
486
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
487
487
|
isArray: true;
|
|
488
488
|
isOptional: true;
|
|
489
489
|
};
|
|
490
490
|
approverUserIds: {
|
|
491
|
-
type:
|
|
491
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
492
492
|
isArray: true;
|
|
493
493
|
isOptional: true;
|
|
494
494
|
};
|
|
495
495
|
timeoutSeconds: {
|
|
496
|
-
type:
|
|
496
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
497
497
|
isOptional: true;
|
|
498
498
|
};
|
|
499
499
|
slaSeconds: {
|
|
500
|
-
type:
|
|
500
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
501
501
|
isOptional: true;
|
|
502
502
|
};
|
|
503
|
-
}>,
|
|
503
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
504
504
|
id: {
|
|
505
|
-
type:
|
|
505
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
506
506
|
isOptional: false;
|
|
507
507
|
};
|
|
508
508
|
key: {
|
|
509
|
-
type:
|
|
509
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
510
510
|
isOptional: false;
|
|
511
511
|
};
|
|
512
512
|
name: {
|
|
513
|
-
type:
|
|
513
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
514
514
|
isOptional: false;
|
|
515
515
|
};
|
|
516
516
|
description: {
|
|
517
|
-
type:
|
|
517
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
518
518
|
isOptional: true;
|
|
519
519
|
};
|
|
520
520
|
type: {
|
|
521
|
-
type:
|
|
521
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
522
522
|
isOptional: false;
|
|
523
523
|
};
|
|
524
524
|
position: {
|
|
525
|
-
type:
|
|
525
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
526
526
|
isOptional: false;
|
|
527
527
|
};
|
|
528
528
|
transitions: {
|
|
529
|
-
type:
|
|
529
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
530
530
|
isOptional: false;
|
|
531
531
|
};
|
|
532
532
|
approvalMode: {
|
|
533
|
-
type:
|
|
533
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
534
534
|
isOptional: true;
|
|
535
535
|
};
|
|
536
536
|
approverRoles: {
|
|
537
|
-
type:
|
|
537
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
538
538
|
isArray: true;
|
|
539
539
|
isOptional: true;
|
|
540
540
|
};
|
|
@@ -542,41 +542,41 @@ declare const AddStepContract: _lssm_lib_contracts24.ContractSpec<_lssm_lib_sche
|
|
|
542
542
|
name: string;
|
|
543
543
|
version: number;
|
|
544
544
|
when: string;
|
|
545
|
-
payload:
|
|
545
|
+
payload: _lssm_lib_schema341.SchemaModel<{
|
|
546
546
|
id: {
|
|
547
|
-
type:
|
|
547
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
548
548
|
isOptional: false;
|
|
549
549
|
};
|
|
550
550
|
key: {
|
|
551
|
-
type:
|
|
551
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
552
552
|
isOptional: false;
|
|
553
553
|
};
|
|
554
554
|
name: {
|
|
555
|
-
type:
|
|
555
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
556
556
|
isOptional: false;
|
|
557
557
|
};
|
|
558
558
|
description: {
|
|
559
|
-
type:
|
|
559
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
560
560
|
isOptional: true;
|
|
561
561
|
};
|
|
562
562
|
type: {
|
|
563
|
-
type:
|
|
563
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
564
564
|
isOptional: false;
|
|
565
565
|
};
|
|
566
566
|
position: {
|
|
567
|
-
type:
|
|
567
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
568
568
|
isOptional: false;
|
|
569
569
|
};
|
|
570
570
|
transitions: {
|
|
571
|
-
type:
|
|
571
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
572
572
|
isOptional: false;
|
|
573
573
|
};
|
|
574
574
|
approvalMode: {
|
|
575
|
-
type:
|
|
575
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
576
576
|
isOptional: true;
|
|
577
577
|
};
|
|
578
578
|
approverRoles: {
|
|
579
|
-
type:
|
|
579
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
580
580
|
isArray: true;
|
|
581
581
|
isOptional: true;
|
|
582
582
|
};
|
|
@@ -585,96 +585,96 @@ declare const AddStepContract: _lssm_lib_contracts24.ContractSpec<_lssm_lib_sche
|
|
|
585
585
|
/**
|
|
586
586
|
* Publish a workflow definition (make it active).
|
|
587
587
|
*/
|
|
588
|
-
declare const PublishWorkflowContract:
|
|
588
|
+
declare const PublishWorkflowContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
589
589
|
workflowId: {
|
|
590
|
-
type:
|
|
590
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
591
591
|
isOptional: false;
|
|
592
592
|
};
|
|
593
|
-
}>,
|
|
593
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
594
594
|
id: {
|
|
595
|
-
type:
|
|
595
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
596
596
|
isOptional: false;
|
|
597
597
|
};
|
|
598
598
|
name: {
|
|
599
|
-
type:
|
|
599
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
600
600
|
isOptional: false;
|
|
601
601
|
};
|
|
602
602
|
key: {
|
|
603
|
-
type:
|
|
603
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
604
604
|
isOptional: false;
|
|
605
605
|
};
|
|
606
606
|
description: {
|
|
607
|
-
type:
|
|
607
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
608
608
|
isOptional: true;
|
|
609
609
|
};
|
|
610
610
|
version: {
|
|
611
|
-
type:
|
|
611
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
612
612
|
isOptional: false;
|
|
613
613
|
};
|
|
614
614
|
status: {
|
|
615
|
-
type:
|
|
615
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
616
616
|
isOptional: false;
|
|
617
617
|
};
|
|
618
618
|
triggerType: {
|
|
619
|
-
type:
|
|
619
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
620
620
|
isOptional: false;
|
|
621
621
|
};
|
|
622
622
|
initialStepId: {
|
|
623
|
-
type:
|
|
623
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
624
624
|
isOptional: true;
|
|
625
625
|
};
|
|
626
626
|
featureFlagKey: {
|
|
627
|
-
type:
|
|
627
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
628
628
|
isOptional: true;
|
|
629
629
|
};
|
|
630
630
|
organizationId: {
|
|
631
|
-
type:
|
|
631
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
632
632
|
isOptional: false;
|
|
633
633
|
};
|
|
634
634
|
createdAt: {
|
|
635
|
-
type:
|
|
635
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
636
636
|
isOptional: false;
|
|
637
637
|
};
|
|
638
638
|
updatedAt: {
|
|
639
|
-
type:
|
|
639
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
640
640
|
isOptional: false;
|
|
641
641
|
};
|
|
642
642
|
steps: {
|
|
643
|
-
type:
|
|
643
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
644
644
|
id: {
|
|
645
|
-
type:
|
|
645
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
646
646
|
isOptional: false;
|
|
647
647
|
};
|
|
648
648
|
key: {
|
|
649
|
-
type:
|
|
649
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
650
650
|
isOptional: false;
|
|
651
651
|
};
|
|
652
652
|
name: {
|
|
653
|
-
type:
|
|
653
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
654
654
|
isOptional: false;
|
|
655
655
|
};
|
|
656
656
|
description: {
|
|
657
|
-
type:
|
|
657
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
658
658
|
isOptional: true;
|
|
659
659
|
};
|
|
660
660
|
type: {
|
|
661
|
-
type:
|
|
661
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
662
662
|
isOptional: false;
|
|
663
663
|
};
|
|
664
664
|
position: {
|
|
665
|
-
type:
|
|
665
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
666
666
|
isOptional: false;
|
|
667
667
|
};
|
|
668
668
|
transitions: {
|
|
669
|
-
type:
|
|
669
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
670
670
|
isOptional: false;
|
|
671
671
|
};
|
|
672
672
|
approvalMode: {
|
|
673
|
-
type:
|
|
673
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
674
674
|
isOptional: true;
|
|
675
675
|
};
|
|
676
676
|
approverRoles: {
|
|
677
|
-
type:
|
|
677
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
678
678
|
isArray: true;
|
|
679
679
|
isOptional: true;
|
|
680
680
|
};
|
|
@@ -686,91 +686,91 @@ declare const PublishWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_
|
|
|
686
686
|
name: string;
|
|
687
687
|
version: number;
|
|
688
688
|
when: string;
|
|
689
|
-
payload:
|
|
689
|
+
payload: _lssm_lib_schema341.SchemaModel<{
|
|
690
690
|
id: {
|
|
691
|
-
type:
|
|
691
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
692
692
|
isOptional: false;
|
|
693
693
|
};
|
|
694
694
|
name: {
|
|
695
|
-
type:
|
|
695
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
696
696
|
isOptional: false;
|
|
697
697
|
};
|
|
698
698
|
key: {
|
|
699
|
-
type:
|
|
699
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
700
700
|
isOptional: false;
|
|
701
701
|
};
|
|
702
702
|
description: {
|
|
703
|
-
type:
|
|
703
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
704
704
|
isOptional: true;
|
|
705
705
|
};
|
|
706
706
|
version: {
|
|
707
|
-
type:
|
|
707
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
708
708
|
isOptional: false;
|
|
709
709
|
};
|
|
710
710
|
status: {
|
|
711
|
-
type:
|
|
711
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
712
712
|
isOptional: false;
|
|
713
713
|
};
|
|
714
714
|
triggerType: {
|
|
715
|
-
type:
|
|
715
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
716
716
|
isOptional: false;
|
|
717
717
|
};
|
|
718
718
|
initialStepId: {
|
|
719
|
-
type:
|
|
719
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
720
720
|
isOptional: true;
|
|
721
721
|
};
|
|
722
722
|
featureFlagKey: {
|
|
723
|
-
type:
|
|
723
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
724
724
|
isOptional: true;
|
|
725
725
|
};
|
|
726
726
|
organizationId: {
|
|
727
|
-
type:
|
|
727
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
728
728
|
isOptional: false;
|
|
729
729
|
};
|
|
730
730
|
createdAt: {
|
|
731
|
-
type:
|
|
731
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
732
732
|
isOptional: false;
|
|
733
733
|
};
|
|
734
734
|
updatedAt: {
|
|
735
|
-
type:
|
|
735
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
736
736
|
isOptional: false;
|
|
737
737
|
};
|
|
738
738
|
steps: {
|
|
739
|
-
type:
|
|
739
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
740
740
|
id: {
|
|
741
|
-
type:
|
|
741
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
742
742
|
isOptional: false;
|
|
743
743
|
};
|
|
744
744
|
key: {
|
|
745
|
-
type:
|
|
745
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
746
746
|
isOptional: false;
|
|
747
747
|
};
|
|
748
748
|
name: {
|
|
749
|
-
type:
|
|
749
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
750
750
|
isOptional: false;
|
|
751
751
|
};
|
|
752
752
|
description: {
|
|
753
|
-
type:
|
|
753
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
754
754
|
isOptional: true;
|
|
755
755
|
};
|
|
756
756
|
type: {
|
|
757
|
-
type:
|
|
757
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
758
758
|
isOptional: false;
|
|
759
759
|
};
|
|
760
760
|
position: {
|
|
761
|
-
type:
|
|
761
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
762
762
|
isOptional: false;
|
|
763
763
|
};
|
|
764
764
|
transitions: {
|
|
765
|
-
type:
|
|
765
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
766
766
|
isOptional: false;
|
|
767
767
|
};
|
|
768
768
|
approvalMode: {
|
|
769
|
-
type:
|
|
769
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
770
770
|
isOptional: true;
|
|
771
771
|
};
|
|
772
772
|
approverRoles: {
|
|
773
|
-
type:
|
|
773
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
774
774
|
isArray: true;
|
|
775
775
|
isOptional: true;
|
|
776
776
|
};
|
|
@@ -783,112 +783,112 @@ declare const PublishWorkflowContract: _lssm_lib_contracts24.ContractSpec<_lssm_
|
|
|
783
783
|
/**
|
|
784
784
|
* List workflow definitions.
|
|
785
785
|
*/
|
|
786
|
-
declare const ListWorkflowsContract:
|
|
786
|
+
declare const ListWorkflowsContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
787
787
|
status: {
|
|
788
|
-
type:
|
|
788
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
789
789
|
isOptional: true;
|
|
790
790
|
};
|
|
791
791
|
search: {
|
|
792
|
-
type:
|
|
792
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
793
793
|
isOptional: true;
|
|
794
794
|
};
|
|
795
795
|
limit: {
|
|
796
|
-
type:
|
|
796
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
797
797
|
isOptional: true;
|
|
798
798
|
defaultValue: number;
|
|
799
799
|
};
|
|
800
800
|
offset: {
|
|
801
|
-
type:
|
|
801
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
802
802
|
isOptional: true;
|
|
803
803
|
defaultValue: number;
|
|
804
804
|
};
|
|
805
|
-
}>,
|
|
805
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
806
806
|
workflows: {
|
|
807
|
-
type:
|
|
807
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
808
808
|
id: {
|
|
809
|
-
type:
|
|
809
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
810
810
|
isOptional: false;
|
|
811
811
|
};
|
|
812
812
|
name: {
|
|
813
|
-
type:
|
|
813
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
814
814
|
isOptional: false;
|
|
815
815
|
};
|
|
816
816
|
key: {
|
|
817
|
-
type:
|
|
817
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
818
818
|
isOptional: false;
|
|
819
819
|
};
|
|
820
820
|
description: {
|
|
821
|
-
type:
|
|
821
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
822
822
|
isOptional: true;
|
|
823
823
|
};
|
|
824
824
|
version: {
|
|
825
|
-
type:
|
|
825
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
826
826
|
isOptional: false;
|
|
827
827
|
};
|
|
828
828
|
status: {
|
|
829
|
-
type:
|
|
829
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
830
830
|
isOptional: false;
|
|
831
831
|
};
|
|
832
832
|
triggerType: {
|
|
833
|
-
type:
|
|
833
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
834
834
|
isOptional: false;
|
|
835
835
|
};
|
|
836
836
|
initialStepId: {
|
|
837
|
-
type:
|
|
837
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
838
838
|
isOptional: true;
|
|
839
839
|
};
|
|
840
840
|
featureFlagKey: {
|
|
841
|
-
type:
|
|
841
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
842
842
|
isOptional: true;
|
|
843
843
|
};
|
|
844
844
|
organizationId: {
|
|
845
|
-
type:
|
|
845
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
846
846
|
isOptional: false;
|
|
847
847
|
};
|
|
848
848
|
createdAt: {
|
|
849
|
-
type:
|
|
849
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
850
850
|
isOptional: false;
|
|
851
851
|
};
|
|
852
852
|
updatedAt: {
|
|
853
|
-
type:
|
|
853
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
854
854
|
isOptional: false;
|
|
855
855
|
};
|
|
856
856
|
steps: {
|
|
857
|
-
type:
|
|
857
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
858
858
|
id: {
|
|
859
|
-
type:
|
|
859
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
860
860
|
isOptional: false;
|
|
861
861
|
};
|
|
862
862
|
key: {
|
|
863
|
-
type:
|
|
863
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
864
864
|
isOptional: false;
|
|
865
865
|
};
|
|
866
866
|
name: {
|
|
867
|
-
type:
|
|
867
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
868
868
|
isOptional: false;
|
|
869
869
|
};
|
|
870
870
|
description: {
|
|
871
|
-
type:
|
|
871
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
872
872
|
isOptional: true;
|
|
873
873
|
};
|
|
874
874
|
type: {
|
|
875
|
-
type:
|
|
875
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
876
876
|
isOptional: false;
|
|
877
877
|
};
|
|
878
878
|
position: {
|
|
879
|
-
type:
|
|
879
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
880
880
|
isOptional: false;
|
|
881
881
|
};
|
|
882
882
|
transitions: {
|
|
883
|
-
type:
|
|
883
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
884
884
|
isOptional: false;
|
|
885
885
|
};
|
|
886
886
|
approvalMode: {
|
|
887
|
-
type:
|
|
887
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
888
888
|
isOptional: true;
|
|
889
889
|
};
|
|
890
890
|
approverRoles: {
|
|
891
|
-
type:
|
|
891
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
892
892
|
isArray: true;
|
|
893
893
|
isOptional: true;
|
|
894
894
|
};
|
|
@@ -901,103 +901,103 @@ declare const ListWorkflowsContract: _lssm_lib_contracts24.ContractSpec<_lssm_li
|
|
|
901
901
|
isOptional: false;
|
|
902
902
|
};
|
|
903
903
|
total: {
|
|
904
|
-
type:
|
|
904
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
905
905
|
isOptional: false;
|
|
906
906
|
};
|
|
907
907
|
}>, undefined>;
|
|
908
908
|
/**
|
|
909
909
|
* Get a single workflow definition with steps.
|
|
910
910
|
*/
|
|
911
|
-
declare const GetWorkflowContract:
|
|
911
|
+
declare const GetWorkflowContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema341.SchemaModel<{
|
|
912
912
|
workflowId: {
|
|
913
|
-
type:
|
|
913
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
914
914
|
isOptional: false;
|
|
915
915
|
};
|
|
916
|
-
}>,
|
|
916
|
+
}>, _lssm_lib_schema341.SchemaModel<{
|
|
917
917
|
id: {
|
|
918
|
-
type:
|
|
918
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
919
919
|
isOptional: false;
|
|
920
920
|
};
|
|
921
921
|
name: {
|
|
922
|
-
type:
|
|
922
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
923
923
|
isOptional: false;
|
|
924
924
|
};
|
|
925
925
|
key: {
|
|
926
|
-
type:
|
|
926
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
927
927
|
isOptional: false;
|
|
928
928
|
};
|
|
929
929
|
description: {
|
|
930
|
-
type:
|
|
930
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
931
931
|
isOptional: true;
|
|
932
932
|
};
|
|
933
933
|
version: {
|
|
934
|
-
type:
|
|
934
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
935
935
|
isOptional: false;
|
|
936
936
|
};
|
|
937
937
|
status: {
|
|
938
|
-
type:
|
|
938
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
939
939
|
isOptional: false;
|
|
940
940
|
};
|
|
941
941
|
triggerType: {
|
|
942
|
-
type:
|
|
942
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
943
943
|
isOptional: false;
|
|
944
944
|
};
|
|
945
945
|
initialStepId: {
|
|
946
|
-
type:
|
|
946
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
947
947
|
isOptional: true;
|
|
948
948
|
};
|
|
949
949
|
featureFlagKey: {
|
|
950
|
-
type:
|
|
950
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
951
951
|
isOptional: true;
|
|
952
952
|
};
|
|
953
953
|
organizationId: {
|
|
954
|
-
type:
|
|
954
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
955
955
|
isOptional: false;
|
|
956
956
|
};
|
|
957
957
|
createdAt: {
|
|
958
|
-
type:
|
|
958
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
959
959
|
isOptional: false;
|
|
960
960
|
};
|
|
961
961
|
updatedAt: {
|
|
962
|
-
type:
|
|
962
|
+
type: _lssm_lib_schema341.FieldType<Date, string>;
|
|
963
963
|
isOptional: false;
|
|
964
964
|
};
|
|
965
965
|
steps: {
|
|
966
|
-
type:
|
|
966
|
+
type: _lssm_lib_schema341.SchemaModel<{
|
|
967
967
|
id: {
|
|
968
|
-
type:
|
|
968
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
969
969
|
isOptional: false;
|
|
970
970
|
};
|
|
971
971
|
key: {
|
|
972
|
-
type:
|
|
972
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
973
973
|
isOptional: false;
|
|
974
974
|
};
|
|
975
975
|
name: {
|
|
976
|
-
type:
|
|
976
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
977
977
|
isOptional: false;
|
|
978
978
|
};
|
|
979
979
|
description: {
|
|
980
|
-
type:
|
|
980
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
981
981
|
isOptional: true;
|
|
982
982
|
};
|
|
983
983
|
type: {
|
|
984
|
-
type:
|
|
984
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
985
985
|
isOptional: false;
|
|
986
986
|
};
|
|
987
987
|
position: {
|
|
988
|
-
type:
|
|
988
|
+
type: _lssm_lib_schema341.FieldType<number, number>;
|
|
989
989
|
isOptional: false;
|
|
990
990
|
};
|
|
991
991
|
transitions: {
|
|
992
|
-
type:
|
|
992
|
+
type: _lssm_lib_schema341.FieldType<unknown, unknown>;
|
|
993
993
|
isOptional: false;
|
|
994
994
|
};
|
|
995
995
|
approvalMode: {
|
|
996
|
-
type:
|
|
996
|
+
type: _lssm_lib_schema341.EnumType<[string, string, string, string]>;
|
|
997
997
|
isOptional: true;
|
|
998
998
|
};
|
|
999
999
|
approverRoles: {
|
|
1000
|
-
type:
|
|
1000
|
+
type: _lssm_lib_schema341.FieldType<string, string>;
|
|
1001
1001
|
isArray: true;
|
|
1002
1002
|
isOptional: true;
|
|
1003
1003
|
};
|