@lssm/lib.contracts 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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