@lssm/lib.contracts 0.0.0-canary-20251221132705 → 0.0.0-canary-20251221144710

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 (111) hide show
  1. package/dist/app-config/contracts.d.ts +56 -55
  2. package/dist/app-config/contracts.js +5 -4
  3. package/dist/app-config/docs/app-config.docblock.js +0 -1
  4. package/dist/app-config/events.d.ts +27 -27
  5. package/dist/app-config/lifecycle-contracts.d.ts +83 -82
  6. package/dist/app-config/lifecycle-contracts.js +2 -1
  7. package/dist/app-config/runtime.d.ts +4 -2
  8. package/dist/app-config/spec.d.ts +2 -1
  9. package/dist/app-config/validation.d.ts +4 -2
  10. package/dist/{capabilities.d.ts → capabilities/capabilities.d.ts} +3 -3
  11. package/dist/{capabilities.js → capabilities/capabilities.js} +1 -1
  12. package/dist/capabilities/docs/capabilities.docblock.js +0 -1
  13. package/dist/capabilities/index.d.ts +3 -0
  14. package/dist/capabilities/index.js +4 -0
  15. package/dist/capabilities/openbanking.d.ts +2 -1
  16. package/dist/client/react/feature-render.d.ts +3 -1
  17. package/dist/client/react/feature-render.js +2 -1
  18. package/dist/client/react/form-render.d.ts +1 -1
  19. package/dist/client/react/form-render.js +1 -1
  20. package/dist/{data-views.d.ts → data-views/data-views.d.ts} +5 -5
  21. package/dist/{data-views.js → data-views/data-views.js} +3 -3
  22. package/dist/data-views/docs/data-views.docblock.js +0 -1
  23. package/dist/data-views/index.d.ts +4 -0
  24. package/dist/data-views/index.js +5 -0
  25. package/dist/data-views/query-generator.d.ts +2 -1
  26. package/dist/data-views/runtime.d.ts +2 -1
  27. package/dist/docs/presentations.d.ts +3 -2
  28. package/dist/docs/registry.d.ts +3 -2
  29. package/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
  30. package/dist/experiments/docs/experiments.docblock.js +0 -1
  31. package/dist/experiments/spec-resolver.d.ts +2 -1
  32. package/dist/features.d.ts +8 -5
  33. package/dist/forms/docs/forms.docblock.js +0 -1
  34. package/dist/{forms.d.ts → forms/forms.d.ts} +3 -3
  35. package/dist/{forms.js → forms/forms.js} +3 -3
  36. package/dist/forms/index.d.ts +2 -0
  37. package/dist/forms/index.js +3 -0
  38. package/dist/index.d.ts +19 -12
  39. package/dist/index.js +20 -15
  40. package/dist/install.d.ts +3 -2
  41. package/dist/install.js +1 -1
  42. package/dist/integrations/docs/integrations.docblock.js +0 -1
  43. package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
  44. package/dist/integrations/openbanking/contracts/accounts.js +2 -1
  45. package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
  46. package/dist/integrations/openbanking/contracts/balances.js +2 -1
  47. package/dist/integrations/openbanking/contracts/index.d.ts +1 -1
  48. package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
  49. package/dist/integrations/openbanking/contracts/transactions.js +2 -1
  50. package/dist/integrations/openbanking/models.d.ts +55 -55
  51. package/dist/integrations/operations.d.ts +437 -0
  52. package/dist/integrations/{contracts.js → operations.js} +3 -2
  53. package/dist/integrations/spec.d.ts +2 -1
  54. package/dist/jsonschema.d.ts +5 -4
  55. package/dist/knowledge/docs/knowledge.docblock.js +0 -1
  56. package/dist/knowledge/{contracts.d.ts → operations.d.ts} +70 -69
  57. package/dist/knowledge/{contracts.js → operations.js} +3 -2
  58. package/dist/llm/exporters.d.ts +10 -8
  59. package/dist/llm/exporters.js +11 -10
  60. package/dist/llm/index.d.ts +2 -2
  61. package/dist/llm/index.js +2 -2
  62. package/dist/llm/prompts.d.ts +2 -1
  63. package/dist/llm/prompts.js +8 -8
  64. package/dist/llm/types.d.ts +3 -2
  65. package/dist/markdown.d.ts +5 -4
  66. package/dist/markdown.js +6 -5
  67. package/dist/onboarding-base.d.ts +31 -30
  68. package/dist/onboarding-base.js +2 -1
  69. package/dist/openapi.d.ts +1 -1
  70. package/dist/operations/index.d.ts +3 -0
  71. package/dist/operations/index.js +4 -0
  72. package/dist/{operation.d.ts → operations/operation.d.ts} +7 -7
  73. package/dist/{operation.js → operations/operation.js} +1 -1
  74. package/dist/{registry.d.ts → operations/registry.d.ts} +6 -7
  75. package/dist/{registry.js → operations/registry.js} +5 -6
  76. package/dist/policy/docs/policy.docblock.js +0 -1
  77. package/dist/presentations/docs/presentations-conventions.docblock.js +0 -1
  78. package/dist/presentations/index.d.ts +4 -0
  79. package/dist/presentations/index.js +4 -0
  80. package/dist/{presentations.d.ts → presentations/presentations.d.ts} +6 -6
  81. package/dist/{presentations.js → presentations/presentations.js} +3 -3
  82. package/dist/presentations/presentations.v2.d.ts +54 -0
  83. package/dist/presentations/presentations.v2.js +0 -0
  84. package/dist/{presentations.v2.d.ts → presentations/transform-engine.d.ts} +3 -51
  85. package/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
  86. package/dist/regenerator/docs/regenerator.docblock.js +0 -1
  87. package/dist/{contracts-adapter-hydration.d.ts → server/contracts-adapter-hydration.d.ts} +2 -2
  88. package/dist/{contracts-adapter-hydration.js → server/contracts-adapter-hydration.js} +1 -1
  89. package/dist/{contracts-adapter-input.d.ts → server/contracts-adapter-input.d.ts} +2 -3
  90. package/dist/{contracts-adapter-input.js → server/contracts-adapter-input.js} +2 -2
  91. package/dist/server/graphql-pothos.d.ts +1 -1
  92. package/dist/server/graphql-pothos.js +2 -2
  93. package/dist/server/mcp/createMcpServer.d.ts +1 -1
  94. package/dist/server/mcp/mcpTypes.d.ts +3 -2
  95. package/dist/server/mcp/registerPresentations.js +3 -2
  96. package/dist/server/mcp/registerTools.d.ts +1 -1
  97. package/dist/server/rest-elysia.d.ts +1 -1
  98. package/dist/server/rest-express.d.ts +1 -1
  99. package/dist/server/rest-generic.d.ts +1 -1
  100. package/dist/server/rest-next-app.d.ts +1 -1
  101. package/dist/server/rest-next-mcp.d.ts +1 -1
  102. package/dist/server/rest-next-pages.d.ts +1 -1
  103. package/dist/telemetry/docs/telemetry.docblock.js +0 -1
  104. package/dist/tests/runner.d.ts +1 -1
  105. package/dist/workflow/spec.d.ts +2 -1
  106. package/dist/workflow/validation.d.ts +2 -2
  107. package/dist/workspace-config/contractsrc-schema.d.ts +1 -1
  108. package/package.json +22 -17
  109. package/dist/integrations/contracts.d.ts +0 -436
  110. package/dist/openbanking/docs/openbanking.docblock.d.ts +0 -6
  111. package/dist/openbanking/docs/openbanking.docblock.js +0 -22
@@ -1,124 +1,125 @@
1
- import { AnyOperationSpec, OperationSpec } from "../../../operation.js";
2
- import { OperationSpecRegistry } from "../../../registry.js";
1
+ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.js";
2
+ import "../../../operations/index.js";
3
+ import { OperationSpecRegistry } from "../../../operations/registry.js";
3
4
  import "../../../index.js";
4
- import * as _lssm_lib_schema53 from "@lssm/lib.schema";
5
+ import * as _lssm_lib_schema450 from "@lssm/lib.schema";
5
6
  import { SchemaModel } from "@lssm/lib.schema";
6
7
 
7
8
  //#region src/integrations/openbanking/contracts/accounts.d.ts
8
9
  declare const OpenBankingListAccounts: OperationSpec<SchemaModel<{
9
10
  tenantId: {
10
- type: _lssm_lib_schema53.FieldType<string, string>;
11
+ type: _lssm_lib_schema450.FieldType<string, string>;
11
12
  isOptional: false;
12
13
  };
13
14
  userId: {
14
- type: _lssm_lib_schema53.FieldType<string, string>;
15
+ type: _lssm_lib_schema450.FieldType<string, string>;
15
16
  isOptional: false;
16
17
  };
17
18
  connectionId: {
18
- type: _lssm_lib_schema53.FieldType<string, string>;
19
+ type: _lssm_lib_schema450.FieldType<string, string>;
19
20
  isOptional: true;
20
21
  };
21
22
  includeBalances: {
22
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
23
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
23
24
  isOptional: true;
24
25
  };
25
26
  institutionId: {
26
- type: _lssm_lib_schema53.FieldType<string, string>;
27
+ type: _lssm_lib_schema450.FieldType<string, string>;
27
28
  isOptional: true;
28
29
  };
29
30
  cursor: {
30
- type: _lssm_lib_schema53.FieldType<string, string>;
31
+ type: _lssm_lib_schema450.FieldType<string, string>;
31
32
  isOptional: true;
32
33
  };
33
34
  pageSize: {
34
- type: _lssm_lib_schema53.FieldType<number, number>;
35
+ type: _lssm_lib_schema450.FieldType<number, number>;
35
36
  isOptional: true;
36
37
  };
37
38
  }>, SchemaModel<{
38
39
  accounts: {
39
40
  type: SchemaModel<{
40
41
  id: {
41
- type: _lssm_lib_schema53.FieldType<string, string>;
42
+ type: _lssm_lib_schema450.FieldType<string, string>;
42
43
  isOptional: false;
43
44
  };
44
45
  tenantId: {
45
- type: _lssm_lib_schema53.FieldType<string, string>;
46
+ type: _lssm_lib_schema450.FieldType<string, string>;
46
47
  isOptional: false;
47
48
  };
48
49
  userId: {
49
- type: _lssm_lib_schema53.FieldType<string, string>;
50
+ type: _lssm_lib_schema450.FieldType<string, string>;
50
51
  isOptional: false;
51
52
  };
52
53
  connectionId: {
53
- type: _lssm_lib_schema53.FieldType<string, string>;
54
+ type: _lssm_lib_schema450.FieldType<string, string>;
54
55
  isOptional: false;
55
56
  };
56
57
  externalId: {
57
- type: _lssm_lib_schema53.FieldType<string, string>;
58
+ type: _lssm_lib_schema450.FieldType<string, string>;
58
59
  isOptional: false;
59
60
  };
60
61
  institutionId: {
61
- type: _lssm_lib_schema53.FieldType<string, string>;
62
+ type: _lssm_lib_schema450.FieldType<string, string>;
62
63
  isOptional: false;
63
64
  };
64
65
  institutionName: {
65
- type: _lssm_lib_schema53.FieldType<string, string>;
66
+ type: _lssm_lib_schema450.FieldType<string, string>;
66
67
  isOptional: false;
67
68
  };
68
69
  institutionLogoUrl: {
69
- type: _lssm_lib_schema53.FieldType<string, string>;
70
+ type: _lssm_lib_schema450.FieldType<string, string>;
70
71
  isOptional: true;
71
72
  };
72
73
  iban: {
73
- type: _lssm_lib_schema53.FieldType<string, string>;
74
+ type: _lssm_lib_schema450.FieldType<string, string>;
74
75
  isOptional: true;
75
76
  };
76
77
  bic: {
77
- type: _lssm_lib_schema53.FieldType<string, string>;
78
+ type: _lssm_lib_schema450.FieldType<string, string>;
78
79
  isOptional: true;
79
80
  };
80
81
  accountType: {
81
- type: _lssm_lib_schema53.FieldType<string, string>;
82
+ type: _lssm_lib_schema450.FieldType<string, string>;
82
83
  isOptional: false;
83
84
  };
84
85
  currency: {
85
- type: _lssm_lib_schema53.FieldType<string, string>;
86
+ type: _lssm_lib_schema450.FieldType<string, string>;
86
87
  isOptional: false;
87
88
  };
88
89
  displayName: {
89
- type: _lssm_lib_schema53.FieldType<string, string>;
90
+ type: _lssm_lib_schema450.FieldType<string, string>;
90
91
  isOptional: false;
91
92
  };
92
93
  accountNumberMasked: {
93
- type: _lssm_lib_schema53.FieldType<string, string>;
94
+ type: _lssm_lib_schema450.FieldType<string, string>;
94
95
  isOptional: true;
95
96
  };
96
97
  productCode: {
97
- type: _lssm_lib_schema53.FieldType<string, string>;
98
+ type: _lssm_lib_schema450.FieldType<string, string>;
98
99
  isOptional: true;
99
100
  };
100
101
  balance: {
101
- type: _lssm_lib_schema53.FieldType<number, number>;
102
+ type: _lssm_lib_schema450.FieldType<number, number>;
102
103
  isOptional: true;
103
104
  };
104
105
  availableBalance: {
105
- type: _lssm_lib_schema53.FieldType<number, number>;
106
+ type: _lssm_lib_schema450.FieldType<number, number>;
106
107
  isOptional: true;
107
108
  };
108
109
  lastSyncedAt: {
109
- type: _lssm_lib_schema53.FieldType<Date, string>;
110
+ type: _lssm_lib_schema450.FieldType<Date, string>;
110
111
  isOptional: false;
111
112
  };
112
113
  createdAt: {
113
- type: _lssm_lib_schema53.FieldType<Date, string>;
114
+ type: _lssm_lib_schema450.FieldType<Date, string>;
114
115
  isOptional: false;
115
116
  };
116
117
  updatedAt: {
117
- type: _lssm_lib_schema53.FieldType<Date, string>;
118
+ type: _lssm_lib_schema450.FieldType<Date, string>;
118
119
  isOptional: false;
119
120
  };
120
121
  metadata: {
121
- type: _lssm_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
122
+ type: _lssm_lib_schema450.FieldType<Record<string, unknown>, Record<string, unknown>>;
122
123
  isOptional: true;
123
124
  };
124
125
  }>;
@@ -126,159 +127,159 @@ declare const OpenBankingListAccounts: OperationSpec<SchemaModel<{
126
127
  isArray: true;
127
128
  };
128
129
  nextCursor: {
129
- type: _lssm_lib_schema53.FieldType<string, string>;
130
+ type: _lssm_lib_schema450.FieldType<string, string>;
130
131
  isOptional: true;
131
132
  };
132
133
  hasMore: {
133
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
134
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
134
135
  isOptional: true;
135
136
  };
136
137
  }>, undefined>;
137
138
  declare const OpenBankingGetAccount: OperationSpec<SchemaModel<{
138
139
  tenantId: {
139
- type: _lssm_lib_schema53.FieldType<string, string>;
140
+ type: _lssm_lib_schema450.FieldType<string, string>;
140
141
  isOptional: false;
141
142
  };
142
143
  accountId: {
143
- type: _lssm_lib_schema53.FieldType<string, string>;
144
+ type: _lssm_lib_schema450.FieldType<string, string>;
144
145
  isOptional: false;
145
146
  };
146
147
  includeBalances: {
147
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
148
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
148
149
  isOptional: true;
149
150
  };
150
151
  includeLatestTransactions: {
151
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
152
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
152
153
  isOptional: true;
153
154
  };
154
155
  }>, SchemaModel<{
155
156
  id: {
156
- type: _lssm_lib_schema53.FieldType<string, string>;
157
+ type: _lssm_lib_schema450.FieldType<string, string>;
157
158
  isOptional: false;
158
159
  };
159
160
  tenantId: {
160
- type: _lssm_lib_schema53.FieldType<string, string>;
161
+ type: _lssm_lib_schema450.FieldType<string, string>;
161
162
  isOptional: false;
162
163
  };
163
164
  userId: {
164
- type: _lssm_lib_schema53.FieldType<string, string>;
165
+ type: _lssm_lib_schema450.FieldType<string, string>;
165
166
  isOptional: false;
166
167
  };
167
168
  connectionId: {
168
- type: _lssm_lib_schema53.FieldType<string, string>;
169
+ type: _lssm_lib_schema450.FieldType<string, string>;
169
170
  isOptional: false;
170
171
  };
171
172
  externalId: {
172
- type: _lssm_lib_schema53.FieldType<string, string>;
173
+ type: _lssm_lib_schema450.FieldType<string, string>;
173
174
  isOptional: false;
174
175
  };
175
176
  institutionId: {
176
- type: _lssm_lib_schema53.FieldType<string, string>;
177
+ type: _lssm_lib_schema450.FieldType<string, string>;
177
178
  isOptional: false;
178
179
  };
179
180
  institutionName: {
180
- type: _lssm_lib_schema53.FieldType<string, string>;
181
+ type: _lssm_lib_schema450.FieldType<string, string>;
181
182
  isOptional: false;
182
183
  };
183
184
  institutionLogoUrl: {
184
- type: _lssm_lib_schema53.FieldType<string, string>;
185
+ type: _lssm_lib_schema450.FieldType<string, string>;
185
186
  isOptional: true;
186
187
  };
187
188
  iban: {
188
- type: _lssm_lib_schema53.FieldType<string, string>;
189
+ type: _lssm_lib_schema450.FieldType<string, string>;
189
190
  isOptional: true;
190
191
  };
191
192
  bic: {
192
- type: _lssm_lib_schema53.FieldType<string, string>;
193
+ type: _lssm_lib_schema450.FieldType<string, string>;
193
194
  isOptional: true;
194
195
  };
195
196
  accountType: {
196
- type: _lssm_lib_schema53.FieldType<string, string>;
197
+ type: _lssm_lib_schema450.FieldType<string, string>;
197
198
  isOptional: false;
198
199
  };
199
200
  currency: {
200
- type: _lssm_lib_schema53.FieldType<string, string>;
201
+ type: _lssm_lib_schema450.FieldType<string, string>;
201
202
  isOptional: false;
202
203
  };
203
204
  displayName: {
204
- type: _lssm_lib_schema53.FieldType<string, string>;
205
+ type: _lssm_lib_schema450.FieldType<string, string>;
205
206
  isOptional: false;
206
207
  };
207
208
  accountNumberMasked: {
208
- type: _lssm_lib_schema53.FieldType<string, string>;
209
+ type: _lssm_lib_schema450.FieldType<string, string>;
209
210
  isOptional: true;
210
211
  };
211
212
  productCode: {
212
- type: _lssm_lib_schema53.FieldType<string, string>;
213
+ type: _lssm_lib_schema450.FieldType<string, string>;
213
214
  isOptional: true;
214
215
  };
215
216
  balance: {
216
- type: _lssm_lib_schema53.FieldType<number, number>;
217
+ type: _lssm_lib_schema450.FieldType<number, number>;
217
218
  isOptional: true;
218
219
  };
219
220
  availableBalance: {
220
- type: _lssm_lib_schema53.FieldType<number, number>;
221
+ type: _lssm_lib_schema450.FieldType<number, number>;
221
222
  isOptional: true;
222
223
  };
223
224
  lastSyncedAt: {
224
- type: _lssm_lib_schema53.FieldType<Date, string>;
225
+ type: _lssm_lib_schema450.FieldType<Date, string>;
225
226
  isOptional: false;
226
227
  };
227
228
  createdAt: {
228
- type: _lssm_lib_schema53.FieldType<Date, string>;
229
+ type: _lssm_lib_schema450.FieldType<Date, string>;
229
230
  isOptional: false;
230
231
  };
231
232
  updatedAt: {
232
- type: _lssm_lib_schema53.FieldType<Date, string>;
233
+ type: _lssm_lib_schema450.FieldType<Date, string>;
233
234
  isOptional: false;
234
235
  };
235
236
  metadata: {
236
- type: _lssm_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
237
+ type: _lssm_lib_schema450.FieldType<Record<string, unknown>, Record<string, unknown>>;
237
238
  isOptional: true;
238
239
  };
239
240
  }>, undefined>;
240
241
  declare const OpenBankingSyncAccounts: OperationSpec<SchemaModel<{
241
242
  tenantId: {
242
- type: _lssm_lib_schema53.FieldType<string, string>;
243
+ type: _lssm_lib_schema450.FieldType<string, string>;
243
244
  isOptional: false;
244
245
  };
245
246
  userId: {
246
- type: _lssm_lib_schema53.FieldType<string, string>;
247
+ type: _lssm_lib_schema450.FieldType<string, string>;
247
248
  isOptional: true;
248
249
  };
249
250
  connectionId: {
250
- type: _lssm_lib_schema53.FieldType<string, string>;
251
+ type: _lssm_lib_schema450.FieldType<string, string>;
251
252
  isOptional: false;
252
253
  };
253
254
  accountIds: {
254
- type: _lssm_lib_schema53.FieldType<string, string>;
255
+ type: _lssm_lib_schema450.FieldType<string, string>;
255
256
  isArray: true;
256
257
  isOptional: true;
257
258
  };
258
259
  forceFullRefresh: {
259
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
260
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
260
261
  isOptional: true;
261
262
  };
262
263
  triggerWorkflows: {
263
- type: _lssm_lib_schema53.FieldType<boolean, boolean>;
264
+ type: _lssm_lib_schema450.FieldType<boolean, boolean>;
264
265
  isOptional: true;
265
266
  };
266
267
  }>, SchemaModel<{
267
268
  synced: {
268
- type: _lssm_lib_schema53.FieldType<number, number>;
269
+ type: _lssm_lib_schema450.FieldType<number, number>;
269
270
  isOptional: false;
270
271
  };
271
272
  failed: {
272
- type: _lssm_lib_schema53.FieldType<number, number>;
273
+ type: _lssm_lib_schema450.FieldType<number, number>;
273
274
  isOptional: false;
274
275
  };
275
276
  errors: {
276
- type: _lssm_lib_schema53.FieldType<string, string>;
277
+ type: _lssm_lib_schema450.FieldType<string, string>;
277
278
  isArray: true;
278
279
  isOptional: true;
279
280
  };
280
281
  nextSyncSuggestedAt: {
281
- type: _lssm_lib_schema53.FieldType<Date, string>;
282
+ type: _lssm_lib_schema450.FieldType<Date, string>;
282
283
  isOptional: true;
283
284
  };
284
285
  }>, undefined>;
@@ -1,5 +1,6 @@
1
1
  import { E5, x8 } from "../../../schema/dist/index.js";
2
- import { defineCommand, defineQuery } from "../../../operation.js";
2
+ import { defineCommand, defineQuery } from "../../../operations/operation.js";
3
+ import "../../../operations/index.js";
3
4
  import { BankAccountRecord } from "../models.js";
4
5
  import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
5
6
 
@@ -1,21 +1,22 @@
1
- import { AnyOperationSpec, OperationSpec } from "../../../operation.js";
2
- import { OperationSpecRegistry } from "../../../registry.js";
1
+ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.js";
2
+ import "../../../operations/index.js";
3
+ import { OperationSpecRegistry } from "../../../operations/registry.js";
3
4
  import "../../../index.js";
4
- import * as _lssm_lib_schema118 from "@lssm/lib.schema";
5
+ import * as _lssm_lib_schema417 from "@lssm/lib.schema";
5
6
  import { SchemaModel } from "@lssm/lib.schema";
6
7
 
7
8
  //#region src/integrations/openbanking/contracts/balances.d.ts
8
9
  declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
9
10
  tenantId: {
10
- type: _lssm_lib_schema118.FieldType<string, string>;
11
+ type: _lssm_lib_schema417.FieldType<string, string>;
11
12
  isOptional: false;
12
13
  };
13
14
  accountId: {
14
- type: _lssm_lib_schema118.FieldType<string, string>;
15
+ type: _lssm_lib_schema417.FieldType<string, string>;
15
16
  isOptional: false;
16
17
  };
17
18
  balanceTypes: {
18
- type: _lssm_lib_schema118.FieldType<string, string>;
19
+ type: _lssm_lib_schema417.FieldType<string, string>;
19
20
  isArray: true;
20
21
  isOptional: true;
21
22
  };
@@ -23,47 +24,47 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
23
24
  balances: {
24
25
  type: SchemaModel<{
25
26
  id: {
26
- type: _lssm_lib_schema118.FieldType<string, string>;
27
+ type: _lssm_lib_schema417.FieldType<string, string>;
27
28
  isOptional: false;
28
29
  };
29
30
  accountId: {
30
- type: _lssm_lib_schema118.FieldType<string, string>;
31
+ type: _lssm_lib_schema417.FieldType<string, string>;
31
32
  isOptional: false;
32
33
  };
33
34
  tenantId: {
34
- type: _lssm_lib_schema118.FieldType<string, string>;
35
+ type: _lssm_lib_schema417.FieldType<string, string>;
35
36
  isOptional: false;
36
37
  };
37
38
  connectionId: {
38
- type: _lssm_lib_schema118.FieldType<string, string>;
39
+ type: _lssm_lib_schema417.FieldType<string, string>;
39
40
  isOptional: false;
40
41
  };
41
42
  balanceType: {
42
- type: _lssm_lib_schema118.FieldType<string, string>;
43
+ type: _lssm_lib_schema417.FieldType<string, string>;
43
44
  isOptional: false;
44
45
  };
45
46
  currentBalance: {
46
- type: _lssm_lib_schema118.FieldType<number, number>;
47
+ type: _lssm_lib_schema417.FieldType<number, number>;
47
48
  isOptional: false;
48
49
  };
49
50
  availableBalance: {
50
- type: _lssm_lib_schema118.FieldType<number, number>;
51
+ type: _lssm_lib_schema417.FieldType<number, number>;
51
52
  isOptional: true;
52
53
  };
53
54
  currency: {
54
- type: _lssm_lib_schema118.FieldType<string, string>;
55
+ type: _lssm_lib_schema417.FieldType<string, string>;
55
56
  isOptional: false;
56
57
  };
57
58
  lastUpdatedAt: {
58
- type: _lssm_lib_schema118.FieldType<Date, string>;
59
+ type: _lssm_lib_schema417.FieldType<Date, string>;
59
60
  isOptional: false;
60
61
  };
61
62
  createdAt: {
62
- type: _lssm_lib_schema118.FieldType<Date, string>;
63
+ type: _lssm_lib_schema417.FieldType<Date, string>;
63
64
  isOptional: false;
64
65
  };
65
66
  metadata: {
66
- type: _lssm_lib_schema118.FieldType<Record<string, unknown>, Record<string, unknown>>;
67
+ type: _lssm_lib_schema417.FieldType<Record<string, unknown>, Record<string, unknown>>;
67
68
  isOptional: true;
68
69
  };
69
70
  }>;
@@ -71,77 +72,77 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
71
72
  isArray: true;
72
73
  };
73
74
  asOf: {
74
- type: _lssm_lib_schema118.FieldType<Date, string>;
75
+ type: _lssm_lib_schema417.FieldType<Date, string>;
75
76
  isOptional: true;
76
77
  };
77
78
  }>, undefined>;
78
79
  declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
79
80
  tenantId: {
80
- type: _lssm_lib_schema118.FieldType<string, string>;
81
+ type: _lssm_lib_schema417.FieldType<string, string>;
81
82
  isOptional: false;
82
83
  };
83
84
  accountId: {
84
- type: _lssm_lib_schema118.FieldType<string, string>;
85
+ type: _lssm_lib_schema417.FieldType<string, string>;
85
86
  isOptional: false;
86
87
  };
87
88
  connectionId: {
88
- type: _lssm_lib_schema118.FieldType<string, string>;
89
+ type: _lssm_lib_schema417.FieldType<string, string>;
89
90
  isOptional: true;
90
91
  };
91
92
  balanceTypes: {
92
- type: _lssm_lib_schema118.FieldType<string, string>;
93
+ type: _lssm_lib_schema417.FieldType<string, string>;
93
94
  isArray: true;
94
95
  isOptional: true;
95
96
  };
96
97
  forceRefresh: {
97
- type: _lssm_lib_schema118.FieldType<boolean, boolean>;
98
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
98
99
  isOptional: true;
99
100
  };
100
101
  }>, SchemaModel<{
101
102
  balances: {
102
103
  type: SchemaModel<{
103
104
  id: {
104
- type: _lssm_lib_schema118.FieldType<string, string>;
105
+ type: _lssm_lib_schema417.FieldType<string, string>;
105
106
  isOptional: false;
106
107
  };
107
108
  accountId: {
108
- type: _lssm_lib_schema118.FieldType<string, string>;
109
+ type: _lssm_lib_schema417.FieldType<string, string>;
109
110
  isOptional: false;
110
111
  };
111
112
  tenantId: {
112
- type: _lssm_lib_schema118.FieldType<string, string>;
113
+ type: _lssm_lib_schema417.FieldType<string, string>;
113
114
  isOptional: false;
114
115
  };
115
116
  connectionId: {
116
- type: _lssm_lib_schema118.FieldType<string, string>;
117
+ type: _lssm_lib_schema417.FieldType<string, string>;
117
118
  isOptional: false;
118
119
  };
119
120
  balanceType: {
120
- type: _lssm_lib_schema118.FieldType<string, string>;
121
+ type: _lssm_lib_schema417.FieldType<string, string>;
121
122
  isOptional: false;
122
123
  };
123
124
  currentBalance: {
124
- type: _lssm_lib_schema118.FieldType<number, number>;
125
+ type: _lssm_lib_schema417.FieldType<number, number>;
125
126
  isOptional: false;
126
127
  };
127
128
  availableBalance: {
128
- type: _lssm_lib_schema118.FieldType<number, number>;
129
+ type: _lssm_lib_schema417.FieldType<number, number>;
129
130
  isOptional: true;
130
131
  };
131
132
  currency: {
132
- type: _lssm_lib_schema118.FieldType<string, string>;
133
+ type: _lssm_lib_schema417.FieldType<string, string>;
133
134
  isOptional: false;
134
135
  };
135
136
  lastUpdatedAt: {
136
- type: _lssm_lib_schema118.FieldType<Date, string>;
137
+ type: _lssm_lib_schema417.FieldType<Date, string>;
137
138
  isOptional: false;
138
139
  };
139
140
  createdAt: {
140
- type: _lssm_lib_schema118.FieldType<Date, string>;
141
+ type: _lssm_lib_schema417.FieldType<Date, string>;
141
142
  isOptional: false;
142
143
  };
143
144
  metadata: {
144
- type: _lssm_lib_schema118.FieldType<Record<string, unknown>, Record<string, unknown>>;
145
+ type: _lssm_lib_schema417.FieldType<Record<string, unknown>, Record<string, unknown>>;
145
146
  isOptional: true;
146
147
  };
147
148
  }>;
@@ -149,11 +150,11 @@ declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
149
150
  isArray: true;
150
151
  };
151
152
  refreshedAt: {
152
- type: _lssm_lib_schema118.FieldType<Date, string>;
153
+ type: _lssm_lib_schema417.FieldType<Date, string>;
153
154
  isOptional: false;
154
155
  };
155
156
  errors: {
156
- type: _lssm_lib_schema118.FieldType<string, string>;
157
+ type: _lssm_lib_schema417.FieldType<string, string>;
157
158
  isArray: true;
158
159
  isOptional: true;
159
160
  };
@@ -1,5 +1,6 @@
1
1
  import { E5, x8 } from "../../../schema/dist/index.js";
2
- import { defineCommand, defineQuery } from "../../../operation.js";
2
+ import { defineCommand, defineQuery } from "../../../operations/operation.js";
3
+ import "../../../operations/index.js";
3
4
  import { AccountBalanceRecord } from "../models.js";
4
5
  import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
5
6
 
@@ -1,4 +1,4 @@
1
- import { OperationSpecRegistry } from "../../../registry.js";
1
+ import { OperationSpecRegistry } from "../../../operations/registry.js";
2
2
  import { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts } from "./accounts.js";
3
3
  import { OpenBankingListTransactions, OpenBankingSyncTransactions } from "./transactions.js";
4
4
  import { OpenBankingGetBalances, OpenBankingRefreshBalances } from "./balances.js";