@contractspec/lib.contracts 1.49.0 → 1.51.0
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.
- package/dist/app-config/contracts.d.ts +51 -51
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +55 -55
- package/dist/app-config/runtime.d.ts +1 -1
- package/dist/app-config/spec.d.ts +1 -1
- package/dist/capabilities/capabilities.d.ts +64 -5
- package/dist/capabilities/capabilities.js +125 -0
- package/dist/capabilities/context.d.ts +88 -0
- package/dist/capabilities/context.js +87 -0
- package/dist/capabilities/docs/capabilities.docblock.js +191 -2
- package/dist/capabilities/guards.d.ts +110 -0
- package/dist/capabilities/guards.js +146 -0
- package/dist/capabilities/index.d.ts +4 -1
- package/dist/capabilities/index.js +4 -1
- package/dist/capabilities/validation.d.ts +76 -0
- package/dist/capabilities/validation.js +141 -0
- package/dist/client/react/feature-render.d.ts +2 -2
- package/dist/data-views/runtime.d.ts +1 -1
- package/dist/events.d.ts +79 -13
- package/dist/events.js +33 -3
- package/dist/examples/schema.d.ts +10 -10
- package/dist/experiments/spec.d.ts +7 -4
- package/dist/features/install.d.ts +4 -4
- package/dist/features/types.d.ts +28 -32
- package/dist/index.d.ts +21 -12
- package/dist/index.js +12 -3
- package/dist/install.d.ts +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +67 -67
- package/dist/integrations/openbanking/contracts/balances.d.ts +35 -35
- package/dist/integrations/openbanking/contracts/transactions.d.ts +49 -49
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +103 -103
- package/dist/integrations/spec.d.ts +1 -1
- package/dist/knowledge/operations.d.ts +67 -67
- package/dist/llm/exporters.d.ts +2 -2
- package/dist/markdown.d.ts +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/operation.d.ts +6 -0
- package/dist/ownership.d.ts +133 -8
- package/dist/ownership.js +25 -0
- package/dist/policy/context.d.ts +237 -0
- package/dist/policy/context.js +227 -0
- package/dist/policy/guards.d.ts +145 -0
- package/dist/policy/guards.js +254 -0
- package/dist/policy/index.d.ts +12 -1
- package/dist/policy/index.js +11 -1
- package/dist/policy/spec.d.ts +7 -4
- package/dist/policy/validation.d.ts +67 -0
- package/dist/policy/validation.js +307 -0
- package/dist/presentations/presentations.d.ts +6 -0
- package/dist/tests/spec.d.ts +17 -12
- package/dist/themes.d.ts +7 -4
- package/dist/translations/index.d.ts +6 -0
- package/dist/translations/index.js +5 -0
- package/dist/translations/registry.d.ts +144 -0
- package/dist/translations/registry.js +223 -0
- package/dist/translations/spec.d.ts +126 -0
- package/dist/translations/spec.js +31 -0
- package/dist/translations/validation.d.ts +85 -0
- package/dist/translations/validation.js +328 -0
- package/dist/types.d.ts +140 -14
- package/dist/versioning/index.d.ts +2 -1
- package/dist/versioning/index.js +2 -1
- package/dist/versioning/refs.d.ts +179 -0
- package/dist/versioning/refs.js +161 -0
- package/dist/workflow/context.d.ts +191 -0
- package/dist/workflow/context.js +227 -0
- package/dist/workflow/index.d.ts +4 -2
- package/dist/workflow/index.js +4 -2
- package/dist/workflow/spec.d.ts +1 -1
- package/dist/workflow/validation.d.ts +64 -2
- package/dist/workflow/validation.js +194 -1
- package/package.json +19 -6
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema466 from "@contractspec/lib.schema";
|
|
2
2
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/openbanking/models.d.ts
|
|
5
5
|
declare const BankAccountRecord: SchemaModel<{
|
|
6
6
|
id: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
userId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
connectionId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
externalId: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
institutionId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
institutionName: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
institutionLogoUrl: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
iban: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
42
|
bic: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
accountType: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
currency: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
displayName: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
accountNumberMasked: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
productCode: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
balance: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
availableBalance: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
lastSyncedAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
createdAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
updatedAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
metadata: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema466.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
91
|
declare const BankTransactionRecord: SchemaModel<{
|
|
92
92
|
id: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
accountId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
tenantId: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
connectionId: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
externalId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
amount: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
currency: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
date: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
bookingDate: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
valueDate: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
description: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
counterpartyName: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
138
138
|
isOptional: true;
|
|
139
139
|
};
|
|
140
140
|
counterpartyAccount: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
142
142
|
isOptional: true;
|
|
143
143
|
};
|
|
144
144
|
merchantCategoryCode: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
rawCategory: {
|
|
149
|
-
type:
|
|
149
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
152
|
standardizedCategory: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
transactionType: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
status: {
|
|
161
|
-
type:
|
|
161
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
runningBalance: {
|
|
165
|
-
type:
|
|
165
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
166
166
|
isOptional: true;
|
|
167
167
|
};
|
|
168
168
|
metadata: {
|
|
169
|
-
type:
|
|
169
|
+
type: _contractspec_lib_schema466.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
170
170
|
isOptional: true;
|
|
171
171
|
};
|
|
172
172
|
createdAt: {
|
|
173
|
-
type:
|
|
173
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
updatedAt: {
|
|
177
|
-
type:
|
|
177
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
}>;
|
|
181
181
|
declare const AccountBalanceRecord: SchemaModel<{
|
|
182
182
|
id: {
|
|
183
|
-
type:
|
|
183
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
accountId: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
tenantId: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
connectionId: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
balanceType: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
currentBalance: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
204
204
|
isOptional: false;
|
|
205
205
|
};
|
|
206
206
|
availableBalance: {
|
|
207
|
-
type:
|
|
207
|
+
type: _contractspec_lib_schema466.FieldType<number, number>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
currency: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema466.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
lastUpdatedAt: {
|
|
215
|
-
type:
|
|
215
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
createdAt: {
|
|
219
|
-
type:
|
|
219
|
+
type: _contractspec_lib_schema466.FieldType<Date, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
metadata: {
|
|
223
|
-
type:
|
|
223
|
+
type: _contractspec_lib_schema466.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
224
224
|
isOptional: true;
|
|
225
225
|
};
|
|
226
226
|
}>;
|