@lssm/example.workflow-system 0.0.0-canary-20251217083314 → 1.41.1

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