@lssm/lib.contracts 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821

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 (91) hide show
  1. package/LICENSE +21 -0
  2. package/dist/app-config/contracts.d.ts +50 -50
  3. package/dist/app-config/contracts.js +54 -56
  4. package/dist/app-config/events.d.ts +27 -27
  5. package/dist/app-config/events.js +31 -33
  6. package/dist/app-config/lifecycle-contracts.d.ts +80 -80
  7. package/dist/app-config/lifecycle-contracts.js +66 -68
  8. package/dist/client/react/form-render.d.ts +6 -6
  9. package/dist/client/react/form-render.js +15 -15
  10. package/dist/contracts-adapter-hydration.js +2 -2
  11. package/dist/data-views/query-generator.d.ts +2 -2
  12. package/dist/data-views/query-generator.js +1 -1
  13. package/dist/data-views/runtime.d.ts +2 -2
  14. package/dist/data-views/runtime.js +2 -2
  15. package/dist/docs/index.js +0 -6
  16. package/dist/docs/meta.docs.js +3 -0
  17. package/dist/docs/tech-contracts.docs.js +3 -0
  18. package/dist/forms.d.ts +4 -4
  19. package/dist/forms.js +3 -2
  20. package/dist/index.js +2 -3
  21. package/dist/integrations/contracts.d.ts +105 -104
  22. package/dist/integrations/contracts.js +63 -65
  23. package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
  24. package/dist/integrations/openbanking/contracts/accounts.js +29 -31
  25. package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
  26. package/dist/integrations/openbanking/contracts/balances.js +16 -18
  27. package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
  28. package/dist/integrations/openbanking/contracts/transactions.js +30 -32
  29. package/dist/integrations/openbanking/guards.js +1 -0
  30. package/dist/integrations/openbanking/models.d.ts +55 -55
  31. package/dist/integrations/openbanking/models.js +58 -60
  32. package/dist/integrations/providers/impls/gmail-inbound.js +1 -1
  33. package/dist/integrations/providers/impls/gmail-outbound.js +4 -4
  34. package/dist/integrations/providers/impls/mistral-llm.d.ts +1 -1
  35. package/dist/integrations/providers/impls/mistral-llm.js +1 -1
  36. package/dist/integrations/providers/impls/powens-openbanking.d.ts +1 -1
  37. package/dist/integrations/providers/impls/provider-factory.js +4 -1
  38. package/dist/integrations/providers/impls/qdrant-vector.js +2 -2
  39. package/dist/integrations/runtime.d.ts +1 -1
  40. package/dist/integrations/runtime.js +1 -1
  41. package/dist/integrations/secrets/manager.js +1 -1
  42. package/dist/jobs/handlers/gmail-sync-handler.d.ts +1 -1
  43. package/dist/jsonschema.d.ts +3 -3
  44. package/dist/knowledge/contracts.d.ts +69 -68
  45. package/dist/knowledge/contracts.js +42 -44
  46. package/dist/markdown.d.ts +1 -1
  47. package/dist/markdown.js +1 -1
  48. package/dist/onboarding-base.d.ts +29 -29
  49. package/dist/onboarding-base.js +20 -22
  50. package/dist/ownership.d.ts +4 -6
  51. package/dist/ownership.js +4 -5
  52. package/dist/presentations.d.ts +3 -3
  53. package/dist/presentations.v2.js +5 -2
  54. package/dist/promptRegistry.d.ts +2 -2
  55. package/dist/registry.d.ts +1 -1
  56. package/dist/registry.js +1 -0
  57. package/dist/resources.js +4 -1
  58. package/dist/schema/dist/index.js +4683 -6
  59. package/dist/schema-to-markdown.d.ts +1 -1
  60. package/dist/schema-to-markdown.js +1 -1
  61. package/dist/server/graphql-pothos.js +0 -1
  62. package/dist/server/rest-elysia.d.ts +1 -1
  63. package/dist/server/rest-express.js +0 -3
  64. package/dist/server/rest-generic.d.ts +1 -1
  65. package/dist/server/rest-generic.js +0 -1
  66. package/dist/server/rest-next-mcp.js +1 -1
  67. package/dist/server/rest-next-pages.js +0 -3
  68. package/dist/workflow/adapters/db-adapter.d.ts +19 -7
  69. package/dist/workflow/adapters/db-adapter.js +3 -3
  70. package/dist/workflow/expression.js +3 -2
  71. package/dist/workflow/validation.js +1 -0
  72. package/package.json +19 -18
  73. package/dist/docs/PUBLISHING.docblock.d.ts +0 -6
  74. package/dist/docs/PUBLISHING.docblock.js +0 -17
  75. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +0 -6
  76. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -17
  77. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +0 -6
  78. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -17
  79. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +0 -6
  80. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -17
  81. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +0 -6
  82. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -17
  83. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +0 -6
  84. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -17
  85. package/dist/schema/dist/EnumType.js +0 -2
  86. package/dist/schema/dist/FieldType.js +0 -49
  87. package/dist/schema/dist/ScalarTypeEnum.js +0 -236
  88. package/dist/schema/dist/SchemaModel.js +0 -39
  89. package/dist/schema/dist/entity/defineEntity.js +0 -1
  90. package/dist/schema/dist/entity/index.js +0 -2
  91. package/dist/schema/dist/entity/types.js +0 -1
@@ -1,217 +1,215 @@
1
- import { ScalarTypeEnum } from "../schema/dist/ScalarTypeEnum.js";
2
- import { SchemaModel } from "../schema/dist/SchemaModel.js";
3
- import "../schema/dist/index.js";
1
+ import { E5, x8 } from "../schema/dist/index.js";
4
2
  import { defineCommand, defineQuery } from "../spec.js";
5
3
 
6
4
  //#region src/integrations/contracts.ts
7
- const IntegrationConnectionRecord = new SchemaModel({
5
+ const IntegrationConnectionRecord = new x8({
8
6
  name: "IntegrationConnectionRecord",
9
7
  fields: {
10
8
  id: {
11
- type: ScalarTypeEnum.ID(),
9
+ type: E5.ID(),
12
10
  isOptional: false
13
11
  },
14
12
  tenantId: {
15
- type: ScalarTypeEnum.ID(),
13
+ type: E5.ID(),
16
14
  isOptional: false
17
15
  },
18
16
  integrationKey: {
19
- type: ScalarTypeEnum.NonEmptyString(),
17
+ type: E5.NonEmptyString(),
20
18
  isOptional: false
21
19
  },
22
20
  integrationVersion: {
23
- type: ScalarTypeEnum.Int_unsecure(),
21
+ type: E5.Int_unsecure(),
24
22
  isOptional: false
25
23
  },
26
24
  label: {
27
- type: ScalarTypeEnum.String_unsecure(),
25
+ type: E5.String_unsecure(),
28
26
  isOptional: false
29
27
  },
30
28
  ownershipMode: {
31
- type: ScalarTypeEnum.String_unsecure(),
29
+ type: E5.String_unsecure(),
32
30
  isOptional: false
33
31
  },
34
32
  externalAccountId: {
35
- type: ScalarTypeEnum.String_unsecure(),
33
+ type: E5.String_unsecure(),
36
34
  isOptional: true
37
35
  },
38
36
  secretProvider: {
39
- type: ScalarTypeEnum.String_unsecure(),
37
+ type: E5.String_unsecure(),
40
38
  isOptional: false
41
39
  },
42
40
  secretRef: {
43
- type: ScalarTypeEnum.String_unsecure(),
41
+ type: E5.String_unsecure(),
44
42
  isOptional: false
45
43
  },
46
44
  status: {
47
- type: ScalarTypeEnum.String_unsecure(),
45
+ type: E5.String_unsecure(),
48
46
  isOptional: false
49
47
  },
50
48
  environment: {
51
- type: ScalarTypeEnum.String_unsecure(),
49
+ type: E5.String_unsecure(),
52
50
  isOptional: true
53
51
  },
54
52
  healthStatus: {
55
- type: ScalarTypeEnum.String_unsecure(),
53
+ type: E5.String_unsecure(),
56
54
  isOptional: true
57
55
  },
58
56
  healthCheckedAt: {
59
- type: ScalarTypeEnum.DateTime(),
57
+ type: E5.DateTime(),
60
58
  isOptional: true
61
59
  },
62
60
  healthLatencyMs: {
63
- type: ScalarTypeEnum.Float_unsecure(),
61
+ type: E5.Float_unsecure(),
64
62
  isOptional: true
65
63
  },
66
64
  healthErrorCode: {
67
- type: ScalarTypeEnum.String_unsecure(),
65
+ type: E5.String_unsecure(),
68
66
  isOptional: true
69
67
  },
70
68
  healthErrorMessage: {
71
- type: ScalarTypeEnum.String_unsecure(),
69
+ type: E5.String_unsecure(),
72
70
  isOptional: true
73
71
  },
74
72
  usageRequestCount: {
75
- type: ScalarTypeEnum.Int_unsecure(),
73
+ type: E5.Int_unsecure(),
76
74
  isOptional: true
77
75
  },
78
76
  usageSuccessCount: {
79
- type: ScalarTypeEnum.Int_unsecure(),
77
+ type: E5.Int_unsecure(),
80
78
  isOptional: true
81
79
  },
82
80
  usageErrorCount: {
83
- type: ScalarTypeEnum.Int_unsecure(),
81
+ type: E5.Int_unsecure(),
84
82
  isOptional: true
85
83
  },
86
84
  usageLastUsedAt: {
87
- type: ScalarTypeEnum.DateTime(),
85
+ type: E5.DateTime(),
88
86
  isOptional: true
89
87
  },
90
88
  usageLastErrorAt: {
91
- type: ScalarTypeEnum.DateTime(),
89
+ type: E5.DateTime(),
92
90
  isOptional: true
93
91
  },
94
92
  usageLastErrorCode: {
95
- type: ScalarTypeEnum.String_unsecure(),
93
+ type: E5.String_unsecure(),
96
94
  isOptional: true
97
95
  },
98
96
  createdAt: {
99
- type: ScalarTypeEnum.DateTime(),
97
+ type: E5.DateTime(),
100
98
  isOptional: true
101
99
  },
102
100
  updatedAt: {
103
- type: ScalarTypeEnum.DateTime(),
101
+ type: E5.DateTime(),
104
102
  isOptional: true
105
103
  }
106
104
  }
107
105
  });
108
- const CreateIntegrationConnectionInput = new SchemaModel({
106
+ const CreateIntegrationConnectionInput = new x8({
109
107
  name: "CreateIntegrationConnectionInput",
110
108
  fields: {
111
109
  tenantId: {
112
- type: ScalarTypeEnum.ID(),
110
+ type: E5.ID(),
113
111
  isOptional: false
114
112
  },
115
113
  integrationKey: {
116
- type: ScalarTypeEnum.NonEmptyString(),
114
+ type: E5.NonEmptyString(),
117
115
  isOptional: false
118
116
  },
119
117
  integrationVersion: {
120
- type: ScalarTypeEnum.Int_unsecure(),
118
+ type: E5.Int_unsecure(),
121
119
  isOptional: false
122
120
  },
123
121
  label: {
124
- type: ScalarTypeEnum.String_unsecure(),
122
+ type: E5.String_unsecure(),
125
123
  isOptional: false
126
124
  },
127
125
  ownershipMode: {
128
- type: ScalarTypeEnum.String_unsecure(),
126
+ type: E5.String_unsecure(),
129
127
  isOptional: false
130
128
  },
131
129
  externalAccountId: {
132
- type: ScalarTypeEnum.String_unsecure(),
130
+ type: E5.String_unsecure(),
133
131
  isOptional: true
134
132
  },
135
133
  secretProvider: {
136
- type: ScalarTypeEnum.String_unsecure(),
134
+ type: E5.String_unsecure(),
137
135
  isOptional: false
138
136
  },
139
137
  secretRef: {
140
- type: ScalarTypeEnum.String_unsecure(),
138
+ type: E5.String_unsecure(),
141
139
  isOptional: false
142
140
  },
143
141
  environment: {
144
- type: ScalarTypeEnum.String_unsecure(),
142
+ type: E5.String_unsecure(),
145
143
  isOptional: true
146
144
  },
147
145
  config: {
148
- type: ScalarTypeEnum.JSONObject(),
146
+ type: E5.JSONObject(),
149
147
  isOptional: false
150
148
  }
151
149
  }
152
150
  });
153
- const UpdateIntegrationConnectionInput = new SchemaModel({
151
+ const UpdateIntegrationConnectionInput = new x8({
154
152
  name: "UpdateIntegrationConnectionInput",
155
153
  fields: {
156
154
  connectionId: {
157
- type: ScalarTypeEnum.ID(),
155
+ type: E5.ID(),
158
156
  isOptional: false
159
157
  },
160
158
  label: {
161
- type: ScalarTypeEnum.String_unsecure(),
159
+ type: E5.String_unsecure(),
162
160
  isOptional: true
163
161
  },
164
162
  status: {
165
- type: ScalarTypeEnum.String_unsecure(),
163
+ type: E5.String_unsecure(),
166
164
  isOptional: true
167
165
  },
168
166
  ownershipMode: {
169
- type: ScalarTypeEnum.String_unsecure(),
167
+ type: E5.String_unsecure(),
170
168
  isOptional: true
171
169
  },
172
170
  externalAccountId: {
173
- type: ScalarTypeEnum.String_unsecure(),
171
+ type: E5.String_unsecure(),
174
172
  isOptional: true
175
173
  },
176
174
  secretProvider: {
177
- type: ScalarTypeEnum.String_unsecure(),
175
+ type: E5.String_unsecure(),
178
176
  isOptional: true
179
177
  },
180
178
  secretRef: {
181
- type: ScalarTypeEnum.String_unsecure(),
179
+ type: E5.String_unsecure(),
182
180
  isOptional: true
183
181
  },
184
182
  config: {
185
- type: ScalarTypeEnum.JSONObject(),
183
+ type: E5.JSONObject(),
186
184
  isOptional: true
187
185
  }
188
186
  }
189
187
  });
190
- const DeleteIntegrationConnectionInput = new SchemaModel({
188
+ const DeleteIntegrationConnectionInput = new x8({
191
189
  name: "DeleteIntegrationConnectionInput",
192
190
  fields: { connectionId: {
193
- type: ScalarTypeEnum.ID(),
191
+ type: E5.ID(),
194
192
  isOptional: false
195
193
  } }
196
194
  });
197
- const ListIntegrationConnectionsInput = new SchemaModel({
195
+ const ListIntegrationConnectionsInput = new x8({
198
196
  name: "ListIntegrationConnectionsInput",
199
197
  fields: {
200
198
  tenantId: {
201
- type: ScalarTypeEnum.ID(),
199
+ type: E5.ID(),
202
200
  isOptional: false
203
201
  },
204
202
  category: {
205
- type: ScalarTypeEnum.String_unsecure(),
203
+ type: E5.String_unsecure(),
206
204
  isOptional: true
207
205
  },
208
206
  status: {
209
- type: ScalarTypeEnum.String_unsecure(),
207
+ type: E5.String_unsecure(),
210
208
  isOptional: true
211
209
  }
212
210
  }
213
211
  });
214
- const ListIntegrationConnectionsOutput = new SchemaModel({
212
+ const ListIntegrationConnectionsOutput = new x8({
215
213
  name: "ListIntegrationConnectionsOutput",
216
214
  fields: { connections: {
217
215
  type: IntegrationConnectionRecord,
@@ -219,42 +217,42 @@ const ListIntegrationConnectionsOutput = new SchemaModel({
219
217
  isArray: true
220
218
  } }
221
219
  });
222
- const TestIntegrationConnectionInput = new SchemaModel({
220
+ const TestIntegrationConnectionInput = new x8({
223
221
  name: "TestIntegrationConnectionInput",
224
222
  fields: { connectionId: {
225
- type: ScalarTypeEnum.ID(),
223
+ type: E5.ID(),
226
224
  isOptional: false
227
225
  } }
228
226
  });
229
- const TestIntegrationConnectionOutput = new SchemaModel({
227
+ const TestIntegrationConnectionOutput = new x8({
230
228
  name: "TestIntegrationConnectionOutput",
231
229
  fields: {
232
230
  success: {
233
- type: ScalarTypeEnum.Boolean(),
231
+ type: E5.Boolean(),
234
232
  isOptional: false
235
233
  },
236
234
  status: {
237
- type: ScalarTypeEnum.String_unsecure(),
235
+ type: E5.String_unsecure(),
238
236
  isOptional: true
239
237
  },
240
238
  latencyMs: {
241
- type: ScalarTypeEnum.Float_unsecure(),
239
+ type: E5.Float_unsecure(),
242
240
  isOptional: true
243
241
  },
244
242
  error: {
245
- type: ScalarTypeEnum.String_unsecure(),
243
+ type: E5.String_unsecure(),
246
244
  isOptional: true
247
245
  },
248
246
  errorCode: {
249
- type: ScalarTypeEnum.String_unsecure(),
247
+ type: E5.String_unsecure(),
250
248
  isOptional: true
251
249
  }
252
250
  }
253
251
  });
254
- const DeleteIntegrationConnectionOutput = new SchemaModel({
252
+ const DeleteIntegrationConnectionOutput = new x8({
255
253
  name: "DeleteIntegrationConnectionOutput",
256
254
  fields: { success: {
257
- type: ScalarTypeEnum.Boolean(),
255
+ type: E5.Boolean(),
258
256
  isOptional: false
259
257
  } }
260
258
  });
@@ -1,123 +1,124 @@
1
- import { ContractSpec } from "../../../spec.js";
1
+ import { AnyContractSpec, ContractSpec } from "../../../spec.js";
2
2
  import { SpecRegistry } from "../../../registry.js";
3
- import * as _lssm_lib_schema497 from "@lssm/lib.schema";
3
+ import "../../../index.js";
4
+ import * as _lssm_lib_schema417 from "@lssm/lib.schema";
4
5
  import { SchemaModel } from "@lssm/lib.schema";
5
6
 
6
7
  //#region src/integrations/openbanking/contracts/accounts.d.ts
7
8
  declare const OpenBankingListAccounts: ContractSpec<SchemaModel<{
8
9
  tenantId: {
9
- type: _lssm_lib_schema497.FieldType<string, string>;
10
+ type: _lssm_lib_schema417.FieldType<string, string>;
10
11
  isOptional: false;
11
12
  };
12
13
  userId: {
13
- type: _lssm_lib_schema497.FieldType<string, string>;
14
+ type: _lssm_lib_schema417.FieldType<string, string>;
14
15
  isOptional: false;
15
16
  };
16
17
  connectionId: {
17
- type: _lssm_lib_schema497.FieldType<string, string>;
18
+ type: _lssm_lib_schema417.FieldType<string, string>;
18
19
  isOptional: true;
19
20
  };
20
21
  includeBalances: {
21
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
22
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
22
23
  isOptional: true;
23
24
  };
24
25
  institutionId: {
25
- type: _lssm_lib_schema497.FieldType<string, string>;
26
+ type: _lssm_lib_schema417.FieldType<string, string>;
26
27
  isOptional: true;
27
28
  };
28
29
  cursor: {
29
- type: _lssm_lib_schema497.FieldType<string, string>;
30
+ type: _lssm_lib_schema417.FieldType<string, string>;
30
31
  isOptional: true;
31
32
  };
32
33
  pageSize: {
33
- type: _lssm_lib_schema497.FieldType<number, number>;
34
+ type: _lssm_lib_schema417.FieldType<number, number>;
34
35
  isOptional: true;
35
36
  };
36
37
  }>, SchemaModel<{
37
38
  accounts: {
38
39
  type: SchemaModel<{
39
40
  id: {
40
- type: _lssm_lib_schema497.FieldType<string, string>;
41
+ type: _lssm_lib_schema417.FieldType<string, string>;
41
42
  isOptional: false;
42
43
  };
43
44
  tenantId: {
44
- type: _lssm_lib_schema497.FieldType<string, string>;
45
+ type: _lssm_lib_schema417.FieldType<string, string>;
45
46
  isOptional: false;
46
47
  };
47
48
  userId: {
48
- type: _lssm_lib_schema497.FieldType<string, string>;
49
+ type: _lssm_lib_schema417.FieldType<string, string>;
49
50
  isOptional: false;
50
51
  };
51
52
  connectionId: {
52
- type: _lssm_lib_schema497.FieldType<string, string>;
53
+ type: _lssm_lib_schema417.FieldType<string, string>;
53
54
  isOptional: false;
54
55
  };
55
56
  externalId: {
56
- type: _lssm_lib_schema497.FieldType<string, string>;
57
+ type: _lssm_lib_schema417.FieldType<string, string>;
57
58
  isOptional: false;
58
59
  };
59
60
  institutionId: {
60
- type: _lssm_lib_schema497.FieldType<string, string>;
61
+ type: _lssm_lib_schema417.FieldType<string, string>;
61
62
  isOptional: false;
62
63
  };
63
64
  institutionName: {
64
- type: _lssm_lib_schema497.FieldType<string, string>;
65
+ type: _lssm_lib_schema417.FieldType<string, string>;
65
66
  isOptional: false;
66
67
  };
67
68
  institutionLogoUrl: {
68
- type: _lssm_lib_schema497.FieldType<string, string>;
69
+ type: _lssm_lib_schema417.FieldType<string, string>;
69
70
  isOptional: true;
70
71
  };
71
72
  iban: {
72
- type: _lssm_lib_schema497.FieldType<string, string>;
73
+ type: _lssm_lib_schema417.FieldType<string, string>;
73
74
  isOptional: true;
74
75
  };
75
76
  bic: {
76
- type: _lssm_lib_schema497.FieldType<string, string>;
77
+ type: _lssm_lib_schema417.FieldType<string, string>;
77
78
  isOptional: true;
78
79
  };
79
80
  accountType: {
80
- type: _lssm_lib_schema497.FieldType<string, string>;
81
+ type: _lssm_lib_schema417.FieldType<string, string>;
81
82
  isOptional: false;
82
83
  };
83
84
  currency: {
84
- type: _lssm_lib_schema497.FieldType<string, string>;
85
+ type: _lssm_lib_schema417.FieldType<string, string>;
85
86
  isOptional: false;
86
87
  };
87
88
  displayName: {
88
- type: _lssm_lib_schema497.FieldType<string, string>;
89
+ type: _lssm_lib_schema417.FieldType<string, string>;
89
90
  isOptional: false;
90
91
  };
91
92
  accountNumberMasked: {
92
- type: _lssm_lib_schema497.FieldType<string, string>;
93
+ type: _lssm_lib_schema417.FieldType<string, string>;
93
94
  isOptional: true;
94
95
  };
95
96
  productCode: {
96
- type: _lssm_lib_schema497.FieldType<string, string>;
97
+ type: _lssm_lib_schema417.FieldType<string, string>;
97
98
  isOptional: true;
98
99
  };
99
100
  balance: {
100
- type: _lssm_lib_schema497.FieldType<number, number>;
101
+ type: _lssm_lib_schema417.FieldType<number, number>;
101
102
  isOptional: true;
102
103
  };
103
104
  availableBalance: {
104
- type: _lssm_lib_schema497.FieldType<number, number>;
105
+ type: _lssm_lib_schema417.FieldType<number, number>;
105
106
  isOptional: true;
106
107
  };
107
108
  lastSyncedAt: {
108
- type: _lssm_lib_schema497.FieldType<Date, string>;
109
+ type: _lssm_lib_schema417.FieldType<Date, string>;
109
110
  isOptional: false;
110
111
  };
111
112
  createdAt: {
112
- type: _lssm_lib_schema497.FieldType<Date, string>;
113
+ type: _lssm_lib_schema417.FieldType<Date, string>;
113
114
  isOptional: false;
114
115
  };
115
116
  updatedAt: {
116
- type: _lssm_lib_schema497.FieldType<Date, string>;
117
+ type: _lssm_lib_schema417.FieldType<Date, string>;
117
118
  isOptional: false;
118
119
  };
119
120
  metadata: {
120
- type: _lssm_lib_schema497.FieldType<Record<string, unknown>, Record<string, unknown>>;
121
+ type: _lssm_lib_schema417.FieldType<Record<string, unknown>, Record<string, unknown>>;
121
122
  isOptional: true;
122
123
  };
123
124
  }>;
@@ -125,163 +126,163 @@ declare const OpenBankingListAccounts: ContractSpec<SchemaModel<{
125
126
  isArray: true;
126
127
  };
127
128
  nextCursor: {
128
- type: _lssm_lib_schema497.FieldType<string, string>;
129
+ type: _lssm_lib_schema417.FieldType<string, string>;
129
130
  isOptional: true;
130
131
  };
131
132
  hasMore: {
132
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
133
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
133
134
  isOptional: true;
134
135
  };
135
136
  }>, undefined>;
136
137
  declare const OpenBankingGetAccount: ContractSpec<SchemaModel<{
137
138
  tenantId: {
138
- type: _lssm_lib_schema497.FieldType<string, string>;
139
+ type: _lssm_lib_schema417.FieldType<string, string>;
139
140
  isOptional: false;
140
141
  };
141
142
  accountId: {
142
- type: _lssm_lib_schema497.FieldType<string, string>;
143
+ type: _lssm_lib_schema417.FieldType<string, string>;
143
144
  isOptional: false;
144
145
  };
145
146
  includeBalances: {
146
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
147
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
147
148
  isOptional: true;
148
149
  };
149
150
  includeLatestTransactions: {
150
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
151
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
151
152
  isOptional: true;
152
153
  };
153
154
  }>, SchemaModel<{
154
155
  id: {
155
- type: _lssm_lib_schema497.FieldType<string, string>;
156
+ type: _lssm_lib_schema417.FieldType<string, string>;
156
157
  isOptional: false;
157
158
  };
158
159
  tenantId: {
159
- type: _lssm_lib_schema497.FieldType<string, string>;
160
+ type: _lssm_lib_schema417.FieldType<string, string>;
160
161
  isOptional: false;
161
162
  };
162
163
  userId: {
163
- type: _lssm_lib_schema497.FieldType<string, string>;
164
+ type: _lssm_lib_schema417.FieldType<string, string>;
164
165
  isOptional: false;
165
166
  };
166
167
  connectionId: {
167
- type: _lssm_lib_schema497.FieldType<string, string>;
168
+ type: _lssm_lib_schema417.FieldType<string, string>;
168
169
  isOptional: false;
169
170
  };
170
171
  externalId: {
171
- type: _lssm_lib_schema497.FieldType<string, string>;
172
+ type: _lssm_lib_schema417.FieldType<string, string>;
172
173
  isOptional: false;
173
174
  };
174
175
  institutionId: {
175
- type: _lssm_lib_schema497.FieldType<string, string>;
176
+ type: _lssm_lib_schema417.FieldType<string, string>;
176
177
  isOptional: false;
177
178
  };
178
179
  institutionName: {
179
- type: _lssm_lib_schema497.FieldType<string, string>;
180
+ type: _lssm_lib_schema417.FieldType<string, string>;
180
181
  isOptional: false;
181
182
  };
182
183
  institutionLogoUrl: {
183
- type: _lssm_lib_schema497.FieldType<string, string>;
184
+ type: _lssm_lib_schema417.FieldType<string, string>;
184
185
  isOptional: true;
185
186
  };
186
187
  iban: {
187
- type: _lssm_lib_schema497.FieldType<string, string>;
188
+ type: _lssm_lib_schema417.FieldType<string, string>;
188
189
  isOptional: true;
189
190
  };
190
191
  bic: {
191
- type: _lssm_lib_schema497.FieldType<string, string>;
192
+ type: _lssm_lib_schema417.FieldType<string, string>;
192
193
  isOptional: true;
193
194
  };
194
195
  accountType: {
195
- type: _lssm_lib_schema497.FieldType<string, string>;
196
+ type: _lssm_lib_schema417.FieldType<string, string>;
196
197
  isOptional: false;
197
198
  };
198
199
  currency: {
199
- type: _lssm_lib_schema497.FieldType<string, string>;
200
+ type: _lssm_lib_schema417.FieldType<string, string>;
200
201
  isOptional: false;
201
202
  };
202
203
  displayName: {
203
- type: _lssm_lib_schema497.FieldType<string, string>;
204
+ type: _lssm_lib_schema417.FieldType<string, string>;
204
205
  isOptional: false;
205
206
  };
206
207
  accountNumberMasked: {
207
- type: _lssm_lib_schema497.FieldType<string, string>;
208
+ type: _lssm_lib_schema417.FieldType<string, string>;
208
209
  isOptional: true;
209
210
  };
210
211
  productCode: {
211
- type: _lssm_lib_schema497.FieldType<string, string>;
212
+ type: _lssm_lib_schema417.FieldType<string, string>;
212
213
  isOptional: true;
213
214
  };
214
215
  balance: {
215
- type: _lssm_lib_schema497.FieldType<number, number>;
216
+ type: _lssm_lib_schema417.FieldType<number, number>;
216
217
  isOptional: true;
217
218
  };
218
219
  availableBalance: {
219
- type: _lssm_lib_schema497.FieldType<number, number>;
220
+ type: _lssm_lib_schema417.FieldType<number, number>;
220
221
  isOptional: true;
221
222
  };
222
223
  lastSyncedAt: {
223
- type: _lssm_lib_schema497.FieldType<Date, string>;
224
+ type: _lssm_lib_schema417.FieldType<Date, string>;
224
225
  isOptional: false;
225
226
  };
226
227
  createdAt: {
227
- type: _lssm_lib_schema497.FieldType<Date, string>;
228
+ type: _lssm_lib_schema417.FieldType<Date, string>;
228
229
  isOptional: false;
229
230
  };
230
231
  updatedAt: {
231
- type: _lssm_lib_schema497.FieldType<Date, string>;
232
+ type: _lssm_lib_schema417.FieldType<Date, string>;
232
233
  isOptional: false;
233
234
  };
234
235
  metadata: {
235
- type: _lssm_lib_schema497.FieldType<Record<string, unknown>, Record<string, unknown>>;
236
+ type: _lssm_lib_schema417.FieldType<Record<string, unknown>, Record<string, unknown>>;
236
237
  isOptional: true;
237
238
  };
238
239
  }>, undefined>;
239
240
  declare const OpenBankingSyncAccounts: ContractSpec<SchemaModel<{
240
241
  tenantId: {
241
- type: _lssm_lib_schema497.FieldType<string, string>;
242
+ type: _lssm_lib_schema417.FieldType<string, string>;
242
243
  isOptional: false;
243
244
  };
244
245
  userId: {
245
- type: _lssm_lib_schema497.FieldType<string, string>;
246
+ type: _lssm_lib_schema417.FieldType<string, string>;
246
247
  isOptional: true;
247
248
  };
248
249
  connectionId: {
249
- type: _lssm_lib_schema497.FieldType<string, string>;
250
+ type: _lssm_lib_schema417.FieldType<string, string>;
250
251
  isOptional: false;
251
252
  };
252
253
  accountIds: {
253
- type: _lssm_lib_schema497.FieldType<string, string>;
254
+ type: _lssm_lib_schema417.FieldType<string, string>;
254
255
  isArray: true;
255
256
  isOptional: true;
256
257
  };
257
258
  forceFullRefresh: {
258
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
259
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
259
260
  isOptional: true;
260
261
  };
261
262
  triggerWorkflows: {
262
- type: _lssm_lib_schema497.FieldType<boolean, boolean>;
263
+ type: _lssm_lib_schema417.FieldType<boolean, boolean>;
263
264
  isOptional: true;
264
265
  };
265
266
  }>, SchemaModel<{
266
267
  synced: {
267
- type: _lssm_lib_schema497.FieldType<number, number>;
268
+ type: _lssm_lib_schema417.FieldType<number, number>;
268
269
  isOptional: false;
269
270
  };
270
271
  failed: {
271
- type: _lssm_lib_schema497.FieldType<number, number>;
272
+ type: _lssm_lib_schema417.FieldType<number, number>;
272
273
  isOptional: false;
273
274
  };
274
275
  errors: {
275
- type: _lssm_lib_schema497.FieldType<string, string>;
276
+ type: _lssm_lib_schema417.FieldType<string, string>;
276
277
  isArray: true;
277
278
  isOptional: true;
278
279
  };
279
280
  nextSyncSuggestedAt: {
280
- type: _lssm_lib_schema497.FieldType<Date, string>;
281
+ type: _lssm_lib_schema417.FieldType<Date, string>;
281
282
  isOptional: true;
282
283
  };
283
284
  }>, undefined>;
284
- declare const openBankingAccountContracts: Record<string, ContractSpec<any, any>>;
285
+ declare const openBankingAccountContracts: Record<string, AnyContractSpec>;
285
286
  declare function registerOpenBankingAccountContracts(registry: SpecRegistry): SpecRegistry;
286
287
  //#endregion
287
288
  export { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts, openBankingAccountContracts, registerOpenBankingAccountContracts };