@lssm/lib.contracts 1.7.3 → 1.7.4

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 (85) hide show
  1. package/dist/app-config/contracts.d.ts +51 -49
  2. package/dist/app-config/contracts.d.ts.map +1 -1
  3. package/dist/app-config/contracts.js +1 -1
  4. package/dist/app-config/contracts.js.map +1 -1
  5. package/dist/app-config/events.d.ts +28 -26
  6. package/dist/app-config/events.d.ts.map +1 -1
  7. package/dist/app-config/events.js +1 -1
  8. package/dist/app-config/events.js.map +1 -1
  9. package/dist/app-config/lifecycle-contracts.d.ts +81 -79
  10. package/dist/app-config/lifecycle-contracts.d.ts.map +1 -1
  11. package/dist/app-config/lifecycle-contracts.js +1 -1
  12. package/dist/app-config/lifecycle-contracts.js.map +1 -1
  13. package/dist/capabilities/openbanking.d.ts.map +1 -1
  14. package/dist/client/react/form-render.d.ts +1 -0
  15. package/dist/client/react/form-render.d.ts.map +1 -1
  16. package/dist/contracts-adapter-input.d.ts +1 -0
  17. package/dist/contracts-adapter-input.d.ts.map +1 -1
  18. package/dist/events.d.ts +1 -0
  19. package/dist/events.d.ts.map +1 -1
  20. package/dist/events.js +1 -1
  21. package/dist/events.js.map +1 -1
  22. package/dist/forms.d.ts +1 -0
  23. package/dist/forms.d.ts.map +1 -1
  24. package/dist/graphql-federation/dist/index.js +2 -0
  25. package/dist/graphql-federation/dist/index.js.map +1 -0
  26. package/dist/install.d.ts +1 -0
  27. package/dist/install.d.ts.map +1 -1
  28. package/dist/integrations/contracts.d.ts +103 -101
  29. package/dist/integrations/contracts.d.ts.map +1 -1
  30. package/dist/integrations/contracts.js +1 -1
  31. package/dist/integrations/contracts.js.map +1 -1
  32. package/dist/integrations/openbanking/contracts/accounts.d.ts +67 -65
  33. package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -1
  34. package/dist/integrations/openbanking/contracts/accounts.js +1 -1
  35. package/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
  36. package/dist/integrations/openbanking/contracts/balances.d.ts +35 -33
  37. package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -1
  38. package/dist/integrations/openbanking/contracts/balances.js +1 -1
  39. package/dist/integrations/openbanking/contracts/balances.js.map +1 -1
  40. package/dist/integrations/openbanking/contracts/transactions.d.ts +49 -47
  41. package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -1
  42. package/dist/integrations/openbanking/contracts/transactions.js +1 -1
  43. package/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
  44. package/dist/integrations/openbanking/models.d.ts +57 -54
  45. package/dist/integrations/openbanking/models.d.ts.map +1 -1
  46. package/dist/integrations/openbanking/models.js +1 -1
  47. package/dist/integrations/openbanking/models.js.map +1 -1
  48. package/dist/jsonschema.d.ts +1 -1
  49. package/dist/jsonschema.d.ts.map +1 -1
  50. package/dist/knowledge/contracts.d.ts +67 -65
  51. package/dist/knowledge/contracts.d.ts.map +1 -1
  52. package/dist/knowledge/contracts.js +1 -1
  53. package/dist/knowledge/contracts.js.map +1 -1
  54. package/dist/onboarding-base.d.ts +30 -28
  55. package/dist/onboarding-base.d.ts.map +1 -1
  56. package/dist/onboarding-base.js +1 -1
  57. package/dist/onboarding-base.js.map +1 -1
  58. package/dist/presentations.d.ts +1 -0
  59. package/dist/presentations.d.ts.map +1 -1
  60. package/dist/presentations.v2.d.ts +1 -0
  61. package/dist/presentations.v2.d.ts.map +1 -1
  62. package/dist/registry.d.ts +1 -0
  63. package/dist/registry.d.ts.map +1 -1
  64. package/dist/resources.d.ts.map +1 -1
  65. package/dist/schema/{src → dist}/FieldType.js +1 -1
  66. package/dist/schema/dist/FieldType.js.map +1 -0
  67. package/dist/schema/dist/ScalarTypeEnum.js +2 -0
  68. package/dist/schema/dist/ScalarTypeEnum.js.map +1 -0
  69. package/dist/schema/{src → dist}/SchemaModel.js +1 -1
  70. package/dist/schema/dist/SchemaModel.js.map +1 -0
  71. package/dist/schema/dist/index.js +1 -0
  72. package/dist/server/graphql-schema-export.js +1 -1
  73. package/dist/server/graphql-schema-export.js.map +1 -1
  74. package/dist/spec.d.ts +1 -0
  75. package/dist/spec.d.ts.map +1 -1
  76. package/dist/workflow/spec.d.ts.map +1 -1
  77. package/package.json +168 -168
  78. package/dist/graphql-federation/src/index.js +0 -2
  79. package/dist/graphql-federation/src/index.js.map +0 -1
  80. package/dist/schema/src/FieldType.js.map +0 -1
  81. package/dist/schema/src/ScalarTypeEnum.js +0 -2
  82. package/dist/schema/src/ScalarTypeEnum.js.map +0 -1
  83. package/dist/schema/src/SchemaModel.js.map +0 -1
  84. package/dist/schema/src/index.js +0 -1
  85. /package/dist/schema/{src → dist}/EnumType.js +0 -0
@@ -1,223 +1,226 @@
1
+ import * as _lssm_lib_schema445 from "@lssm/lib.schema";
2
+ import { SchemaModel } from "@lssm/lib.schema";
3
+
1
4
  //#region src/integrations/openbanking/models.d.ts
2
5
  declare const BankAccountRecord: SchemaModel<{
3
6
  id: {
4
- type: void 0<string, string>;
7
+ type: _lssm_lib_schema445.FieldType<string, string>;
5
8
  isOptional: false;
6
9
  };
7
10
  tenantId: {
8
- type: void 0<string, string>;
11
+ type: _lssm_lib_schema445.FieldType<string, string>;
9
12
  isOptional: false;
10
13
  };
11
14
  userId: {
12
- type: void 0<string, string>;
15
+ type: _lssm_lib_schema445.FieldType<string, string>;
13
16
  isOptional: false;
14
17
  };
15
18
  connectionId: {
16
- type: void 0<string, string>;
19
+ type: _lssm_lib_schema445.FieldType<string, string>;
17
20
  isOptional: false;
18
21
  };
19
22
  externalId: {
20
- type: void 0<string, string>;
23
+ type: _lssm_lib_schema445.FieldType<string, string>;
21
24
  isOptional: false;
22
25
  };
23
26
  institutionId: {
24
- type: void 0<string, string>;
27
+ type: _lssm_lib_schema445.FieldType<string, string>;
25
28
  isOptional: false;
26
29
  };
27
30
  institutionName: {
28
- type: void 0<string, string>;
31
+ type: _lssm_lib_schema445.FieldType<string, string>;
29
32
  isOptional: false;
30
33
  };
31
34
  institutionLogoUrl: {
32
- type: void 0<string, string>;
35
+ type: _lssm_lib_schema445.FieldType<string, string>;
33
36
  isOptional: true;
34
37
  };
35
38
  iban: {
36
- type: void 0<string, string>;
39
+ type: _lssm_lib_schema445.FieldType<string, string>;
37
40
  isOptional: true;
38
41
  };
39
42
  bic: {
40
- type: void 0<string, string>;
43
+ type: _lssm_lib_schema445.FieldType<string, string>;
41
44
  isOptional: true;
42
45
  };
43
46
  accountType: {
44
- type: void 0<string, string>;
47
+ type: _lssm_lib_schema445.FieldType<string, string>;
45
48
  isOptional: false;
46
49
  };
47
50
  currency: {
48
- type: void 0<string, string>;
51
+ type: _lssm_lib_schema445.FieldType<string, string>;
49
52
  isOptional: false;
50
53
  };
51
54
  displayName: {
52
- type: void 0<string, string>;
55
+ type: _lssm_lib_schema445.FieldType<string, string>;
53
56
  isOptional: false;
54
57
  };
55
58
  accountNumberMasked: {
56
- type: void 0<string, string>;
59
+ type: _lssm_lib_schema445.FieldType<string, string>;
57
60
  isOptional: true;
58
61
  };
59
62
  productCode: {
60
- type: void 0<string, string>;
63
+ type: _lssm_lib_schema445.FieldType<string, string>;
61
64
  isOptional: true;
62
65
  };
63
66
  balance: {
64
- type: void 0<number, number>;
67
+ type: _lssm_lib_schema445.FieldType<number, number>;
65
68
  isOptional: true;
66
69
  };
67
70
  availableBalance: {
68
- type: void 0<number, number>;
71
+ type: _lssm_lib_schema445.FieldType<number, number>;
69
72
  isOptional: true;
70
73
  };
71
74
  lastSyncedAt: {
72
- type: void 0<Date, string>;
75
+ type: _lssm_lib_schema445.FieldType<Date, string>;
73
76
  isOptional: false;
74
77
  };
75
78
  createdAt: {
76
- type: void 0<Date, string>;
79
+ type: _lssm_lib_schema445.FieldType<Date, string>;
77
80
  isOptional: false;
78
81
  };
79
82
  updatedAt: {
80
- type: void 0<Date, string>;
83
+ type: _lssm_lib_schema445.FieldType<Date, string>;
81
84
  isOptional: false;
82
85
  };
83
86
  metadata: {
84
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
87
+ type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
85
88
  isOptional: true;
86
89
  };
87
90
  }>;
88
91
  declare const BankTransactionRecord: SchemaModel<{
89
92
  id: {
90
- type: void 0<string, string>;
93
+ type: _lssm_lib_schema445.FieldType<string, string>;
91
94
  isOptional: false;
92
95
  };
93
96
  accountId: {
94
- type: void 0<string, string>;
97
+ type: _lssm_lib_schema445.FieldType<string, string>;
95
98
  isOptional: false;
96
99
  };
97
100
  tenantId: {
98
- type: void 0<string, string>;
101
+ type: _lssm_lib_schema445.FieldType<string, string>;
99
102
  isOptional: false;
100
103
  };
101
104
  connectionId: {
102
- type: void 0<string, string>;
105
+ type: _lssm_lib_schema445.FieldType<string, string>;
103
106
  isOptional: false;
104
107
  };
105
108
  externalId: {
106
- type: void 0<string, string>;
109
+ type: _lssm_lib_schema445.FieldType<string, string>;
107
110
  isOptional: false;
108
111
  };
109
112
  amount: {
110
- type: void 0<number, number>;
113
+ type: _lssm_lib_schema445.FieldType<number, number>;
111
114
  isOptional: false;
112
115
  };
113
116
  currency: {
114
- type: void 0<string, string>;
117
+ type: _lssm_lib_schema445.FieldType<string, string>;
115
118
  isOptional: false;
116
119
  };
117
120
  date: {
118
- type: void 0<Date, string>;
121
+ type: _lssm_lib_schema445.FieldType<Date, string>;
119
122
  isOptional: false;
120
123
  };
121
124
  bookingDate: {
122
- type: void 0<Date, string>;
125
+ type: _lssm_lib_schema445.FieldType<Date, string>;
123
126
  isOptional: true;
124
127
  };
125
128
  valueDate: {
126
- type: void 0<Date, string>;
129
+ type: _lssm_lib_schema445.FieldType<Date, string>;
127
130
  isOptional: true;
128
131
  };
129
132
  description: {
130
- type: void 0<string, string>;
133
+ type: _lssm_lib_schema445.FieldType<string, string>;
131
134
  isOptional: true;
132
135
  };
133
136
  counterpartyName: {
134
- type: void 0<string, string>;
137
+ type: _lssm_lib_schema445.FieldType<string, string>;
135
138
  isOptional: true;
136
139
  };
137
140
  counterpartyAccount: {
138
- type: void 0<string, string>;
141
+ type: _lssm_lib_schema445.FieldType<string, string>;
139
142
  isOptional: true;
140
143
  };
141
144
  merchantCategoryCode: {
142
- type: void 0<string, string>;
145
+ type: _lssm_lib_schema445.FieldType<string, string>;
143
146
  isOptional: true;
144
147
  };
145
148
  rawCategory: {
146
- type: void 0<string, string>;
149
+ type: _lssm_lib_schema445.FieldType<string, string>;
147
150
  isOptional: true;
148
151
  };
149
152
  standardizedCategory: {
150
- type: void 0<string, string>;
153
+ type: _lssm_lib_schema445.FieldType<string, string>;
151
154
  isOptional: true;
152
155
  };
153
156
  transactionType: {
154
- type: void 0<string, string>;
157
+ type: _lssm_lib_schema445.FieldType<string, string>;
155
158
  isOptional: false;
156
159
  };
157
160
  status: {
158
- type: void 0<string, string>;
161
+ type: _lssm_lib_schema445.FieldType<string, string>;
159
162
  isOptional: false;
160
163
  };
161
164
  runningBalance: {
162
- type: void 0<number, number>;
165
+ type: _lssm_lib_schema445.FieldType<number, number>;
163
166
  isOptional: true;
164
167
  };
165
168
  metadata: {
166
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
169
+ type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
167
170
  isOptional: true;
168
171
  };
169
172
  createdAt: {
170
- type: void 0<Date, string>;
173
+ type: _lssm_lib_schema445.FieldType<Date, string>;
171
174
  isOptional: false;
172
175
  };
173
176
  updatedAt: {
174
- type: void 0<Date, string>;
177
+ type: _lssm_lib_schema445.FieldType<Date, string>;
175
178
  isOptional: false;
176
179
  };
177
180
  }>;
178
181
  declare const AccountBalanceRecord: SchemaModel<{
179
182
  id: {
180
- type: void 0<string, string>;
183
+ type: _lssm_lib_schema445.FieldType<string, string>;
181
184
  isOptional: false;
182
185
  };
183
186
  accountId: {
184
- type: void 0<string, string>;
187
+ type: _lssm_lib_schema445.FieldType<string, string>;
185
188
  isOptional: false;
186
189
  };
187
190
  tenantId: {
188
- type: void 0<string, string>;
191
+ type: _lssm_lib_schema445.FieldType<string, string>;
189
192
  isOptional: false;
190
193
  };
191
194
  connectionId: {
192
- type: void 0<string, string>;
195
+ type: _lssm_lib_schema445.FieldType<string, string>;
193
196
  isOptional: false;
194
197
  };
195
198
  balanceType: {
196
- type: void 0<string, string>;
199
+ type: _lssm_lib_schema445.FieldType<string, string>;
197
200
  isOptional: false;
198
201
  };
199
202
  currentBalance: {
200
- type: void 0<number, number>;
203
+ type: _lssm_lib_schema445.FieldType<number, number>;
201
204
  isOptional: false;
202
205
  };
203
206
  availableBalance: {
204
- type: void 0<number, number>;
207
+ type: _lssm_lib_schema445.FieldType<number, number>;
205
208
  isOptional: true;
206
209
  };
207
210
  currency: {
208
- type: void 0<string, string>;
211
+ type: _lssm_lib_schema445.FieldType<string, string>;
209
212
  isOptional: false;
210
213
  };
211
214
  lastUpdatedAt: {
212
- type: void 0<Date, string>;
215
+ type: _lssm_lib_schema445.FieldType<Date, string>;
213
216
  isOptional: false;
214
217
  };
215
218
  createdAt: {
216
- type: void 0<Date, string>;
219
+ type: _lssm_lib_schema445.FieldType<Date, string>;
217
220
  isOptional: false;
218
221
  };
219
222
  metadata: {
220
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
223
+ type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
221
224
  isOptional: true;
222
225
  };
223
226
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","names":[],"sources":["../../../src/integrations/openbanking/models.ts"],"sourcesContent":[],"mappings":";AAKa,cAAA,iBA2BX,EA3B4B,WA2B5B,CAAA;EAAA,EAAA,EAAA;UAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;IA3B4B,UAAA,EAAA,KAAA;EAAA,CAAA;EA6BjB,kBAAA,EAAA;IAqCX,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArCgC,UAAA,EAAA,IAAA;EAAA,CAAA;EAuCrB,OAAA,EAAA;IAoBX,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;EApB+B,SAAA,EAAA;IAAA,IAAA,QAAA,KAAA,EAAA,MAAA,CAAA;;;;;;;;cAvCpB,uBAAqB;;UAqChC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,sBAAoB;;UAoB/B,KAAA"}
1
+ {"version":3,"file":"models.d.ts","names":[],"sources":["../../../src/integrations/openbanking/models.ts"],"sourcesContent":[],"mappings":";;;;cAKa,mBAAiB;;UA2B5B,mBAAA,CAAA;IA3BW,UAAA,EAAA,KA2BX;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;IA3B4B,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EA6BjB,CAAA;EAqCX,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArCgC,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAuCrB,CAAA;EAoBX,gBAAA,EAAA;;;;;;;;;;;;;;;EApB+B,CAAA;EAAA,QAAA,EAAA;;;;;cAvCpB,uBAAqB;;UAqChC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,sBAAoB;;UAoB/B,mBAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- import{ScalarTypeEnum as e}from"../../schema/src/ScalarTypeEnum.js";import{SchemaModel as t}from"../../schema/src/SchemaModel.js";import"../../schema/src/index.js";const n=new t({name:`BankAccountRecord`,description:`Canonical representation of a bank account synced from an open banking provider.`,fields:{id:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},userId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},externalId:{type:e.NonEmptyString(),isOptional:!1},institutionId:{type:e.NonEmptyString(),isOptional:!1},institutionName:{type:e.NonEmptyString(),isOptional:!1},institutionLogoUrl:{type:e.URL(),isOptional:!0},iban:{type:e.String_unsecure(),isOptional:!0},bic:{type:e.String_unsecure(),isOptional:!0},accountType:{type:e.NonEmptyString(),isOptional:!1},currency:{type:e.Currency(),isOptional:!1},displayName:{type:e.NonEmptyString(),isOptional:!1},accountNumberMasked:{type:e.String_unsecure(),isOptional:!0},productCode:{type:e.String_unsecure(),isOptional:!0},balance:{type:e.Float_unsecure(),isOptional:!0},availableBalance:{type:e.Float_unsecure(),isOptional:!0},lastSyncedAt:{type:e.DateTime(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1},metadata:{type:e.JSONObject(),isOptional:!0}}}),r=new t({name:`BankTransactionRecord`,description:`Canonical transaction entry mapped from Powens into the open banking ledger.`,fields:{id:{type:e.ID(),isOptional:!1},accountId:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},externalId:{type:e.NonEmptyString(),isOptional:!1},amount:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.Currency(),isOptional:!1},date:{type:e.DateTime(),isOptional:!1},bookingDate:{type:e.DateTime(),isOptional:!0},valueDate:{type:e.DateTime(),isOptional:!0},description:{type:e.String_unsecure(),isOptional:!0},counterpartyName:{type:e.String_unsecure(),isOptional:!0},counterpartyAccount:{type:e.String_unsecure(),isOptional:!0},merchantCategoryCode:{type:e.String_unsecure(),isOptional:!0},rawCategory:{type:e.String_unsecure(),isOptional:!0},standardizedCategory:{type:e.String_unsecure(),isOptional:!0},transactionType:{type:e.NonEmptyString(),isOptional:!1},status:{type:e.NonEmptyString(),isOptional:!1},runningBalance:{type:e.Float_unsecure(),isOptional:!0},metadata:{type:e.JSONObject(),isOptional:!0},createdAt:{type:e.DateTime(),isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1}}}),i=new t({name:`AccountBalanceRecord`,description:`Canonical balance snapshot computed from Powens balance payloads.`,fields:{id:{type:e.ID(),isOptional:!1},accountId:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},balanceType:{type:e.NonEmptyString(),isOptional:!1},currentBalance:{type:e.Float_unsecure(),isOptional:!1},availableBalance:{type:e.Float_unsecure(),isOptional:!0},currency:{type:e.Currency(),isOptional:!1},lastUpdatedAt:{type:e.DateTime(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1},metadata:{type:e.JSONObject(),isOptional:!0}}});export{i as AccountBalanceRecord,n as BankAccountRecord,r as BankTransactionRecord};
1
+ import{l as e}from"../../schema/dist/ScalarTypeEnum.js";import{t}from"../../schema/dist/SchemaModel.js";import"../../schema/dist/index.js";const n=new t({name:`BankAccountRecord`,description:`Canonical representation of a bank account synced from an open banking provider.`,fields:{id:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},userId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},externalId:{type:e.NonEmptyString(),isOptional:!1},institutionId:{type:e.NonEmptyString(),isOptional:!1},institutionName:{type:e.NonEmptyString(),isOptional:!1},institutionLogoUrl:{type:e.URL(),isOptional:!0},iban:{type:e.String_unsecure(),isOptional:!0},bic:{type:e.String_unsecure(),isOptional:!0},accountType:{type:e.NonEmptyString(),isOptional:!1},currency:{type:e.Currency(),isOptional:!1},displayName:{type:e.NonEmptyString(),isOptional:!1},accountNumberMasked:{type:e.String_unsecure(),isOptional:!0},productCode:{type:e.String_unsecure(),isOptional:!0},balance:{type:e.Float_unsecure(),isOptional:!0},availableBalance:{type:e.Float_unsecure(),isOptional:!0},lastSyncedAt:{type:e.DateTime(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1},metadata:{type:e.JSONObject(),isOptional:!0}}}),r=new t({name:`BankTransactionRecord`,description:`Canonical transaction entry mapped from Powens into the open banking ledger.`,fields:{id:{type:e.ID(),isOptional:!1},accountId:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},externalId:{type:e.NonEmptyString(),isOptional:!1},amount:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.Currency(),isOptional:!1},date:{type:e.DateTime(),isOptional:!1},bookingDate:{type:e.DateTime(),isOptional:!0},valueDate:{type:e.DateTime(),isOptional:!0},description:{type:e.String_unsecure(),isOptional:!0},counterpartyName:{type:e.String_unsecure(),isOptional:!0},counterpartyAccount:{type:e.String_unsecure(),isOptional:!0},merchantCategoryCode:{type:e.String_unsecure(),isOptional:!0},rawCategory:{type:e.String_unsecure(),isOptional:!0},standardizedCategory:{type:e.String_unsecure(),isOptional:!0},transactionType:{type:e.NonEmptyString(),isOptional:!1},status:{type:e.NonEmptyString(),isOptional:!1},runningBalance:{type:e.Float_unsecure(),isOptional:!0},metadata:{type:e.JSONObject(),isOptional:!0},createdAt:{type:e.DateTime(),isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1}}}),i=new t({name:`AccountBalanceRecord`,description:`Canonical balance snapshot computed from Powens balance payloads.`,fields:{id:{type:e.ID(),isOptional:!1},accountId:{type:e.ID(),isOptional:!1},tenantId:{type:e.ID(),isOptional:!1},connectionId:{type:e.ID(),isOptional:!1},balanceType:{type:e.NonEmptyString(),isOptional:!1},currentBalance:{type:e.Float_unsecure(),isOptional:!1},availableBalance:{type:e.Float_unsecure(),isOptional:!0},currency:{type:e.Currency(),isOptional:!1},lastUpdatedAt:{type:e.DateTime(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1},metadata:{type:e.JSONObject(),isOptional:!0}}});export{i as AccountBalanceRecord,n as BankAccountRecord,r as BankTransactionRecord};
2
2
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","names":[],"sources":["../../../src/integrations/openbanking/models.ts"],"sourcesContent":["import {\n ScalarTypeEnum,\n SchemaModel,\n} from '@lssm/lib.schema';\n\nexport const BankAccountRecord = new SchemaModel({\n name: 'BankAccountRecord',\n description:\n 'Canonical representation of a bank account synced from an open banking provider.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n userId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n externalId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionName: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionLogoUrl: { type: ScalarTypeEnum.URL(), isOptional: true },\n iban: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n bic: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n accountType: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n displayName: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n accountNumberMasked: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n productCode: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n balance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n availableBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n lastSyncedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n },\n});\n\nexport const BankTransactionRecord = new SchemaModel({\n name: 'BankTransactionRecord',\n description:\n 'Canonical transaction entry mapped from Powens into the open banking ledger.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n accountId: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n externalId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n amount: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n date: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n bookingDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n valueDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n counterpartyName: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n counterpartyAccount: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n merchantCategoryCode: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n rawCategory: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n standardizedCategory: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n transactionType: {\n type: ScalarTypeEnum.NonEmptyString(),\n isOptional: false,\n },\n status: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n runningBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const AccountBalanceRecord = new SchemaModel({\n name: 'AccountBalanceRecord',\n description:\n 'Canonical balance snapshot computed from Powens balance payloads.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n accountId: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n balanceType: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n currentBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n availableBalance: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: true,\n },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n lastUpdatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n },\n});\n\n\n\n\n\n"],"mappings":"oKAKA,MAAa,EAAoB,IAAI,EAAY,CAC/C,KAAM,oBACN,YACE,mFACF,OAAQ,CACN,GAAI,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACpD,SAAU,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,OAAQ,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACxD,aAAc,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC9D,WAAY,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACxE,cAAe,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CAC3E,gBAAiB,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CAC7E,mBAAoB,CAAE,KAAM,EAAe,KAAK,CAAE,WAAY,GAAM,CACpE,KAAM,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CAClE,IAAK,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACjE,YAAa,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACzE,SAAU,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CAChE,YAAa,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACzE,oBAAqB,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACjF,YAAa,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACzE,QAAS,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAM,CACpE,iBAAkB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Y,GACb,CACD,gBAAiB,CACf,KAAM,EAAe,gBAAgB,CACrC,WAAY,GACb,CACD,OAAQ,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACpE,eAAgB,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAM,CAC3E,SAAU,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAM,CACjE,UAAW,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,UAAW,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CAClE,CACF,CAAC,CAEW,EAAuB,IAAI,EAAY,CAClD,KAAM,uBACN,YACE,oEACF,OAAQ,CACN,GAAI,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACpD,UAAW,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC3D,SAAU,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,aAAc,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC9D,YAAa,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACzE,eAAgB,CAAE,KAAM,EAAe,gBAAgB,CAAE,WAAY,GAAO,CAC5E,iBAAkB,CAChB,KAAM,EAAe,gBAAgB,CACrC,WAAY,GACb,CACD,SAAU,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CAChE,cAAe,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CACrE,UAAW,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,SAAU,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAM,CAClE,CACF,CAAC"}
1
+ {"version":3,"file":"models.js","names":["SchemaModel","ScalarTypeEnum"],"sources":["../../../src/integrations/openbanking/models.ts"],"sourcesContent":["import {\n ScalarTypeEnum,\n SchemaModel,\n} from '@lssm/lib.schema';\n\nexport const BankAccountRecord = new SchemaModel({\n name: 'BankAccountRecord',\n description:\n 'Canonical representation of a bank account synced from an open banking provider.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n userId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n externalId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionName: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n institutionLogoUrl: { type: ScalarTypeEnum.URL(), isOptional: true },\n iban: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n bic: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n accountType: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n displayName: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n accountNumberMasked: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n productCode: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n balance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n availableBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n lastSyncedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n },\n});\n\nexport const BankTransactionRecord = new SchemaModel({\n name: 'BankTransactionRecord',\n description:\n 'Canonical transaction entry mapped from Powens into the open banking ledger.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n accountId: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n externalId: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n amount: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n date: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n bookingDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n valueDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n counterpartyName: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n counterpartyAccount: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n merchantCategoryCode: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n rawCategory: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n standardizedCategory: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n transactionType: {\n type: ScalarTypeEnum.NonEmptyString(),\n isOptional: false,\n },\n status: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n runningBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const AccountBalanceRecord = new SchemaModel({\n name: 'AccountBalanceRecord',\n description:\n 'Canonical balance snapshot computed from Powens balance payloads.',\n fields: {\n id: { type: ScalarTypeEnum.ID(), isOptional: false },\n accountId: { type: ScalarTypeEnum.ID(), isOptional: false },\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n connectionId: { type: ScalarTypeEnum.ID(), isOptional: false },\n balanceType: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n currentBalance: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n availableBalance: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: true,\n },\n currency: { type: ScalarTypeEnum.Currency(), isOptional: false },\n lastUpdatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n createdAt: { type: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gB,CAAE,WAAY,GAAO,CACpE,eAAgB,CAAE,KAAMA,EAAe,gBAAgB,CAAE,WAAY,GAAM,CAC3E,SAAU,CAAE,KAAMA,EAAe,YAAY,CAAE,WAAY,GAAM,CACjE,UAAW,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,UAAW,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CAClE,CACF,CAAC,CAEW,EAAuB,IAAID,EAAY,CAClD,KAAM,uBACN,YACE,oEACF,OAAQ,CACN,GAAI,CAAE,KAAMC,EAAe,IAAI,CAAE,WAAY,GAAO,CACpD,UAAW,CAAE,KAAMA,EAAe,IAAI,CAAE,WAAY,GAAO,CAC3D,SAAU,CAAE,KAAMA,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,aAAc,CAAE,KAAMA,EAAe,IAAI,CAAE,WAAY,GAAO,CAC9D,YAAa,CAAE,KAAMA,EAAe,gBAAgB,CAAE,WAAY,GAAO,CACzE,eAAgB,CAAE,KAAMA,EAAe,gBAAgB,CAAE,WAAY,GAAO,CAC5E,iBAAkB,CAChB,KAAMA,EAAe,gBAAgB,CACrC,WAAY,GACb,CACD,SAAU,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CAChE,cAAe,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CACrE,UAAW,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,SAAU,CAAE,KAAMA,EAAe,YAAY,CAAE,WAAY,GAAM,CAClE,CACF,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { Stability, Tag } from "./ownership.js";
2
2
  import { ContractSpec, OpKind } from "./spec.js";
3
3
  import z$1 from "zod";
4
+ import { AnySchemaModel } from "@lssm/lib.schema";
4
5
 
5
6
  //#region src/jsonschema.d.ts
6
-
7
7
  declare function jsonSchemaForSpec(spec: ContractSpec<AnySchemaModel, AnySchemaModel>): {
8
8
  input: z$1.core.JSONSchema.JSONSchema | null;
9
9
  output: z$1.core.JSONSchema.JSONSchema | null;
@@ -1 +1 @@
1
- {"version":3,"file":"jsonschema.d.ts","names":[],"sources":["../src/jsonschema.ts"],"sourcesContent":[],"mappings":";;;;;;AAQqB,iBADL,iBAAA,CACK,IAAA,EAAb,YAAa,CAAA,cAAA,EAAgB,cAAhB,CAAA,CAAA,EAAA;EAAgB,KAAA,gCAAA,GAAA,IAAA;EAA7B,MAAA,gCAAA,GAAA,IAAA;;;;;;;IAiBQ,SAAA,WAAe;EAKf,CAAA;AAKhB,CAAA;;iBAVgB,eAAA;;iBAKA,cAAA;;iBAKA,eAAA"}
1
+ {"version":3,"file":"jsonschema.d.ts","names":[],"sources":["../src/jsonschema.ts"],"sourcesContent":[],"mappings":";;;;;;AAOgB,iBAAA,iBAAA,CAAiB,IAAA,EACzB,YADyB,CACZ,cADY,EACI,cADJ,CAAA,CAAA,EAAA;EACZ,KAAA,gCAAA,GAAA,IAAA;EAAgB,MAAA,gCAAA,GAAA,IAAA;EAA7B,IAAA,EAAA;;;;;;;EAiBQ,CAAA;AAKhB,CAAA;AAKA;iBAVgB,eAAA;;iBAKA,cAAA;;iBAKA,eAAA"}