@lssm/example.pocket-family-office 0.0.0-canary-20251217083314 → 1.41.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/package.json +22 -23
- package/dist/blueprint.d.ts +0 -7
- package/dist/blueprint.js +0 -200
- package/dist/connections/samples.d.ts +0 -7
- package/dist/connections/samples.js +0 -226
- package/dist/contracts/index.d.ts +0 -118
- package/dist/contracts/index.js +0 -270
- package/dist/index.d.ts +0 -16
- package/dist/index.js +0 -18
- package/dist/knowledge/sources.sample.d.ts +0 -6
- package/dist/knowledge/sources.sample.js +0 -49
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -25
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/libs/contracts/dist/ownership.js +0 -38
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
- package/dist/libs/contracts/dist/spec.js +0 -34
- package/dist/pocket-family-office.feature.d.ts +0 -11
- package/dist/pocket-family-office.feature.js +0 -46
- package/dist/telemetry.d.ts +0 -7
- package/dist/telemetry.js +0 -170
- package/dist/tenant.sample.d.ts +0 -6
- package/dist/tenant.sample.js +0 -89
- package/dist/workflows/generate-financial-summary.d.ts +0 -6
- package/dist/workflows/generate-financial-summary.js +0 -60
- package/dist/workflows/generate-openbanking-overview.d.ts +0 -6
- package/dist/workflows/generate-openbanking-overview.js +0 -57
- package/dist/workflows/index.d.ts +0 -9
- package/dist/workflows/index.js +0 -10
- package/dist/workflows/ingest-email-threads.d.ts +0 -6
- package/dist/workflows/ingest-email-threads.js +0 -52
- package/dist/workflows/process-uploaded-document.d.ts +0 -6
- package/dist/workflows/process-uploaded-document.js +0 -50
- package/dist/workflows/refresh-openbanking-balances.d.ts +0 -6
- package/dist/workflows/refresh-openbanking-balances.js +0 -66
- package/dist/workflows/sync-openbanking-accounts.d.ts +0 -6
- package/dist/workflows/sync-openbanking-accounts.js +0 -66
- package/dist/workflows/sync-openbanking-transactions.d.ts +0 -6
- package/dist/workflows/sync-openbanking-transactions.js +0 -66
- package/dist/workflows/upcoming-payments-reminder.d.ts +0 -6
- package/dist/workflows/upcoming-payments-reminder.js +0 -55
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { OwnersEnum, StabilityEnum, TagsEnum } from "../libs/contracts/dist/ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region src/workflows/sync-openbanking-transactions.ts
|
|
4
|
-
const TRANSACTION_CAPABILITY = {
|
|
5
|
-
key: "openbanking.transactions.read",
|
|
6
|
-
version: 1
|
|
7
|
-
};
|
|
8
|
-
const syncOpenBankingTransactionsWorkflow = {
|
|
9
|
-
meta: {
|
|
10
|
-
name: "pfo.workflow.sync-openbanking-transactions",
|
|
11
|
-
version: 1,
|
|
12
|
-
title: "Synchronise Open Banking Transactions",
|
|
13
|
-
description: "Fetches recent transactions from Powens for each linked account and stores them in the canonical ledger.",
|
|
14
|
-
domain: "finance",
|
|
15
|
-
owners: [OwnersEnum.PlatformFinance],
|
|
16
|
-
tags: [
|
|
17
|
-
"open-banking",
|
|
18
|
-
"powens",
|
|
19
|
-
TagsEnum.Automation
|
|
20
|
-
],
|
|
21
|
-
stability: StabilityEnum.Experimental
|
|
22
|
-
},
|
|
23
|
-
definition: {
|
|
24
|
-
entryStepId: "sync-transactions",
|
|
25
|
-
steps: [{
|
|
26
|
-
id: "sync-transactions",
|
|
27
|
-
type: "automation",
|
|
28
|
-
label: "Sync Transactions",
|
|
29
|
-
description: "Call the Powens provider to pull incremental transactions for active accounts.",
|
|
30
|
-
action: { operation: {
|
|
31
|
-
name: "openbanking.transactions.sync",
|
|
32
|
-
version: 1
|
|
33
|
-
} },
|
|
34
|
-
requiredIntegrations: ["primaryOpenBanking"],
|
|
35
|
-
requiredCapabilities: [TRANSACTION_CAPABILITY],
|
|
36
|
-
retry: {
|
|
37
|
-
maxAttempts: 4,
|
|
38
|
-
backoff: "exponential",
|
|
39
|
-
delayMs: 1500
|
|
40
|
-
}
|
|
41
|
-
}, {
|
|
42
|
-
id: "list-transactions",
|
|
43
|
-
type: "automation",
|
|
44
|
-
label: "List Transactions",
|
|
45
|
-
description: "Retrieve the canonical transaction list for reporting and downstream analytics.",
|
|
46
|
-
action: { operation: {
|
|
47
|
-
name: "openbanking.transactions.list",
|
|
48
|
-
version: 1
|
|
49
|
-
} },
|
|
50
|
-
requiredIntegrations: ["primaryOpenBanking"],
|
|
51
|
-
requiredCapabilities: [TRANSACTION_CAPABILITY],
|
|
52
|
-
retry: {
|
|
53
|
-
maxAttempts: 2,
|
|
54
|
-
backoff: "linear",
|
|
55
|
-
delayMs: 1e3
|
|
56
|
-
}
|
|
57
|
-
}],
|
|
58
|
-
transitions: [{
|
|
59
|
-
from: "sync-transactions",
|
|
60
|
-
to: "list-transactions"
|
|
61
|
-
}]
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
//#endregion
|
|
66
|
-
export { syncOpenBankingTransactionsWorkflow };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { OwnersEnum, StabilityEnum, TagsEnum } from "../libs/contracts/dist/ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region src/workflows/upcoming-payments-reminder.ts
|
|
4
|
-
const upcomingPaymentsReminderWorkflow = {
|
|
5
|
-
meta: {
|
|
6
|
-
name: "pfo.workflow.upcoming-payments-reminder",
|
|
7
|
-
version: 1,
|
|
8
|
-
title: "Schedule Upcoming Payment Reminder",
|
|
9
|
-
description: "Collects payment metadata and schedules multi-channel reminders for bills that are due soon.",
|
|
10
|
-
domain: "finance",
|
|
11
|
-
owners: [OwnersEnum.PlatformFinance],
|
|
12
|
-
tags: [
|
|
13
|
-
"payments",
|
|
14
|
-
"reminders",
|
|
15
|
-
TagsEnum.Automation
|
|
16
|
-
],
|
|
17
|
-
stability: StabilityEnum.Beta
|
|
18
|
-
},
|
|
19
|
-
definition: {
|
|
20
|
-
entryStepId: "collect",
|
|
21
|
-
steps: [{
|
|
22
|
-
id: "collect",
|
|
23
|
-
type: "human",
|
|
24
|
-
label: "Review Upcoming Bill",
|
|
25
|
-
description: "Confirm amount, due date, and preferred delivery channels before scheduling reminder."
|
|
26
|
-
}, {
|
|
27
|
-
id: "schedule",
|
|
28
|
-
type: "automation",
|
|
29
|
-
label: "Schedule Reminder",
|
|
30
|
-
action: { operation: {
|
|
31
|
-
name: "pfo.reminders.schedule-payment",
|
|
32
|
-
version: 1
|
|
33
|
-
} },
|
|
34
|
-
requiredIntegrations: [
|
|
35
|
-
"emailOutbound",
|
|
36
|
-
"smsNotifications",
|
|
37
|
-
"calendarScheduling"
|
|
38
|
-
],
|
|
39
|
-
retry: {
|
|
40
|
-
maxAttempts: 2,
|
|
41
|
-
backoff: "linear",
|
|
42
|
-
delayMs: 1e3
|
|
43
|
-
}
|
|
44
|
-
}],
|
|
45
|
-
transitions: [{
|
|
46
|
-
from: "collect",
|
|
47
|
-
to: "schedule",
|
|
48
|
-
condition: "output?.confirmed === true",
|
|
49
|
-
label: "Reminder confirmed"
|
|
50
|
-
}]
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
//#endregion
|
|
55
|
-
export { upcomingPaymentsReminderWorkflow };
|