@contractspec/lib.contracts 1.46.2 → 1.48.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/app-config.capability.d.ts +7 -0
- package/dist/app-config/app-config.capability.js +23 -0
- package/dist/app-config/app-config.feature.d.ts +1 -2
- package/dist/app-config/app-config.feature.js +9 -2
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/index.d.ts +4 -3
- package/dist/app-config/index.js +3 -2
- package/dist/app-config/lifecycle-contracts.d.ts +1 -1
- package/dist/app-config/runtime.d.ts +6 -6
- package/dist/app-config/spec.d.ts +9 -5
- package/dist/app-config/spec.js +5 -1
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/runtime.d.ts +5 -1
- package/dist/data-views/runtime.js +34 -7
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/docs/index.js +2 -1
- package/dist/docs/tech/cli.docblock.d.ts +6 -0
- package/dist/docs/tech/cli.docblock.js +138 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -1
- package/dist/docs/tech/studio/project-access-teams.docblock.js +3 -1
- package/dist/examples/index.d.ts +9 -1
- package/dist/examples/index.js +8 -1
- package/dist/examples/registry.d.ts +3 -25
- package/dist/examples/registry.js +4 -60
- package/dist/examples/schema.d.ts +14 -14
- package/dist/examples/types.d.ts +1 -1
- package/dist/features/types.d.ts +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +6 -6
- package/dist/install.d.ts +1 -1
- package/dist/integrations/index.d.ts +2 -2
- package/dist/integrations/index.js +2 -2
- package/dist/integrations/integrations.capability.d.ts +7 -0
- package/dist/integrations/integrations.capability.js +17 -0
- package/dist/integrations/integrations.feature.d.ts +1 -2
- package/dist/integrations/integrations.feature.js +9 -2
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/openbanking.capability.d.ts +7 -0
- package/dist/integrations/openbanking/openbanking.capability.js +21 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +1 -2
- package/dist/integrations/openbanking/openbanking.feature.js +9 -2
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/elevenlabs.d.ts +1 -0
- package/dist/integrations/providers/elevenlabs.js +3 -2
- package/dist/integrations/providers/gcs-storage.d.ts +1 -0
- package/dist/integrations/providers/gcs-storage.js +3 -2
- package/dist/integrations/providers/gmail.d.ts +1 -0
- package/dist/integrations/providers/gmail.js +3 -2
- package/dist/integrations/providers/google-calendar.d.ts +1 -0
- package/dist/integrations/providers/google-calendar.js +3 -2
- package/dist/integrations/providers/impls/provider-factory.js +2 -1
- package/dist/integrations/providers/mistral.d.ts +1 -0
- package/dist/integrations/providers/mistral.js +3 -2
- package/dist/integrations/providers/postmark.d.ts +1 -0
- package/dist/integrations/providers/postmark.js +3 -2
- package/dist/integrations/providers/powens.d.ts +1 -0
- package/dist/integrations/providers/powens.js +3 -2
- package/dist/integrations/providers/qdrant.d.ts +1 -0
- package/dist/integrations/providers/qdrant.js +3 -2
- package/dist/integrations/providers/stripe.d.ts +1 -0
- package/dist/integrations/providers/stripe.js +3 -2
- package/dist/integrations/providers/twilio-sms.d.ts +1 -0
- package/dist/integrations/providers/twilio-sms.js +3 -2
- package/dist/integrations/spec.d.ts +5 -1
- package/dist/integrations/spec.js +5 -1
- package/dist/knowledge/knowledge.capability.d.ts +7 -0
- package/dist/knowledge/knowledge.capability.js +21 -0
- package/dist/knowledge/knowledge.feature.d.ts +1 -2
- package/dist/knowledge/knowledge.feature.js +9 -2
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +1 -1
- package/dist/llm/types.d.ts +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/operation.d.ts +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -1
- package/dist/server/mcp/mcpTypes.d.ts +1 -1
- package/dist/server/mcp/registerPresentations.js +1 -1
- package/dist/server/mcp/registerResources.js +2 -2
- package/dist/tests/index.d.ts +2 -2
- package/dist/tests/index.js +2 -2
- package/dist/tests/spec.d.ts +2 -1
- package/dist/tests/spec.js +4 -1
- package/dist/types.d.ts +2 -2
- package/dist/workflow/index.d.ts +8 -1
- package/dist/workflow/index.js +8 -1
- package/dist/workflow/runner.d.ts +2 -2
- package/dist/workflow/spec.d.ts +1 -1
- package/dist/workflow/validation.d.ts +1 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +45 -974
- package/dist/workspace-config/contractsrc-schema.js +89 -55
- package/dist/workspace-config/contractsrc-types.d.ts +346 -0
- package/dist/workspace-config/contractsrc-types.js +0 -0
- package/dist/workspace-config/index.d.ts +3 -2
- package/package.json +27 -25
- package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/create-subscription.docblock.js +0 -21
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +0 -21
- package/dist/docs/tech/templates/runtime.docblock.d.ts +0 -6
- package/dist/docs/tech/templates/runtime.docblock.js +0 -21
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema155 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_schema155.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
userId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
connectionId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
externalId: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
institutionId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
institutionName: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
institutionLogoUrl: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
iban: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
42
|
bic: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
accountType: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
currency: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
displayName: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
accountNumberMasked: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
productCode: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
balance: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
availableBalance: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
lastSyncedAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
createdAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
updatedAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
metadata: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema155.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_schema155.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
accountId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
tenantId: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
connectionId: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
externalId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
amount: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
currency: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
date: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
bookingDate: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
valueDate: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
description: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
counterpartyName: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
138
138
|
isOptional: true;
|
|
139
139
|
};
|
|
140
140
|
counterpartyAccount: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
142
142
|
isOptional: true;
|
|
143
143
|
};
|
|
144
144
|
merchantCategoryCode: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
rawCategory: {
|
|
149
|
-
type:
|
|
149
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
152
|
standardizedCategory: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
transactionType: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
status: {
|
|
161
|
-
type:
|
|
161
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
runningBalance: {
|
|
165
|
-
type:
|
|
165
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
166
166
|
isOptional: true;
|
|
167
167
|
};
|
|
168
168
|
metadata: {
|
|
169
|
-
type:
|
|
169
|
+
type: _contractspec_lib_schema155.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
170
170
|
isOptional: true;
|
|
171
171
|
};
|
|
172
172
|
createdAt: {
|
|
173
|
-
type:
|
|
173
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
updatedAt: {
|
|
177
|
-
type:
|
|
177
|
+
type: _contractspec_lib_schema155.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_schema155.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
accountId: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
tenantId: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
connectionId: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
balanceType: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
currentBalance: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
204
204
|
isOptional: false;
|
|
205
205
|
};
|
|
206
206
|
availableBalance: {
|
|
207
|
-
type:
|
|
207
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
currency: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
lastUpdatedAt: {
|
|
215
|
-
type:
|
|
215
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
createdAt: {
|
|
219
|
-
type:
|
|
219
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
metadata: {
|
|
223
|
-
type:
|
|
223
|
+
type: _contractspec_lib_schema155.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
224
224
|
isOptional: true;
|
|
225
225
|
};
|
|
226
226
|
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CapabilitySpec } from "../../capabilities/capabilities.js";
|
|
2
|
+
import "../../index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/openbanking/openbanking.capability.d.ts
|
|
5
|
+
declare const OpenBankingCapability: CapabilitySpec;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { OpenBankingCapability };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineCapability } from "../../capabilities/capabilities.js";
|
|
2
|
+
import { StabilityEnum } from "../../ownership.js";
|
|
3
|
+
import "../../capabilities/index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/integrations/openbanking/openbanking.capability.ts
|
|
6
|
+
const OpenBankingCapability = defineCapability({ meta: {
|
|
7
|
+
key: "openbanking",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
kind: "integration",
|
|
10
|
+
stability: StabilityEnum.Experimental,
|
|
11
|
+
description: "Open Banking integrations capability",
|
|
12
|
+
owners: ["@platform.finance"],
|
|
13
|
+
tags: [
|
|
14
|
+
"openbanking",
|
|
15
|
+
"finance",
|
|
16
|
+
"integrations"
|
|
17
|
+
]
|
|
18
|
+
} });
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { OpenBankingCapability };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FeatureModuleSpec } from "../../features/types.js";
|
|
2
|
-
import "../../
|
|
2
|
+
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/openbanking/openbanking.feature.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* OpenBanking feature module that bundles account, balance,
|
|
8
7
|
* and transaction synchronization capabilities.
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { defineFeature } from "../../features/index.js";
|
|
2
|
+
|
|
1
3
|
//#region src/integrations/openbanking/openbanking.feature.ts
|
|
2
4
|
/**
|
|
5
|
+
* OpenBanking Integration Feature Module Specification
|
|
6
|
+
*
|
|
7
|
+
* Defines the feature module for open banking integrations.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
3
10
|
* OpenBanking feature module that bundles account, balance,
|
|
4
11
|
* and transaction synchronization capabilities.
|
|
5
12
|
*/
|
|
6
|
-
const OpenBankingFeature = {
|
|
13
|
+
const OpenBankingFeature = defineFeature({
|
|
7
14
|
meta: {
|
|
8
15
|
key: "openbanking",
|
|
9
16
|
version: "1.0.0",
|
|
@@ -63,7 +70,7 @@ const OpenBankingFeature = {
|
|
|
63
70
|
version: "1.0.0"
|
|
64
71
|
}]
|
|
65
72
|
}
|
|
66
|
-
};
|
|
73
|
+
});
|
|
67
74
|
|
|
68
75
|
//#endregion
|
|
69
76
|
export { OpenBankingFeature };
|