@lssm/example.workflow-system 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217072406
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 +250 -1
- package/dist/approval/approval.enum.d.ts +3 -3
- package/dist/approval/approval.enum.js +29 -1
- package/dist/approval/approval.event.d.ts +32 -32
- package/dist/approval/approval.event.js +186 -1
- package/dist/approval/approval.handler.js +71 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/approval/approval.schema.js +111 -1
- package/dist/approval/index.js +6 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/workflow-system.docblock.js +61 -5
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.js +128 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/index.js +31 -1
- package/dist/entities/instance.d.ts +47 -47
- package/dist/entities/instance.js +168 -1
- package/dist/entities/step.d.ts +32 -32
- package/dist/entities/step.js +135 -1
- package/dist/entities/workflow.d.ts +23 -23
- package/dist/entities/workflow.js +102 -1
- package/dist/example.js +50 -1
- package/dist/index.js +19 -1
- package/dist/instance/index.js +6 -1
- package/dist/instance/instance.contracts.d.ts +256 -256
- package/dist/instance/instance.contracts.js +334 -1
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/instance/instance.enum.js +20 -1
- package/dist/instance/instance.event.d.ts +87 -87
- package/dist/instance/instance.event.js +214 -1
- package/dist/instance/instance.handler.js +93 -1
- package/dist/instance/instance.schema.d.ts +54 -54
- package/dist/instance/instance.schema.js +173 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +88 -1
- package/dist/libs/contracts/dist/client/index.js +5 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -1
- package/dist/libs/contracts/dist/client/react/index.js +4 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +60 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -350
- package/dist/libs/contracts/dist/docs/index.js +29 -1
- package/dist/libs/contracts/dist/docs/presentations.js +71 -1
- package/dist/libs/contracts/dist/docs/registry.js +44 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +21 -2
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +73 -5
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +25 -16
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +22 -2
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +40 -36
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -1
- package/dist/libs/contracts/dist/events.js +10 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -1
- package/dist/libs/contracts/dist/index.js +71 -1
- package/dist/libs/contracts/dist/install.js +2 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +377 -1
- package/dist/libs/contracts/dist/integrations/index.js +18 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +228 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +159 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +210 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +242 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +13 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -1
- package/dist/libs/contracts/dist/jsonschema.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +306 -1
- package/dist/libs/contracts/dist/knowledge/index.js +7 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -1
- package/dist/libs/contracts/dist/llm/exporters.js +19 -1
- package/dist/libs/contracts/dist/llm/index.js +2 -1
- package/dist/libs/contracts/dist/llm/prompts.js +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +196 -1
- package/dist/libs/contracts/dist/openapi.js +1 -1
- package/dist/libs/contracts/dist/ownership.js +21 -1
- package/dist/libs/contracts/dist/presentations.js +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js +11 -1
- package/dist/libs/contracts/dist/prompt.js +1 -1
- package/dist/libs/contracts/dist/promptRegistry.js +1 -1
- package/dist/libs/contracts/dist/regenerator/index.js +1 -1
- package/dist/libs/contracts/dist/regenerator/service.js +6 -1
- package/dist/libs/contracts/dist/registry.js +2 -1
- package/dist/libs/contracts/dist/resources.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +49 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +39 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -1
- package/dist/libs/contracts/dist/server/index.js +8 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -1
- package/dist/libs/contracts/dist/server/rest-express.js +1 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -1
- package/dist/libs/contracts/dist/spec.js +34 -1
- package/dist/libs/contracts/dist/telemetry/index.js +1 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -1
- package/dist/libs/contracts/dist/tests/index.js +1 -1
- package/dist/libs/contracts/dist/tests/runner.js +2 -1
- package/dist/libs/contracts/dist/workflow/index.js +1 -1
- package/dist/libs/contracts/dist/workflow/runner.js +1 -1
- package/dist/libs/schema/dist/EnumType.js +56 -1
- package/dist/libs/schema/dist/FieldType.js +49 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/schema/dist/SchemaModel.js +39 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +236 -1
- package/dist/libs/schema/dist/entity/index.js +2 -1
- package/dist/libs/schema/dist/entity/types.js +1 -1
- package/dist/libs/schema/dist/index.js +6 -1
- package/dist/presentations/index.js +291 -1
- package/dist/shared/index.js +3 -1
- package/dist/shared/mock-data.js +11 -1
- package/dist/state-machine/index.js +157 -1
- package/dist/workflow/index.js +6 -1
- package/dist/workflow/workflow.contracts.d.ts +246 -246
- package/dist/workflow/workflow.contracts.js +239 -1
- package/dist/workflow/workflow.enum.d.ts +5 -5
- package/dist/workflow/workflow.enum.js +47 -1
- package/dist/workflow/workflow.event.d.ts +32 -32
- package/dist/workflow/workflow.event.js +116 -1
- package/dist/workflow/workflow.handler.js +65 -1
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.js +250 -1
- package/dist/workflow-system.feature.js +337 -1
- package/package.json +11 -11
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema96 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/approval/approval.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Approve or reject an approval request.
|
|
7
7
|
*/
|
|
8
|
-
declare const SubmitDecisionContract:
|
|
8
|
+
declare const SubmitDecisionContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema96.SchemaModel<{
|
|
9
9
|
requestId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
decision: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
comment: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
data: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _lssm_lib_schema96.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
workflowInstanceId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
stepExecutionId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
approverId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
approverRole: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
title: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
description: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
status: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
decision: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
decisionComment: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
decidedAt: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
dueAt: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
contextSnapshot: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
sequenceOrder: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
createdAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>, {
|
|
87
87
|
name: string;
|
|
88
88
|
version: number;
|
|
89
89
|
when: string;
|
|
90
|
-
payload:
|
|
90
|
+
payload: _lssm_lib_schema96.SchemaModel<{
|
|
91
91
|
id: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
workflowInstanceId: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
stepExecutionId: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
approverId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
approverRole: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
title: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
description: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
status: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
decision: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
decisionComment: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
decidedAt: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
dueAt: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
137
137
|
isOptional: true;
|
|
138
138
|
};
|
|
139
139
|
contextSnapshot: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
};
|
|
143
143
|
sequenceOrder: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
createdAt: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
}>;
|
|
@@ -153,143 +153,143 @@ declare const SubmitDecisionContract: _lssm_lib_contracts3.ContractSpec<_lssm_li
|
|
|
153
153
|
/**
|
|
154
154
|
* Delegate an approval to another user.
|
|
155
155
|
*/
|
|
156
|
-
declare const DelegateApprovalContract:
|
|
156
|
+
declare const DelegateApprovalContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema96.SchemaModel<{
|
|
157
157
|
requestId: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
delegateTo: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
reason: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
167
167
|
isOptional: true;
|
|
168
168
|
};
|
|
169
|
-
}>,
|
|
169
|
+
}>, _lssm_lib_schema96.SchemaModel<{
|
|
170
170
|
id: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
workflowInstanceId: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
stepExecutionId: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
180
180
|
isOptional: false;
|
|
181
181
|
};
|
|
182
182
|
approverId: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
approverRole: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
title: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
description: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
status: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
decision: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
decisionComment: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
decidedAt: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
212
212
|
isOptional: true;
|
|
213
213
|
};
|
|
214
214
|
dueAt: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
216
216
|
isOptional: true;
|
|
217
217
|
};
|
|
218
218
|
contextSnapshot: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
220
220
|
isOptional: true;
|
|
221
221
|
};
|
|
222
222
|
sequenceOrder: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
createdAt: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
228
228
|
isOptional: false;
|
|
229
229
|
};
|
|
230
230
|
}>, {
|
|
231
231
|
name: string;
|
|
232
232
|
version: number;
|
|
233
233
|
when: string;
|
|
234
|
-
payload:
|
|
234
|
+
payload: _lssm_lib_schema96.SchemaModel<{
|
|
235
235
|
id: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
workflowInstanceId: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
};
|
|
243
243
|
stepExecutionId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
approverId: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
approverRole: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
253
253
|
isOptional: true;
|
|
254
254
|
};
|
|
255
255
|
title: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
257
257
|
isOptional: false;
|
|
258
258
|
};
|
|
259
259
|
description: {
|
|
260
|
-
type:
|
|
260
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
261
261
|
isOptional: true;
|
|
262
262
|
};
|
|
263
263
|
status: {
|
|
264
|
-
type:
|
|
264
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
265
265
|
isOptional: false;
|
|
266
266
|
};
|
|
267
267
|
decision: {
|
|
268
|
-
type:
|
|
268
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
269
269
|
isOptional: true;
|
|
270
270
|
};
|
|
271
271
|
decisionComment: {
|
|
272
|
-
type:
|
|
272
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
273
273
|
isOptional: true;
|
|
274
274
|
};
|
|
275
275
|
decidedAt: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
dueAt: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
contextSnapshot: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
285
285
|
isOptional: true;
|
|
286
286
|
};
|
|
287
287
|
sequenceOrder: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
createdAt: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
}>;
|
|
@@ -297,71 +297,71 @@ declare const DelegateApprovalContract: _lssm_lib_contracts3.ContractSpec<_lssm_
|
|
|
297
297
|
/**
|
|
298
298
|
* Add a comment to an approval request.
|
|
299
299
|
*/
|
|
300
|
-
declare const AddApprovalCommentContract:
|
|
300
|
+
declare const AddApprovalCommentContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema96.SchemaModel<{
|
|
301
301
|
requestId: {
|
|
302
|
-
type:
|
|
302
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
content: {
|
|
306
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
isInternal: {
|
|
310
|
-
type:
|
|
310
|
+
type: _lssm_lib_schema96.FieldType<boolean, boolean>;
|
|
311
311
|
isOptional: true;
|
|
312
312
|
};
|
|
313
|
-
}>,
|
|
313
|
+
}>, _lssm_lib_schema96.SchemaModel<{
|
|
314
314
|
id: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
approvalRequestId: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
authorId: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
content: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
isInternal: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema96.FieldType<boolean, boolean>;
|
|
332
332
|
isOptional: false;
|
|
333
333
|
};
|
|
334
334
|
createdAt: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
}>, {
|
|
339
339
|
name: string;
|
|
340
340
|
version: number;
|
|
341
341
|
when: string;
|
|
342
|
-
payload:
|
|
342
|
+
payload: _lssm_lib_schema96.SchemaModel<{
|
|
343
343
|
id: {
|
|
344
|
-
type:
|
|
344
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
345
345
|
isOptional: false;
|
|
346
346
|
};
|
|
347
347
|
approvalRequestId: {
|
|
348
|
-
type:
|
|
348
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
349
349
|
isOptional: false;
|
|
350
350
|
};
|
|
351
351
|
authorId: {
|
|
352
|
-
type:
|
|
352
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
353
353
|
isOptional: false;
|
|
354
354
|
};
|
|
355
355
|
content: {
|
|
356
|
-
type:
|
|
356
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
357
357
|
isOptional: false;
|
|
358
358
|
};
|
|
359
359
|
isInternal: {
|
|
360
|
-
type:
|
|
360
|
+
type: _lssm_lib_schema96.FieldType<boolean, boolean>;
|
|
361
361
|
isOptional: false;
|
|
362
362
|
};
|
|
363
363
|
createdAt: {
|
|
364
|
-
type:
|
|
364
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
365
365
|
isOptional: false;
|
|
366
366
|
};
|
|
367
367
|
}>;
|
|
@@ -369,82 +369,82 @@ declare const AddApprovalCommentContract: _lssm_lib_contracts3.ContractSpec<_lss
|
|
|
369
369
|
/**
|
|
370
370
|
* List approvals assigned to the current user.
|
|
371
371
|
*/
|
|
372
|
-
declare const ListMyApprovalsContract:
|
|
372
|
+
declare const ListMyApprovalsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema96.SchemaModel<{
|
|
373
373
|
status: {
|
|
374
|
-
type:
|
|
374
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
375
375
|
isOptional: true;
|
|
376
376
|
};
|
|
377
377
|
limit: {
|
|
378
|
-
type:
|
|
378
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
379
379
|
isOptional: true;
|
|
380
380
|
defaultValue: number;
|
|
381
381
|
};
|
|
382
382
|
offset: {
|
|
383
|
-
type:
|
|
383
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
384
384
|
isOptional: true;
|
|
385
385
|
defaultValue: number;
|
|
386
386
|
};
|
|
387
|
-
}>,
|
|
387
|
+
}>, _lssm_lib_schema96.SchemaModel<{
|
|
388
388
|
requests: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema96.SchemaModel<{
|
|
390
390
|
id: {
|
|
391
|
-
type:
|
|
391
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
392
392
|
isOptional: false;
|
|
393
393
|
};
|
|
394
394
|
workflowInstanceId: {
|
|
395
|
-
type:
|
|
395
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
396
396
|
isOptional: false;
|
|
397
397
|
};
|
|
398
398
|
stepExecutionId: {
|
|
399
|
-
type:
|
|
399
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
400
400
|
isOptional: false;
|
|
401
401
|
};
|
|
402
402
|
approverId: {
|
|
403
|
-
type:
|
|
403
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
404
404
|
isOptional: false;
|
|
405
405
|
};
|
|
406
406
|
approverRole: {
|
|
407
|
-
type:
|
|
407
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
408
408
|
isOptional: true;
|
|
409
409
|
};
|
|
410
410
|
title: {
|
|
411
|
-
type:
|
|
411
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
412
412
|
isOptional: false;
|
|
413
413
|
};
|
|
414
414
|
description: {
|
|
415
|
-
type:
|
|
415
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
416
416
|
isOptional: true;
|
|
417
417
|
};
|
|
418
418
|
status: {
|
|
419
|
-
type:
|
|
419
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
420
420
|
isOptional: false;
|
|
421
421
|
};
|
|
422
422
|
decision: {
|
|
423
|
-
type:
|
|
423
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
424
424
|
isOptional: true;
|
|
425
425
|
};
|
|
426
426
|
decisionComment: {
|
|
427
|
-
type:
|
|
427
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
428
428
|
isOptional: true;
|
|
429
429
|
};
|
|
430
430
|
decidedAt: {
|
|
431
|
-
type:
|
|
431
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
432
432
|
isOptional: true;
|
|
433
433
|
};
|
|
434
434
|
dueAt: {
|
|
435
|
-
type:
|
|
435
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
436
436
|
isOptional: true;
|
|
437
437
|
};
|
|
438
438
|
contextSnapshot: {
|
|
439
|
-
type:
|
|
439
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
440
440
|
isOptional: true;
|
|
441
441
|
};
|
|
442
442
|
sequenceOrder: {
|
|
443
|
-
type:
|
|
443
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
444
444
|
isOptional: false;
|
|
445
445
|
};
|
|
446
446
|
createdAt: {
|
|
447
|
-
type:
|
|
447
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
448
448
|
isOptional: false;
|
|
449
449
|
};
|
|
450
450
|
}>;
|
|
@@ -452,81 +452,81 @@ declare const ListMyApprovalsContract: _lssm_lib_contracts3.ContractSpec<_lssm_l
|
|
|
452
452
|
isOptional: false;
|
|
453
453
|
};
|
|
454
454
|
total: {
|
|
455
|
-
type:
|
|
455
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
456
456
|
isOptional: false;
|
|
457
457
|
};
|
|
458
458
|
pendingCount: {
|
|
459
|
-
type:
|
|
459
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
460
460
|
isOptional: false;
|
|
461
461
|
};
|
|
462
462
|
}>, undefined>;
|
|
463
463
|
/**
|
|
464
464
|
* Get a single approval request.
|
|
465
465
|
*/
|
|
466
|
-
declare const GetApprovalContract:
|
|
466
|
+
declare const GetApprovalContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema96.SchemaModel<{
|
|
467
467
|
requestId: {
|
|
468
|
-
type:
|
|
468
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
469
469
|
isOptional: false;
|
|
470
470
|
};
|
|
471
|
-
}>,
|
|
471
|
+
}>, _lssm_lib_schema96.SchemaModel<{
|
|
472
472
|
id: {
|
|
473
|
-
type:
|
|
473
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
474
474
|
isOptional: false;
|
|
475
475
|
};
|
|
476
476
|
workflowInstanceId: {
|
|
477
|
-
type:
|
|
477
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
478
478
|
isOptional: false;
|
|
479
479
|
};
|
|
480
480
|
stepExecutionId: {
|
|
481
|
-
type:
|
|
481
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
approverId: {
|
|
485
|
-
type:
|
|
485
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
486
486
|
isOptional: false;
|
|
487
487
|
};
|
|
488
488
|
approverRole: {
|
|
489
|
-
type:
|
|
489
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
490
490
|
isOptional: true;
|
|
491
491
|
};
|
|
492
492
|
title: {
|
|
493
|
-
type:
|
|
493
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
494
494
|
isOptional: false;
|
|
495
495
|
};
|
|
496
496
|
description: {
|
|
497
|
-
type:
|
|
497
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
498
498
|
isOptional: true;
|
|
499
499
|
};
|
|
500
500
|
status: {
|
|
501
|
-
type:
|
|
501
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string, string, string]>;
|
|
502
502
|
isOptional: false;
|
|
503
503
|
};
|
|
504
504
|
decision: {
|
|
505
|
-
type:
|
|
505
|
+
type: _lssm_lib_schema96.EnumType<[string, string, string, string, string]>;
|
|
506
506
|
isOptional: true;
|
|
507
507
|
};
|
|
508
508
|
decisionComment: {
|
|
509
|
-
type:
|
|
509
|
+
type: _lssm_lib_schema96.FieldType<string, string>;
|
|
510
510
|
isOptional: true;
|
|
511
511
|
};
|
|
512
512
|
decidedAt: {
|
|
513
|
-
type:
|
|
513
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
514
514
|
isOptional: true;
|
|
515
515
|
};
|
|
516
516
|
dueAt: {
|
|
517
|
-
type:
|
|
517
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
518
518
|
isOptional: true;
|
|
519
519
|
};
|
|
520
520
|
contextSnapshot: {
|
|
521
|
-
type:
|
|
521
|
+
type: _lssm_lib_schema96.FieldType<unknown, unknown>;
|
|
522
522
|
isOptional: true;
|
|
523
523
|
};
|
|
524
524
|
sequenceOrder: {
|
|
525
|
-
type:
|
|
525
|
+
type: _lssm_lib_schema96.FieldType<number, number>;
|
|
526
526
|
isOptional: false;
|
|
527
527
|
};
|
|
528
528
|
createdAt: {
|
|
529
|
-
type:
|
|
529
|
+
type: _lssm_lib_schema96.FieldType<Date, string>;
|
|
530
530
|
isOptional: false;
|
|
531
531
|
};
|
|
532
532
|
}>, undefined>;
|