@lssm/lib.contracts 1.11.1 → 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 (293) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/rolldown_runtime.js +1 -0
  3. package/dist/app-config/app-config.feature.js +1 -0
  4. package/dist/app-config/contracts.js +1 -1
  5. package/dist/app-config/docs/app-config.docblock.js +220 -0
  6. package/dist/app-config/events.js +1 -1
  7. package/dist/app-config/index.js +1 -1
  8. package/dist/app-config/lifecycle-contracts.js +1 -1
  9. package/dist/capabilities/docs/capabilities.docblock.js +1 -0
  10. package/dist/contract-registry/index.js +1 -0
  11. package/dist/contract-registry/schemas.js +1 -0
  12. package/dist/contract-registry/types.js +0 -0
  13. package/dist/data-views/docs/data-views.docblock.js +1 -0
  14. package/dist/docs/PUBLISHING.docblock.js +76 -0
  15. package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
  16. package/dist/docs/index.js +1 -0
  17. package/dist/docs/meta.docs.js +13 -0
  18. package/dist/docs/presentations.js +1 -0
  19. package/dist/docs/registry.js +1 -0
  20. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
  21. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
  22. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
  23. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
  24. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
  25. package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
  26. package/dist/docs/tech/contracts/README.docblock.js +1 -0
  27. package/dist/docs/tech/contracts/create-subscription.docblock.js +1 -0
  28. package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +180 -0
  29. package/dist/docs/tech/contracts/migrations.docblock.js +1 -0
  30. package/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
  31. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +62 -0
  32. package/dist/docs/tech/contracts/overlays.docblock.js +68 -0
  33. package/dist/docs/tech/contracts/tests.docblock.js +132 -0
  34. package/dist/docs/tech/contracts/themes.docblock.js +1 -0
  35. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -0
  36. package/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
  37. package/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
  38. package/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
  39. package/dist/docs/tech/presentation-runtime.docblock.js +1 -0
  40. package/dist/docs/tech/schema/README.docblock.js +262 -0
  41. package/dist/docs/tech/studio/learning-events.docblock.js +1 -0
  42. package/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
  43. package/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
  44. package/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
  45. package/dist/docs/tech/studio/project-routing.docblock.js +1 -0
  46. package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
  47. package/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
  48. package/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
  49. package/dist/docs/tech/studio/workspaces.docblock.js +41 -0
  50. package/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
  51. package/dist/docs/tech/templates/runtime.docblock.js +1 -0
  52. package/dist/docs/tech/vscode-extension.docblock.js +68 -0
  53. package/dist/docs/tech/workflows/overview.docblock.js +1 -0
  54. package/dist/docs/tech-contracts.docs.js +76 -0
  55. package/dist/docs/types.js +0 -0
  56. package/dist/events.js +1 -1
  57. package/dist/experiments/docs/experiments.docblock.js +128 -0
  58. package/dist/forms/docs/forms.docblock.js +1 -0
  59. package/dist/index.js +1 -1
  60. package/dist/install.js +1 -1
  61. package/dist/integrations/contracts.js +1 -1
  62. package/dist/integrations/docs/integrations.docblock.js +1 -0
  63. package/dist/integrations/index.js +1 -1
  64. package/dist/integrations/openbanking/contracts/accounts.js +1 -1
  65. package/dist/integrations/openbanking/contracts/balances.js +1 -1
  66. package/dist/integrations/openbanking/contracts/index.js +1 -1
  67. package/dist/integrations/openbanking/contracts/transactions.js +1 -1
  68. package/dist/integrations/openbanking/models.js +1 -1
  69. package/dist/integrations/openbanking/openbanking.feature.js +1 -0
  70. package/dist/integrations/providers/impls/index.js +1 -1
  71. package/dist/integrations/providers/impls/provider-factory.js +1 -1
  72. package/dist/integrations/providers/index.js +1 -1
  73. package/dist/integrations/providers/registry.js +1 -0
  74. package/dist/integrations/secrets/aws-secret-manager.js +1 -0
  75. package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
  76. package/dist/integrations/secrets/index.js +1 -1
  77. package/dist/integrations/secrets/scaleway-secret-manager.js +1 -0
  78. package/dist/jobs/define-job.js +1 -0
  79. package/dist/jobs/gcp-cloud-tasks.js +1 -1
  80. package/dist/jobs/gcp-pubsub.js +1 -1
  81. package/dist/jobs/handlers/index.js +1 -1
  82. package/dist/jobs/handlers/ping-handler.js +1 -0
  83. package/dist/jobs/index.js +1 -1
  84. package/dist/jobs/memory-queue.js +1 -1
  85. package/dist/jobs/queue.js +1 -0
  86. package/dist/jobs/scaleway-sqs-queue.js +1 -0
  87. package/dist/knowledge/contracts.js +1 -1
  88. package/dist/knowledge/docs/knowledge.docblock.js +138 -0
  89. package/dist/llm/exporters.js +8 -0
  90. package/dist/llm/index.js +1 -0
  91. package/dist/llm/prompts.js +220 -0
  92. package/dist/llm/types.js +0 -0
  93. package/dist/onboarding-base.js +1 -1
  94. package/dist/openapi.js +1 -0
  95. package/dist/openbanking/docs/openbanking.docblock.js +109 -0
  96. package/dist/policy/docs/policy.docblock.js +1 -0
  97. package/dist/presentations/docs/presentations-conventions.docblock.js +8 -0
  98. package/dist/presentations.js +1 -1
  99. package/dist/presentations.v2.js +7 -1
  100. package/dist/prompt.js +1 -1
  101. package/dist/promptRegistry.js +1 -1
  102. package/dist/regenerator/docs/regenerator.docblock.js +184 -0
  103. package/dist/registry.js +1 -1
  104. package/dist/resources.js +1 -1
  105. package/dist/schema-to-markdown.js +10 -0
  106. package/dist/server/graphql-pothos.js +1 -1
  107. package/dist/server/index.js +1 -1
  108. package/dist/server/mcp/createMcpServer.js +1 -0
  109. package/dist/server/mcp/mcpTypes.js +0 -0
  110. package/dist/server/mcp/registerPresentations.js +1 -0
  111. package/dist/server/mcp/registerPrompts.js +3 -0
  112. package/dist/server/mcp/registerResources.js +1 -0
  113. package/dist/server/mcp/registerTools.js +1 -0
  114. package/dist/server/provider-mcp.js +1 -1
  115. package/dist/telemetry/docs/telemetry.docblock.js +139 -0
  116. package/package.json +354 -193
  117. package/dist/app-config/branding.d.ts +0 -55
  118. package/dist/app-config/contracts.d.ts +0 -244
  119. package/dist/app-config/events.d.ts +0 -122
  120. package/dist/app-config/index.d.ts +0 -8
  121. package/dist/app-config/lifecycle-contracts.d.ts +0 -382
  122. package/dist/app-config/lifecycle.d.ts +0 -27
  123. package/dist/app-config/runtime.d.ts +0 -114
  124. package/dist/app-config/spec.d.ts +0 -175
  125. package/dist/app-config/validation.d.ts +0 -47
  126. package/dist/capabilities/openbanking.d.ts +0 -9
  127. package/dist/capabilities.d.ts +0 -45
  128. package/dist/client/index.d.ts +0 -6
  129. package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
  130. package/dist/client/react/drivers/shadcn.d.ts +0 -12
  131. package/dist/client/react/feature-render.d.ts +0 -20
  132. package/dist/client/react/form-render.d.ts +0 -91
  133. package/dist/client/react/index.d.ts +0 -5
  134. package/dist/contracts-adapter-hydration.d.ts +0 -15
  135. package/dist/contracts-adapter-input.d.ts +0 -10
  136. package/dist/data-views/query-generator.d.ts +0 -39
  137. package/dist/data-views/runtime.d.ts +0 -26
  138. package/dist/data-views.d.ts +0 -131
  139. package/dist/events.d.ts +0 -44
  140. package/dist/experiments/evaluator.d.ts +0 -37
  141. package/dist/experiments/spec-resolver.d.ts +0 -16
  142. package/dist/experiments/spec.d.ts +0 -89
  143. package/dist/features.d.ts +0 -87
  144. package/dist/forms.d.ts +0 -258
  145. package/dist/graphql-federation/dist/index.js +0 -1
  146. package/dist/index.d.ts +0 -130
  147. package/dist/install.d.ts +0 -76
  148. package/dist/integrations/binding.d.ts +0 -17
  149. package/dist/integrations/connection.d.ts +0 -51
  150. package/dist/integrations/contracts.d.ts +0 -435
  151. package/dist/integrations/health.d.ts +0 -21
  152. package/dist/integrations/index.d.ts +0 -53
  153. package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -287
  154. package/dist/integrations/openbanking/contracts/balances.d.ts +0 -163
  155. package/dist/integrations/openbanking/contracts/index.d.ts +0 -9
  156. package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -211
  157. package/dist/integrations/openbanking/guards.d.ts +0 -12
  158. package/dist/integrations/openbanking/models.d.ts +0 -228
  159. package/dist/integrations/openbanking/telemetry.d.ts +0 -15
  160. package/dist/integrations/providers/calendar.d.ts +0 -78
  161. package/dist/integrations/providers/elevenlabs.d.ts +0 -7
  162. package/dist/integrations/providers/email.d.ts +0 -86
  163. package/dist/integrations/providers/embedding.d.ts +0 -24
  164. package/dist/integrations/providers/gcs-storage.d.ts +0 -7
  165. package/dist/integrations/providers/gmail.d.ts +0 -7
  166. package/dist/integrations/providers/google-calendar.d.ts +0 -7
  167. package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
  168. package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
  169. package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
  170. package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
  171. package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
  172. package/dist/integrations/providers/impls/index.d.ts +0 -15
  173. package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
  174. package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
  175. package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
  176. package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
  177. package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
  178. package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
  179. package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
  180. package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
  181. package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
  182. package/dist/integrations/providers/index.d.ts +0 -36
  183. package/dist/integrations/providers/llm.d.ts +0 -82
  184. package/dist/integrations/providers/mistral.d.ts +0 -7
  185. package/dist/integrations/providers/openbanking.d.ts +0 -128
  186. package/dist/integrations/providers/payments.d.ts +0 -109
  187. package/dist/integrations/providers/postmark.d.ts +0 -7
  188. package/dist/integrations/providers/powens.d.ts +0 -7
  189. package/dist/integrations/providers/qdrant.d.ts +0 -7
  190. package/dist/integrations/providers/sms.d.ts +0 -34
  191. package/dist/integrations/providers/storage.d.ts +0 -60
  192. package/dist/integrations/providers/stripe.d.ts +0 -7
  193. package/dist/integrations/providers/twilio-sms.d.ts +0 -7
  194. package/dist/integrations/providers/vector-store.d.ts +0 -43
  195. package/dist/integrations/providers/voice.d.ts +0 -34
  196. package/dist/integrations/runtime.d.ts +0 -99
  197. package/dist/integrations/secrets/env-secret-provider.d.ts +0 -31
  198. package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -32
  199. package/dist/integrations/secrets/index.d.ts +0 -5
  200. package/dist/integrations/secrets/manager.d.ts +0 -47
  201. package/dist/integrations/secrets/provider.d.ts +0 -52
  202. package/dist/integrations/spec.d.ts +0 -79
  203. package/dist/jobs/gcp-cloud-tasks.d.ts +0 -41
  204. package/dist/jobs/gcp-pubsub.d.ts +0 -25
  205. package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -9
  206. package/dist/jobs/handlers/index.d.ts +0 -3
  207. package/dist/jobs/handlers/storage-document-handler.d.ts +0 -12
  208. package/dist/jobs/index.d.ts +0 -7
  209. package/dist/jobs/memory-queue.d.ts +0 -18
  210. package/dist/jobs/queue.d.ts +0 -26
  211. package/dist/jsonschema.d.ts +0 -26
  212. package/dist/knowledge/binding.d.ts +0 -25
  213. package/dist/knowledge/contracts.d.ts +0 -316
  214. package/dist/knowledge/index.d.ts +0 -10
  215. package/dist/knowledge/ingestion/document-processor.d.ts +0 -24
  216. package/dist/knowledge/ingestion/embedding-service.d.ts +0 -12
  217. package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -18
  218. package/dist/knowledge/ingestion/index.d.ts +0 -6
  219. package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -15
  220. package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -18
  221. package/dist/knowledge/query/index.d.ts +0 -2
  222. package/dist/knowledge/query/service.d.ts +0 -29
  223. package/dist/knowledge/runtime.d.ts +0 -32
  224. package/dist/knowledge/source.d.ts +0 -32
  225. package/dist/knowledge/spaces/email-threads.d.ts +0 -7
  226. package/dist/knowledge/spaces/financial-docs.d.ts +0 -7
  227. package/dist/knowledge/spaces/financial-overview.d.ts +0 -7
  228. package/dist/knowledge/spaces/index.d.ts +0 -7
  229. package/dist/knowledge/spaces/product-canon.d.ts +0 -7
  230. package/dist/knowledge/spaces/support-faq.d.ts +0 -7
  231. package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -7
  232. package/dist/knowledge/spec.d.ts +0 -52
  233. package/dist/markdown.d.ts +0 -21
  234. package/dist/migrations.d.ts +0 -52
  235. package/dist/onboarding-base.d.ts +0 -137
  236. package/dist/ownership.d.ts +0 -75
  237. package/dist/policy/engine.d.ts +0 -39
  238. package/dist/policy/opa-adapter.d.ts +0 -45
  239. package/dist/policy/spec.d.ts +0 -114
  240. package/dist/presentations.backcompat.d.ts +0 -7
  241. package/dist/presentations.d.ts +0 -96
  242. package/dist/presentations.v2.d.ts +0 -95
  243. package/dist/prompt.d.ts +0 -60
  244. package/dist/promptRegistry.d.ts +0 -15
  245. package/dist/regenerator/adapters.d.ts +0 -19
  246. package/dist/regenerator/executor.d.ts +0 -70
  247. package/dist/regenerator/index.d.ts +0 -7
  248. package/dist/regenerator/service.d.ts +0 -33
  249. package/dist/regenerator/sinks.d.ts +0 -26
  250. package/dist/regenerator/types.d.ts +0 -107
  251. package/dist/regenerator/utils.d.ts +0 -9
  252. package/dist/registry.d.ts +0 -72
  253. package/dist/resources.d.ts +0 -64
  254. package/dist/schema/dist/EnumType.js +0 -1
  255. package/dist/schema/dist/FieldType.js +0 -1
  256. package/dist/schema/dist/ScalarTypeEnum.js +0 -1
  257. package/dist/schema/dist/SchemaModel.js +0 -1
  258. package/dist/schema/dist/index.js +0 -1
  259. package/dist/server/graphql-pothos.d.ts +0 -31
  260. package/dist/server/graphql-schema-export.d.ts +0 -6
  261. package/dist/server/graphql-schema-export.js +0 -1
  262. package/dist/server/index.d.ts +0 -9
  263. package/dist/server/provider-mcp.d.ts +0 -51
  264. package/dist/server/rest-elysia.d.ts +0 -40
  265. package/dist/server/rest-express.d.ts +0 -16
  266. package/dist/server/rest-generic.d.ts +0 -32
  267. package/dist/server/rest-next-app.d.ts +0 -35
  268. package/dist/server/rest-next-mcp.d.ts +0 -11
  269. package/dist/server/rest-next-pages.d.ts +0 -9
  270. package/dist/spec.d.ts +0 -171
  271. package/dist/telemetry/anomaly.d.ts +0 -27
  272. package/dist/telemetry/index.d.ts +0 -4
  273. package/dist/telemetry/spec.d.ts +0 -98
  274. package/dist/telemetry/tracker.d.ts +0 -51
  275. package/dist/tests/index.d.ts +0 -3
  276. package/dist/tests/runner.d.ts +0 -43
  277. package/dist/tests/spec.d.ts +0 -89
  278. package/dist/themes.d.ts +0 -55
  279. package/dist/translations/catalog.d.ts +0 -28
  280. package/dist/translations/tenant.d.ts +0 -15
  281. package/dist/types/all.d.ts +0 -60
  282. package/dist/types.d.ts +0 -88
  283. package/dist/workflow/adapters/db-adapter.d.ts +0 -34
  284. package/dist/workflow/adapters/file-adapter.d.ts +0 -14
  285. package/dist/workflow/adapters/index.d.ts +0 -4
  286. package/dist/workflow/adapters/memory-store.d.ts +0 -18
  287. package/dist/workflow/expression.d.ts +0 -9
  288. package/dist/workflow/index.d.ts +0 -10
  289. package/dist/workflow/runner.d.ts +0 -74
  290. package/dist/workflow/sla-monitor.d.ts +0 -20
  291. package/dist/workflow/spec.d.ts +0 -99
  292. package/dist/workflow/state.d.ts +0 -35
  293. package/dist/workflow/validation.d.ts +0 -28
@@ -1,287 +0,0 @@
1
- import { ContractSpec } from "../../../spec.js";
2
- import { SpecRegistry } from "../../../registry.js";
3
- import * as _lssm_lib_schema347 from "@lssm/lib.schema";
4
- import { SchemaModel } from "@lssm/lib.schema";
5
-
6
- //#region src/integrations/openbanking/contracts/accounts.d.ts
7
- declare const OpenBankingListAccounts: ContractSpec<SchemaModel<{
8
- tenantId: {
9
- type: _lssm_lib_schema347.FieldType<string, string>;
10
- isOptional: false;
11
- };
12
- userId: {
13
- type: _lssm_lib_schema347.FieldType<string, string>;
14
- isOptional: false;
15
- };
16
- connectionId: {
17
- type: _lssm_lib_schema347.FieldType<string, string>;
18
- isOptional: true;
19
- };
20
- includeBalances: {
21
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
22
- isOptional: true;
23
- };
24
- institutionId: {
25
- type: _lssm_lib_schema347.FieldType<string, string>;
26
- isOptional: true;
27
- };
28
- cursor: {
29
- type: _lssm_lib_schema347.FieldType<string, string>;
30
- isOptional: true;
31
- };
32
- pageSize: {
33
- type: _lssm_lib_schema347.FieldType<number, number>;
34
- isOptional: true;
35
- };
36
- }>, SchemaModel<{
37
- accounts: {
38
- type: SchemaModel<{
39
- id: {
40
- type: _lssm_lib_schema347.FieldType<string, string>;
41
- isOptional: false;
42
- };
43
- tenantId: {
44
- type: _lssm_lib_schema347.FieldType<string, string>;
45
- isOptional: false;
46
- };
47
- userId: {
48
- type: _lssm_lib_schema347.FieldType<string, string>;
49
- isOptional: false;
50
- };
51
- connectionId: {
52
- type: _lssm_lib_schema347.FieldType<string, string>;
53
- isOptional: false;
54
- };
55
- externalId: {
56
- type: _lssm_lib_schema347.FieldType<string, string>;
57
- isOptional: false;
58
- };
59
- institutionId: {
60
- type: _lssm_lib_schema347.FieldType<string, string>;
61
- isOptional: false;
62
- };
63
- institutionName: {
64
- type: _lssm_lib_schema347.FieldType<string, string>;
65
- isOptional: false;
66
- };
67
- institutionLogoUrl: {
68
- type: _lssm_lib_schema347.FieldType<string, string>;
69
- isOptional: true;
70
- };
71
- iban: {
72
- type: _lssm_lib_schema347.FieldType<string, string>;
73
- isOptional: true;
74
- };
75
- bic: {
76
- type: _lssm_lib_schema347.FieldType<string, string>;
77
- isOptional: true;
78
- };
79
- accountType: {
80
- type: _lssm_lib_schema347.FieldType<string, string>;
81
- isOptional: false;
82
- };
83
- currency: {
84
- type: _lssm_lib_schema347.FieldType<string, string>;
85
- isOptional: false;
86
- };
87
- displayName: {
88
- type: _lssm_lib_schema347.FieldType<string, string>;
89
- isOptional: false;
90
- };
91
- accountNumberMasked: {
92
- type: _lssm_lib_schema347.FieldType<string, string>;
93
- isOptional: true;
94
- };
95
- productCode: {
96
- type: _lssm_lib_schema347.FieldType<string, string>;
97
- isOptional: true;
98
- };
99
- balance: {
100
- type: _lssm_lib_schema347.FieldType<number, number>;
101
- isOptional: true;
102
- };
103
- availableBalance: {
104
- type: _lssm_lib_schema347.FieldType<number, number>;
105
- isOptional: true;
106
- };
107
- lastSyncedAt: {
108
- type: _lssm_lib_schema347.FieldType<Date, string>;
109
- isOptional: false;
110
- };
111
- createdAt: {
112
- type: _lssm_lib_schema347.FieldType<Date, string>;
113
- isOptional: false;
114
- };
115
- updatedAt: {
116
- type: _lssm_lib_schema347.FieldType<Date, string>;
117
- isOptional: false;
118
- };
119
- metadata: {
120
- type: _lssm_lib_schema347.FieldType<Record<string, unknown>, Record<string, unknown>>;
121
- isOptional: true;
122
- };
123
- }>;
124
- isOptional: false;
125
- isArray: true;
126
- };
127
- nextCursor: {
128
- type: _lssm_lib_schema347.FieldType<string, string>;
129
- isOptional: true;
130
- };
131
- hasMore: {
132
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
133
- isOptional: true;
134
- };
135
- }>, undefined>;
136
- declare const OpenBankingGetAccount: ContractSpec<SchemaModel<{
137
- tenantId: {
138
- type: _lssm_lib_schema347.FieldType<string, string>;
139
- isOptional: false;
140
- };
141
- accountId: {
142
- type: _lssm_lib_schema347.FieldType<string, string>;
143
- isOptional: false;
144
- };
145
- includeBalances: {
146
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
147
- isOptional: true;
148
- };
149
- includeLatestTransactions: {
150
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
151
- isOptional: true;
152
- };
153
- }>, SchemaModel<{
154
- id: {
155
- type: _lssm_lib_schema347.FieldType<string, string>;
156
- isOptional: false;
157
- };
158
- tenantId: {
159
- type: _lssm_lib_schema347.FieldType<string, string>;
160
- isOptional: false;
161
- };
162
- userId: {
163
- type: _lssm_lib_schema347.FieldType<string, string>;
164
- isOptional: false;
165
- };
166
- connectionId: {
167
- type: _lssm_lib_schema347.FieldType<string, string>;
168
- isOptional: false;
169
- };
170
- externalId: {
171
- type: _lssm_lib_schema347.FieldType<string, string>;
172
- isOptional: false;
173
- };
174
- institutionId: {
175
- type: _lssm_lib_schema347.FieldType<string, string>;
176
- isOptional: false;
177
- };
178
- institutionName: {
179
- type: _lssm_lib_schema347.FieldType<string, string>;
180
- isOptional: false;
181
- };
182
- institutionLogoUrl: {
183
- type: _lssm_lib_schema347.FieldType<string, string>;
184
- isOptional: true;
185
- };
186
- iban: {
187
- type: _lssm_lib_schema347.FieldType<string, string>;
188
- isOptional: true;
189
- };
190
- bic: {
191
- type: _lssm_lib_schema347.FieldType<string, string>;
192
- isOptional: true;
193
- };
194
- accountType: {
195
- type: _lssm_lib_schema347.FieldType<string, string>;
196
- isOptional: false;
197
- };
198
- currency: {
199
- type: _lssm_lib_schema347.FieldType<string, string>;
200
- isOptional: false;
201
- };
202
- displayName: {
203
- type: _lssm_lib_schema347.FieldType<string, string>;
204
- isOptional: false;
205
- };
206
- accountNumberMasked: {
207
- type: _lssm_lib_schema347.FieldType<string, string>;
208
- isOptional: true;
209
- };
210
- productCode: {
211
- type: _lssm_lib_schema347.FieldType<string, string>;
212
- isOptional: true;
213
- };
214
- balance: {
215
- type: _lssm_lib_schema347.FieldType<number, number>;
216
- isOptional: true;
217
- };
218
- availableBalance: {
219
- type: _lssm_lib_schema347.FieldType<number, number>;
220
- isOptional: true;
221
- };
222
- lastSyncedAt: {
223
- type: _lssm_lib_schema347.FieldType<Date, string>;
224
- isOptional: false;
225
- };
226
- createdAt: {
227
- type: _lssm_lib_schema347.FieldType<Date, string>;
228
- isOptional: false;
229
- };
230
- updatedAt: {
231
- type: _lssm_lib_schema347.FieldType<Date, string>;
232
- isOptional: false;
233
- };
234
- metadata: {
235
- type: _lssm_lib_schema347.FieldType<Record<string, unknown>, Record<string, unknown>>;
236
- isOptional: true;
237
- };
238
- }>, undefined>;
239
- declare const OpenBankingSyncAccounts: ContractSpec<SchemaModel<{
240
- tenantId: {
241
- type: _lssm_lib_schema347.FieldType<string, string>;
242
- isOptional: false;
243
- };
244
- userId: {
245
- type: _lssm_lib_schema347.FieldType<string, string>;
246
- isOptional: true;
247
- };
248
- connectionId: {
249
- type: _lssm_lib_schema347.FieldType<string, string>;
250
- isOptional: false;
251
- };
252
- accountIds: {
253
- type: _lssm_lib_schema347.FieldType<string, string>;
254
- isArray: true;
255
- isOptional: true;
256
- };
257
- forceFullRefresh: {
258
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
259
- isOptional: true;
260
- };
261
- triggerWorkflows: {
262
- type: _lssm_lib_schema347.FieldType<boolean, boolean>;
263
- isOptional: true;
264
- };
265
- }>, SchemaModel<{
266
- synced: {
267
- type: _lssm_lib_schema347.FieldType<number, number>;
268
- isOptional: false;
269
- };
270
- failed: {
271
- type: _lssm_lib_schema347.FieldType<number, number>;
272
- isOptional: false;
273
- };
274
- errors: {
275
- type: _lssm_lib_schema347.FieldType<string, string>;
276
- isArray: true;
277
- isOptional: true;
278
- };
279
- nextSyncSuggestedAt: {
280
- type: _lssm_lib_schema347.FieldType<Date, string>;
281
- isOptional: true;
282
- };
283
- }>, undefined>;
284
- declare const openBankingAccountContracts: Record<string, ContractSpec<any, any>>;
285
- declare function registerOpenBankingAccountContracts(registry: SpecRegistry): SpecRegistry;
286
- //#endregion
287
- export { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts, openBankingAccountContracts, registerOpenBankingAccountContracts };
@@ -1,163 +0,0 @@
1
- import { ContractSpec } from "../../../spec.js";
2
- import { SpecRegistry } from "../../../registry.js";
3
- import * as _lssm_lib_schema412 from "@lssm/lib.schema";
4
- import { SchemaModel } from "@lssm/lib.schema";
5
-
6
- //#region src/integrations/openbanking/contracts/balances.d.ts
7
- declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
8
- tenantId: {
9
- type: _lssm_lib_schema412.FieldType<string, string>;
10
- isOptional: false;
11
- };
12
- accountId: {
13
- type: _lssm_lib_schema412.FieldType<string, string>;
14
- isOptional: false;
15
- };
16
- balanceTypes: {
17
- type: _lssm_lib_schema412.FieldType<string, string>;
18
- isArray: true;
19
- isOptional: true;
20
- };
21
- }>, SchemaModel<{
22
- balances: {
23
- type: SchemaModel<{
24
- id: {
25
- type: _lssm_lib_schema412.FieldType<string, string>;
26
- isOptional: false;
27
- };
28
- accountId: {
29
- type: _lssm_lib_schema412.FieldType<string, string>;
30
- isOptional: false;
31
- };
32
- tenantId: {
33
- type: _lssm_lib_schema412.FieldType<string, string>;
34
- isOptional: false;
35
- };
36
- connectionId: {
37
- type: _lssm_lib_schema412.FieldType<string, string>;
38
- isOptional: false;
39
- };
40
- balanceType: {
41
- type: _lssm_lib_schema412.FieldType<string, string>;
42
- isOptional: false;
43
- };
44
- currentBalance: {
45
- type: _lssm_lib_schema412.FieldType<number, number>;
46
- isOptional: false;
47
- };
48
- availableBalance: {
49
- type: _lssm_lib_schema412.FieldType<number, number>;
50
- isOptional: true;
51
- };
52
- currency: {
53
- type: _lssm_lib_schema412.FieldType<string, string>;
54
- isOptional: false;
55
- };
56
- lastUpdatedAt: {
57
- type: _lssm_lib_schema412.FieldType<Date, string>;
58
- isOptional: false;
59
- };
60
- createdAt: {
61
- type: _lssm_lib_schema412.FieldType<Date, string>;
62
- isOptional: false;
63
- };
64
- metadata: {
65
- type: _lssm_lib_schema412.FieldType<Record<string, unknown>, Record<string, unknown>>;
66
- isOptional: true;
67
- };
68
- }>;
69
- isOptional: false;
70
- isArray: true;
71
- };
72
- asOf: {
73
- type: _lssm_lib_schema412.FieldType<Date, string>;
74
- isOptional: true;
75
- };
76
- }>, undefined>;
77
- declare const OpenBankingRefreshBalances: ContractSpec<SchemaModel<{
78
- tenantId: {
79
- type: _lssm_lib_schema412.FieldType<string, string>;
80
- isOptional: false;
81
- };
82
- accountId: {
83
- type: _lssm_lib_schema412.FieldType<string, string>;
84
- isOptional: false;
85
- };
86
- connectionId: {
87
- type: _lssm_lib_schema412.FieldType<string, string>;
88
- isOptional: true;
89
- };
90
- balanceTypes: {
91
- type: _lssm_lib_schema412.FieldType<string, string>;
92
- isArray: true;
93
- isOptional: true;
94
- };
95
- forceRefresh: {
96
- type: _lssm_lib_schema412.FieldType<boolean, boolean>;
97
- isOptional: true;
98
- };
99
- }>, SchemaModel<{
100
- balances: {
101
- type: SchemaModel<{
102
- id: {
103
- type: _lssm_lib_schema412.FieldType<string, string>;
104
- isOptional: false;
105
- };
106
- accountId: {
107
- type: _lssm_lib_schema412.FieldType<string, string>;
108
- isOptional: false;
109
- };
110
- tenantId: {
111
- type: _lssm_lib_schema412.FieldType<string, string>;
112
- isOptional: false;
113
- };
114
- connectionId: {
115
- type: _lssm_lib_schema412.FieldType<string, string>;
116
- isOptional: false;
117
- };
118
- balanceType: {
119
- type: _lssm_lib_schema412.FieldType<string, string>;
120
- isOptional: false;
121
- };
122
- currentBalance: {
123
- type: _lssm_lib_schema412.FieldType<number, number>;
124
- isOptional: false;
125
- };
126
- availableBalance: {
127
- type: _lssm_lib_schema412.FieldType<number, number>;
128
- isOptional: true;
129
- };
130
- currency: {
131
- type: _lssm_lib_schema412.FieldType<string, string>;
132
- isOptional: false;
133
- };
134
- lastUpdatedAt: {
135
- type: _lssm_lib_schema412.FieldType<Date, string>;
136
- isOptional: false;
137
- };
138
- createdAt: {
139
- type: _lssm_lib_schema412.FieldType<Date, string>;
140
- isOptional: false;
141
- };
142
- metadata: {
143
- type: _lssm_lib_schema412.FieldType<Record<string, unknown>, Record<string, unknown>>;
144
- isOptional: true;
145
- };
146
- }>;
147
- isOptional: false;
148
- isArray: true;
149
- };
150
- refreshedAt: {
151
- type: _lssm_lib_schema412.FieldType<Date, string>;
152
- isOptional: false;
153
- };
154
- errors: {
155
- type: _lssm_lib_schema412.FieldType<string, string>;
156
- isArray: true;
157
- isOptional: true;
158
- };
159
- }>, undefined>;
160
- declare const openBankingBalanceContracts: Record<string, ContractSpec<any, any>>;
161
- declare function registerOpenBankingBalanceContracts(registry: SpecRegistry): SpecRegistry;
162
- //#endregion
163
- export { OpenBankingGetBalances, OpenBankingRefreshBalances, openBankingBalanceContracts, registerOpenBankingBalanceContracts };
@@ -1,9 +0,0 @@
1
- import { SpecRegistry } from "../../../registry.js";
2
- import { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts } from "./accounts.js";
3
- import { OpenBankingListTransactions, OpenBankingSyncTransactions } from "./transactions.js";
4
- import { OpenBankingGetBalances, OpenBankingRefreshBalances } from "./balances.js";
5
-
6
- //#region src/integrations/openbanking/contracts/index.d.ts
7
- declare function registerOpenBankingContracts(registry: SpecRegistry): SpecRegistry;
8
- //#endregion
9
- export { OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, registerOpenBankingContracts };
@@ -1,211 +0,0 @@
1
- import { ContractSpec } from "../../../spec.js";
2
- import { SpecRegistry } from "../../../registry.js";
3
- import * as _lssm_lib_schema445 from "@lssm/lib.schema";
4
- import { SchemaModel } from "@lssm/lib.schema";
5
-
6
- //#region src/integrations/openbanking/contracts/transactions.d.ts
7
- declare const OpenBankingListTransactions: ContractSpec<SchemaModel<{
8
- tenantId: {
9
- type: _lssm_lib_schema445.FieldType<string, string>;
10
- isOptional: false;
11
- };
12
- accountId: {
13
- type: _lssm_lib_schema445.FieldType<string, string>;
14
- isOptional: false;
15
- };
16
- from: {
17
- type: _lssm_lib_schema445.FieldType<Date, string>;
18
- isOptional: true;
19
- };
20
- to: {
21
- type: _lssm_lib_schema445.FieldType<Date, string>;
22
- isOptional: true;
23
- };
24
- cursor: {
25
- type: _lssm_lib_schema445.FieldType<string, string>;
26
- isOptional: true;
27
- };
28
- pageSize: {
29
- type: _lssm_lib_schema445.FieldType<number, number>;
30
- isOptional: true;
31
- };
32
- direction: {
33
- type: _lssm_lib_schema445.FieldType<string, string>;
34
- isOptional: true;
35
- };
36
- minimumAmount: {
37
- type: _lssm_lib_schema445.FieldType<number, number>;
38
- isOptional: true;
39
- };
40
- maximumAmount: {
41
- type: _lssm_lib_schema445.FieldType<number, number>;
42
- isOptional: true;
43
- };
44
- category: {
45
- type: _lssm_lib_schema445.FieldType<string, string>;
46
- isOptional: true;
47
- };
48
- }>, SchemaModel<{
49
- transactions: {
50
- type: SchemaModel<{
51
- id: {
52
- type: _lssm_lib_schema445.FieldType<string, string>;
53
- isOptional: false;
54
- };
55
- accountId: {
56
- type: _lssm_lib_schema445.FieldType<string, string>;
57
- isOptional: false;
58
- };
59
- tenantId: {
60
- type: _lssm_lib_schema445.FieldType<string, string>;
61
- isOptional: false;
62
- };
63
- connectionId: {
64
- type: _lssm_lib_schema445.FieldType<string, string>;
65
- isOptional: false;
66
- };
67
- externalId: {
68
- type: _lssm_lib_schema445.FieldType<string, string>;
69
- isOptional: false;
70
- };
71
- amount: {
72
- type: _lssm_lib_schema445.FieldType<number, number>;
73
- isOptional: false;
74
- };
75
- currency: {
76
- type: _lssm_lib_schema445.FieldType<string, string>;
77
- isOptional: false;
78
- };
79
- date: {
80
- type: _lssm_lib_schema445.FieldType<Date, string>;
81
- isOptional: false;
82
- };
83
- bookingDate: {
84
- type: _lssm_lib_schema445.FieldType<Date, string>;
85
- isOptional: true;
86
- };
87
- valueDate: {
88
- type: _lssm_lib_schema445.FieldType<Date, string>;
89
- isOptional: true;
90
- };
91
- description: {
92
- type: _lssm_lib_schema445.FieldType<string, string>;
93
- isOptional: true;
94
- };
95
- counterpartyName: {
96
- type: _lssm_lib_schema445.FieldType<string, string>;
97
- isOptional: true;
98
- };
99
- counterpartyAccount: {
100
- type: _lssm_lib_schema445.FieldType<string, string>;
101
- isOptional: true;
102
- };
103
- merchantCategoryCode: {
104
- type: _lssm_lib_schema445.FieldType<string, string>;
105
- isOptional: true;
106
- };
107
- rawCategory: {
108
- type: _lssm_lib_schema445.FieldType<string, string>;
109
- isOptional: true;
110
- };
111
- standardizedCategory: {
112
- type: _lssm_lib_schema445.FieldType<string, string>;
113
- isOptional: true;
114
- };
115
- transactionType: {
116
- type: _lssm_lib_schema445.FieldType<string, string>;
117
- isOptional: false;
118
- };
119
- status: {
120
- type: _lssm_lib_schema445.FieldType<string, string>;
121
- isOptional: false;
122
- };
123
- runningBalance: {
124
- type: _lssm_lib_schema445.FieldType<number, number>;
125
- isOptional: true;
126
- };
127
- metadata: {
128
- type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
129
- isOptional: true;
130
- };
131
- createdAt: {
132
- type: _lssm_lib_schema445.FieldType<Date, string>;
133
- isOptional: false;
134
- };
135
- updatedAt: {
136
- type: _lssm_lib_schema445.FieldType<Date, string>;
137
- isOptional: false;
138
- };
139
- }>;
140
- isOptional: false;
141
- isArray: true;
142
- };
143
- nextCursor: {
144
- type: _lssm_lib_schema445.FieldType<string, string>;
145
- isOptional: true;
146
- };
147
- hasMore: {
148
- type: _lssm_lib_schema445.FieldType<boolean, boolean>;
149
- isOptional: true;
150
- };
151
- }>, undefined>;
152
- declare const OpenBankingSyncTransactions: ContractSpec<SchemaModel<{
153
- tenantId: {
154
- type: _lssm_lib_schema445.FieldType<string, string>;
155
- isOptional: false;
156
- };
157
- accountId: {
158
- type: _lssm_lib_schema445.FieldType<string, string>;
159
- isOptional: false;
160
- };
161
- from: {
162
- type: _lssm_lib_schema445.FieldType<Date, string>;
163
- isOptional: true;
164
- };
165
- to: {
166
- type: _lssm_lib_schema445.FieldType<Date, string>;
167
- isOptional: true;
168
- };
169
- connectionId: {
170
- type: _lssm_lib_schema445.FieldType<string, string>;
171
- isOptional: true;
172
- };
173
- includePending: {
174
- type: _lssm_lib_schema445.FieldType<boolean, boolean>;
175
- isOptional: true;
176
- };
177
- backfillDays: {
178
- type: _lssm_lib_schema445.FieldType<number, number>;
179
- isOptional: true;
180
- };
181
- }>, SchemaModel<{
182
- synced: {
183
- type: _lssm_lib_schema445.FieldType<number, number>;
184
- isOptional: false;
185
- };
186
- failed: {
187
- type: _lssm_lib_schema445.FieldType<number, number>;
188
- isOptional: false;
189
- };
190
- earliestSyncedAt: {
191
- type: _lssm_lib_schema445.FieldType<Date, string>;
192
- isOptional: true;
193
- };
194
- latestSyncedAt: {
195
- type: _lssm_lib_schema445.FieldType<Date, string>;
196
- isOptional: true;
197
- };
198
- nextSinceToken: {
199
- type: _lssm_lib_schema445.FieldType<string, string>;
200
- isOptional: true;
201
- };
202
- errors: {
203
- type: _lssm_lib_schema445.FieldType<string, string>;
204
- isArray: true;
205
- isOptional: true;
206
- };
207
- }>, undefined>;
208
- declare const openBankingTransactionContracts: Record<string, ContractSpec<any, any>>;
209
- declare function registerOpenBankingTransactionContracts(registry: SpecRegistry): SpecRegistry;
210
- //#endregion
211
- export { OpenBankingListTransactions, OpenBankingSyncTransactions, openBankingTransactionContracts, registerOpenBankingTransactionContracts };
@@ -1,12 +0,0 @@
1
- import { ResolvedAppConfig, ResolvedIntegration } from "../../app-config/runtime.js";
2
-
3
- //#region src/integrations/openbanking/guards.d.ts
4
- interface OpenBankingGuardResult {
5
- ok: boolean;
6
- integration?: ResolvedIntegration;
7
- error?: string;
8
- }
9
- declare function ensurePrimaryOpenBankingIntegration(config: ResolvedAppConfig): OpenBankingGuardResult;
10
- declare function assertPrimaryOpenBankingReady(config: ResolvedAppConfig): ResolvedIntegration;
11
- //#endregion
12
- export { OpenBankingGuardResult, assertPrimaryOpenBankingReady, ensurePrimaryOpenBankingIntegration };