@contractspec/example.pocket-family-office 1.44.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/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/blueprint.d.ts +5 -0
- package/dist/blueprint.d.ts.map +1 -0
- package/dist/connections/samples.d.ts +4 -0
- package/dist/connections/samples.d.ts.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +63 -0
- package/dist/knowledge/sources.sample.d.ts +3 -0
- package/dist/knowledge/sources.sample.d.ts.map +1 -0
- package/dist/operations/index.d.ts +492 -0
- package/dist/operations/index.d.ts.map +1 -0
- package/dist/pocket-family-office.feature.d.ts +12 -0
- package/dist/pocket-family-office.feature.d.ts.map +1 -0
- package/dist/telemetry.d.ts +4 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/tenant.sample.d.ts +3 -0
- package/dist/tenant.sample.d.ts.map +1 -0
- package/dist/tests/pocket-family-office.test.d.ts +2 -0
- package/dist/tests/pocket-family-office.test.d.ts.map +1 -0
- package/dist/workflows/generate-financial-summary.d.ts +3 -0
- package/dist/workflows/generate-financial-summary.d.ts.map +1 -0
- package/dist/workflows/generate-openbanking-overview.d.ts +3 -0
- package/dist/workflows/generate-openbanking-overview.d.ts.map +1 -0
- package/dist/workflows/index.d.ts +9 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/ingest-email-threads.d.ts +3 -0
- package/dist/workflows/ingest-email-threads.d.ts.map +1 -0
- package/dist/workflows/process-uploaded-document.d.ts +3 -0
- package/dist/workflows/process-uploaded-document.d.ts.map +1 -0
- package/dist/workflows/refresh-openbanking-balances.d.ts +3 -0
- package/dist/workflows/refresh-openbanking-balances.d.ts.map +1 -0
- package/dist/workflows/sync-openbanking-accounts.d.ts +3 -0
- package/dist/workflows/sync-openbanking-accounts.d.ts.map +1 -0
- package/dist/workflows/sync-openbanking-transactions.d.ts +3 -0
- package/dist/workflows/sync-openbanking-transactions.d.ts.map +1 -0
- package/dist/workflows/upcoming-payments-reminder.d.ts +3 -0
- package/dist/workflows/upcoming-payments-reminder.d.ts.map +1 -0
- package/package.json +87 -0
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
import { type ZodSchemaModel } from '@contractspec/lib.schema';
|
|
2
|
+
import type { OperationSpec } from '@contractspec/lib.contracts/operations';
|
|
3
|
+
declare const UploadDocumentInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
bucket: {
|
|
5
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
6
|
+
isOptional: false;
|
|
7
|
+
};
|
|
8
|
+
objectKey: {
|
|
9
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
mimeType: {
|
|
13
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
bytes: {
|
|
17
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
tags: {
|
|
21
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
isArray: true;
|
|
24
|
+
};
|
|
25
|
+
uploadedAt: {
|
|
26
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
29
|
+
source: {
|
|
30
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
31
|
+
isOptional: false;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
declare const UploadDocumentOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
35
|
+
documentId: {
|
|
36
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
37
|
+
isOptional: false;
|
|
38
|
+
};
|
|
39
|
+
ingestionJobId: {
|
|
40
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
41
|
+
isOptional: false;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
export type UploadDocumentInput = ZodSchemaModel<typeof UploadDocumentInputModel>;
|
|
45
|
+
export type UploadDocumentOutput = ZodSchemaModel<typeof UploadDocumentOutputModel>;
|
|
46
|
+
export declare const uploadDocumentContract: OperationSpec<typeof UploadDocumentInputModel, typeof UploadDocumentOutputModel>;
|
|
47
|
+
declare const PaymentReminderInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
48
|
+
billId: {
|
|
49
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
50
|
+
isOptional: false;
|
|
51
|
+
};
|
|
52
|
+
recipientEmail: {
|
|
53
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
54
|
+
isOptional: false;
|
|
55
|
+
};
|
|
56
|
+
recipientPhone: {
|
|
57
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
58
|
+
isOptional: true;
|
|
59
|
+
};
|
|
60
|
+
dueDate: {
|
|
61
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
62
|
+
isOptional: false;
|
|
63
|
+
};
|
|
64
|
+
amountCents: {
|
|
65
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
66
|
+
isOptional: false;
|
|
67
|
+
};
|
|
68
|
+
currency: {
|
|
69
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
70
|
+
isOptional: false;
|
|
71
|
+
};
|
|
72
|
+
channel: {
|
|
73
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
74
|
+
isOptional: false;
|
|
75
|
+
};
|
|
76
|
+
memo: {
|
|
77
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
78
|
+
isOptional: true;
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
declare const PaymentReminderOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
82
|
+
reminderId: {
|
|
83
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
84
|
+
isOptional: false;
|
|
85
|
+
};
|
|
86
|
+
scheduledAt: {
|
|
87
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
88
|
+
isOptional: false;
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
91
|
+
export type PaymentReminderInput = ZodSchemaModel<typeof PaymentReminderInputModel>;
|
|
92
|
+
export type PaymentReminderOutput = ZodSchemaModel<typeof PaymentReminderOutputModel>;
|
|
93
|
+
export declare const schedulePaymentReminderContract: OperationSpec<typeof PaymentReminderInputModel, typeof PaymentReminderOutputModel>;
|
|
94
|
+
declare const FinancialSummaryInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
95
|
+
period: {
|
|
96
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
97
|
+
isOptional: false;
|
|
98
|
+
};
|
|
99
|
+
includeVoiceSummary: {
|
|
100
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
101
|
+
isOptional: false;
|
|
102
|
+
};
|
|
103
|
+
}>;
|
|
104
|
+
declare const FinancialSummaryOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
105
|
+
summaryId: {
|
|
106
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
107
|
+
isOptional: false;
|
|
108
|
+
};
|
|
109
|
+
generatedAt: {
|
|
110
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
111
|
+
isOptional: false;
|
|
112
|
+
};
|
|
113
|
+
markdown: {
|
|
114
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
115
|
+
isOptional: false;
|
|
116
|
+
};
|
|
117
|
+
highlights: {
|
|
118
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
119
|
+
label: {
|
|
120
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
121
|
+
isOptional: false;
|
|
122
|
+
};
|
|
123
|
+
value: {
|
|
124
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
125
|
+
isOptional: false;
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
128
|
+
isOptional: false;
|
|
129
|
+
isArray: true;
|
|
130
|
+
};
|
|
131
|
+
cashflowDelta: {
|
|
132
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
133
|
+
isOptional: false;
|
|
134
|
+
};
|
|
135
|
+
}>;
|
|
136
|
+
export type FinancialSummaryInput = ZodSchemaModel<typeof FinancialSummaryInputModel>;
|
|
137
|
+
export type FinancialSummaryOutput = ZodSchemaModel<typeof FinancialSummaryOutputModel>;
|
|
138
|
+
export declare const generateFinancialSummaryContract: OperationSpec<typeof FinancialSummaryInputModel, typeof FinancialSummaryOutputModel>;
|
|
139
|
+
declare const SyncEmailThreadsInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
140
|
+
labelIds: {
|
|
141
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
isArray: true;
|
|
144
|
+
};
|
|
145
|
+
maxThreads: {
|
|
146
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
147
|
+
isOptional: false;
|
|
148
|
+
};
|
|
149
|
+
syncSinceMinutes: {
|
|
150
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
151
|
+
isOptional: false;
|
|
152
|
+
};
|
|
153
|
+
}>;
|
|
154
|
+
declare const SyncEmailThreadsOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
155
|
+
syncedThreads: {
|
|
156
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
157
|
+
isOptional: false;
|
|
158
|
+
};
|
|
159
|
+
lastMessageAt: {
|
|
160
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
161
|
+
isOptional: true;
|
|
162
|
+
};
|
|
163
|
+
}>;
|
|
164
|
+
export type SyncEmailThreadsInput = ZodSchemaModel<typeof SyncEmailThreadsInputModel>;
|
|
165
|
+
export type SyncEmailThreadsOutput = ZodSchemaModel<typeof SyncEmailThreadsOutputModel>;
|
|
166
|
+
export declare const syncEmailThreadsContract: OperationSpec<typeof SyncEmailThreadsInputModel, typeof SyncEmailThreadsOutputModel>;
|
|
167
|
+
declare const SummaryDispatchInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
168
|
+
summaryId: {
|
|
169
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
170
|
+
isOptional: false;
|
|
171
|
+
};
|
|
172
|
+
recipientEmail: {
|
|
173
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
174
|
+
isOptional: false;
|
|
175
|
+
};
|
|
176
|
+
recipientName: {
|
|
177
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
178
|
+
isOptional: true;
|
|
179
|
+
};
|
|
180
|
+
includeVoice: {
|
|
181
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
182
|
+
isOptional: false;
|
|
183
|
+
};
|
|
184
|
+
voiceRecipient: {
|
|
185
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
186
|
+
isOptional: true;
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
189
|
+
declare const SummaryDispatchOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
190
|
+
dispatchId: {
|
|
191
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
194
|
+
emailSent: {
|
|
195
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
196
|
+
isOptional: false;
|
|
197
|
+
};
|
|
198
|
+
voiceUrl: {
|
|
199
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
200
|
+
isOptional: true;
|
|
201
|
+
};
|
|
202
|
+
}>;
|
|
203
|
+
export type SummaryDispatchInput = ZodSchemaModel<typeof SummaryDispatchInputModel>;
|
|
204
|
+
export type SummaryDispatchOutput = ZodSchemaModel<typeof SummaryDispatchOutputModel>;
|
|
205
|
+
export declare const dispatchFinancialSummaryContract: OperationSpec<typeof SummaryDispatchInputModel, typeof SummaryDispatchOutputModel>;
|
|
206
|
+
declare const OpenBankingOverviewInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
207
|
+
tenantId: {
|
|
208
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
209
|
+
isOptional: false;
|
|
210
|
+
};
|
|
211
|
+
accountIds: {
|
|
212
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
213
|
+
isOptional: true;
|
|
214
|
+
isArray: true;
|
|
215
|
+
};
|
|
216
|
+
period: {
|
|
217
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
218
|
+
isOptional: false;
|
|
219
|
+
};
|
|
220
|
+
asOf: {
|
|
221
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
222
|
+
isOptional: true;
|
|
223
|
+
};
|
|
224
|
+
includeCategories: {
|
|
225
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
226
|
+
isOptional: false;
|
|
227
|
+
};
|
|
228
|
+
includeCashflowTrend: {
|
|
229
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
230
|
+
isOptional: false;
|
|
231
|
+
};
|
|
232
|
+
}>;
|
|
233
|
+
declare const OpenBankingOverviewOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
234
|
+
knowledgeEntryId: {
|
|
235
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
236
|
+
isOptional: false;
|
|
237
|
+
};
|
|
238
|
+
periodStart: {
|
|
239
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
240
|
+
isOptional: false;
|
|
241
|
+
};
|
|
242
|
+
periodEnd: {
|
|
243
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
244
|
+
isOptional: false;
|
|
245
|
+
};
|
|
246
|
+
generatedAt: {
|
|
247
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
248
|
+
isOptional: false;
|
|
249
|
+
};
|
|
250
|
+
summaryPath: {
|
|
251
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
252
|
+
isOptional: true;
|
|
253
|
+
};
|
|
254
|
+
}>;
|
|
255
|
+
export type OpenBankingOverviewInput = ZodSchemaModel<typeof OpenBankingOverviewInputModel>;
|
|
256
|
+
export type OpenBankingOverviewOutput = ZodSchemaModel<typeof OpenBankingOverviewOutputModel>;
|
|
257
|
+
export declare const generateOpenBankingOverviewContract: OperationSpec<typeof OpenBankingOverviewInputModel, typeof OpenBankingOverviewOutputModel>;
|
|
258
|
+
export declare const pocketFamilyOfficeContracts: {
|
|
259
|
+
'pfo.documents.upload': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
260
|
+
bucket: {
|
|
261
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
262
|
+
isOptional: false;
|
|
263
|
+
};
|
|
264
|
+
objectKey: {
|
|
265
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
266
|
+
isOptional: false;
|
|
267
|
+
};
|
|
268
|
+
mimeType: {
|
|
269
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
270
|
+
isOptional: false;
|
|
271
|
+
};
|
|
272
|
+
bytes: {
|
|
273
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
274
|
+
isOptional: false;
|
|
275
|
+
};
|
|
276
|
+
tags: {
|
|
277
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
278
|
+
isOptional: false;
|
|
279
|
+
isArray: true;
|
|
280
|
+
};
|
|
281
|
+
uploadedAt: {
|
|
282
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
283
|
+
isOptional: false;
|
|
284
|
+
};
|
|
285
|
+
source: {
|
|
286
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
287
|
+
isOptional: false;
|
|
288
|
+
};
|
|
289
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
290
|
+
documentId: {
|
|
291
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
292
|
+
isOptional: false;
|
|
293
|
+
};
|
|
294
|
+
ingestionJobId: {
|
|
295
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
296
|
+
isOptional: false;
|
|
297
|
+
};
|
|
298
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
299
|
+
'pfo.reminders.schedule-payment': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
300
|
+
billId: {
|
|
301
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
302
|
+
isOptional: false;
|
|
303
|
+
};
|
|
304
|
+
recipientEmail: {
|
|
305
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
306
|
+
isOptional: false;
|
|
307
|
+
};
|
|
308
|
+
recipientPhone: {
|
|
309
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
310
|
+
isOptional: true;
|
|
311
|
+
};
|
|
312
|
+
dueDate: {
|
|
313
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
314
|
+
isOptional: false;
|
|
315
|
+
};
|
|
316
|
+
amountCents: {
|
|
317
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
318
|
+
isOptional: false;
|
|
319
|
+
};
|
|
320
|
+
currency: {
|
|
321
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
322
|
+
isOptional: false;
|
|
323
|
+
};
|
|
324
|
+
channel: {
|
|
325
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
326
|
+
isOptional: false;
|
|
327
|
+
};
|
|
328
|
+
memo: {
|
|
329
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
330
|
+
isOptional: true;
|
|
331
|
+
};
|
|
332
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
333
|
+
reminderId: {
|
|
334
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
335
|
+
isOptional: false;
|
|
336
|
+
};
|
|
337
|
+
scheduledAt: {
|
|
338
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
339
|
+
isOptional: false;
|
|
340
|
+
};
|
|
341
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
342
|
+
'pfo.summary.generate': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
343
|
+
period: {
|
|
344
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
345
|
+
isOptional: false;
|
|
346
|
+
};
|
|
347
|
+
includeVoiceSummary: {
|
|
348
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
349
|
+
isOptional: false;
|
|
350
|
+
};
|
|
351
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
352
|
+
summaryId: {
|
|
353
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
354
|
+
isOptional: false;
|
|
355
|
+
};
|
|
356
|
+
generatedAt: {
|
|
357
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
358
|
+
isOptional: false;
|
|
359
|
+
};
|
|
360
|
+
markdown: {
|
|
361
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
362
|
+
isOptional: false;
|
|
363
|
+
};
|
|
364
|
+
highlights: {
|
|
365
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
366
|
+
label: {
|
|
367
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
368
|
+
isOptional: false;
|
|
369
|
+
};
|
|
370
|
+
value: {
|
|
371
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
372
|
+
isOptional: false;
|
|
373
|
+
};
|
|
374
|
+
}>;
|
|
375
|
+
isOptional: false;
|
|
376
|
+
isArray: true;
|
|
377
|
+
};
|
|
378
|
+
cashflowDelta: {
|
|
379
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
380
|
+
isOptional: false;
|
|
381
|
+
};
|
|
382
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
383
|
+
'pfo.summary.dispatch': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
384
|
+
summaryId: {
|
|
385
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
386
|
+
isOptional: false;
|
|
387
|
+
};
|
|
388
|
+
recipientEmail: {
|
|
389
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
390
|
+
isOptional: false;
|
|
391
|
+
};
|
|
392
|
+
recipientName: {
|
|
393
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
394
|
+
isOptional: true;
|
|
395
|
+
};
|
|
396
|
+
includeVoice: {
|
|
397
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
398
|
+
isOptional: false;
|
|
399
|
+
};
|
|
400
|
+
voiceRecipient: {
|
|
401
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
402
|
+
isOptional: true;
|
|
403
|
+
};
|
|
404
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
405
|
+
dispatchId: {
|
|
406
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
407
|
+
isOptional: false;
|
|
408
|
+
};
|
|
409
|
+
emailSent: {
|
|
410
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
411
|
+
isOptional: false;
|
|
412
|
+
};
|
|
413
|
+
voiceUrl: {
|
|
414
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
415
|
+
isOptional: true;
|
|
416
|
+
};
|
|
417
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
418
|
+
'pfo.email.sync-threads': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
419
|
+
labelIds: {
|
|
420
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
421
|
+
isOptional: false;
|
|
422
|
+
isArray: true;
|
|
423
|
+
};
|
|
424
|
+
maxThreads: {
|
|
425
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
426
|
+
isOptional: false;
|
|
427
|
+
};
|
|
428
|
+
syncSinceMinutes: {
|
|
429
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
430
|
+
isOptional: false;
|
|
431
|
+
};
|
|
432
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
433
|
+
syncedThreads: {
|
|
434
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
435
|
+
isOptional: false;
|
|
436
|
+
};
|
|
437
|
+
lastMessageAt: {
|
|
438
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
439
|
+
isOptional: true;
|
|
440
|
+
};
|
|
441
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
442
|
+
'pfo.openbanking.generate-overview': OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
443
|
+
tenantId: {
|
|
444
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
445
|
+
isOptional: false;
|
|
446
|
+
};
|
|
447
|
+
accountIds: {
|
|
448
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
449
|
+
isOptional: true;
|
|
450
|
+
isArray: true;
|
|
451
|
+
};
|
|
452
|
+
period: {
|
|
453
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
454
|
+
isOptional: false;
|
|
455
|
+
};
|
|
456
|
+
asOf: {
|
|
457
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
458
|
+
isOptional: true;
|
|
459
|
+
};
|
|
460
|
+
includeCategories: {
|
|
461
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
462
|
+
isOptional: false;
|
|
463
|
+
};
|
|
464
|
+
includeCashflowTrend: {
|
|
465
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
466
|
+
isOptional: false;
|
|
467
|
+
};
|
|
468
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
469
|
+
knowledgeEntryId: {
|
|
470
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
471
|
+
isOptional: false;
|
|
472
|
+
};
|
|
473
|
+
periodStart: {
|
|
474
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
475
|
+
isOptional: false;
|
|
476
|
+
};
|
|
477
|
+
periodEnd: {
|
|
478
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
479
|
+
isOptional: false;
|
|
480
|
+
};
|
|
481
|
+
generatedAt: {
|
|
482
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
483
|
+
isOptional: false;
|
|
484
|
+
};
|
|
485
|
+
summaryPath: {
|
|
486
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
487
|
+
isOptional: true;
|
|
488
|
+
};
|
|
489
|
+
}>, readonly import("@contractspec/lib.contracts").EmitDecl[] | undefined>;
|
|
490
|
+
};
|
|
491
|
+
export {};
|
|
492
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pocket Family Office Feature Module Specification
|
|
3
|
+
*
|
|
4
|
+
* Defines the feature module for personal finance automation.
|
|
5
|
+
*/
|
|
6
|
+
import type { FeatureModuleSpec } from '@contractspec/lib.contracts';
|
|
7
|
+
/**
|
|
8
|
+
* Pocket Family Office feature module that bundles financial document
|
|
9
|
+
* management, open banking integration, and automated summaries.
|
|
10
|
+
*/
|
|
11
|
+
export declare const PocketFamilyOfficeFeature: FeatureModuleSpec;
|
|
12
|
+
//# sourceMappingURL=pocket-family-office.feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pocket-family-office.feature.d.ts","sourceRoot":"","sources":["../src/pocket-family-office.feature.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,iBAsCvC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TelemetrySpec } from '@contractspec/lib.contracts/telemetry/spec';
|
|
2
|
+
export declare const pocketFamilyOfficeTelemetry: TelemetrySpec;
|
|
3
|
+
export declare const OPENBANKING_SENSITIVE_FIELDS: readonly ["iban", "bic", "accountNumberMasked", "accountNumber", "counterpartyName", "counterpartyAccount", "description", "merchantName", "merchantCategoryCode", "reference"];
|
|
4
|
+
//# sourceMappingURL=telemetry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../src/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAoDhF,eAAO,MAAM,2BAA2B,EAAE,aA4HzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,iLAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant.sample.d.ts","sourceRoot":"","sources":["../src/tenant.sample.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAEnF,eAAO,MAAM,8BAA8B,EAAE,eAmE5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pocket-family-office.test.d.ts","sourceRoot":"","sources":["../../src/tests/pocket-family-office.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-financial-summary.d.ts","sourceRoot":"","sources":["../../src/workflows/generate-financial-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAO9E,eAAO,MAAM,gCAAgC,EAAE,YAkD9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-openbanking-overview.d.ts","sourceRoot":"","sources":["../../src/workflows/generate-openbanking-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAa9E,eAAO,MAAM,mCAAmC,EAAE,YAmCjD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './process-uploaded-document';
|
|
2
|
+
export * from './upcoming-payments-reminder';
|
|
3
|
+
export * from './generate-financial-summary';
|
|
4
|
+
export * from './ingest-email-threads';
|
|
5
|
+
export * from './sync-openbanking-accounts';
|
|
6
|
+
export * from './sync-openbanking-transactions';
|
|
7
|
+
export * from './refresh-openbanking-balances';
|
|
8
|
+
export * from './generate-openbanking-overview';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingest-email-threads.d.ts","sourceRoot":"","sources":["../../src/workflows/ingest-email-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAO9E,eAAO,MAAM,0BAA0B,EAAE,YAgDxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-uploaded-document.d.ts","sourceRoot":"","sources":["../../src/workflows/process-uploaded-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAO9E,eAAO,MAAM,+BAA+B,EAAE,YA8C7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-openbanking-balances.d.ts","sourceRoot":"","sources":["../../src/workflows/refresh-openbanking-balances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAS9E,eAAO,MAAM,kCAAkC,EAAE,YAoDhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-openbanking-accounts.d.ts","sourceRoot":"","sources":["../../src/workflows/sync-openbanking-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAS9E,eAAO,MAAM,+BAA+B,EAAE,YAoD7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-openbanking-transactions.d.ts","sourceRoot":"","sources":["../../src/workflows/sync-openbanking-transactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAY9E,eAAO,MAAM,mCAAmC,EAAE,YAoDjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upcoming-payments-reminder.d.ts","sourceRoot":"","sources":["../../src/workflows/upcoming-payments-reminder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAO9E,eAAO,MAAM,gCAAgC,EAAE,YAkD9C,CAAC"}
|