@warmio/contracts 2.0.0 → 3.0.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/README.md +3 -3
- package/dist/api/endpoints.d.ts +34 -48
- package/dist/api/endpoints.d.ts.map +1 -1
- package/dist/api/endpoints.js +36 -56
- package/dist/api/endpoints.js.map +1 -1
- package/dist/generated/base-openapi.d.ts +1 -1
- package/dist/generated/base-openapi.d.ts.map +1 -1
- package/dist/generated/base-openapi.js +1 -1
- package/dist/generated/base-openapi.js.map +1 -1
- package/dist/generated/mcp-package-release-metadata.d.ts +7 -0
- package/dist/generated/mcp-package-release-metadata.d.ts.map +1 -0
- package/dist/generated/mcp-package-release-metadata.js +7 -0
- package/dist/generated/mcp-package-release-metadata.js.map +1 -0
- package/dist/generated/private-mcp-tool-descriptors.d.ts +0 -38
- package/dist/generated/private-mcp-tool-descriptors.d.ts.map +1 -1
- package/dist/generated/private-mcp-tool-descriptors.js +0 -46
- package/dist/generated/private-mcp-tool-descriptors.js.map +1 -1
- package/dist/generated/warm-app-api-manifest.d.ts +1230 -0
- package/dist/generated/warm-app-api-manifest.d.ts.map +1 -0
- package/dist/generated/warm-app-api-manifest.js +1841 -0
- package/dist/generated/warm-app-api-manifest.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +434 -1185
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +21 -34
- package/dist/manifest.js.map +1 -1
- package/dist/mcp/distribution.d.ts +221 -71
- package/dist/mcp/distribution.d.ts.map +1 -1
- package/dist/mcp/distribution.js +41 -47
- package/dist/mcp/distribution.js.map +1 -1
- package/dist/mcp/tools.d.ts +1 -4
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +0 -20
- package/dist/mcp/tools.js.map +1 -1
- package/dist/openapi/base.yaml +33 -59
- package/dist/openapi/build-openapi.d.ts +1 -0
- package/dist/openapi/build-openapi.d.ts.map +1 -1
- package/dist/openapi/build-openapi.js +75 -16
- package/dist/openapi/build-openapi.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/public-api.d.ts +1350 -0
- package/dist/schemas/public-api.d.ts.map +1 -0
- package/dist/schemas/public-api.js +175 -0
- package/dist/schemas/public-api.js.map +1 -0
- package/package.json +1 -8
- package/dist/public-discovery.d.ts +0 -116
- package/dist/public-discovery.d.ts.map +0 -1
- package/dist/public-discovery.js +0 -91
- package/dist/public-discovery.js.map +0 -1
|
@@ -0,0 +1,1230 @@
|
|
|
1
|
+
export declare const warmAppApiManifest: {
|
|
2
|
+
readonly api: {
|
|
3
|
+
readonly endpoints: readonly [{
|
|
4
|
+
readonly authorization: "read_only";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly operation_id: "verifyApiAccess";
|
|
7
|
+
readonly path: "/api/verify";
|
|
8
|
+
readonly summary: "Verify API credentials";
|
|
9
|
+
}, {
|
|
10
|
+
readonly authorization: "read_only";
|
|
11
|
+
readonly method: "GET";
|
|
12
|
+
readonly operation_id: "getDatasetExport";
|
|
13
|
+
readonly path: "/api/export";
|
|
14
|
+
readonly summary: "Get a typed dataset export";
|
|
15
|
+
}, {
|
|
16
|
+
readonly authorization: "read_only";
|
|
17
|
+
readonly method: "GET";
|
|
18
|
+
readonly operation_id: "getFinancialContext";
|
|
19
|
+
readonly path: "/api/financial-context";
|
|
20
|
+
readonly summary: "Get compact financial context";
|
|
21
|
+
}, {
|
|
22
|
+
readonly authorization: "read_only";
|
|
23
|
+
readonly method: "GET";
|
|
24
|
+
readonly operation_id: "getFinancialContextTransactions";
|
|
25
|
+
readonly path: "/api/financial-context/transactions";
|
|
26
|
+
readonly summary: "Get financial-context transactions";
|
|
27
|
+
}, {
|
|
28
|
+
readonly authorization: "read_only";
|
|
29
|
+
readonly method: "GET";
|
|
30
|
+
readonly operation_id: "getFinancialContextMeta";
|
|
31
|
+
readonly path: "/api/financial-context/meta";
|
|
32
|
+
readonly summary: "Get financial-context metadata";
|
|
33
|
+
}, {
|
|
34
|
+
readonly authorization: "automation";
|
|
35
|
+
readonly method: "POST";
|
|
36
|
+
readonly operation_id: "searchOperations";
|
|
37
|
+
readonly path: "/api/automation/operations/search";
|
|
38
|
+
readonly summary: "Search supported automation operations";
|
|
39
|
+
}, {
|
|
40
|
+
readonly authorization: "automation";
|
|
41
|
+
readonly method: "POST";
|
|
42
|
+
readonly operation_id: "describeOperation";
|
|
43
|
+
readonly path: "/api/automation/operations/describe";
|
|
44
|
+
readonly summary: "Describe one supported operation";
|
|
45
|
+
}, {
|
|
46
|
+
readonly authorization: "automation";
|
|
47
|
+
readonly method: "POST";
|
|
48
|
+
readonly operation_id: "invokeOperation";
|
|
49
|
+
readonly path: "/api/automation/operations/invoke";
|
|
50
|
+
readonly summary: "Invoke one supported operation";
|
|
51
|
+
}];
|
|
52
|
+
readonly origins: {
|
|
53
|
+
readonly api: "https://app.warm.io";
|
|
54
|
+
};
|
|
55
|
+
readonly paths: {
|
|
56
|
+
readonly openapi: "/openapi.yaml";
|
|
57
|
+
readonly verify: "/api/verify";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly mcp: {
|
|
61
|
+
readonly distribution: {
|
|
62
|
+
readonly clients: readonly [{
|
|
63
|
+
readonly id: "claude-code";
|
|
64
|
+
readonly name: "Claude Code";
|
|
65
|
+
readonly format: "json";
|
|
66
|
+
readonly configDialect: "mcpServers";
|
|
67
|
+
readonly alwaysInclude: true;
|
|
68
|
+
readonly configPaths: {
|
|
69
|
+
readonly darwin: {
|
|
70
|
+
readonly root: "home";
|
|
71
|
+
readonly segments: readonly [".claude.json"];
|
|
72
|
+
};
|
|
73
|
+
readonly linux: {
|
|
74
|
+
readonly root: "home";
|
|
75
|
+
readonly segments: readonly [".claude.json"];
|
|
76
|
+
};
|
|
77
|
+
readonly win32: {
|
|
78
|
+
readonly root: "home";
|
|
79
|
+
readonly segments: readonly [".claude.json"];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
readonly id: "claude-desktop";
|
|
84
|
+
readonly name: "Claude Desktop";
|
|
85
|
+
readonly format: "json";
|
|
86
|
+
readonly configDialect: "mcpServers";
|
|
87
|
+
readonly configPaths: {
|
|
88
|
+
readonly darwin: {
|
|
89
|
+
readonly root: "home";
|
|
90
|
+
readonly segments: readonly ["Library", "Application Support", "Claude", "claude_desktop_config.json"];
|
|
91
|
+
};
|
|
92
|
+
readonly linux: {
|
|
93
|
+
readonly root: "home";
|
|
94
|
+
readonly segments: readonly [".config", "claude", "claude_desktop_config.json"];
|
|
95
|
+
};
|
|
96
|
+
readonly win32: {
|
|
97
|
+
readonly root: "appData";
|
|
98
|
+
readonly segments: readonly ["Claude", "claude_desktop_config.json"];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}, {
|
|
102
|
+
readonly id: "cursor";
|
|
103
|
+
readonly name: "Cursor";
|
|
104
|
+
readonly format: "json";
|
|
105
|
+
readonly configDialect: "mcpServers";
|
|
106
|
+
readonly configPaths: {
|
|
107
|
+
readonly darwin: {
|
|
108
|
+
readonly root: "home";
|
|
109
|
+
readonly segments: readonly [".cursor", "mcp.json"];
|
|
110
|
+
};
|
|
111
|
+
readonly linux: {
|
|
112
|
+
readonly root: "home";
|
|
113
|
+
readonly segments: readonly [".cursor", "mcp.json"];
|
|
114
|
+
};
|
|
115
|
+
readonly win32: {
|
|
116
|
+
readonly root: "home";
|
|
117
|
+
readonly segments: readonly [".cursor", "mcp.json"];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}, {
|
|
121
|
+
readonly id: "windsurf";
|
|
122
|
+
readonly name: "Windsurf";
|
|
123
|
+
readonly format: "json";
|
|
124
|
+
readonly configDialect: "mcpServers";
|
|
125
|
+
readonly configPaths: {
|
|
126
|
+
readonly darwin: {
|
|
127
|
+
readonly root: "home";
|
|
128
|
+
readonly segments: readonly [".codeium", "windsurf", "mcp_config.json"];
|
|
129
|
+
};
|
|
130
|
+
readonly linux: {
|
|
131
|
+
readonly root: "home";
|
|
132
|
+
readonly segments: readonly [".codeium", "windsurf", "mcp_config.json"];
|
|
133
|
+
};
|
|
134
|
+
readonly win32: {
|
|
135
|
+
readonly root: "home";
|
|
136
|
+
readonly segments: readonly [".codeium", "windsurf", "mcp_config.json"];
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
readonly id: "opencode";
|
|
141
|
+
readonly name: "OpenCode";
|
|
142
|
+
readonly format: "json";
|
|
143
|
+
readonly configDialect: "openCode";
|
|
144
|
+
readonly configPaths: {
|
|
145
|
+
readonly darwin: {
|
|
146
|
+
readonly root: "home";
|
|
147
|
+
readonly segments: readonly [".config", "opencode", "opencode.json"];
|
|
148
|
+
};
|
|
149
|
+
readonly linux: {
|
|
150
|
+
readonly root: "home";
|
|
151
|
+
readonly segments: readonly [".config", "opencode", "opencode.json"];
|
|
152
|
+
};
|
|
153
|
+
readonly win32: {
|
|
154
|
+
readonly root: "home";
|
|
155
|
+
readonly segments: readonly [".config", "opencode", "opencode.json"];
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}, {
|
|
159
|
+
readonly id: "codex-cli";
|
|
160
|
+
readonly name: "Codex CLI";
|
|
161
|
+
readonly format: "toml";
|
|
162
|
+
readonly configDialect: "mcpServers";
|
|
163
|
+
readonly configPaths: {
|
|
164
|
+
readonly darwin: {
|
|
165
|
+
readonly root: "home";
|
|
166
|
+
readonly segments: readonly [".codex", "config.toml"];
|
|
167
|
+
};
|
|
168
|
+
readonly linux: {
|
|
169
|
+
readonly root: "home";
|
|
170
|
+
readonly segments: readonly [".codex", "config.toml"];
|
|
171
|
+
};
|
|
172
|
+
readonly win32: {
|
|
173
|
+
readonly root: "home";
|
|
174
|
+
readonly segments: readonly [".codex", "config.toml"];
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
}, {
|
|
178
|
+
readonly id: "antigravity";
|
|
179
|
+
readonly name: "Antigravity";
|
|
180
|
+
readonly format: "json";
|
|
181
|
+
readonly configDialect: "mcpServers";
|
|
182
|
+
readonly configPaths: {
|
|
183
|
+
readonly darwin: {
|
|
184
|
+
readonly root: "home";
|
|
185
|
+
readonly segments: readonly [".gemini", "antigravity", "mcp_config.json"];
|
|
186
|
+
};
|
|
187
|
+
readonly linux: {
|
|
188
|
+
readonly root: "home";
|
|
189
|
+
readonly segments: readonly [".gemini", "antigravity", "mcp_config.json"];
|
|
190
|
+
};
|
|
191
|
+
readonly win32: {
|
|
192
|
+
readonly root: "home";
|
|
193
|
+
readonly segments: readonly [".gemini", "antigravity", "mcp_config.json"];
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}, {
|
|
197
|
+
readonly id: "gemini-cli";
|
|
198
|
+
readonly name: "Gemini CLI";
|
|
199
|
+
readonly format: "json";
|
|
200
|
+
readonly configDialect: "mcpServers";
|
|
201
|
+
readonly configPaths: {
|
|
202
|
+
readonly darwin: {
|
|
203
|
+
readonly root: "home";
|
|
204
|
+
readonly segments: readonly [".gemini", "settings.json"];
|
|
205
|
+
};
|
|
206
|
+
readonly linux: {
|
|
207
|
+
readonly root: "home";
|
|
208
|
+
readonly segments: readonly [".gemini", "settings.json"];
|
|
209
|
+
};
|
|
210
|
+
readonly win32: {
|
|
211
|
+
readonly root: "home";
|
|
212
|
+
readonly segments: readonly [".gemini", "settings.json"];
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}];
|
|
216
|
+
readonly credentials: {
|
|
217
|
+
readonly apiKeyEnv: "WARM_API_KEY";
|
|
218
|
+
readonly apiKeyFileEnv: "WARM_API_KEY_FILE";
|
|
219
|
+
readonly defaultFileName: "api_key";
|
|
220
|
+
};
|
|
221
|
+
readonly installCommand: "npx -y @warmio/mcp@latest";
|
|
222
|
+
readonly installerCommand: "npx -y @warmio/mcp@latest install";
|
|
223
|
+
readonly minimumNodeVersion: ">=18";
|
|
224
|
+
readonly packageName: "@warmio/mcp";
|
|
225
|
+
readonly packageSpec: "@warmio/mcp@latest";
|
|
226
|
+
readonly packageVersion: "11.0.0";
|
|
227
|
+
readonly projectConfigs: readonly [".mcp.json", ".cursor/mcp.json", ".vscode/mcp.json"];
|
|
228
|
+
readonly serverCommand: "npx -y @warmio/mcp@latest mcp";
|
|
229
|
+
readonly serverConfig: {
|
|
230
|
+
readonly args: readonly ["-y", "@warmio/mcp@latest", "mcp"];
|
|
231
|
+
readonly command: "npx";
|
|
232
|
+
readonly serverName: "warm";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly tools: readonly [{
|
|
236
|
+
readonly name: "get_financial_context";
|
|
237
|
+
readonly description: "Read-only compact FinancialContext JSON. Includes status.position, status.accounts, transaction index total/months, recurring, budgets, goals, snapshots, liabilities, holdings, and health. Transaction items are not inline; use get_transactions for items.";
|
|
238
|
+
readonly annotations: {
|
|
239
|
+
readonly readOnlyHint: true;
|
|
240
|
+
readonly destructiveHint: false;
|
|
241
|
+
readonly openWorldHint: false;
|
|
242
|
+
};
|
|
243
|
+
readonly input_schema: {
|
|
244
|
+
readonly type: "object";
|
|
245
|
+
readonly properties: {};
|
|
246
|
+
readonly additionalProperties: false;
|
|
247
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
248
|
+
};
|
|
249
|
+
readonly output_schema: {
|
|
250
|
+
readonly type: "object";
|
|
251
|
+
readonly properties: {
|
|
252
|
+
readonly version: {
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
readonly enum: readonly ["v1"];
|
|
255
|
+
};
|
|
256
|
+
readonly updated_at: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
readonly format: "date-time";
|
|
259
|
+
};
|
|
260
|
+
readonly currency: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
readonly enum: readonly ["USD"];
|
|
263
|
+
};
|
|
264
|
+
readonly status: {
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly properties: {
|
|
267
|
+
readonly position: {
|
|
268
|
+
readonly anyOf: readonly [{
|
|
269
|
+
readonly type: "object";
|
|
270
|
+
readonly properties: {
|
|
271
|
+
readonly date: {
|
|
272
|
+
readonly anyOf: readonly [{
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
275
|
+
}, {
|
|
276
|
+
readonly type: "null";
|
|
277
|
+
}];
|
|
278
|
+
};
|
|
279
|
+
readonly net_worth: {
|
|
280
|
+
readonly anyOf: readonly [{
|
|
281
|
+
readonly type: "number";
|
|
282
|
+
}, {
|
|
283
|
+
readonly type: "null";
|
|
284
|
+
}];
|
|
285
|
+
};
|
|
286
|
+
readonly cash: {
|
|
287
|
+
readonly anyOf: readonly [{
|
|
288
|
+
readonly type: "number";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "null";
|
|
291
|
+
}];
|
|
292
|
+
};
|
|
293
|
+
readonly debt: {
|
|
294
|
+
readonly anyOf: readonly [{
|
|
295
|
+
readonly type: "number";
|
|
296
|
+
}, {
|
|
297
|
+
readonly type: "null";
|
|
298
|
+
}];
|
|
299
|
+
};
|
|
300
|
+
readonly investments: {
|
|
301
|
+
readonly anyOf: readonly [{
|
|
302
|
+
readonly type: "number";
|
|
303
|
+
}, {
|
|
304
|
+
readonly type: "null";
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
readonly other_assets: {
|
|
308
|
+
readonly anyOf: readonly [{
|
|
309
|
+
readonly type: "number";
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "null";
|
|
312
|
+
}];
|
|
313
|
+
};
|
|
314
|
+
readonly total_assets: {
|
|
315
|
+
readonly anyOf: readonly [{
|
|
316
|
+
readonly type: "number";
|
|
317
|
+
}, {
|
|
318
|
+
readonly type: "null";
|
|
319
|
+
}];
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
readonly required: readonly ["date", "net_worth", "cash", "debt", "investments", "other_assets", "total_assets"];
|
|
323
|
+
readonly additionalProperties: false;
|
|
324
|
+
}, {
|
|
325
|
+
readonly type: "null";
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
readonly accounts: {
|
|
329
|
+
readonly type: "array";
|
|
330
|
+
readonly items: {
|
|
331
|
+
readonly type: "object";
|
|
332
|
+
readonly properties: {
|
|
333
|
+
readonly id: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
};
|
|
336
|
+
readonly name: {
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
};
|
|
339
|
+
readonly source: {
|
|
340
|
+
readonly anyOf: readonly [{
|
|
341
|
+
readonly type: "string";
|
|
342
|
+
readonly enum: readonly ["plaid", "manual", "csv_import"];
|
|
343
|
+
}, {
|
|
344
|
+
readonly type: "null";
|
|
345
|
+
}];
|
|
346
|
+
};
|
|
347
|
+
readonly type: {
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
readonly enum: readonly ["depository", "credit", "loan", "investment", "brokerage", "other"];
|
|
350
|
+
};
|
|
351
|
+
readonly subtype: {
|
|
352
|
+
readonly type: readonly ["string", "null"];
|
|
353
|
+
};
|
|
354
|
+
readonly group: {
|
|
355
|
+
readonly anyOf: readonly [{
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
readonly enum: readonly ["cash", "debt", "investments"];
|
|
358
|
+
}, {
|
|
359
|
+
readonly type: "null";
|
|
360
|
+
}];
|
|
361
|
+
};
|
|
362
|
+
readonly institution: {
|
|
363
|
+
readonly type: readonly ["string", "null"];
|
|
364
|
+
};
|
|
365
|
+
readonly mask: {
|
|
366
|
+
readonly type: readonly ["string", "null"];
|
|
367
|
+
};
|
|
368
|
+
readonly balance: {
|
|
369
|
+
readonly anyOf: readonly [{
|
|
370
|
+
readonly type: "number";
|
|
371
|
+
}, {
|
|
372
|
+
readonly type: "null";
|
|
373
|
+
}];
|
|
374
|
+
};
|
|
375
|
+
readonly available: {
|
|
376
|
+
readonly anyOf: readonly [{
|
|
377
|
+
readonly type: "number";
|
|
378
|
+
}, {
|
|
379
|
+
readonly type: "null";
|
|
380
|
+
}];
|
|
381
|
+
};
|
|
382
|
+
readonly currency: {
|
|
383
|
+
readonly type: readonly ["string", "null"];
|
|
384
|
+
};
|
|
385
|
+
readonly updated_at: {
|
|
386
|
+
readonly anyOf: readonly [{
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
readonly format: "date-time";
|
|
389
|
+
}, {
|
|
390
|
+
readonly type: "null";
|
|
391
|
+
}];
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
readonly required: readonly ["id", "name", "source", "type", "subtype", "group", "institution", "mask", "balance", "available", "currency", "updated_at"];
|
|
395
|
+
readonly additionalProperties: false;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
readonly required: readonly ["position", "accounts"];
|
|
400
|
+
readonly additionalProperties: false;
|
|
401
|
+
};
|
|
402
|
+
readonly transactions: {
|
|
403
|
+
readonly type: "object";
|
|
404
|
+
readonly properties: {
|
|
405
|
+
readonly total: {
|
|
406
|
+
readonly type: "integer";
|
|
407
|
+
readonly minimum: 0;
|
|
408
|
+
};
|
|
409
|
+
readonly months: {
|
|
410
|
+
readonly type: "array";
|
|
411
|
+
readonly items: {
|
|
412
|
+
readonly type: "object";
|
|
413
|
+
readonly properties: {
|
|
414
|
+
readonly month: {
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
readonly pattern: "^\\d{4}-(0[1-9]|1[0-2])$";
|
|
417
|
+
};
|
|
418
|
+
readonly count: {
|
|
419
|
+
readonly type: "integer";
|
|
420
|
+
readonly minimum: 0;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
readonly required: readonly ["month", "count"];
|
|
424
|
+
readonly additionalProperties: false;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
readonly required: readonly ["total", "months"];
|
|
429
|
+
readonly additionalProperties: false;
|
|
430
|
+
};
|
|
431
|
+
readonly recurring: {
|
|
432
|
+
readonly type: "array";
|
|
433
|
+
readonly items: {
|
|
434
|
+
readonly type: "object";
|
|
435
|
+
readonly properties: {
|
|
436
|
+
readonly id: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
};
|
|
439
|
+
readonly account_id: {
|
|
440
|
+
readonly type: readonly ["string", "null"];
|
|
441
|
+
};
|
|
442
|
+
readonly direction: {
|
|
443
|
+
readonly anyOf: readonly [{
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
readonly enum: readonly ["inflow", "outflow"];
|
|
446
|
+
}, {
|
|
447
|
+
readonly type: "null";
|
|
448
|
+
}];
|
|
449
|
+
};
|
|
450
|
+
readonly frequency: {
|
|
451
|
+
readonly anyOf: readonly [{
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly enum: readonly ["WEEKLY", "BIWEEKLY", "MONTHLY", "QUARTERLY", "SEMI_ANNUALLY", "ANNUALLY"];
|
|
454
|
+
}, {
|
|
455
|
+
readonly type: "null";
|
|
456
|
+
}];
|
|
457
|
+
};
|
|
458
|
+
readonly status: {
|
|
459
|
+
readonly anyOf: readonly [{
|
|
460
|
+
readonly type: "string";
|
|
461
|
+
readonly enum: readonly ["active", "inactive", "dismissed"];
|
|
462
|
+
}, {
|
|
463
|
+
readonly type: "null";
|
|
464
|
+
}];
|
|
465
|
+
};
|
|
466
|
+
readonly merchant: {
|
|
467
|
+
readonly type: readonly ["string", "null"];
|
|
468
|
+
};
|
|
469
|
+
readonly amount: {
|
|
470
|
+
readonly anyOf: readonly [{
|
|
471
|
+
readonly type: "number";
|
|
472
|
+
}, {
|
|
473
|
+
readonly type: "null";
|
|
474
|
+
}];
|
|
475
|
+
};
|
|
476
|
+
readonly next_date: {
|
|
477
|
+
readonly anyOf: readonly [{
|
|
478
|
+
readonly type: "string";
|
|
479
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
480
|
+
}, {
|
|
481
|
+
readonly type: "null";
|
|
482
|
+
}];
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
readonly required: readonly ["id", "account_id", "direction", "frequency", "status", "merchant", "amount", "next_date"];
|
|
486
|
+
readonly additionalProperties: false;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
readonly budgets: {
|
|
490
|
+
readonly type: "array";
|
|
491
|
+
readonly items: {
|
|
492
|
+
readonly type: "object";
|
|
493
|
+
readonly properties: {
|
|
494
|
+
readonly id: {
|
|
495
|
+
readonly type: "string";
|
|
496
|
+
};
|
|
497
|
+
readonly name: {
|
|
498
|
+
readonly type: "string";
|
|
499
|
+
};
|
|
500
|
+
readonly type: {
|
|
501
|
+
readonly type: "string";
|
|
502
|
+
readonly enum: readonly ["category", "merchant"];
|
|
503
|
+
};
|
|
504
|
+
readonly period: {
|
|
505
|
+
readonly type: "string";
|
|
506
|
+
readonly enum: readonly ["weekly", "biweekly", "monthly"];
|
|
507
|
+
};
|
|
508
|
+
readonly status: {
|
|
509
|
+
readonly type: "string";
|
|
510
|
+
readonly enum: readonly ["under", "warning", "over"];
|
|
511
|
+
};
|
|
512
|
+
readonly amount: {
|
|
513
|
+
readonly type: "number";
|
|
514
|
+
};
|
|
515
|
+
readonly spent: {
|
|
516
|
+
readonly type: "number";
|
|
517
|
+
};
|
|
518
|
+
readonly remaining: {
|
|
519
|
+
readonly type: "number";
|
|
520
|
+
};
|
|
521
|
+
readonly used_percent: {
|
|
522
|
+
readonly type: "number";
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
readonly required: readonly ["id", "name", "type", "period", "status", "amount", "spent", "remaining", "used_percent"];
|
|
526
|
+
readonly additionalProperties: false;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly goals: {
|
|
530
|
+
readonly type: "array";
|
|
531
|
+
readonly items: {
|
|
532
|
+
readonly type: "object";
|
|
533
|
+
readonly properties: {
|
|
534
|
+
readonly id: {
|
|
535
|
+
readonly type: "string";
|
|
536
|
+
};
|
|
537
|
+
readonly name: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
};
|
|
540
|
+
readonly category: {
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
};
|
|
543
|
+
readonly status: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly enum: readonly ["not_started", "in_progress", "on_track", "behind", "completed"];
|
|
546
|
+
};
|
|
547
|
+
readonly target: {
|
|
548
|
+
readonly type: "number";
|
|
549
|
+
};
|
|
550
|
+
readonly current: {
|
|
551
|
+
readonly type: "number";
|
|
552
|
+
};
|
|
553
|
+
readonly progress_percent: {
|
|
554
|
+
readonly type: "number";
|
|
555
|
+
};
|
|
556
|
+
readonly target_date: {
|
|
557
|
+
readonly anyOf: readonly [{
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
560
|
+
}, {
|
|
561
|
+
readonly type: "null";
|
|
562
|
+
}];
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
readonly required: readonly ["id", "name", "category", "status", "target", "current", "progress_percent", "target_date"];
|
|
566
|
+
readonly additionalProperties: false;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
readonly snapshots: {
|
|
570
|
+
readonly type: "array";
|
|
571
|
+
readonly items: {
|
|
572
|
+
readonly type: "object";
|
|
573
|
+
readonly properties: {
|
|
574
|
+
readonly date: {
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
577
|
+
};
|
|
578
|
+
readonly net_worth: {
|
|
579
|
+
readonly anyOf: readonly [{
|
|
580
|
+
readonly type: "number";
|
|
581
|
+
}, {
|
|
582
|
+
readonly type: "null";
|
|
583
|
+
}];
|
|
584
|
+
};
|
|
585
|
+
readonly cash: {
|
|
586
|
+
readonly anyOf: readonly [{
|
|
587
|
+
readonly type: "number";
|
|
588
|
+
}, {
|
|
589
|
+
readonly type: "null";
|
|
590
|
+
}];
|
|
591
|
+
};
|
|
592
|
+
readonly debt: {
|
|
593
|
+
readonly anyOf: readonly [{
|
|
594
|
+
readonly type: "number";
|
|
595
|
+
}, {
|
|
596
|
+
readonly type: "null";
|
|
597
|
+
}];
|
|
598
|
+
};
|
|
599
|
+
readonly income: {
|
|
600
|
+
readonly anyOf: readonly [{
|
|
601
|
+
readonly type: "number";
|
|
602
|
+
}, {
|
|
603
|
+
readonly type: "null";
|
|
604
|
+
}];
|
|
605
|
+
};
|
|
606
|
+
readonly expenses: {
|
|
607
|
+
readonly anyOf: readonly [{
|
|
608
|
+
readonly type: "number";
|
|
609
|
+
}, {
|
|
610
|
+
readonly type: "null";
|
|
611
|
+
}];
|
|
612
|
+
};
|
|
613
|
+
readonly cash_flow: {
|
|
614
|
+
readonly anyOf: readonly [{
|
|
615
|
+
readonly type: "number";
|
|
616
|
+
}, {
|
|
617
|
+
readonly type: "null";
|
|
618
|
+
}];
|
|
619
|
+
};
|
|
620
|
+
readonly savings_rate: {
|
|
621
|
+
readonly anyOf: readonly [{
|
|
622
|
+
readonly type: "number";
|
|
623
|
+
}, {
|
|
624
|
+
readonly type: "null";
|
|
625
|
+
}];
|
|
626
|
+
};
|
|
627
|
+
readonly investments: {
|
|
628
|
+
readonly anyOf: readonly [{
|
|
629
|
+
readonly type: "number";
|
|
630
|
+
}, {
|
|
631
|
+
readonly type: "null";
|
|
632
|
+
}];
|
|
633
|
+
};
|
|
634
|
+
readonly assets: {
|
|
635
|
+
readonly anyOf: readonly [{
|
|
636
|
+
readonly type: "number";
|
|
637
|
+
}, {
|
|
638
|
+
readonly type: "null";
|
|
639
|
+
}];
|
|
640
|
+
};
|
|
641
|
+
readonly health_score: {
|
|
642
|
+
readonly anyOf: readonly [{
|
|
643
|
+
readonly type: "number";
|
|
644
|
+
}, {
|
|
645
|
+
readonly type: "null";
|
|
646
|
+
}];
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
readonly required: readonly ["date", "net_worth", "cash", "debt", "income", "expenses", "cash_flow", "savings_rate", "investments", "assets", "health_score"];
|
|
650
|
+
readonly additionalProperties: false;
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
readonly liabilities: {
|
|
654
|
+
readonly type: "array";
|
|
655
|
+
readonly items: {
|
|
656
|
+
readonly type: "object";
|
|
657
|
+
readonly properties: {
|
|
658
|
+
readonly account_id: {
|
|
659
|
+
readonly type: readonly ["string", "null"];
|
|
660
|
+
};
|
|
661
|
+
readonly type: {
|
|
662
|
+
readonly anyOf: readonly [{
|
|
663
|
+
readonly type: "string";
|
|
664
|
+
readonly enum: readonly ["credit", "student", "mortgage", "other"];
|
|
665
|
+
}, {
|
|
666
|
+
readonly type: "null";
|
|
667
|
+
}];
|
|
668
|
+
};
|
|
669
|
+
readonly balance: {
|
|
670
|
+
readonly anyOf: readonly [{
|
|
671
|
+
readonly type: "number";
|
|
672
|
+
}, {
|
|
673
|
+
readonly type: "null";
|
|
674
|
+
}];
|
|
675
|
+
};
|
|
676
|
+
readonly minimum_payment: {
|
|
677
|
+
readonly anyOf: readonly [{
|
|
678
|
+
readonly type: "number";
|
|
679
|
+
}, {
|
|
680
|
+
readonly type: "null";
|
|
681
|
+
}];
|
|
682
|
+
};
|
|
683
|
+
readonly due_date: {
|
|
684
|
+
readonly anyOf: readonly [{
|
|
685
|
+
readonly type: "string";
|
|
686
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
687
|
+
}, {
|
|
688
|
+
readonly type: "null";
|
|
689
|
+
}];
|
|
690
|
+
};
|
|
691
|
+
readonly interest_rate: {
|
|
692
|
+
readonly anyOf: readonly [{
|
|
693
|
+
readonly type: "number";
|
|
694
|
+
}, {
|
|
695
|
+
readonly type: "null";
|
|
696
|
+
}];
|
|
697
|
+
};
|
|
698
|
+
readonly rate_type: {
|
|
699
|
+
readonly anyOf: readonly [{
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
readonly enum: readonly ["fixed", "variable"];
|
|
702
|
+
}, {
|
|
703
|
+
readonly type: "null";
|
|
704
|
+
}];
|
|
705
|
+
};
|
|
706
|
+
readonly overdue: {
|
|
707
|
+
readonly type: readonly ["boolean", "null"];
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly required: readonly ["account_id", "type", "balance", "minimum_payment", "due_date", "interest_rate", "rate_type", "overdue"];
|
|
711
|
+
readonly additionalProperties: false;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
readonly holdings: {
|
|
715
|
+
readonly type: "array";
|
|
716
|
+
readonly items: {
|
|
717
|
+
readonly type: "object";
|
|
718
|
+
readonly properties: {
|
|
719
|
+
readonly account_id: {
|
|
720
|
+
readonly type: readonly ["string", "null"];
|
|
721
|
+
};
|
|
722
|
+
readonly symbol: {
|
|
723
|
+
readonly type: readonly ["string", "null"];
|
|
724
|
+
};
|
|
725
|
+
readonly name: {
|
|
726
|
+
readonly type: readonly ["string", "null"];
|
|
727
|
+
};
|
|
728
|
+
readonly type: {
|
|
729
|
+
readonly anyOf: readonly [{
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
readonly enum: readonly ["cash", "derivative", "equity", "etf", "fixed_income", "mutual_fund", "other"];
|
|
732
|
+
}, {
|
|
733
|
+
readonly type: "null";
|
|
734
|
+
}];
|
|
735
|
+
};
|
|
736
|
+
readonly quantity: {
|
|
737
|
+
readonly anyOf: readonly [{
|
|
738
|
+
readonly type: "number";
|
|
739
|
+
}, {
|
|
740
|
+
readonly type: "null";
|
|
741
|
+
}];
|
|
742
|
+
};
|
|
743
|
+
readonly value: {
|
|
744
|
+
readonly anyOf: readonly [{
|
|
745
|
+
readonly type: "number";
|
|
746
|
+
}, {
|
|
747
|
+
readonly type: "null";
|
|
748
|
+
}];
|
|
749
|
+
};
|
|
750
|
+
readonly cost_basis: {
|
|
751
|
+
readonly anyOf: readonly [{
|
|
752
|
+
readonly type: "number";
|
|
753
|
+
}, {
|
|
754
|
+
readonly type: "null";
|
|
755
|
+
}];
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
readonly required: readonly ["account_id", "symbol", "name", "type", "quantity", "value", "cost_basis"];
|
|
759
|
+
readonly additionalProperties: false;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
readonly health: {
|
|
763
|
+
readonly anyOf: readonly [{
|
|
764
|
+
readonly type: "object";
|
|
765
|
+
readonly properties: {
|
|
766
|
+
readonly score: {
|
|
767
|
+
readonly type: "number";
|
|
768
|
+
};
|
|
769
|
+
readonly label: {
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
readonly enum: readonly ["Needs Attention", "Good", "Strong"];
|
|
772
|
+
};
|
|
773
|
+
readonly level: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
readonly enum: readonly ["strong", "good", "fair", "poor", "critical"];
|
|
776
|
+
};
|
|
777
|
+
readonly summary: {
|
|
778
|
+
readonly type: "string";
|
|
779
|
+
};
|
|
780
|
+
readonly data_completeness: {
|
|
781
|
+
readonly type: "number";
|
|
782
|
+
};
|
|
783
|
+
readonly pillars: {
|
|
784
|
+
readonly anyOf: readonly [{
|
|
785
|
+
readonly type: "object";
|
|
786
|
+
readonly properties: {
|
|
787
|
+
readonly spend: {
|
|
788
|
+
readonly anyOf: readonly [{
|
|
789
|
+
readonly type: "number";
|
|
790
|
+
}, {
|
|
791
|
+
readonly type: "null";
|
|
792
|
+
}];
|
|
793
|
+
};
|
|
794
|
+
readonly save: {
|
|
795
|
+
readonly anyOf: readonly [{
|
|
796
|
+
readonly type: "number";
|
|
797
|
+
}, {
|
|
798
|
+
readonly type: "null";
|
|
799
|
+
}];
|
|
800
|
+
};
|
|
801
|
+
readonly borrow: {
|
|
802
|
+
readonly anyOf: readonly [{
|
|
803
|
+
readonly type: "number";
|
|
804
|
+
}, {
|
|
805
|
+
readonly type: "null";
|
|
806
|
+
}];
|
|
807
|
+
};
|
|
808
|
+
readonly build: {
|
|
809
|
+
readonly anyOf: readonly [{
|
|
810
|
+
readonly type: "number";
|
|
811
|
+
}, {
|
|
812
|
+
readonly type: "null";
|
|
813
|
+
}];
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
readonly required: readonly ["spend", "save", "borrow", "build"];
|
|
817
|
+
readonly additionalProperties: false;
|
|
818
|
+
}, {
|
|
819
|
+
readonly type: "null";
|
|
820
|
+
}];
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
readonly required: readonly ["score", "label", "level", "summary", "data_completeness", "pillars"];
|
|
824
|
+
readonly additionalProperties: false;
|
|
825
|
+
}, {
|
|
826
|
+
readonly type: "null";
|
|
827
|
+
}];
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
readonly required: readonly ["version", "updated_at", "currency", "status", "transactions", "recurring", "budgets", "goals", "snapshots", "liabilities", "holdings", "health"];
|
|
831
|
+
readonly additionalProperties: false;
|
|
832
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
833
|
+
};
|
|
834
|
+
}, {
|
|
835
|
+
readonly name: "get_transactions";
|
|
836
|
+
readonly description: "Read-only transactions from the FinancialContext artifact. Pass `period: \"latest\"` for the fixed 10-day latest window or `period: \"YYYY-MM\"` for a month page. The latest window is not caller-configurable. Months outside the covered range return an error.";
|
|
837
|
+
readonly annotations: {
|
|
838
|
+
readonly readOnlyHint: true;
|
|
839
|
+
readonly destructiveHint: false;
|
|
840
|
+
readonly openWorldHint: false;
|
|
841
|
+
};
|
|
842
|
+
readonly input_schema: {
|
|
843
|
+
readonly type: "object";
|
|
844
|
+
readonly properties: {
|
|
845
|
+
readonly period: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
readonly pattern: "^(?:latest|\\d{4}-\\d{2})$";
|
|
848
|
+
readonly description: "Use \"latest\" for the fixed 10-day window or a YYYY-MM month. Months outside the covered range return an error.";
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
readonly required: readonly ["period"];
|
|
852
|
+
readonly additionalProperties: false;
|
|
853
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
854
|
+
};
|
|
855
|
+
readonly output_schema: {
|
|
856
|
+
readonly anyOf: readonly [{
|
|
857
|
+
readonly type: "object";
|
|
858
|
+
readonly properties: {
|
|
859
|
+
readonly month: {
|
|
860
|
+
readonly type: "string";
|
|
861
|
+
readonly pattern: "^\\d{4}-(0[1-9]|1[0-2])$";
|
|
862
|
+
};
|
|
863
|
+
readonly start_date: {
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
866
|
+
};
|
|
867
|
+
readonly end_date: {
|
|
868
|
+
readonly type: "string";
|
|
869
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
870
|
+
};
|
|
871
|
+
readonly count: {
|
|
872
|
+
readonly type: "integer";
|
|
873
|
+
readonly minimum: 0;
|
|
874
|
+
};
|
|
875
|
+
readonly items: {
|
|
876
|
+
readonly type: "array";
|
|
877
|
+
readonly items: {
|
|
878
|
+
readonly type: "object";
|
|
879
|
+
readonly properties: {
|
|
880
|
+
readonly id: {
|
|
881
|
+
readonly type: "string";
|
|
882
|
+
};
|
|
883
|
+
readonly account_id: {
|
|
884
|
+
readonly type: readonly ["string", "null"];
|
|
885
|
+
};
|
|
886
|
+
readonly date: {
|
|
887
|
+
readonly anyOf: readonly [{
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
890
|
+
}, {
|
|
891
|
+
readonly type: "null";
|
|
892
|
+
}];
|
|
893
|
+
};
|
|
894
|
+
readonly amount: {
|
|
895
|
+
readonly type: "number";
|
|
896
|
+
};
|
|
897
|
+
readonly merchant: {
|
|
898
|
+
readonly type: readonly ["string", "null"];
|
|
899
|
+
};
|
|
900
|
+
readonly name: {
|
|
901
|
+
readonly type: readonly ["string", "null"];
|
|
902
|
+
};
|
|
903
|
+
readonly category: {
|
|
904
|
+
readonly type: readonly ["string", "null"];
|
|
905
|
+
};
|
|
906
|
+
readonly subcategory: {
|
|
907
|
+
readonly type: readonly ["string", "null"];
|
|
908
|
+
};
|
|
909
|
+
readonly pending: {
|
|
910
|
+
readonly type: readonly ["boolean", "null"];
|
|
911
|
+
};
|
|
912
|
+
readonly currency: {
|
|
913
|
+
readonly type: readonly ["string", "null"];
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
readonly required: readonly ["id", "account_id", "date", "amount", "merchant", "name", "category", "subcategory", "pending", "currency"];
|
|
917
|
+
readonly additionalProperties: false;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
readonly required: readonly ["month", "start_date", "end_date", "count", "items"];
|
|
922
|
+
readonly additionalProperties: false;
|
|
923
|
+
}, {
|
|
924
|
+
readonly type: "object";
|
|
925
|
+
readonly properties: {
|
|
926
|
+
readonly since: {
|
|
927
|
+
readonly type: "string";
|
|
928
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
929
|
+
};
|
|
930
|
+
readonly window_days: {
|
|
931
|
+
readonly type: "number";
|
|
932
|
+
readonly const: 10;
|
|
933
|
+
};
|
|
934
|
+
readonly count: {
|
|
935
|
+
readonly type: "integer";
|
|
936
|
+
readonly minimum: 0;
|
|
937
|
+
};
|
|
938
|
+
readonly items: {
|
|
939
|
+
readonly type: "array";
|
|
940
|
+
readonly items: {
|
|
941
|
+
readonly type: "object";
|
|
942
|
+
readonly properties: {
|
|
943
|
+
readonly id: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
};
|
|
946
|
+
readonly account_id: {
|
|
947
|
+
readonly type: readonly ["string", "null"];
|
|
948
|
+
};
|
|
949
|
+
readonly date: {
|
|
950
|
+
readonly anyOf: readonly [{
|
|
951
|
+
readonly type: "string";
|
|
952
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "null";
|
|
955
|
+
}];
|
|
956
|
+
};
|
|
957
|
+
readonly amount: {
|
|
958
|
+
readonly type: "number";
|
|
959
|
+
};
|
|
960
|
+
readonly merchant: {
|
|
961
|
+
readonly type: readonly ["string", "null"];
|
|
962
|
+
};
|
|
963
|
+
readonly name: {
|
|
964
|
+
readonly type: readonly ["string", "null"];
|
|
965
|
+
};
|
|
966
|
+
readonly category: {
|
|
967
|
+
readonly type: readonly ["string", "null"];
|
|
968
|
+
};
|
|
969
|
+
readonly subcategory: {
|
|
970
|
+
readonly type: readonly ["string", "null"];
|
|
971
|
+
};
|
|
972
|
+
readonly pending: {
|
|
973
|
+
readonly type: readonly ["boolean", "null"];
|
|
974
|
+
};
|
|
975
|
+
readonly currency: {
|
|
976
|
+
readonly type: readonly ["string", "null"];
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
readonly required: readonly ["id", "account_id", "date", "amount", "merchant", "name", "category", "subcategory", "pending", "currency"];
|
|
980
|
+
readonly additionalProperties: false;
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
};
|
|
984
|
+
readonly required: readonly ["since", "window_days", "count", "items"];
|
|
985
|
+
readonly additionalProperties: false;
|
|
986
|
+
}];
|
|
987
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
988
|
+
};
|
|
989
|
+
}, {
|
|
990
|
+
readonly name: "search_operations";
|
|
991
|
+
readonly description: "Search the supported Warm operation catalog. Use this first to find the smallest matching operation.";
|
|
992
|
+
readonly annotations: {
|
|
993
|
+
readonly readOnlyHint: true;
|
|
994
|
+
readonly destructiveHint: false;
|
|
995
|
+
readonly openWorldHint: false;
|
|
996
|
+
};
|
|
997
|
+
readonly input_schema: {
|
|
998
|
+
readonly type: "object";
|
|
999
|
+
readonly properties: {
|
|
1000
|
+
readonly query: {
|
|
1001
|
+
readonly type: "string";
|
|
1002
|
+
readonly maxLength: 200;
|
|
1003
|
+
readonly description: "Words describing the action or data you need.";
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
readonly additionalProperties: false;
|
|
1007
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1008
|
+
};
|
|
1009
|
+
readonly output_schema: {
|
|
1010
|
+
readonly type: "object";
|
|
1011
|
+
readonly properties: {
|
|
1012
|
+
readonly operations: {
|
|
1013
|
+
readonly type: "array";
|
|
1014
|
+
readonly items: {
|
|
1015
|
+
readonly type: "object";
|
|
1016
|
+
readonly properties: {
|
|
1017
|
+
readonly confirmation_required: {
|
|
1018
|
+
readonly type: "boolean";
|
|
1019
|
+
};
|
|
1020
|
+
readonly description: {
|
|
1021
|
+
readonly type: "string";
|
|
1022
|
+
};
|
|
1023
|
+
readonly method: {
|
|
1024
|
+
readonly type: "string";
|
|
1025
|
+
readonly enum: readonly ["DELETE", "GET", "PATCH", "POST", "PUT"];
|
|
1026
|
+
};
|
|
1027
|
+
readonly operation_id: {
|
|
1028
|
+
readonly type: "string";
|
|
1029
|
+
};
|
|
1030
|
+
readonly path: {
|
|
1031
|
+
readonly type: "string";
|
|
1032
|
+
};
|
|
1033
|
+
readonly risk: {
|
|
1034
|
+
readonly type: "array";
|
|
1035
|
+
readonly items: {
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
readonly enum: readonly ["read", "write", "destructive", "external_effect"];
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
readonly summary: {
|
|
1041
|
+
readonly type: "string";
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
readonly required: readonly ["confirmation_required", "description", "method", "operation_id", "path", "risk", "summary"];
|
|
1045
|
+
readonly additionalProperties: false;
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
readonly required: readonly ["operations"];
|
|
1050
|
+
readonly additionalProperties: false;
|
|
1051
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1052
|
+
};
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly name: "describe_operation";
|
|
1055
|
+
readonly description: "Describe one operation, including its input schema and risk. For write operations, pass the exact intended input to receive an approval with its ID, status, URL, and expiry.";
|
|
1056
|
+
readonly annotations: {
|
|
1057
|
+
readonly readOnlyHint: false;
|
|
1058
|
+
readonly destructiveHint: false;
|
|
1059
|
+
readonly openWorldHint: false;
|
|
1060
|
+
};
|
|
1061
|
+
readonly input_schema: {
|
|
1062
|
+
readonly type: "object";
|
|
1063
|
+
readonly properties: {
|
|
1064
|
+
readonly operation_id: {
|
|
1065
|
+
readonly type: "string";
|
|
1066
|
+
readonly minLength: 1;
|
|
1067
|
+
};
|
|
1068
|
+
readonly input: {
|
|
1069
|
+
readonly type: "object";
|
|
1070
|
+
readonly properties: {
|
|
1071
|
+
readonly body: {
|
|
1072
|
+
readonly type: "object";
|
|
1073
|
+
readonly additionalProperties: {};
|
|
1074
|
+
};
|
|
1075
|
+
readonly params: {
|
|
1076
|
+
readonly type: "object";
|
|
1077
|
+
readonly additionalProperties: {
|
|
1078
|
+
readonly type: "string";
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
readonly additionalProperties: false;
|
|
1083
|
+
readonly description: "Exact intended input. Required to obtain approval for a write operation.";
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
readonly required: readonly ["operation_id"];
|
|
1087
|
+
readonly additionalProperties: false;
|
|
1088
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1089
|
+
};
|
|
1090
|
+
readonly output_schema: {
|
|
1091
|
+
readonly type: "object";
|
|
1092
|
+
readonly properties: {
|
|
1093
|
+
readonly approval: {
|
|
1094
|
+
readonly type: "object";
|
|
1095
|
+
readonly properties: {
|
|
1096
|
+
readonly approval_url: {
|
|
1097
|
+
readonly type: "string";
|
|
1098
|
+
readonly format: "uri";
|
|
1099
|
+
};
|
|
1100
|
+
readonly expires_at: {
|
|
1101
|
+
readonly type: "string";
|
|
1102
|
+
readonly format: "date-time";
|
|
1103
|
+
};
|
|
1104
|
+
readonly id: {
|
|
1105
|
+
readonly type: "string";
|
|
1106
|
+
readonly minLength: 1;
|
|
1107
|
+
};
|
|
1108
|
+
readonly status: {
|
|
1109
|
+
readonly type: "string";
|
|
1110
|
+
readonly const: "pending";
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
readonly required: readonly ["approval_url", "expires_at", "id", "status"];
|
|
1114
|
+
readonly additionalProperties: false;
|
|
1115
|
+
};
|
|
1116
|
+
readonly operation: {
|
|
1117
|
+
readonly type: "object";
|
|
1118
|
+
readonly properties: {
|
|
1119
|
+
readonly confirmation_required: {
|
|
1120
|
+
readonly type: "boolean";
|
|
1121
|
+
};
|
|
1122
|
+
readonly description: {
|
|
1123
|
+
readonly type: "string";
|
|
1124
|
+
};
|
|
1125
|
+
readonly method: {
|
|
1126
|
+
readonly type: "string";
|
|
1127
|
+
readonly enum: readonly ["DELETE", "GET", "PATCH", "POST", "PUT"];
|
|
1128
|
+
};
|
|
1129
|
+
readonly operation_id: {
|
|
1130
|
+
readonly type: "string";
|
|
1131
|
+
};
|
|
1132
|
+
readonly path: {
|
|
1133
|
+
readonly type: "string";
|
|
1134
|
+
};
|
|
1135
|
+
readonly risk: {
|
|
1136
|
+
readonly type: "array";
|
|
1137
|
+
readonly items: {
|
|
1138
|
+
readonly type: "string";
|
|
1139
|
+
readonly enum: readonly ["read", "write", "destructive", "external_effect"];
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
readonly summary: {
|
|
1143
|
+
readonly type: "string";
|
|
1144
|
+
};
|
|
1145
|
+
readonly input_schema: {
|
|
1146
|
+
readonly type: "object";
|
|
1147
|
+
readonly additionalProperties: {};
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
readonly required: readonly ["confirmation_required", "description", "method", "operation_id", "path", "risk", "summary", "input_schema"];
|
|
1151
|
+
readonly additionalProperties: false;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
readonly required: readonly ["operation"];
|
|
1155
|
+
readonly additionalProperties: false;
|
|
1156
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1157
|
+
};
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly name: "invoke_operation";
|
|
1160
|
+
readonly description: "Invoke one previously discovered Warm operation. Every write operation requires the approval_id returned for the exact same input by describe_operation.";
|
|
1161
|
+
readonly annotations: {
|
|
1162
|
+
readonly readOnlyHint: false;
|
|
1163
|
+
readonly destructiveHint: true;
|
|
1164
|
+
readonly openWorldHint: false;
|
|
1165
|
+
};
|
|
1166
|
+
readonly input_schema: {
|
|
1167
|
+
readonly type: "object";
|
|
1168
|
+
readonly properties: {
|
|
1169
|
+
readonly operation_id: {
|
|
1170
|
+
readonly type: "string";
|
|
1171
|
+
readonly minLength: 1;
|
|
1172
|
+
};
|
|
1173
|
+
readonly input: {
|
|
1174
|
+
readonly type: "object";
|
|
1175
|
+
readonly properties: {
|
|
1176
|
+
readonly body: {
|
|
1177
|
+
readonly type: "object";
|
|
1178
|
+
readonly additionalProperties: {};
|
|
1179
|
+
};
|
|
1180
|
+
readonly params: {
|
|
1181
|
+
readonly type: "object";
|
|
1182
|
+
readonly additionalProperties: {
|
|
1183
|
+
readonly type: "string";
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
readonly additionalProperties: false;
|
|
1188
|
+
readonly description: "Exact intended input. Required to obtain approval for a write operation.";
|
|
1189
|
+
};
|
|
1190
|
+
readonly approval_id: {
|
|
1191
|
+
readonly type: "string";
|
|
1192
|
+
readonly format: "uuid";
|
|
1193
|
+
readonly description: "Approval ID returned by describe_operation for the exact write input.";
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
readonly required: readonly ["operation_id"];
|
|
1197
|
+
readonly additionalProperties: false;
|
|
1198
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1199
|
+
};
|
|
1200
|
+
readonly output_schema: {
|
|
1201
|
+
readonly type: "object";
|
|
1202
|
+
readonly properties: {
|
|
1203
|
+
readonly body: {};
|
|
1204
|
+
readonly headers: {
|
|
1205
|
+
readonly type: "object";
|
|
1206
|
+
readonly additionalProperties: {
|
|
1207
|
+
readonly type: "string";
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
readonly operation_id: {
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
};
|
|
1213
|
+
readonly status: {
|
|
1214
|
+
readonly type: "integer";
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
readonly required: readonly ["headers", "operation_id", "status"];
|
|
1218
|
+
readonly additionalProperties: false;
|
|
1219
|
+
readonly $schema: "https://json-schema.org/draft-07/schema#";
|
|
1220
|
+
};
|
|
1221
|
+
}];
|
|
1222
|
+
};
|
|
1223
|
+
readonly package: {
|
|
1224
|
+
readonly name: "@warmio/contracts";
|
|
1225
|
+
readonly version: "3.0.0";
|
|
1226
|
+
};
|
|
1227
|
+
readonly digest: "sha256:ce267bbe6a0464f4aa5fb837f1e32dab49100516b7a85a13125b3d88438eec29";
|
|
1228
|
+
};
|
|
1229
|
+
export type WarmAppApiManifest = typeof warmAppApiManifest;
|
|
1230
|
+
//# sourceMappingURL=warm-app-api-manifest.d.ts.map
|