@lssm/lib.contracts 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217063201
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 +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +80 -80
- package/dist/integrations/contracts.d.ts +102 -102
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/jsonschema.d.ts +3 -3
- package/dist/knowledge/contracts.d.ts +66 -66
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/presentations.d.ts +3 -3
- package/package.json +4 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ContractSpec } from "../../../spec.js";
|
|
2
2
|
import { SpecRegistry } from "../../../registry.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _lssm_lib_schema529 from "@lssm/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/integrations/openbanking/contracts/balances.d.ts
|
|
7
7
|
declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
8
8
|
tenantId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
accountId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
balanceTypes: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
18
18
|
isArray: true;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
@@ -22,47 +22,47 @@ declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
|
22
22
|
balances: {
|
|
23
23
|
type: SchemaModel<{
|
|
24
24
|
id: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
accountId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
tenantId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
connectionId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
balanceType: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
currentBalance: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema529.FieldType<number, number>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
availableBalance: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema529.FieldType<number, number>;
|
|
50
50
|
isOptional: true;
|
|
51
51
|
};
|
|
52
52
|
currency: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
lastUpdatedAt: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
createdAt: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
metadata: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema529.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
66
66
|
isOptional: true;
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
@@ -70,77 +70,77 @@ declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
|
70
70
|
isArray: true;
|
|
71
71
|
};
|
|
72
72
|
asOf: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
74
74
|
isOptional: true;
|
|
75
75
|
};
|
|
76
76
|
}>, undefined>;
|
|
77
77
|
declare const OpenBankingRefreshBalances: ContractSpec<SchemaModel<{
|
|
78
78
|
tenantId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
accountId: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
connectionId: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
balanceTypes: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
92
92
|
isArray: true;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
forceRefresh: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema529.FieldType<boolean, boolean>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
}>, SchemaModel<{
|
|
100
100
|
balances: {
|
|
101
101
|
type: SchemaModel<{
|
|
102
102
|
id: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
accountId: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
tenantId: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
connectionId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
balanceType: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
currentBalance: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema529.FieldType<number, number>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
availableBalance: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema529.FieldType<number, number>;
|
|
128
128
|
isOptional: true;
|
|
129
129
|
};
|
|
130
130
|
currency: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
lastUpdatedAt: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
createdAt: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
metadata: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema529.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
144
144
|
isOptional: true;
|
|
145
145
|
};
|
|
146
146
|
}>;
|
|
@@ -148,11 +148,11 @@ declare const OpenBankingRefreshBalances: ContractSpec<SchemaModel<{
|
|
|
148
148
|
isArray: true;
|
|
149
149
|
};
|
|
150
150
|
refreshedAt: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema529.FieldType<Date, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
errors: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema529.FieldType<string, string>;
|
|
156
156
|
isArray: true;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
@@ -1,139 +1,139 @@
|
|
|
1
1
|
import { ContractSpec } from "../../../spec.js";
|
|
2
2
|
import { SpecRegistry } from "../../../registry.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _lssm_lib_schema482 from "@lssm/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/integrations/openbanking/contracts/transactions.d.ts
|
|
7
7
|
declare const OpenBankingListTransactions: ContractSpec<SchemaModel<{
|
|
8
8
|
tenantId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
accountId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
from: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
to: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
cursor: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
pageSize: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
direction: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
minimumAmount: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
maximumAmount: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
category: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
}>, SchemaModel<{
|
|
49
49
|
transactions: {
|
|
50
50
|
type: SchemaModel<{
|
|
51
51
|
id: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
accountId: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
tenantId: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
connectionId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
externalId: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
amount: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
currency: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
date: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
bookingDate: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
85
85
|
isOptional: true;
|
|
86
86
|
};
|
|
87
87
|
valueDate: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
89
89
|
isOptional: true;
|
|
90
90
|
};
|
|
91
91
|
description: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
counterpartyName: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
counterpartyAccount: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
merchantCategoryCode: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
rawCategory: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
standardizedCategory: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
transactionType: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
status: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
runningBalance: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
metadata: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema482.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
createdAt: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
updatedAt: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
}>;
|
|
@@ -141,66 +141,66 @@ declare const OpenBankingListTransactions: ContractSpec<SchemaModel<{
|
|
|
141
141
|
isArray: true;
|
|
142
142
|
};
|
|
143
143
|
nextCursor: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
hasMore: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema482.FieldType<boolean, boolean>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
}>, undefined>;
|
|
152
152
|
declare const OpenBankingSyncTransactions: ContractSpec<SchemaModel<{
|
|
153
153
|
tenantId: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
accountId: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
from: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
163
163
|
isOptional: true;
|
|
164
164
|
};
|
|
165
165
|
to: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
167
167
|
isOptional: true;
|
|
168
168
|
};
|
|
169
169
|
connectionId: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
171
171
|
isOptional: true;
|
|
172
172
|
};
|
|
173
173
|
includePending: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema482.FieldType<boolean, boolean>;
|
|
175
175
|
isOptional: true;
|
|
176
176
|
};
|
|
177
177
|
backfillDays: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
}>, SchemaModel<{
|
|
182
182
|
synced: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
failed: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
earliestSyncedAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
latestSyncedAt: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
nextSinceToken: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
errors: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
204
204
|
isArray: true;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|