@lssm/lib.contracts 1.7.1 → 1.7.3

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 (90) hide show
  1. package/dist/app-config/contracts.d.ts +49 -51
  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 +26 -28
  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 +79 -81
  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 +0 -1
  15. package/dist/client/react/form-render.d.ts.map +1 -1
  16. package/dist/contracts-adapter-input.d.ts +0 -1
  17. package/dist/contracts-adapter-input.d.ts.map +1 -1
  18. package/dist/events.d.ts +0 -1
  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 +0 -1
  23. package/dist/forms.d.ts.map +1 -1
  24. package/dist/install.d.ts +0 -1
  25. package/dist/install.d.ts.map +1 -1
  26. package/dist/integrations/contracts.d.ts +101 -103
  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 +65 -67
  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 +33 -35
  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 +47 -49
  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 +54 -57
  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 +65 -67
  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 +28 -30
  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 +0 -1
  64. package/dist/presentations.d.ts.map +1 -1
  65. package/dist/presentations.v2.d.ts +0 -1
  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 +0 -1
  72. package/dist/registry.d.ts.map +1 -1
  73. package/dist/resources.d.ts.map +1 -1
  74. package/dist/schema/{dist → src}/FieldType.js +1 -1
  75. package/dist/schema/src/FieldType.js.map +1 -0
  76. package/dist/schema/src/ScalarTypeEnum.js +2 -0
  77. package/dist/schema/src/ScalarTypeEnum.js.map +1 -0
  78. package/dist/schema/{dist → src}/SchemaModel.js +1 -1
  79. package/dist/schema/src/SchemaModel.js.map +1 -0
  80. package/dist/schema/src/index.js +1 -0
  81. package/dist/spec.d.ts +0 -1
  82. package/dist/spec.d.ts.map +1 -1
  83. package/dist/workflow/spec.d.ts.map +1 -1
  84. package/package.json +339 -168
  85. package/dist/schema/dist/FieldType.js.map +0 -1
  86. package/dist/schema/dist/ScalarTypeEnum.js +0 -2
  87. package/dist/schema/dist/ScalarTypeEnum.js.map +0 -1
  88. package/dist/schema/dist/SchemaModel.js.map +0 -1
  89. package/dist/schema/dist/index.js +0 -1
  90. /package/dist/schema/{dist → src}/EnumType.js +0 -0
@@ -2,80 +2,78 @@ 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";
7
5
 
8
6
  //#region src/app-config/lifecycle-contracts.d.ts
9
7
  declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
10
8
  tenantId: {
11
- type: _lssm_lib_schema102.FieldType<string, string>;
9
+ type: void 0<string, string>;
12
10
  isOptional: false;
13
11
  };
14
12
  appId: {
15
- type: _lssm_lib_schema102.FieldType<string, string>;
13
+ type: void 0<string, string>;
16
14
  isOptional: false;
17
15
  };
18
16
  blueprintName: {
19
- type: _lssm_lib_schema102.FieldType<string, string>;
17
+ type: void 0<string, string>;
20
18
  isOptional: false;
21
19
  };
22
20
  blueprintVersion: {
23
- type: _lssm_lib_schema102.FieldType<number, number>;
21
+ type: void 0<number, number>;
24
22
  isOptional: false;
25
23
  };
26
24
  environment: {
27
- type: _lssm_lib_schema102.FieldType<string, string>;
25
+ type: void 0<string, string>;
28
26
  isOptional: true;
29
27
  };
30
28
  fromVersion: {
31
- type: _lssm_lib_schema102.FieldType<number, number>;
29
+ type: void 0<number, number>;
32
30
  isOptional: true;
33
31
  };
34
32
  createdBy: {
35
- type: _lssm_lib_schema102.FieldType<string, string>;
33
+ type: void 0<string, string>;
36
34
  isOptional: false;
37
35
  };
38
36
  }>, SchemaModel<{
39
37
  version: {
40
- type: _lssm_lib_schema102.FieldType<number, number>;
38
+ type: void 0<number, number>;
41
39
  isOptional: false;
42
40
  };
43
41
  status: {
44
- type: _lssm_lib_schema102.FieldType<string, string>;
42
+ type: void 0<string, string>;
45
43
  isOptional: false;
46
44
  };
47
45
  createdAt: {
48
- type: _lssm_lib_schema102.FieldType<Date, string>;
46
+ type: void 0<Date, string>;
49
47
  isOptional: false;
50
48
  };
51
49
  }>, {
52
50
  ref: EventSpec<SchemaModel<{
53
51
  tenantId: {
54
- type: _lssm_lib_schema102.FieldType<string, string>;
52
+ type: void 0<string, string>;
55
53
  isOptional: false;
56
54
  };
57
55
  appId: {
58
- type: _lssm_lib_schema102.FieldType<string, string>;
56
+ type: void 0<string, string>;
59
57
  isOptional: false;
60
58
  };
61
59
  version: {
62
- type: _lssm_lib_schema102.FieldType<number, number>;
60
+ type: void 0<number, number>;
63
61
  isOptional: false;
64
62
  };
65
63
  blueprintName: {
66
- type: _lssm_lib_schema102.FieldType<string, string>;
64
+ type: void 0<string, string>;
67
65
  isOptional: false;
68
66
  };
69
67
  blueprintVersion: {
70
- type: _lssm_lib_schema102.FieldType<number, number>;
68
+ type: void 0<number, number>;
71
69
  isOptional: false;
72
70
  };
73
71
  createdBy: {
74
- type: _lssm_lib_schema102.FieldType<string, string>;
72
+ type: void 0<string, string>;
75
73
  isOptional: false;
76
74
  };
77
75
  clonedFrom: {
78
- type: _lssm_lib_schema102.FieldType<number, number>;
76
+ type: void 0<number, number>;
79
77
  isOptional: true;
80
78
  };
81
79
  }>>;
@@ -83,55 +81,55 @@ declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
83
81
  }[]>;
84
82
  declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
85
83
  tenantId: {
86
- type: _lssm_lib_schema102.FieldType<string, string>;
84
+ type: void 0<string, string>;
87
85
  isOptional: false;
88
86
  };
89
87
  appId: {
90
- type: _lssm_lib_schema102.FieldType<string, string>;
88
+ type: void 0<string, string>;
91
89
  isOptional: false;
92
90
  };
93
91
  version: {
94
- type: _lssm_lib_schema102.FieldType<number, number>;
92
+ type: void 0<number, number>;
95
93
  isOptional: false;
96
94
  };
97
95
  promotedBy: {
98
- type: _lssm_lib_schema102.FieldType<string, string>;
96
+ type: void 0<string, string>;
99
97
  isOptional: false;
100
98
  };
101
99
  }>, SchemaModel<{
102
100
  version: {
103
- type: _lssm_lib_schema102.FieldType<number, number>;
101
+ type: void 0<number, number>;
104
102
  isOptional: false;
105
103
  };
106
104
  status: {
107
- type: _lssm_lib_schema102.FieldType<string, string>;
105
+ type: void 0<string, string>;
108
106
  isOptional: false;
109
107
  };
110
108
  warnings: {
111
- type: _lssm_lib_schema102.FieldType<string, string>;
109
+ type: void 0<string, string>;
112
110
  isOptional: true;
113
111
  isArray: true;
114
112
  };
115
113
  }>, {
116
114
  ref: EventSpec<SchemaModel<{
117
115
  tenantId: {
118
- type: _lssm_lib_schema102.FieldType<string, string>;
116
+ type: void 0<string, string>;
119
117
  isOptional: false;
120
118
  };
121
119
  appId: {
122
- type: _lssm_lib_schema102.FieldType<string, string>;
120
+ type: void 0<string, string>;
123
121
  isOptional: false;
124
122
  };
125
123
  version: {
126
- type: _lssm_lib_schema102.FieldType<number, number>;
124
+ type: void 0<number, number>;
127
125
  isOptional: false;
128
126
  };
129
127
  promotedBy: {
130
- type: _lssm_lib_schema102.FieldType<string, string>;
128
+ type: void 0<string, string>;
131
129
  isOptional: false;
132
130
  };
133
131
  warnings: {
134
- type: _lssm_lib_schema102.FieldType<string, string>;
132
+ type: void 0<string, string>;
135
133
  isOptional: true;
136
134
  isArray: true;
137
135
  };
@@ -140,74 +138,74 @@ declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
140
138
  }[]>;
141
139
  declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
142
140
  tenantId: {
143
- type: _lssm_lib_schema102.FieldType<string, string>;
141
+ type: void 0<string, string>;
144
142
  isOptional: false;
145
143
  };
146
144
  appId: {
147
- type: _lssm_lib_schema102.FieldType<string, string>;
145
+ type: void 0<string, string>;
148
146
  isOptional: false;
149
147
  };
150
148
  version: {
151
- type: _lssm_lib_schema102.FieldType<number, number>;
149
+ type: void 0<number, number>;
152
150
  isOptional: false;
153
151
  };
154
152
  environment: {
155
- type: _lssm_lib_schema102.FieldType<string, string>;
153
+ type: void 0<string, string>;
156
154
  isOptional: true;
157
155
  };
158
156
  publishedBy: {
159
- type: _lssm_lib_schema102.FieldType<string, string>;
157
+ type: void 0<string, string>;
160
158
  isOptional: false;
161
159
  };
162
160
  changeSummary: {
163
- type: _lssm_lib_schema102.FieldType<string, string>;
161
+ type: void 0<string, string>;
164
162
  isOptional: true;
165
163
  };
166
164
  }>, SchemaModel<{
167
165
  version: {
168
- type: _lssm_lib_schema102.FieldType<number, number>;
166
+ type: void 0<number, number>;
169
167
  isOptional: false;
170
168
  };
171
169
  status: {
172
- type: _lssm_lib_schema102.FieldType<string, string>;
170
+ type: void 0<string, string>;
173
171
  isOptional: false;
174
172
  };
175
173
  previousVersion: {
176
- type: _lssm_lib_schema102.FieldType<number, number>;
174
+ type: void 0<number, number>;
177
175
  isOptional: true;
178
176
  };
179
177
  publishedAt: {
180
- type: _lssm_lib_schema102.FieldType<Date, string>;
178
+ type: void 0<Date, string>;
181
179
  isOptional: false;
182
180
  };
183
181
  }>, {
184
182
  ref: EventSpec<SchemaModel<{
185
183
  tenantId: {
186
- type: _lssm_lib_schema102.FieldType<string, string>;
184
+ type: void 0<string, string>;
187
185
  isOptional: false;
188
186
  };
189
187
  appId: {
190
- type: _lssm_lib_schema102.FieldType<string, string>;
188
+ type: void 0<string, string>;
191
189
  isOptional: false;
192
190
  };
193
191
  version: {
194
- type: _lssm_lib_schema102.FieldType<number, number>;
192
+ type: void 0<number, number>;
195
193
  isOptional: false;
196
194
  };
197
195
  previousVersion: {
198
- type: _lssm_lib_schema102.FieldType<number, number>;
196
+ type: void 0<number, number>;
199
197
  isOptional: true;
200
198
  };
201
199
  publishedBy: {
202
- type: _lssm_lib_schema102.FieldType<string, string>;
200
+ type: void 0<string, string>;
203
201
  isOptional: false;
204
202
  };
205
203
  changeSummary: {
206
- type: _lssm_lib_schema102.FieldType<string, string>;
204
+ type: void 0<string, string>;
207
205
  isOptional: true;
208
206
  };
209
207
  changedSections: {
210
- type: _lssm_lib_schema102.FieldType<string, string>;
208
+ type: void 0<string, string>;
211
209
  isOptional: true;
212
210
  isArray: true;
213
211
  };
@@ -216,70 +214,70 @@ declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
216
214
  }[]>;
217
215
  declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
218
216
  tenantId: {
219
- type: _lssm_lib_schema102.FieldType<string, string>;
217
+ type: void 0<string, string>;
220
218
  isOptional: false;
221
219
  };
222
220
  appId: {
223
- type: _lssm_lib_schema102.FieldType<string, string>;
221
+ type: void 0<string, string>;
224
222
  isOptional: false;
225
223
  };
226
224
  toVersion: {
227
- type: _lssm_lib_schema102.FieldType<number, number>;
225
+ type: void 0<number, number>;
228
226
  isOptional: false;
229
227
  };
230
228
  environment: {
231
- type: _lssm_lib_schema102.FieldType<string, string>;
229
+ type: void 0<string, string>;
232
230
  isOptional: true;
233
231
  };
234
232
  rolledBackBy: {
235
- type: _lssm_lib_schema102.FieldType<string, string>;
233
+ type: void 0<string, string>;
236
234
  isOptional: false;
237
235
  };
238
236
  reason: {
239
- type: _lssm_lib_schema102.FieldType<string, string>;
237
+ type: void 0<string, string>;
240
238
  isOptional: false;
241
239
  };
242
240
  }>, SchemaModel<{
243
241
  newVersion: {
244
- type: _lssm_lib_schema102.FieldType<number, number>;
242
+ type: void 0<number, number>;
245
243
  isOptional: false;
246
244
  };
247
245
  status: {
248
- type: _lssm_lib_schema102.FieldType<string, string>;
246
+ type: void 0<string, string>;
249
247
  isOptional: false;
250
248
  };
251
249
  rolledBackFrom: {
252
- type: _lssm_lib_schema102.FieldType<number, number>;
250
+ type: void 0<number, number>;
253
251
  isOptional: false;
254
252
  };
255
253
  }>, {
256
254
  ref: EventSpec<SchemaModel<{
257
255
  tenantId: {
258
- type: _lssm_lib_schema102.FieldType<string, string>;
256
+ type: void 0<string, string>;
259
257
  isOptional: false;
260
258
  };
261
259
  appId: {
262
- type: _lssm_lib_schema102.FieldType<string, string>;
260
+ type: void 0<string, string>;
263
261
  isOptional: false;
264
262
  };
265
263
  newVersion: {
266
- type: _lssm_lib_schema102.FieldType<number, number>;
264
+ type: void 0<number, number>;
267
265
  isOptional: false;
268
266
  };
269
267
  rolledBackFrom: {
270
- type: _lssm_lib_schema102.FieldType<number, number>;
268
+ type: void 0<number, number>;
271
269
  isOptional: false;
272
270
  };
273
271
  rolledBackTo: {
274
- type: _lssm_lib_schema102.FieldType<number, number>;
272
+ type: void 0<number, number>;
275
273
  isOptional: false;
276
274
  };
277
275
  rolledBackBy: {
278
- type: _lssm_lib_schema102.FieldType<string, string>;
276
+ type: void 0<string, string>;
279
277
  isOptional: false;
280
278
  };
281
279
  reason: {
282
- type: _lssm_lib_schema102.FieldType<string, string>;
280
+ type: void 0<string, string>;
283
281
  isOptional: false;
284
282
  };
285
283
  }>>;
@@ -287,22 +285,22 @@ declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
287
285
  }[]>;
288
286
  declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
289
287
  tenantId: {
290
- type: _lssm_lib_schema102.FieldType<string, string>;
288
+ type: void 0<string, string>;
291
289
  isOptional: false;
292
290
  };
293
291
  appId: {
294
- type: _lssm_lib_schema102.FieldType<string, string>;
292
+ type: void 0<string, string>;
295
293
  isOptional: false;
296
294
  };
297
295
  }>, SchemaModel<{
298
296
  versions: {
299
297
  type: SchemaModel<{
300
298
  meta: {
301
- type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
299
+ type: void 0<Record<string, unknown>, Record<string, unknown>>;
302
300
  isOptional: false;
303
301
  };
304
302
  config: {
305
- type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
303
+ type: void 0<Record<string, unknown>, Record<string, unknown>>;
306
304
  isOptional: false;
307
305
  };
308
306
  }>;
@@ -312,35 +310,35 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
312
310
  transitions: {
313
311
  type: SchemaModel<{
314
312
  tenantId: {
315
- type: _lssm_lib_schema102.FieldType<string, string>;
313
+ type: void 0<string, string>;
316
314
  isOptional: false;
317
315
  };
318
316
  appId: {
319
- type: _lssm_lib_schema102.FieldType<string, string>;
317
+ type: void 0<string, string>;
320
318
  isOptional: false;
321
319
  };
322
320
  fromStatus: {
323
- type: _lssm_lib_schema102.FieldType<string, string>;
321
+ type: void 0<string, string>;
324
322
  isOptional: false;
325
323
  };
326
324
  toStatus: {
327
- type: _lssm_lib_schema102.FieldType<string, string>;
325
+ type: void 0<string, string>;
328
326
  isOptional: false;
329
327
  };
330
328
  version: {
331
- type: _lssm_lib_schema102.FieldType<number, number>;
329
+ type: void 0<number, number>;
332
330
  isOptional: false;
333
331
  };
334
332
  timestamp: {
335
- type: _lssm_lib_schema102.FieldType<Date, string>;
333
+ type: void 0<Date, string>;
336
334
  isOptional: false;
337
335
  };
338
336
  actor: {
339
- type: _lssm_lib_schema102.FieldType<string, string>;
337
+ type: void 0<string, string>;
340
338
  isOptional: false;
341
339
  };
342
340
  reason: {
343
- type: _lssm_lib_schema102.FieldType<string, string>;
341
+ type: void 0<string, string>;
344
342
  isOptional: true;
345
343
  };
346
344
  }>;
@@ -350,26 +348,26 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
350
348
  }>, undefined>;
351
349
  declare const GetTenantConfigVersionQuery: ContractSpec<SchemaModel<{
352
350
  tenantId: {
353
- type: _lssm_lib_schema102.FieldType<string, string>;
351
+ type: void 0<string, string>;
354
352
  isOptional: false;
355
353
  };
356
354
  appId: {
357
- type: _lssm_lib_schema102.FieldType<string, string>;
355
+ type: void 0<string, string>;
358
356
  isOptional: false;
359
357
  };
360
358
  version: {
361
- type: _lssm_lib_schema102.FieldType<number, number>;
359
+ type: void 0<number, number>;
362
360
  isOptional: false;
363
361
  };
364
362
  }>, SchemaModel<{
365
363
  version: {
366
364
  type: SchemaModel<{
367
365
  meta: {
368
- type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
366
+ type: void 0<Record<string, unknown>, Record<string, unknown>>;
369
367
  isOptional: false;
370
368
  };
371
369
  config: {
372
- type: _lssm_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
370
+ type: void 0<Record<string, unknown>, Record<string, unknown>>;
373
371
  isOptional: false;
374
372
  };
375
373
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle-contracts.d.ts","names":[],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;;cAwEa,gCAA8B,aAAA;;UAyBzC,mBAAA,CAAA;;;EAzBW,KAAA,EAAA;IAyBX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAzByC,gBAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;EAAA,CAAA;CAAA,CAAA,aAAA,CAAA;EAkD9B,OAAA,EAAA;IAyBX,IAAA,EA3EyC,mBAAA,CAAA,SA2EzC,CAAA,MAAA,EAAA,MAAA,CAAA;;;;IAzB8C,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA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,EAAA,KAAA;IAmC7B,CAAA;IAiBX,UAAA,EAAA;;;IAjBsC,CAAA;;;;;;;;;AAAA,cAlI3B,0BAkI2B,EAlID,YAkIC,CAlID,WAkIC,CAAA;EAAA,QAAA,EAAA;IAmB3B,IAAA,EA5HX,KAAA,CA4H8C,CAAA,MAAf,EAAM,MAAA,CAAA;IASvB,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;UA9JuB,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgD1B,6BAA2B,aAAA;;UAyBtC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzBsC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+C3B,+BAA6B,aAAA;;UAiBxC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBW,6BAA2B,aAAA;;UAiBtC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAoB,eAAe;iBAShC,mCAAA,WAA8C,eAAY"}
@@ -1,2 +1,2 @@
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};
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};
2
2
  //# sourceMappingURL=lifecycle-contracts.js.map
@@ -1 +1 @@
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,O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M,CAAC,aAAc,EAAS,QAAQ,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
+ {"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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ClC,KAAM,CAAC,aAAc,EAAS,QAAQ,CACtC,UAAW,EAAc,aACzB,KAAM,iDACN,QACE,wEACH,CACD,GAAI,CACF,MAAO,EACP,OAAQ,EACT,CACD,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 +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\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\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,7 +1,6 @@
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";
5
4
 
6
5
  //#region src/client/react/form-render.d.ts
7
6
  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,MAAA,CAAA,EAAA,OAAW;IAElB,QAAA,CAAA,EAAA,OAAA;EADD,CAAA,CAAA,CAAM;EAQX,UAAM,EADI,KAAA,CAAM,aACV,CAAN,KAAA,CAAM,iBAAA,CAAA;IADU,OAAA,CAAA,EAAA,MAAA;EAGoB,CAAA,CAAA,CAAM;EAA1B,gBAAM,EAAN,KAAA,CAAM,aAAA,CAAc,KAAA,CAAM,iBAApB,CAAA,CAAA,CAAA,CAAA,CAAA;EACZ,UAAM,EAAN,KAAA,CAAM,aAAA,CAAA;IAEV,MAAA,EAAA;MADW,OAAA,CAAA,EAAA,MAAA;IAIX,CAAA,EAAA;EADG,CAAA,CAAA;EAIT,UAAM,CAAA,EAPK,KAAA,CAAM,aAOX,CANN,KAAA,CAAM,iBAMA,CAAA;IADY,SAAA,CAAA,EAAA,MAAA;EAIiC,CAAA,CAAA,CAAA;EAA1B,QAAM,CAAA,EAPtB,KAAA,CAAM,aAOgB,CAN/B,KAAA,CAAM,iBAMyB,CAAA;IAApB,SAAA,CAAA,EAAA,MAAA;EAEkB,CAAA,CAAA,CAAA;EAA7B,WAAM,CAAA,EANM,KAAA,CAAM,aAMZ,CALN,KAAA,CAAM,iBAKA,CAAA;IADQ,OAAA,CAAA,EAAA,OAAA,GAAA,SAAA;EAYH,CAAA,CAAA,CAAA;EACP,KAAA,EAdC,KAAA,CAAM,aAcP,CAdqB,KAAA,CAAM,mBAc3B,CAd+C,gBAc/C,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BAAsB,cAAc;iBA8SzB,SAAS,cAAc,cAAc,cAAc,QAAG,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { SchemaTypes } from "@pothos/core";
2
- import { AnySchemaModel } from "@lssm/lib.schema";
3
2
 
4
3
  //#region src/contracts-adapter-input.d.ts
5
4
  declare function isSchemaModel(x: unknown): x is AnySchemaModel;