@lssm/lib.contracts 1.6.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) 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.js.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/install.d.ts +1 -0
  25. package/dist/install.d.ts.map +1 -1
  26. package/dist/integrations/contracts.d.ts +103 -101
  27. package/dist/integrations/contracts.d.ts.map +1 -1
  28. package/dist/integrations/contracts.js +1 -1
  29. package/dist/integrations/contracts.js.map +1 -1
  30. package/dist/integrations/openbanking/contracts/accounts.d.ts +67 -65
  31. package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -1
  32. package/dist/integrations/openbanking/contracts/accounts.js +1 -1
  33. package/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
  34. package/dist/integrations/openbanking/contracts/balances.d.ts +35 -33
  35. package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -1
  36. package/dist/integrations/openbanking/contracts/balances.js +1 -1
  37. package/dist/integrations/openbanking/contracts/balances.js.map +1 -1
  38. package/dist/integrations/openbanking/contracts/index.js.map +1 -1
  39. package/dist/integrations/openbanking/contracts/transactions.d.ts +49 -47
  40. package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -1
  41. package/dist/integrations/openbanking/contracts/transactions.js +1 -1
  42. package/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
  43. package/dist/integrations/openbanking/guards.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/integrations/openbanking/telemetry.js.map +1 -1
  49. package/dist/integrations/providers/powens.js.map +1 -1
  50. package/dist/jsonschema.d.ts +1 -1
  51. package/dist/jsonschema.d.ts.map +1 -1
  52. package/dist/knowledge/contracts.d.ts +67 -65
  53. package/dist/knowledge/contracts.d.ts.map +1 -1
  54. package/dist/knowledge/contracts.js +1 -1
  55. package/dist/knowledge/contracts.js.map +1 -1
  56. package/dist/knowledge/spaces/product-canon.js.map +1 -1
  57. package/dist/knowledge/spaces/support-faq.js.map +1 -1
  58. package/dist/knowledge/spec.js.map +1 -1
  59. package/dist/onboarding-base.d.ts +30 -28
  60. package/dist/onboarding-base.d.ts.map +1 -1
  61. package/dist/onboarding-base.js +1 -1
  62. package/dist/onboarding-base.js.map +1 -1
  63. package/dist/presentations.d.ts +1 -0
  64. package/dist/presentations.d.ts.map +1 -1
  65. package/dist/presentations.v2.d.ts +1 -0
  66. package/dist/presentations.v2.d.ts.map +1 -1
  67. package/dist/regenerator/executor.js.map +1 -1
  68. package/dist/regenerator/service.js.map +1 -1
  69. package/dist/regenerator/sinks.js.map +1 -1
  70. package/dist/regenerator/utils.js.map +1 -1
  71. package/dist/registry.d.ts +1 -0
  72. package/dist/registry.d.ts.map +1 -1
  73. package/dist/resources.d.ts.map +1 -1
  74. package/dist/schema/{src → dist}/FieldType.js +1 -1
  75. package/dist/schema/dist/FieldType.js.map +1 -0
  76. package/dist/schema/dist/ScalarTypeEnum.js +2 -0
  77. package/dist/schema/dist/ScalarTypeEnum.js.map +1 -0
  78. package/dist/schema/{src → dist}/SchemaModel.js +1 -1
  79. package/dist/schema/dist/SchemaModel.js.map +1 -0
  80. package/dist/schema/dist/index.js +1 -0
  81. package/dist/spec.d.ts +1 -0
  82. package/dist/spec.d.ts.map +1 -1
  83. package/package.json +2 -2
  84. package/dist/schema/src/FieldType.js.map +0 -1
  85. package/dist/schema/src/ScalarTypeEnum.js +0 -2
  86. package/dist/schema/src/ScalarTypeEnum.js.map +0 -1
  87. package/dist/schema/src/SchemaModel.js.map +0 -1
  88. package/dist/schema/src/index.js +0 -1
  89. /package/dist/schema/{src → dist}/EnumType.js +0 -0
@@ -2,78 +2,80 @@ import { EventSpec } from "../events.js";
2
2
  import { ContractSpec } from "../spec.js";
3
3
  import { SpecRegistry } from "../registry.js";
4
4
  import "../index.js";
5
+ import * as _lssm_lib_schema102 from "@lssm/lib.schema";
6
+ import { SchemaModel } from "@lssm/lib.schema";
5
7
 
6
8
  //#region src/app-config/lifecycle-contracts.d.ts
7
9
  declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
8
10
  tenantId: {
9
- type: void 0<string, string>;
11
+ type: _lssm_lib_schema102.FieldType<string, string>;
10
12
  isOptional: false;
11
13
  };
12
14
  appId: {
13
- type: void 0<string, string>;
15
+ type: _lssm_lib_schema102.FieldType<string, string>;
14
16
  isOptional: false;
15
17
  };
16
18
  blueprintName: {
17
- type: void 0<string, string>;
19
+ type: _lssm_lib_schema102.FieldType<string, string>;
18
20
  isOptional: false;
19
21
  };
20
22
  blueprintVersion: {
21
- type: void 0<number, number>;
23
+ type: _lssm_lib_schema102.FieldType<number, number>;
22
24
  isOptional: false;
23
25
  };
24
26
  environment: {
25
- type: void 0<string, string>;
27
+ type: _lssm_lib_schema102.FieldType<string, string>;
26
28
  isOptional: true;
27
29
  };
28
30
  fromVersion: {
29
- type: void 0<number, number>;
31
+ type: _lssm_lib_schema102.FieldType<number, number>;
30
32
  isOptional: true;
31
33
  };
32
34
  createdBy: {
33
- type: void 0<string, string>;
35
+ type: _lssm_lib_schema102.FieldType<string, string>;
34
36
  isOptional: false;
35
37
  };
36
38
  }>, SchemaModel<{
37
39
  version: {
38
- type: void 0<number, number>;
40
+ type: _lssm_lib_schema102.FieldType<number, number>;
39
41
  isOptional: false;
40
42
  };
41
43
  status: {
42
- type: void 0<string, string>;
44
+ type: _lssm_lib_schema102.FieldType<string, string>;
43
45
  isOptional: false;
44
46
  };
45
47
  createdAt: {
46
- type: void 0<Date, string>;
48
+ type: _lssm_lib_schema102.FieldType<Date, string>;
47
49
  isOptional: false;
48
50
  };
49
51
  }>, {
50
52
  ref: EventSpec<SchemaModel<{
51
53
  tenantId: {
52
- type: void 0<string, string>;
54
+ type: _lssm_lib_schema102.FieldType<string, string>;
53
55
  isOptional: false;
54
56
  };
55
57
  appId: {
56
- type: void 0<string, string>;
58
+ type: _lssm_lib_schema102.FieldType<string, string>;
57
59
  isOptional: false;
58
60
  };
59
61
  version: {
60
- type: void 0<number, number>;
62
+ type: _lssm_lib_schema102.FieldType<number, number>;
61
63
  isOptional: false;
62
64
  };
63
65
  blueprintName: {
64
- type: void 0<string, string>;
66
+ type: _lssm_lib_schema102.FieldType<string, string>;
65
67
  isOptional: false;
66
68
  };
67
69
  blueprintVersion: {
68
- type: void 0<number, number>;
70
+ type: _lssm_lib_schema102.FieldType<number, number>;
69
71
  isOptional: false;
70
72
  };
71
73
  createdBy: {
72
- type: void 0<string, string>;
74
+ type: _lssm_lib_schema102.FieldType<string, string>;
73
75
  isOptional: false;
74
76
  };
75
77
  clonedFrom: {
76
- type: void 0<number, number>;
78
+ type: _lssm_lib_schema102.FieldType<number, number>;
77
79
  isOptional: true;
78
80
  };
79
81
  }>>;
@@ -81,55 +83,55 @@ declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
81
83
  }[]>;
82
84
  declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
83
85
  tenantId: {
84
- type: void 0<string, string>;
86
+ type: _lssm_lib_schema102.FieldType<string, string>;
85
87
  isOptional: false;
86
88
  };
87
89
  appId: {
88
- type: void 0<string, string>;
90
+ type: _lssm_lib_schema102.FieldType<string, string>;
89
91
  isOptional: false;
90
92
  };
91
93
  version: {
92
- type: void 0<number, number>;
94
+ type: _lssm_lib_schema102.FieldType<number, number>;
93
95
  isOptional: false;
94
96
  };
95
97
  promotedBy: {
96
- type: void 0<string, string>;
98
+ type: _lssm_lib_schema102.FieldType<string, string>;
97
99
  isOptional: false;
98
100
  };
99
101
  }>, SchemaModel<{
100
102
  version: {
101
- type: void 0<number, number>;
103
+ type: _lssm_lib_schema102.FieldType<number, number>;
102
104
  isOptional: false;
103
105
  };
104
106
  status: {
105
- type: void 0<string, string>;
107
+ type: _lssm_lib_schema102.FieldType<string, string>;
106
108
  isOptional: false;
107
109
  };
108
110
  warnings: {
109
- type: void 0<string, string>;
111
+ type: _lssm_lib_schema102.FieldType<string, string>;
110
112
  isOptional: true;
111
113
  isArray: true;
112
114
  };
113
115
  }>, {
114
116
  ref: EventSpec<SchemaModel<{
115
117
  tenantId: {
116
- type: void 0<string, string>;
118
+ type: _lssm_lib_schema102.FieldType<string, string>;
117
119
  isOptional: false;
118
120
  };
119
121
  appId: {
120
- type: void 0<string, string>;
122
+ type: _lssm_lib_schema102.FieldType<string, string>;
121
123
  isOptional: false;
122
124
  };
123
125
  version: {
124
- type: void 0<number, number>;
126
+ type: _lssm_lib_schema102.FieldType<number, number>;
125
127
  isOptional: false;
126
128
  };
127
129
  promotedBy: {
128
- type: void 0<string, string>;
130
+ type: _lssm_lib_schema102.FieldType<string, string>;
129
131
  isOptional: false;
130
132
  };
131
133
  warnings: {
132
- type: void 0<string, string>;
134
+ type: _lssm_lib_schema102.FieldType<string, string>;
133
135
  isOptional: true;
134
136
  isArray: true;
135
137
  };
@@ -138,74 +140,74 @@ declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
138
140
  }[]>;
139
141
  declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
140
142
  tenantId: {
141
- type: void 0<string, string>;
143
+ type: _lssm_lib_schema102.FieldType<string, string>;
142
144
  isOptional: false;
143
145
  };
144
146
  appId: {
145
- type: void 0<string, string>;
147
+ type: _lssm_lib_schema102.FieldType<string, string>;
146
148
  isOptional: false;
147
149
  };
148
150
  version: {
149
- type: void 0<number, number>;
151
+ type: _lssm_lib_schema102.FieldType<number, number>;
150
152
  isOptional: false;
151
153
  };
152
154
  environment: {
153
- type: void 0<string, string>;
155
+ type: _lssm_lib_schema102.FieldType<string, string>;
154
156
  isOptional: true;
155
157
  };
156
158
  publishedBy: {
157
- type: void 0<string, string>;
159
+ type: _lssm_lib_schema102.FieldType<string, string>;
158
160
  isOptional: false;
159
161
  };
160
162
  changeSummary: {
161
- type: void 0<string, string>;
163
+ type: _lssm_lib_schema102.FieldType<string, string>;
162
164
  isOptional: true;
163
165
  };
164
166
  }>, SchemaModel<{
165
167
  version: {
166
- type: void 0<number, number>;
168
+ type: _lssm_lib_schema102.FieldType<number, number>;
167
169
  isOptional: false;
168
170
  };
169
171
  status: {
170
- type: void 0<string, string>;
172
+ type: _lssm_lib_schema102.FieldType<string, string>;
171
173
  isOptional: false;
172
174
  };
173
175
  previousVersion: {
174
- type: void 0<number, number>;
176
+ type: _lssm_lib_schema102.FieldType<number, number>;
175
177
  isOptional: true;
176
178
  };
177
179
  publishedAt: {
178
- type: void 0<Date, string>;
180
+ type: _lssm_lib_schema102.FieldType<Date, string>;
179
181
  isOptional: false;
180
182
  };
181
183
  }>, {
182
184
  ref: EventSpec<SchemaModel<{
183
185
  tenantId: {
184
- type: void 0<string, string>;
186
+ type: _lssm_lib_schema102.FieldType<string, string>;
185
187
  isOptional: false;
186
188
  };
187
189
  appId: {
188
- type: void 0<string, string>;
190
+ type: _lssm_lib_schema102.FieldType<string, string>;
189
191
  isOptional: false;
190
192
  };
191
193
  version: {
192
- type: void 0<number, number>;
194
+ type: _lssm_lib_schema102.FieldType<number, number>;
193
195
  isOptional: false;
194
196
  };
195
197
  previousVersion: {
196
- type: void 0<number, number>;
198
+ type: _lssm_lib_schema102.FieldType<number, number>;
197
199
  isOptional: true;
198
200
  };
199
201
  publishedBy: {
200
- type: void 0<string, string>;
202
+ type: _lssm_lib_schema102.FieldType<string, string>;
201
203
  isOptional: false;
202
204
  };
203
205
  changeSummary: {
204
- type: void 0<string, string>;
206
+ type: _lssm_lib_schema102.FieldType<string, string>;
205
207
  isOptional: true;
206
208
  };
207
209
  changedSections: {
208
- type: void 0<string, string>;
210
+ type: _lssm_lib_schema102.FieldType<string, string>;
209
211
  isOptional: true;
210
212
  isArray: true;
211
213
  };
@@ -214,70 +216,70 @@ declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
214
216
  }[]>;
215
217
  declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
216
218
  tenantId: {
217
- type: void 0<string, string>;
219
+ type: _lssm_lib_schema102.FieldType<string, string>;
218
220
  isOptional: false;
219
221
  };
220
222
  appId: {
221
- type: void 0<string, string>;
223
+ type: _lssm_lib_schema102.FieldType<string, string>;
222
224
  isOptional: false;
223
225
  };
224
226
  toVersion: {
225
- type: void 0<number, number>;
227
+ type: _lssm_lib_schema102.FieldType<number, number>;
226
228
  isOptional: false;
227
229
  };
228
230
  environment: {
229
- type: void 0<string, string>;
231
+ type: _lssm_lib_schema102.FieldType<string, string>;
230
232
  isOptional: true;
231
233
  };
232
234
  rolledBackBy: {
233
- type: void 0<string, string>;
235
+ type: _lssm_lib_schema102.FieldType<string, string>;
234
236
  isOptional: false;
235
237
  };
236
238
  reason: {
237
- type: void 0<string, string>;
239
+ type: _lssm_lib_schema102.FieldType<string, string>;
238
240
  isOptional: false;
239
241
  };
240
242
  }>, SchemaModel<{
241
243
  newVersion: {
242
- type: void 0<number, number>;
244
+ type: _lssm_lib_schema102.FieldType<number, number>;
243
245
  isOptional: false;
244
246
  };
245
247
  status: {
246
- type: void 0<string, string>;
248
+ type: _lssm_lib_schema102.FieldType<string, string>;
247
249
  isOptional: false;
248
250
  };
249
251
  rolledBackFrom: {
250
- type: void 0<number, number>;
252
+ type: _lssm_lib_schema102.FieldType<number, number>;
251
253
  isOptional: false;
252
254
  };
253
255
  }>, {
254
256
  ref: EventSpec<SchemaModel<{
255
257
  tenantId: {
256
- type: void 0<string, string>;
258
+ type: _lssm_lib_schema102.FieldType<string, string>;
257
259
  isOptional: false;
258
260
  };
259
261
  appId: {
260
- type: void 0<string, string>;
262
+ type: _lssm_lib_schema102.FieldType<string, string>;
261
263
  isOptional: false;
262
264
  };
263
265
  newVersion: {
264
- type: void 0<number, number>;
266
+ type: _lssm_lib_schema102.FieldType<number, number>;
265
267
  isOptional: false;
266
268
  };
267
269
  rolledBackFrom: {
268
- type: void 0<number, number>;
270
+ type: _lssm_lib_schema102.FieldType<number, number>;
269
271
  isOptional: false;
270
272
  };
271
273
  rolledBackTo: {
272
- type: void 0<number, number>;
274
+ type: _lssm_lib_schema102.FieldType<number, number>;
273
275
  isOptional: false;
274
276
  };
275
277
  rolledBackBy: {
276
- type: void 0<string, string>;
278
+ type: _lssm_lib_schema102.FieldType<string, string>;
277
279
  isOptional: false;
278
280
  };
279
281
  reason: {
280
- type: void 0<string, string>;
282
+ type: _lssm_lib_schema102.FieldType<string, string>;
281
283
  isOptional: false;
282
284
  };
283
285
  }>>;
@@ -285,22 +287,22 @@ declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
285
287
  }[]>;
286
288
  declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
287
289
  tenantId: {
288
- type: void 0<string, string>;
290
+ type: _lssm_lib_schema102.FieldType<string, string>;
289
291
  isOptional: false;
290
292
  };
291
293
  appId: {
292
- type: void 0<string, string>;
294
+ type: _lssm_lib_schema102.FieldType<string, string>;
293
295
  isOptional: false;
294
296
  };
295
297
  }>, SchemaModel<{
296
298
  versions: {
297
299
  type: SchemaModel<{
298
300
  meta: {
299
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
301
+ type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
300
302
  isOptional: false;
301
303
  };
302
304
  config: {
303
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
305
+ type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
304
306
  isOptional: false;
305
307
  };
306
308
  }>;
@@ -310,35 +312,35 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
310
312
  transitions: {
311
313
  type: SchemaModel<{
312
314
  tenantId: {
313
- type: void 0<string, string>;
315
+ type: _lssm_lib_schema102.FieldType<string, string>;
314
316
  isOptional: false;
315
317
  };
316
318
  appId: {
317
- type: void 0<string, string>;
319
+ type: _lssm_lib_schema102.FieldType<string, string>;
318
320
  isOptional: false;
319
321
  };
320
322
  fromStatus: {
321
- type: void 0<string, string>;
323
+ type: _lssm_lib_schema102.FieldType<string, string>;
322
324
  isOptional: false;
323
325
  };
324
326
  toStatus: {
325
- type: void 0<string, string>;
327
+ type: _lssm_lib_schema102.FieldType<string, string>;
326
328
  isOptional: false;
327
329
  };
328
330
  version: {
329
- type: void 0<number, number>;
331
+ type: _lssm_lib_schema102.FieldType<number, number>;
330
332
  isOptional: false;
331
333
  };
332
334
  timestamp: {
333
- type: void 0<Date, string>;
335
+ type: _lssm_lib_schema102.FieldType<Date, string>;
334
336
  isOptional: false;
335
337
  };
336
338
  actor: {
337
- type: void 0<string, string>;
339
+ type: _lssm_lib_schema102.FieldType<string, string>;
338
340
  isOptional: false;
339
341
  };
340
342
  reason: {
341
- type: void 0<string, string>;
343
+ type: _lssm_lib_schema102.FieldType<string, string>;
342
344
  isOptional: true;
343
345
  };
344
346
  }>;
@@ -348,26 +350,26 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
348
350
  }>, undefined>;
349
351
  declare const GetTenantConfigVersionQuery: ContractSpec<SchemaModel<{
350
352
  tenantId: {
351
- type: void 0<string, string>;
353
+ type: _lssm_lib_schema102.FieldType<string, string>;
352
354
  isOptional: false;
353
355
  };
354
356
  appId: {
355
- type: void 0<string, string>;
357
+ type: _lssm_lib_schema102.FieldType<string, string>;
356
358
  isOptional: false;
357
359
  };
358
360
  version: {
359
- type: void 0<number, number>;
361
+ type: _lssm_lib_schema102.FieldType<number, number>;
360
362
  isOptional: false;
361
363
  };
362
364
  }>, SchemaModel<{
363
365
  version: {
364
366
  type: SchemaModel<{
365
367
  meta: {
366
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
368
+ type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
367
369
  isOptional: false;
368
370
  };
369
371
  config: {
370
- type: void 0<Record<string, unknown>, Record<string, unknown>>;
372
+ type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
371
373
  isOptional: false;
372
374
  };
373
375
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle-contracts.d.ts","names":[],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":[],"mappings":";;;;;;cAwEa,gCAA8B,aAAA;;UAyBzC,KAAA;IAzBW,UAAA,EAAA,KAAA;EAyBX,CAAA;;;;;;;IAzByC,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;IAAA,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAkD9B,CAAA;CAyBX,CAAA,aAAA,CAAA;;UA3EyC,KAAA;;EAkDK,CAAA;EAAA,MAAA,EAAA;;;;;;;;;;;MAAA,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAAA,UAAA,EAAA,KAAA;IAoDnC,CAAA;IAyBX,KAAA,EAAA;;;;;;MAzBqC,UAA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A,MAAA,CAAA;;;;;;;cAlI3B,4BAA0B,aAAA;;IAkIC,IAAA,EAzGtC,mBAAA,CAAA,SAyGsC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAmB3B,CAAA;EASG,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;UA9JuB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgD1B,6BAA2B,aAAA;;UAyBtC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzBsC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+C3B,+BAA6B,aAAA;;UAiBxC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBW,6BAA2B,aAAA;;UAiBtC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAoB,eAAe;iBAShC,mCAAA,WAA8C,eAAY"}
@@ -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";import{defineCommand as n,defineQuery as r}from"../spec.js";import{OwnersEnum as i,StabilityEnum as a,TagsEnum as o}from"../ownership.js";import{ConfigDraftCreatedEvent as s,ConfigPromotedToPreviewEvent as c,ConfigPublishedEvent as l,ConfigRolledBackEvent as u}from"./events.js";const d={auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]},f={auth:`admin`,policies:[{name:`platform.app-config.read`,version:1}]},p=new t({name:`ConfigVersionRecord`,fields:{meta:{type:e.JSONObject(),isOptional:!1},config:{type:e.JSONObject(),isOptional:!1}}}),m=new t({name:`ConfigTransitionRecord`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},fromStatus:{type:e.String_unsecure(),isOptional:!1},toStatus:{type:e.String_unsecure(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1},actor:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!0}}}),h=new t({name:`CreateTenantConfigDraftInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},blueprintName:{type:e.String_unsecure(),isOptional:!1},blueprintVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},fromVersion:{type:e.Int_unsecure(),isOptional:!0},createdBy:{type:e.String_unsecure(),isOptional:!1}}}),g=new t({name:`CreateTenantConfigDraftOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),_=n({meta:{name:`appConfig.lifecycle.createDraft`,version:1,description:`Creates a new draft tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Allow operators to start editing a new tenant config version.`,context:`Invoked by the Studio or automation when starting a new configuration run.`},io:{input:h,output:g},policy:d,sideEffects:{emits:[{ref:s,when:`after successful draft creation`}]}}),v=new t({name:`PromoteTenantConfigPreviewInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},promotedBy:{type:e.String_unsecure(),isOptional:!1}}}),y=new t({name:`PromoteTenantConfigPreviewOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},warnings:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}}),b=n({meta:{name:`appConfig.lifecycle.promoteToPreview`,version:1,description:`Promotes a draft tenant config to preview/testing state.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Enable validation and testing of draft configurations.`,context:`Called when a draft passes initial checks and should be exposed to preview environments.`},io:{input:v,output:y},policy:d,sideEffects:{emits:[{ref:c,when:`after promotion to preview`}]}}),x=new t({name:`PublishTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},publishedBy:{type:e.String_unsecure(),isOptional:!1},changeSummary:{type:e.String_unsecure(),isOptional:!0}}}),S=new t({name:`PublishTenantConfigOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},previousVersion:{type:e.Int_unsecure(),isOptional:!0},publishedAt:{type:e.DateTime(),isOptional:!1}}}),C=n({meta:{name:`appConfig.lifecycle.publish`,version:1,description:`Publishes a preview tenant config to production.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Promote tested configurations to production safely.`,context:`Triggered after validation passes and change management approvals are complete.`},io:{input:x,output:S},policy:d,sideEffects:{emits:[{ref:l,when:`after publish succeeds`}]}}),w=new t({name:`RollbackTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},toVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},rolledBackBy:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!1}}}),T=new t({name:`RollbackTenantConfigOutput`,fields:{newVersion:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},rolledBackFrom:{type:e.Int_unsecure(),isOptional:!1}}}),E=n({meta:{name:`appConfig.lifecycle.rollback`,version:1,description:`Rolls back to a previously published tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Provide rapid recovery when new configs regress production.`,context:`Called manually or automatically when monitoring detects regression and a rollback is required.`},io:{input:w,output:T},policy:d,sideEffects:{emits:[{ref:u,when:`after rollback completes`}]}}),D=new t({name:`ListTenantConfigVersionsInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1}}}),O=new t({name:`ListTenantConfigVersionsOutput`,fields:{versions:{type:p,isOptional:!1,isArray:!0},transitions:{type:m,isOptional:!0,isArray:!0}}}),k=r({meta:{name:`appConfig.lifecycle.listVersions`,version:1,description:`Lists all versions of a tenant configuration.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Support lifecycle views and change audit tooling.`,context:`Used by the Studio to render history timelines and by automation for change tracking.`},io:{input:D,output:O},policy:f}),A=new t({name:`GetTenantConfigVersionInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1}}}),j=new t({name:`GetTenantConfigVersionOutput`,fields:{version:{type:p,isOptional:!1}}}),M=r({meta:{name:`appConfig.lifecycle.getVersion`,version:1,description:`Fetches a single tenant config version by id.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Allow detail drill-down for lifecycle entries.`,context:`Used by automation to fetch config payloads for comparison or export.`},io:{input:A,output:j},policy:f}),N={CreateTenantConfigDraftCommand:_,PromoteTenantConfigToPreviewCommand:b,PublishTenantConfigCommand:C,RollbackTenantConfigCommand:E,ListTenantConfigVersionsQuery:k,GetTenantConfigVersionQuery:M};function P(e){return e.register(_).register(b).register(C).register(E).register(k).register(M)}export{_ as CreateTenantConfigDraftCommand,M as GetTenantConfigVersionQuery,k as ListTenantConfigVersionsQuery,b as PromoteTenantConfigToPreviewCommand,C as PublishTenantConfigCommand,E as RollbackTenantConfigCommand,N as lifecycleContracts,P as registerAppConfigLifecycleContracts};
1
+ import{l as e}from"../schema/dist/ScalarTypeEnum.js";import{t}from"../schema/dist/SchemaModel.js";import"../schema/dist/index.js";import{defineCommand as n,defineQuery as r}from"../spec.js";import{OwnersEnum as i,StabilityEnum as a,TagsEnum as o}from"../ownership.js";import{ConfigDraftCreatedEvent as s,ConfigPromotedToPreviewEvent as c,ConfigPublishedEvent as l,ConfigRolledBackEvent as u}from"./events.js";const d={auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]},f={auth:`admin`,policies:[{name:`platform.app-config.read`,version:1}]},p=new t({name:`ConfigVersionRecord`,fields:{meta:{type:e.JSONObject(),isOptional:!1},config:{type:e.JSONObject(),isOptional:!1}}}),m=new t({name:`ConfigTransitionRecord`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},fromStatus:{type:e.String_unsecure(),isOptional:!1},toStatus:{type:e.String_unsecure(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1},actor:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!0}}}),h=new t({name:`CreateTenantConfigDraftInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},blueprintName:{type:e.String_unsecure(),isOptional:!1},blueprintVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},fromVersion:{type:e.Int_unsecure(),isOptional:!0},createdBy:{type:e.String_unsecure(),isOptional:!1}}}),g=new t({name:`CreateTenantConfigDraftOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),_=n({meta:{name:`appConfig.lifecycle.createDraft`,version:1,description:`Creates a new draft tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Allow operators to start editing a new tenant config version.`,context:`Invoked by the Studio or automation when starting a new configuration run.`},io:{input:h,output:g},policy:d,sideEffects:{emits:[{ref:s,when:`after successful draft creation`}]}}),v=new t({name:`PromoteTenantConfigPreviewInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},promotedBy:{type:e.String_unsecure(),isOptional:!1}}}),y=new t({name:`PromoteTenantConfigPreviewOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},warnings:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}}),b=n({meta:{name:`appConfig.lifecycle.promoteToPreview`,version:1,description:`Promotes a draft tenant config to preview/testing state.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Enable validation and testing of draft configurations.`,context:`Called when a draft passes initial checks and should be exposed to preview environments.`},io:{input:v,output:y},policy:d,sideEffects:{emits:[{ref:c,when:`after promotion to preview`}]}}),x=new t({name:`PublishTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},publishedBy:{type:e.String_unsecure(),isOptional:!1},changeSummary:{type:e.String_unsecure(),isOptional:!0}}}),S=new t({name:`PublishTenantConfigOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},previousVersion:{type:e.Int_unsecure(),isOptional:!0},publishedAt:{type:e.DateTime(),isOptional:!1}}}),C=n({meta:{name:`appConfig.lifecycle.publish`,version:1,description:`Publishes a preview tenant config to production.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Promote tested configurations to production safely.`,context:`Triggered after validation passes and change management approvals are complete.`},io:{input:x,output:S},policy:d,sideEffects:{emits:[{ref:l,when:`after publish succeeds`}]}}),w=new t({name:`RollbackTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},toVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},rolledBackBy:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!1}}}),T=new t({name:`RollbackTenantConfigOutput`,fields:{newVersion:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},rolledBackFrom:{type:e.Int_unsecure(),isOptional:!1}}}),E=n({meta:{name:`appConfig.lifecycle.rollback`,version:1,description:`Rolls back to a previously published tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Provide rapid recovery when new configs regress production.`,context:`Called manually or automatically when monitoring detects regression and a rollback is required.`},io:{input:w,output:T},policy:d,sideEffects:{emits:[{ref:u,when:`after rollback completes`}]}}),D=new t({name:`ListTenantConfigVersionsInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1}}}),O=new t({name:`ListTenantConfigVersionsOutput`,fields:{versions:{type:p,isOptional:!1,isArray:!0},transitions:{type:m,isOptional:!0,isArray:!0}}}),k=r({meta:{name:`appConfig.lifecycle.listVersions`,version:1,description:`Lists all versions of a tenant configuration.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Support lifecycle views and change audit tooling.`,context:`Used by the Studio to render history timelines and by automation for change tracking.`},io:{input:D,output:O},policy:f}),A=new t({name:`GetTenantConfigVersionInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1}}}),j=new t({name:`GetTenantConfigVersionOutput`,fields:{version:{type:p,isOptional:!1}}}),M=r({meta:{name:`appConfig.lifecycle.getVersion`,version:1,description:`Fetches a single tenant config version by id.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Allow detail drill-down for lifecycle entries.`,context:`Used by automation to fetch config payloads for comparison or export.`},io:{input:A,output:j},policy:f}),N={CreateTenantConfigDraftCommand:_,PromoteTenantConfigToPreviewCommand:b,PublishTenantConfigCommand:C,RollbackTenantConfigCommand:E,ListTenantConfigVersionsQuery:k,GetTenantConfigVersionQuery:M};function P(e){return e.register(_).register(b).register(C).register(E).register(k).register(M)}export{_ as CreateTenantConfigDraftCommand,M as GetTenantConfigVersionQuery,k as ListTenantConfigVersionsQuery,b as PromoteTenantConfigToPreviewCommand,C as PublishTenantConfigCommand,E as RollbackTenantConfigCommand,N as lifecycleContracts,P as registerAppConfigLifecycleContracts};
2
2
  //# sourceMappingURL=lifecycle-contracts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle-contracts.js","names":["lifecycleContracts: Record<string, ContractSpec<any, any>>"],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":["import { SchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport type { ContractSpec } from '../spec';\nimport { defineCommand, defineQuery } from '../spec';\nimport { OwnersEnum, StabilityEnum, TagsEnum } from '../ownership';\nimport type { SpecRegistry } from '../registry';\nimport {\n ConfigDraftCreatedEvent,\n ConfigPromotedToPreviewEvent,\n ConfigPublishedEvent,\n ConfigRolledBackEvent,\n} from './events';\n\nconst LifecyclePolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.manage', version: 1 }],\n};\n\nconst LifecycleReadPolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.read', version: 1 }],\n};\n\nconst ConfigVersionRecord = new SchemaModel({\n name: 'ConfigVersionRecord',\n fields: {\n meta: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n config: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n});\n\nconst ConfigTransitionRecord = new SchemaModel({\n name: 'ConfigTransitionRecord',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n fromStatus: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n toStatus: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n timestamp: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n actor: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nconst CreateDraftInput = new SchemaModel({\n name: 'CreateTenantConfigDraftInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n blueprintName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n blueprintVersion: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n fromVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CreateDraftOutput = new SchemaModel({\n name: 'CreateTenantConfigDraftOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const CreateTenantConfigDraftCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.createDraft',\n version: 1,\n description: 'Creates a new draft tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Allow operators to start editing a new tenant config version.',\n context:\n 'Invoked by the Studio or automation when starting a new configuration run.',\n },\n io: {\n input: CreateDraftInput,\n output: CreateDraftOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigDraftCreatedEvent,\n when: 'after successful draft creation',\n },\n ],\n },\n});\n\nconst PromotePreviewInput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n promotedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst PromotePreviewOutput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n warnings: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const PromoteTenantConfigToPreviewCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.promoteToPreview',\n version: 1,\n description: 'Promotes a draft tenant config to preview/testing state.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Enable validation and testing of draft configurations.',\n context:\n 'Called when a draft passes initial checks and should be exposed to preview environments.',\n },\n io: {\n input: PromotePreviewInput,\n output: PromotePreviewOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPromotedToPreviewEvent,\n when: 'after promotion to preview',\n },\n ],\n },\n});\n\nconst PublishConfigInput = new SchemaModel({\n name: 'PublishTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n publishedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n changeSummary: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n },\n});\n\nconst PublishConfigOutput = new SchemaModel({\n name: 'PublishTenantConfigOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n previousVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n publishedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const PublishTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.publish',\n version: 1,\n description: 'Publishes a preview tenant config to production.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Promote tested configurations to production safely.',\n context:\n 'Triggered after validation passes and change management approvals are complete.',\n },\n io: {\n input: PublishConfigInput,\n output: PublishConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPublishedEvent,\n when: 'after publish succeeds',\n },\n ],\n },\n});\n\nconst RollbackConfigInput = new SchemaModel({\n name: 'RollbackTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n toVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n rolledBackBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst RollbackConfigOutput = new SchemaModel({\n name: 'RollbackTenantConfigOutput',\n fields: {\n newVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n rolledBackFrom: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nexport const RollbackTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.rollback',\n version: 1,\n description: 'Rolls back to a previously published tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Provide rapid recovery when new configs regress production.',\n context:\n 'Called manually or automatically when monitoring detects regression and a rollback is required.',\n },\n io: {\n input: RollbackConfigInput,\n output: RollbackConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigRolledBackEvent,\n when: 'after rollback completes',\n },\n ],\n },\n});\n\nconst ListVersionsInput = new SchemaModel({\n name: 'ListTenantConfigVersionsInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n },\n});\n\nconst ListVersionsOutput = new SchemaModel({\n name: 'ListTenantConfigVersionsOutput',\n fields: {\n versions: { type: ConfigVersionRecord, isOptional: false, isArray: true },\n transitions: {\n type: ConfigTransitionRecord,\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const ListTenantConfigVersionsQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.listVersions',\n version: 1,\n description: 'Lists all versions of a tenant configuration.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Support lifecycle views and change audit tooling.',\n context:\n 'Used by the Studio to render history timelines and by automation for change tracking.',\n },\n io: {\n input: ListVersionsInput,\n output: ListVersionsOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nconst GetVersionInput = new SchemaModel({\n name: 'GetTenantConfigVersionInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nconst GetVersionOutput = new SchemaModel({\n name: 'GetTenantConfigVersionOutput',\n fields: {\n version: { type: ConfigVersionRecord, isOptional: false },\n },\n});\n\nexport const GetTenantConfigVersionQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.getVersion',\n version: 1,\n description: 'Fetches a single tenant config version by id.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Allow detail drill-down for lifecycle entries.',\n context:\n 'Used by automation to fetch config payloads for comparison or export.',\n },\n io: {\n input: GetVersionInput,\n output: GetVersionOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nexport const lifecycleContracts: Record<string, ContractSpec<any, any>> = {\n CreateTenantConfigDraftCommand,\n PromoteTenantConfigToPreviewCommand,\n PublishTenantConfigCommand,\n RollbackTenantConfigCommand,\n ListTenantConfigVersionsQuery,\n GetTenantConfigVersionQuery,\n};\n\nexport function registerAppConfigLifecycleContracts(registry: SpecRegistry) {\n return registry\n .register(CreateTenantConfigDraftCommand)\n .register(PromoteTenantConfigToPreviewCommand)\n .register(PublishTenantConfigCommand)\n .register(RollbackTenantConfigCommand)\n .register(ListTenantConfigVersionsQuery)\n .register(GetTenantConfigVersionQuery);\n}\n\n\n"],"mappings":"kbAYA,MAAM,EAAkB,CACtB,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,6BAA8B,QAAS,EAAG,CAAC,CAC/D,CAEK,EAAsB,CAC1B,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,2BAA4B,QAAS,EAAG,CAAC,CAC7D,CAEK,EAAsB,IAAI,EAAY,CAC1C,KAAM,sBACN,OAAQ,CACN,KAAM,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAO,CAC9D,OAAQ,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAO,CACjE,CACF,CAAC,CAEI,EAAyB,IAAI,EAAY,CAC7C,KAAM,yBACN,OAAQ,CACN,SAAU,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACvD,WAAY,CACV,KAAM,EAAe,iBAAiB,CACtC,WAAY,GACb,CACD,SAAU,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACvE,QAAS,CAAE,KAAM,EAAe,cAAc,CAAE,WAAY,GAAO,CACnE,UAAW,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,MAAO,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACpE,OAAQ,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACrE,CACF,CA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D,OAAQ,EACT,CAAC,CAEWA,EAA6D,CACxE,iCACA,sCACA,6BACA,8BACA,gCACA,8BACD,CAED,SAAgB,EAAoC,EAAwB,CAC1E,OAAO,EACJ,SAAS,EAA+B,CACxC,SAAS,EAAoC,CAC7C,SAAS,EAA2B,CACpC,SAAS,EAA4B,CACrC,SAAS,EAA8B,CACvC,SAAS,EAA4B"}
1
+ {"version":3,"file":"lifecycle-contracts.js","names":["SchemaModel","ScalarTypeEnum","lifecycleContracts: Record<string, ContractSpec<any, any>>"],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":["import { SchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport type { ContractSpec } from '../spec';\nimport { defineCommand, defineQuery } from '../spec';\nimport { OwnersEnum, StabilityEnum, TagsEnum } from '../ownership';\nimport type { SpecRegistry } from '../registry';\nimport {\n ConfigDraftCreatedEvent,\n ConfigPromotedToPreviewEvent,\n ConfigPublishedEvent,\n ConfigRolledBackEvent,\n} from './events';\n\nconst LifecyclePolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.manage', version: 1 }],\n};\n\nconst LifecycleReadPolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.read', version: 1 }],\n};\n\nconst ConfigVersionRecord = new SchemaModel({\n name: 'ConfigVersionRecord',\n fields: {\n meta: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n config: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n});\n\nconst ConfigTransitionRecord = new SchemaModel({\n name: 'ConfigTransitionRecord',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n fromStatus: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n toStatus: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n timestamp: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n actor: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nconst CreateDraftInput = new SchemaModel({\n name: 'CreateTenantConfigDraftInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n blueprintName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n blueprintVersion: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n fromVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CreateDraftOutput = new SchemaModel({\n name: 'CreateTenantConfigDraftOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const CreateTenantConfigDraftCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.createDraft',\n version: 1,\n description: 'Creates a new draft tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Allow operators to start editing a new tenant config version.',\n context:\n 'Invoked by the Studio or automation when starting a new configuration run.',\n },\n io: {\n input: CreateDraftInput,\n output: CreateDraftOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigDraftCreatedEvent,\n when: 'after successful draft creation',\n },\n ],\n },\n});\n\nconst PromotePreviewInput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n promotedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst PromotePreviewOutput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n warnings: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const PromoteTenantConfigToPreviewCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.promoteToPreview',\n version: 1,\n description: 'Promotes a draft tenant config to preview/testing state.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Enable validation and testing of draft configurations.',\n context:\n 'Called when a draft passes initial checks and should be exposed to preview environments.',\n },\n io: {\n input: PromotePreviewInput,\n output: PromotePreviewOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPromotedToPreviewEvent,\n when: 'after promotion to preview',\n },\n ],\n },\n});\n\nconst PublishConfigInput = new SchemaModel({\n name: 'PublishTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n publishedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n changeSummary: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n },\n});\n\nconst PublishConfigOutput = new SchemaModel({\n name: 'PublishTenantConfigOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n previousVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n publishedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const PublishTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.publish',\n version: 1,\n description: 'Publishes a preview tenant config to production.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Promote tested configurations to production safely.',\n context:\n 'Triggered after validation passes and change management approvals are complete.',\n },\n io: {\n input: PublishConfigInput,\n output: PublishConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPublishedEvent,\n when: 'after publish succeeds',\n },\n ],\n },\n});\n\nconst RollbackConfigInput = new SchemaModel({\n name: 'RollbackTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n toVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n rolledBackBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst RollbackConfigOutput = new SchemaModel({\n name: 'RollbackTenantConfigOutput',\n fields: {\n newVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n rolledBackFrom: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nexport const RollbackTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.rollback',\n version: 1,\n description: 'Rolls back to a previously published tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Provide rapid recovery when new configs regress production.',\n context:\n 'Called manually or automatically when monitoring detects regression and a rollback is required.',\n },\n io: {\n input: RollbackConfigInput,\n output: RollbackConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigRolledBackEvent,\n when: 'after rollback completes',\n },\n ],\n },\n});\n\nconst ListVersionsInput = new SchemaModel({\n name: 'ListTenantConfigVersionsInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n },\n});\n\nconst ListVersionsOutput = new SchemaModel({\n name: 'ListTenantConfigVersionsOutput',\n fields: {\n versions: { type: ConfigVersionRecord, isOptional: false, isArray: true },\n transitions: {\n type: ConfigTransitionRecord,\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const ListTenantConfigVersionsQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.listVersions',\n version: 1,\n description: 'Lists all versions of a tenant configuration.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Support lifecycle views and change audit tooling.',\n context:\n 'Used by the Studio to render history timelines and by automation for change tracking.',\n },\n io: {\n input: ListVersionsInput,\n output: ListVersionsOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nconst GetVersionInput = new SchemaModel({\n name: 'GetTenantConfigVersionInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nconst GetVersionOutput = new SchemaModel({\n name: 'GetTenantConfigVersionOutput',\n fields: {\n version: { type: ConfigVersionRecord, isOptional: false },\n },\n});\n\nexport const GetTenantConfigVersionQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.getVersion',\n version: 1,\n description: 'Fetches a single tenant config version by id.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Allow detail drill-down for lifecycle entries.',\n context:\n 'Used by automation to fetch config payloads for comparison or export.',\n },\n io: {\n input: GetVersionInput,\n output: GetVersionOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nexport const lifecycleContracts: Record<string, ContractSpec<any, any>> = {\n CreateTenantConfigDraftCommand,\n PromoteTenantConfigToPreviewCommand,\n PublishTenantConfigCommand,\n RollbackTenantConfigCommand,\n ListTenantConfigVersionsQuery,\n GetTenantConfigVersionQuery,\n};\n\nexport function registerAppConfigLifecycleContracts(registry: SpecRegistry) {\n return registry\n .register(CreateTenantConfigDraftCommand)\n .register(PromoteTenantConfigToPreviewCommand)\n .register(PublishTenantConfigCommand)\n .register(RollbackTenantConfigCommand)\n .register(ListTenantConfigVersionsQuery)\n .register(GetTenantConfigVersionQuery);\n}\n\n\n"],"mappings":"yZAYA,MAAM,EAAkB,CACtB,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,6BAA8B,QAAS,EAAG,CAAC,CAC/D,CAEK,EAAsB,CAC1B,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,2BAA4B,QAAS,EAAG,CAAC,CAC7D,CAEK,EAAsB,IAAIA,EAAY,CAC1C,KAAM,sBACN,OAAQ,CACN,KAAM,CAAE,KAAMC,EAAe,YAAY,CAAE,WAAY,GAAO,CAC9D,OAAQ,CAAE,KAAMA,EAAe,YAAY,CAAE,WAAY,GAAO,CACjE,CACF,CAAC,CAEI,EAAyB,IAAID,EAAY,CAC7C,KAAM,yBACN,OAAQ,CACN,SAAU,CAAE,KAAMC,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAMA,EAAe,IAAI,CAAE,WAAY,GAAO,CACvD,WAAY,CACV,KAAMA,EAAe,iBAAiB,CACtC,WAAY,GACb,CACD,SAAU,CAAE,KAAMA,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACvE,QAAS,CAAE,KAAMA,EAAe,cAAc,CAAE,WAAY,GAAO,CACnE,UAAW,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,MAAO,CAAE,KAAMA,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACpE,OAAQ,CAAE,KAAMA,EAA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AQ,CACtC,UAAW,EAAc,aACzB,KAAM,iDACN,QACE,wEACH,CACD,GAAI,CACF,MAAO,EACP,OAAQ,EACT,CACD,OAAQ,EACT,CAAC,CAEWE,EAA6D,CACxE,iCACA,sCACA,6BACA,8BACA,gCACA,8BACD,CAED,SAAgB,EAAoC,EAAwB,CAC1E,OAAO,EACJ,SAAS,EAA+B,CACxC,SAAS,EAAoC,CAC7C,SAAS,EAA2B,CACpC,SAAS,EAA4B,CACrC,SAAS,EAA8B,CACvC,SAAS,EAA4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"openbanking.js","names":["openBankingAccountsReadCapability: CapabilitySpec","openBankingTransactionsReadCapability: CapabilitySpec","openBankingBalancesReadCapability: CapabilitySpec"],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":["import type { CapabilityRegistry, CapabilitySpec } from '../capabilities';\nimport { StabilityEnum } from '../ownership';\n\nconst OWNERS = ['platform.finance'] as const;\nconst TAGS = ['open-banking', 'finance'] as const;\n\nexport const openBankingAccountsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.accounts.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Accounts (Read)',\n description:\n 'Provides read-only access to linked bank accounts, including account summaries and metadata.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.accounts.list',\n version: 1,\n description: 'List bank accounts linked to a Powens open banking connection.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.get',\n version: 1,\n description: 'Retrieve the canonical bank account record for a specific account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.sync',\n version: 1,\n description: 'Trigger a refresh of bank account metadata from the open banking provider.',\n },\n ],\n};\n\nexport const openBankingTransactionsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.transactions.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Transactions (Read)',\n description:\n 'Enables retrieval of transaction history for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'transactions'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.transactions.list',\n version: 1,\n description: 'List transactions for a given bank account with optional date filtering.',\n },\n {\n surface: 'operation',\n name: 'openbanking.transactions.sync',\n version: 1,\n description: 'Synchronise transactions from the open banking provider into the canonical ledger.',\n },\n ],\n};\n\nexport const openBankingBalancesReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.balances.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Balances (Read)',\n description:\n 'Allows querying of current and available balances for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'balances'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.balances.get',\n version: 1,\n description: 'Retrieve the latest known balances for a specified bank account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.balances.refresh',\n version: 1,\n description: 'Force a balance refresh from the open banking provider.',\n },\n ],\n};\n\nexport function registerOpenBankingCapabilities(\n registry: CapabilityRegistry\n): CapabilityRegistry {\n return registry\n .register(openBankingAccountsReadCapability)\n .register(openBankingTransactionsReadCapability)\n .register(openBankingBalancesReadCapability);\n}\n\n"],"mappings":"gDAGA,MAAM,EAAS,CAAC,mBAAmB,CAC7B,EAAO,CAAC,eAAgB,UAAU,CAE3BA,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,+FACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAK,CACf,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,iEACd,CACD,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,qEACd,CACD,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,6EACd,CACF,CACF,CAEYC,EAAwD,CACnE,KAAM,CACJ,IAAK,gCACL,QAAS,EACT,KAAM,cACN,MAAO,mCACP,YACE,gGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,eAAe,CAC/B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,2EACd,CACD,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,qFACd,CACF,CACF,CAEYC,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,yGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,WAAW,CAC3B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,mEACd,CACD,CACE,QAAS,YACT,KAAM,+BACN,QAAS,EACT,YAAa,0DACd,CACF,CACF,CAED,SAAgB,EACd,EACoB,CACpB,OAAO,EACJ,SAAS,EAAkC,CAC3C,SAAS,EAAsC,CAC/C,SAAS,EAAkC"}
1
+ {"version":3,"file":"openbanking.js","names":["openBankingAccountsReadCapability: CapabilitySpec","openBankingTransactionsReadCapability: CapabilitySpec","openBankingBalancesReadCapability: CapabilitySpec"],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":["import type { CapabilityRegistry, CapabilitySpec } from '../capabilities';\nimport { StabilityEnum } from '../ownership';\n\nconst OWNERS = ['platform.finance'] as const;\nconst TAGS = ['open-banking', 'finance'] as const;\n\nexport const openBankingAccountsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.accounts.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Accounts (Read)',\n description:\n 'Provides read-only access to linked bank accounts, including account summaries and metadata.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.accounts.list',\n version: 1,\n description: 'List bank accounts linked to a Powens open banking connection.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.get',\n version: 1,\n description: 'Retrieve the canonical bank account record for a specific account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.sync',\n version: 1,\n description: 'Trigger a refresh of bank account metadata from the open banking provider.',\n },\n ],\n};\n\nexport const openBankingTransactionsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.transactions.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Transactions (Read)',\n description:\n 'Enables retrieval of transaction history for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'transactions'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.transactions.list',\n version: 1,\n description: 'List transactions for a given bank account with optional date filtering.',\n },\n {\n surface: 'operation',\n name: 'openbanking.transactions.sync',\n version: 1,\n description: 'Synchronise transactions from the open banking provider into the canonical ledger.',\n },\n ],\n};\n\nexport const openBankingBalancesReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.balances.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Balances (Read)',\n description:\n 'Allows querying of current and available balances for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'balances'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.balances.get',\n version: 1,\n description: 'Retrieve the latest known balances for a specified bank account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.balances.refresh',\n version: 1,\n description: 'Force a balance refresh from the open banking provider.',\n },\n ],\n};\n\nexport function registerOpenBankingCapabilities(\n registry: CapabilityRegistry\n): CapabilityRegistry {\n return registry\n .register(openBankingAccountsReadCapability)\n .register(openBankingTransactionsReadCapability)\n .register(openBankingBalancesReadCapability);\n}\n\n\n"],"mappings":"gDAGA,MAAM,EAAS,CAAC,mBAAmB,CAC7B,EAAO,CAAC,eAAgB,UAAU,CAE3BA,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,+FACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAK,CACf,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,iEACd,CACD,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,qEACd,CACD,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,6EACd,CACF,CACF,CAEYC,EAAwD,CACnE,KAAM,CACJ,IAAK,gCACL,QAAS,EACT,KAAM,cACN,MAAO,mCACP,YACE,gGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,eAAe,CAC/B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,2EACd,CACD,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,qFACd,CACF,CACF,CAEYC,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,yGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,WAAW,CAC3B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,mEACd,CACD,CACE,QAAS,YACT,KAAM,+BACN,QAAS,EACT,YAAa,0DACd,CACF,CACF,CAED,SAAgB,EACd,EACoB,CACpB,OAAO,EACJ,SAAS,EAAkC,CAC3C,SAAS,EAAsC,CAC/C,SAAS,EAAkC"}
@@ -1,6 +1,7 @@
1
1
  import { FormOption, FormSpec, FormValuesFor } from "../../forms.js";
2
2
  import React from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+ import { AnySchemaModel } from "@lssm/lib.schema";
4
5
 
5
6
  //#region src/client/react/form-render.d.ts
6
7
  interface DriverSlots {
@@ -1 +1 @@
1
- {"version":3,"file":"form-render.d.ts","names":[],"sources":["../../../src/client/react/form-render.tsx"],"sourcesContent":[],"mappings":";;;;;UAeiB,WAAA;SACR,KAAA,CAAM,cACX,KAAA,CAAM;IAFO,cAAW,CAAA,EAAA,OAAA;IAElB,MAAA,CAAA,EAAA,OAAA;IADK,QAAA,CAAA,EAAA,OAAA;EAQX,CAAA,CAAA,CAAM;EADI,UAAM,EAAN,KAAA,CAAM,aAAA,CAChB,KAAA,CAAM,iBADU,CAAA;IAG0B,OAAA,CAAA,EAAA,MAAA;EAA1B,CAAA,CAAA,CAAM;EACZ,gBAAM,EADA,KAAA,CAAM,aACN,CADoB,KAAA,CAAM,iBAC1B,CAAA,CAAA,CAAA,CAAA,CAAA;EAEhB,UAAM,EAFI,KAAA,CAAM,aAEV,CAAA;IADW,MAAA,EAAA;MAIX,OAAA,CAAA,EAAA,MAAA;IADS,CAAA,EAAA;EAIf,CAAA,CAAA;EADY,UAAM,CAAA,EANP,KAAA,CAAM,aAMC,CALlB,KAAA,CAAM,iBAKY,CAAA;IAIiC,SAAA,CAAA,EAAA,MAAA;EAA1B,CAAA,CAAA,CAAM;EAA1B,QAAM,CAAA,EAPF,KAAA,CAAM,aAOJ,CANX,KAAA,CAAM,iBAMK,CAAA;IAEkB,SAAA,CAAA,EAAA,MAAA;EAA7B,CAAA,CAAA,CAAM;EADE,WAAM,CAAA,EALF,KAAA,CAAM,aAKJ,CAJd,KAAA,CAAM,iBAIQ,CAAA;IAYH,OAAA,CAAA,EAAA,OAAA,GAAA,SAAA;EACP,CAAA,CAAA,CAAA;EATE,KAAM,EALP,KAAA,CAAM,aAKC,CALa,KAAA,CAAM,mBAKnB,CALuC,gBAKvC,CAAA,CAAA;EAk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AAc,cAAc,QAAG,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { SchemaTypes } from "@pothos/core";
2
+ import { AnySchemaModel } from "@lssm/lib.schema";
2
3
 
3
4
  //#region src/contracts-adapter-input.d.ts
4
5
  declare function isSchemaModel(x: unknown): x is AnySchemaModel;