@lssm/example.pocket-family-office 0.0.0-canary-20251220002821 → 0.0.0-canary-20251220021406
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/blueprint.d.ts +4 -7
- package/dist/blueprint.d.ts.map +1 -1
- package/dist/connections/samples.d.ts +3 -7
- package/dist/connections/samples.d.ts.map +1 -1
- package/dist/contracts/index.d.ts +491 -118
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/index.d.ts +9 -16
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +89 -17
- package/dist/knowledge/sources.sample.d.ts +2 -6
- package/dist/knowledge/sources.sample.d.ts.map +1 -1
- package/dist/pocket-family-office.feature.d.ts +7 -7
- package/dist/pocket-family-office.feature.d.ts.map +1 -1
- package/dist/telemetry.d.ts +3 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/tenant.sample.d.ts +2 -6
- package/dist/tenant.sample.d.ts.map +1 -1
- 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 +2 -6
- package/dist/workflows/generate-financial-summary.d.ts.map +1 -1
- package/dist/workflows/generate-openbanking-overview.d.ts +2 -6
- package/dist/workflows/generate-openbanking-overview.d.ts.map +1 -1
- package/dist/workflows/index.d.ts +9 -9
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/ingest-email-threads.d.ts +2 -6
- package/dist/workflows/ingest-email-threads.d.ts.map +1 -1
- package/dist/workflows/process-uploaded-document.d.ts +2 -6
- package/dist/workflows/process-uploaded-document.d.ts.map +1 -1
- package/dist/workflows/refresh-openbanking-balances.d.ts +2 -6
- package/dist/workflows/refresh-openbanking-balances.d.ts.map +1 -1
- package/dist/workflows/sync-openbanking-accounts.d.ts +2 -6
- package/dist/workflows/sync-openbanking-accounts.d.ts.map +1 -1
- package/dist/workflows/sync-openbanking-transactions.d.ts +2 -6
- package/dist/workflows/sync-openbanking-transactions.d.ts.map +1 -1
- package/dist/workflows/upcoming-payments-reminder.d.ts +2 -6
- package/dist/workflows/upcoming-payments-reminder.d.ts.map +1 -1
- package/package.json +12 -11
- package/dist/blueprint.js +0 -201
- package/dist/blueprint.js.map +0 -1
- package/dist/connections/samples.js +0 -227
- package/dist/connections/samples.js.map +0 -1
- package/dist/contracts/index.js +0 -271
- package/dist/contracts/index.js.map +0 -1
- package/dist/knowledge/sources.sample.js +0 -50
- package/dist/knowledge/sources.sample.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -227
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -158
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -209
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -241
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -26
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -53
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -76
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -88
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -67
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -117
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -74
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -84
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -62
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -38
- package/dist/libs/contracts/dist/ownership.js.map +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -3873
- package/dist/libs/contracts/dist/schema/dist/index.js.map +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -35
- package/dist/libs/contracts/dist/spec.js.map +0 -1
- package/dist/pocket-family-office.feature.js +0 -47
- package/dist/pocket-family-office.feature.js.map +0 -1
- package/dist/telemetry.js +0 -171
- package/dist/telemetry.js.map +0 -1
- package/dist/tenant.sample.js +0 -90
- package/dist/tenant.sample.js.map +0 -1
- package/dist/workflows/generate-financial-summary.js +0 -61
- package/dist/workflows/generate-financial-summary.js.map +0 -1
- package/dist/workflows/generate-openbanking-overview.js +0 -58
- package/dist/workflows/generate-openbanking-overview.js.map +0 -1
- package/dist/workflows/index.js +0 -10
- package/dist/workflows/ingest-email-threads.js +0 -53
- package/dist/workflows/ingest-email-threads.js.map +0 -1
- package/dist/workflows/process-uploaded-document.js +0 -51
- package/dist/workflows/process-uploaded-document.js.map +0 -1
- package/dist/workflows/refresh-openbanking-balances.js +0 -67
- package/dist/workflows/refresh-openbanking-balances.js.map +0 -1
- package/dist/workflows/sync-openbanking-accounts.js +0 -67
- package/dist/workflows/sync-openbanking-accounts.js.map +0 -1
- package/dist/workflows/sync-openbanking-transactions.js +0 -67
- package/dist/workflows/sync-openbanking-transactions.js.map +0 -1
- package/dist/workflows/upcoming-payments-reminder.js +0 -56
- package/dist/workflows/upcoming-payments-reminder.js.map +0 -1
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { E5, x8 } from "../../schema/dist/index.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/models.js
|
|
4
|
-
const BankAccountRecord = new x8({
|
|
5
|
-
name: "BankAccountRecord",
|
|
6
|
-
description: "Canonical representation of a bank account synced from an open banking provider.",
|
|
7
|
-
fields: {
|
|
8
|
-
id: {
|
|
9
|
-
type: E5.ID(),
|
|
10
|
-
isOptional: false
|
|
11
|
-
},
|
|
12
|
-
tenantId: {
|
|
13
|
-
type: E5.ID(),
|
|
14
|
-
isOptional: false
|
|
15
|
-
},
|
|
16
|
-
userId: {
|
|
17
|
-
type: E5.ID(),
|
|
18
|
-
isOptional: false
|
|
19
|
-
},
|
|
20
|
-
connectionId: {
|
|
21
|
-
type: E5.ID(),
|
|
22
|
-
isOptional: false
|
|
23
|
-
},
|
|
24
|
-
externalId: {
|
|
25
|
-
type: E5.NonEmptyString(),
|
|
26
|
-
isOptional: false
|
|
27
|
-
},
|
|
28
|
-
institutionId: {
|
|
29
|
-
type: E5.NonEmptyString(),
|
|
30
|
-
isOptional: false
|
|
31
|
-
},
|
|
32
|
-
institutionName: {
|
|
33
|
-
type: E5.NonEmptyString(),
|
|
34
|
-
isOptional: false
|
|
35
|
-
},
|
|
36
|
-
institutionLogoUrl: {
|
|
37
|
-
type: E5.URL(),
|
|
38
|
-
isOptional: true
|
|
39
|
-
},
|
|
40
|
-
iban: {
|
|
41
|
-
type: E5.String_unsecure(),
|
|
42
|
-
isOptional: true
|
|
43
|
-
},
|
|
44
|
-
bic: {
|
|
45
|
-
type: E5.String_unsecure(),
|
|
46
|
-
isOptional: true
|
|
47
|
-
},
|
|
48
|
-
accountType: {
|
|
49
|
-
type: E5.NonEmptyString(),
|
|
50
|
-
isOptional: false
|
|
51
|
-
},
|
|
52
|
-
currency: {
|
|
53
|
-
type: E5.Currency(),
|
|
54
|
-
isOptional: false
|
|
55
|
-
},
|
|
56
|
-
displayName: {
|
|
57
|
-
type: E5.NonEmptyString(),
|
|
58
|
-
isOptional: false
|
|
59
|
-
},
|
|
60
|
-
accountNumberMasked: {
|
|
61
|
-
type: E5.String_unsecure(),
|
|
62
|
-
isOptional: true
|
|
63
|
-
},
|
|
64
|
-
productCode: {
|
|
65
|
-
type: E5.String_unsecure(),
|
|
66
|
-
isOptional: true
|
|
67
|
-
},
|
|
68
|
-
balance: {
|
|
69
|
-
type: E5.Float_unsecure(),
|
|
70
|
-
isOptional: true
|
|
71
|
-
},
|
|
72
|
-
availableBalance: {
|
|
73
|
-
type: E5.Float_unsecure(),
|
|
74
|
-
isOptional: true
|
|
75
|
-
},
|
|
76
|
-
lastSyncedAt: {
|
|
77
|
-
type: E5.DateTime(),
|
|
78
|
-
isOptional: false
|
|
79
|
-
},
|
|
80
|
-
createdAt: {
|
|
81
|
-
type: E5.DateTime(),
|
|
82
|
-
isOptional: false
|
|
83
|
-
},
|
|
84
|
-
updatedAt: {
|
|
85
|
-
type: E5.DateTime(),
|
|
86
|
-
isOptional: false
|
|
87
|
-
},
|
|
88
|
-
metadata: {
|
|
89
|
-
type: E5.JSONObject(),
|
|
90
|
-
isOptional: true
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const BankTransactionRecord = new x8({
|
|
95
|
-
name: "BankTransactionRecord",
|
|
96
|
-
description: "Canonical transaction entry mapped from Powens into the open banking ledger.",
|
|
97
|
-
fields: {
|
|
98
|
-
id: {
|
|
99
|
-
type: E5.ID(),
|
|
100
|
-
isOptional: false
|
|
101
|
-
},
|
|
102
|
-
accountId: {
|
|
103
|
-
type: E5.ID(),
|
|
104
|
-
isOptional: false
|
|
105
|
-
},
|
|
106
|
-
tenantId: {
|
|
107
|
-
type: E5.ID(),
|
|
108
|
-
isOptional: false
|
|
109
|
-
},
|
|
110
|
-
connectionId: {
|
|
111
|
-
type: E5.ID(),
|
|
112
|
-
isOptional: false
|
|
113
|
-
},
|
|
114
|
-
externalId: {
|
|
115
|
-
type: E5.NonEmptyString(),
|
|
116
|
-
isOptional: false
|
|
117
|
-
},
|
|
118
|
-
amount: {
|
|
119
|
-
type: E5.Float_unsecure(),
|
|
120
|
-
isOptional: false
|
|
121
|
-
},
|
|
122
|
-
currency: {
|
|
123
|
-
type: E5.Currency(),
|
|
124
|
-
isOptional: false
|
|
125
|
-
},
|
|
126
|
-
date: {
|
|
127
|
-
type: E5.DateTime(),
|
|
128
|
-
isOptional: false
|
|
129
|
-
},
|
|
130
|
-
bookingDate: {
|
|
131
|
-
type: E5.DateTime(),
|
|
132
|
-
isOptional: true
|
|
133
|
-
},
|
|
134
|
-
valueDate: {
|
|
135
|
-
type: E5.DateTime(),
|
|
136
|
-
isOptional: true
|
|
137
|
-
},
|
|
138
|
-
description: {
|
|
139
|
-
type: E5.String_unsecure(),
|
|
140
|
-
isOptional: true
|
|
141
|
-
},
|
|
142
|
-
counterpartyName: {
|
|
143
|
-
type: E5.String_unsecure(),
|
|
144
|
-
isOptional: true
|
|
145
|
-
},
|
|
146
|
-
counterpartyAccount: {
|
|
147
|
-
type: E5.String_unsecure(),
|
|
148
|
-
isOptional: true
|
|
149
|
-
},
|
|
150
|
-
merchantCategoryCode: {
|
|
151
|
-
type: E5.String_unsecure(),
|
|
152
|
-
isOptional: true
|
|
153
|
-
},
|
|
154
|
-
rawCategory: {
|
|
155
|
-
type: E5.String_unsecure(),
|
|
156
|
-
isOptional: true
|
|
157
|
-
},
|
|
158
|
-
standardizedCategory: {
|
|
159
|
-
type: E5.String_unsecure(),
|
|
160
|
-
isOptional: true
|
|
161
|
-
},
|
|
162
|
-
transactionType: {
|
|
163
|
-
type: E5.NonEmptyString(),
|
|
164
|
-
isOptional: false
|
|
165
|
-
},
|
|
166
|
-
status: {
|
|
167
|
-
type: E5.NonEmptyString(),
|
|
168
|
-
isOptional: false
|
|
169
|
-
},
|
|
170
|
-
runningBalance: {
|
|
171
|
-
type: E5.Float_unsecure(),
|
|
172
|
-
isOptional: true
|
|
173
|
-
},
|
|
174
|
-
metadata: {
|
|
175
|
-
type: E5.JSONObject(),
|
|
176
|
-
isOptional: true
|
|
177
|
-
},
|
|
178
|
-
createdAt: {
|
|
179
|
-
type: E5.DateTime(),
|
|
180
|
-
isOptional: false
|
|
181
|
-
},
|
|
182
|
-
updatedAt: {
|
|
183
|
-
type: E5.DateTime(),
|
|
184
|
-
isOptional: false
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
const AccountBalanceRecord = new x8({
|
|
189
|
-
name: "AccountBalanceRecord",
|
|
190
|
-
description: "Canonical balance snapshot computed from Powens balance payloads.",
|
|
191
|
-
fields: {
|
|
192
|
-
id: {
|
|
193
|
-
type: E5.ID(),
|
|
194
|
-
isOptional: false
|
|
195
|
-
},
|
|
196
|
-
accountId: {
|
|
197
|
-
type: E5.ID(),
|
|
198
|
-
isOptional: false
|
|
199
|
-
},
|
|
200
|
-
tenantId: {
|
|
201
|
-
type: E5.ID(),
|
|
202
|
-
isOptional: false
|
|
203
|
-
},
|
|
204
|
-
connectionId: {
|
|
205
|
-
type: E5.ID(),
|
|
206
|
-
isOptional: false
|
|
207
|
-
},
|
|
208
|
-
balanceType: {
|
|
209
|
-
type: E5.NonEmptyString(),
|
|
210
|
-
isOptional: false
|
|
211
|
-
},
|
|
212
|
-
currentBalance: {
|
|
213
|
-
type: E5.Float_unsecure(),
|
|
214
|
-
isOptional: false
|
|
215
|
-
},
|
|
216
|
-
availableBalance: {
|
|
217
|
-
type: E5.Float_unsecure(),
|
|
218
|
-
isOptional: true
|
|
219
|
-
},
|
|
220
|
-
currency: {
|
|
221
|
-
type: E5.Currency(),
|
|
222
|
-
isOptional: false
|
|
223
|
-
},
|
|
224
|
-
lastUpdatedAt: {
|
|
225
|
-
type: E5.DateTime(),
|
|
226
|
-
isOptional: false
|
|
227
|
-
},
|
|
228
|
-
createdAt: {
|
|
229
|
-
type: E5.DateTime(),
|
|
230
|
-
isOptional: false
|
|
231
|
-
},
|
|
232
|
-
metadata: {
|
|
233
|
-
type: E5.JSONObject(),
|
|
234
|
-
isOptional: true
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
|
|
239
|
-
//#endregion
|
|
240
|
-
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
|
|
241
|
-
//# sourceMappingURL=models.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/openbanking/models.js"],"sourcesContent":["import { E5, x8 } from \"../../schema/dist/index.js\";\n\n//#region src/integrations/openbanking/models.ts\nconst BankAccountRecord = new x8({\n\tname: \"BankAccountRecord\",\n\tdescription: \"Canonical representation of a bank account synced from an open banking provider.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tuserId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\texternalId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionName: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionLogoUrl: {\n\t\t\ttype: E5.URL(),\n\t\t\tisOptional: true\n\t\t},\n\t\tiban: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbic: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\taccountType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tdisplayName: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountNumberMasked: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tproductCode: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tavailableBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tlastSyncedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tupdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst BankTransactionRecord = new x8({\n\tname: \"BankTransactionRecord\",\n\tdescription: \"Canonical transaction entry mapped from Powens into the open banking ledger.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\texternalId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tamount: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tdate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tbookingDate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tvalueDate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tdescription: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcounterpartyName: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcounterpartyAccount: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tmerchantCategoryCode: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\trawCategory: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tstandardizedCategory: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\ttransactionType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tstatus: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\trunningBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tupdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t}\n\t}\n});\nconst AccountBalanceRecord = new x8({\n\tname: \"AccountBalanceRecord\",\n\tdescription: \"Canonical balance snapshot computed from Powens balance payloads.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tbalanceType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrentBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tavailableBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tlastUpdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\n\n//#endregion\nexport { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };"],"mappings":"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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/telemetry.js
|
|
2
|
-
const OPENBANKING_PII_FIELDS = [
|
|
3
|
-
"iban",
|
|
4
|
-
"bic",
|
|
5
|
-
"accountNumberMasked",
|
|
6
|
-
"accountNumber",
|
|
7
|
-
"counterpartyName",
|
|
8
|
-
"counterpartyAccount",
|
|
9
|
-
"description",
|
|
10
|
-
"merchantName",
|
|
11
|
-
"merchantCategoryCode",
|
|
12
|
-
"reference"
|
|
13
|
-
];
|
|
14
|
-
const OPENBANKING_TELEMETRY_EVENTS = {
|
|
15
|
-
accountsSynced: "openbanking.accounts.synced",
|
|
16
|
-
accountsSyncFailed: "openbanking.accounts.sync_failed",
|
|
17
|
-
transactionsSynced: "openbanking.transactions.synced",
|
|
18
|
-
transactionsSyncFailed: "openbanking.transactions.sync_failed",
|
|
19
|
-
balancesRefreshed: "openbanking.balances.refreshed",
|
|
20
|
-
balancesRefreshFailed: "openbanking.balances.refresh_failed",
|
|
21
|
-
overviewGenerated: "openbanking.overview.generated"
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS };
|
|
26
|
-
//# sourceMappingURL=telemetry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/openbanking/telemetry.js"],"sourcesContent":["//#region src/integrations/openbanking/telemetry.ts\nconst OPENBANKING_PII_FIELDS = [\n\t\"iban\",\n\t\"bic\",\n\t\"accountNumberMasked\",\n\t\"accountNumber\",\n\t\"counterpartyName\",\n\t\"counterpartyAccount\",\n\t\"description\",\n\t\"merchantName\",\n\t\"merchantCategoryCode\",\n\t\"reference\"\n];\nconst OPENBANKING_TELEMETRY_EVENTS = {\n\taccountsSynced: \"openbanking.accounts.synced\",\n\taccountsSyncFailed: \"openbanking.accounts.sync_failed\",\n\ttransactionsSynced: \"openbanking.transactions.synced\",\n\ttransactionsSyncFailed: \"openbanking.transactions.sync_failed\",\n\tbalancesRefreshed: \"openbanking.balances.refreshed\",\n\tbalancesRefreshFailed: \"openbanking.balances.refresh_failed\",\n\toverviewGenerated: \"openbanking.overview.generated\"\n};\nfunction redactOpenBankingTelemetryPayload(payload) {\n\tconst redacted = {};\n\tfor (const [key, value] of Object.entries(payload)) if (OPENBANKING_PII_FIELDS.includes(key)) redacted[key] = maskValue(value);\n\telse if (Array.isArray(value)) redacted[key] = value.map((item) => typeof item === \"object\" && item !== null ? redactOpenBankingTelemetryPayload(item) : item);\n\telse if (typeof value === \"object\" && value !== null) redacted[key] = redactOpenBankingTelemetryPayload(value);\n\telse redacted[key] = value;\n\treturn redacted;\n}\nfunction maskValue(value) {\n\tif (value == null) return \"\";\n\tconst str = String(value);\n\tif (str.length <= 4) return \"*\".repeat(str.length);\n\treturn `${\"*\".repeat(Math.max(str.length - 4, 0))}${str.slice(-4)}`;\n}\n\n//#endregion\nexport { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, redactOpenBankingTelemetryPayload };"],"mappings":";AACA,MAAM,yBAAyB;CAC9B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,MAAM,+BAA+B;CACpC,gBAAgB;CAChB,oBAAoB;CACpB,oBAAoB;CACpB,wBAAwB;CACxB,mBAAmB;CACnB,uBAAuB;CACvB,mBAAmB;CACnB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/providers/elevenlabs.js
|
|
4
|
-
const elevenLabsIntegrationSpec = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "ai-voice.elevenlabs",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "ai-voice",
|
|
9
|
-
displayName: "ElevenLabs Voice",
|
|
10
|
-
title: "ElevenLabs Text-to-Speech",
|
|
11
|
-
description: "ElevenLabs integration for neural voice synthesis and voice catalog access.",
|
|
12
|
-
domain: "ai",
|
|
13
|
-
owners: ["platform.ai"],
|
|
14
|
-
tags: ["voice", "tts"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
supportedModes: ["managed", "byok"],
|
|
18
|
-
capabilities: { provides: [{
|
|
19
|
-
key: "ai.voice.synthesis",
|
|
20
|
-
version: 1
|
|
21
|
-
}] },
|
|
22
|
-
configSchema: {
|
|
23
|
-
schema: {
|
|
24
|
-
type: "object",
|
|
25
|
-
properties: { defaultVoiceId: {
|
|
26
|
-
type: "string",
|
|
27
|
-
description: "Optional default voice identifier for synthesis requests."
|
|
28
|
-
} }
|
|
29
|
-
},
|
|
30
|
-
example: { defaultVoiceId: "pNInz6obpgDQGcFmaJgB" }
|
|
31
|
-
},
|
|
32
|
-
secretSchema: {
|
|
33
|
-
schema: {
|
|
34
|
-
type: "object",
|
|
35
|
-
required: ["apiKey"],
|
|
36
|
-
properties: { apiKey: {
|
|
37
|
-
type: "string",
|
|
38
|
-
description: "ElevenLabs API key with text-to-speech permissions."
|
|
39
|
-
} }
|
|
40
|
-
},
|
|
41
|
-
example: { apiKey: "eleven-***" }
|
|
42
|
-
},
|
|
43
|
-
healthCheck: {
|
|
44
|
-
method: "custom",
|
|
45
|
-
timeoutMs: 4e3
|
|
46
|
-
},
|
|
47
|
-
docsUrl: "https://elevenlabs.io/docs/api-reference/text-to-speech",
|
|
48
|
-
constraints: { rateLimit: { rpm: 120 } },
|
|
49
|
-
byokSetup: { setupInstructions: "Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope." }
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
//#endregion
|
|
53
|
-
//# sourceMappingURL=elevenlabs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"elevenlabs.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/elevenlabs.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/elevenlabs.ts\nconst elevenLabsIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"ai-voice.elevenlabs\",\n\t\tversion: 1,\n\t\tcategory: \"ai-voice\",\n\t\tdisplayName: \"ElevenLabs Voice\",\n\t\ttitle: \"ElevenLabs Text-to-Speech\",\n\t\tdescription: \"ElevenLabs integration for neural voice synthesis and voice catalog access.\",\n\t\tdomain: \"ai\",\n\t\towners: [\"platform.ai\"],\n\t\ttags: [\"voice\", \"tts\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"ai.voice.synthesis\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: { defaultVoiceId: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"Optional default voice identifier for synthesis requests.\"\n\t\t\t} }\n\t\t},\n\t\texample: { defaultVoiceId: \"pNInz6obpgDQGcFmaJgB\" }\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"apiKey\"],\n\t\t\tproperties: { apiKey: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"ElevenLabs API key with text-to-speech permissions.\"\n\t\t\t} }\n\t\t},\n\t\texample: { apiKey: \"eleven-***\" }\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://elevenlabs.io/docs/api-reference/text-to-speech\",\n\tconstraints: { rateLimit: { rpm: 120 } },\n\tbyokSetup: { setupInstructions: \"Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope.\" }\n};\nfunction registerElevenLabsIntegration(registry) {\n\treturn registry.register(elevenLabsIntegrationSpec);\n}\n\n//#endregion\nexport { elevenLabsIntegrationSpec, registerElevenLabsIntegration };"],"mappings":";;;AAGA,MAAM,4BAA4B;CACjC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,cAAc;EACvB,MAAM,CAAC,SAAS,MAAM;EACtB,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY,EAAE,gBAAgB;IAC7B,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,gBAAgB,wBAAwB;EACnD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,SAAS;GACpB,YAAY,EAAE,QAAQ;IACrB,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,QAAQ,cAAc;EACjC;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE;CACxC,WAAW,EAAE,mBAAmB,+FAA+F;CAC/H"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/providers/gcs-storage.js
|
|
4
|
-
const gcsStorageIntegrationSpec = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "storage.gcs",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "storage",
|
|
9
|
-
displayName: "Google Cloud Storage",
|
|
10
|
-
title: "Google Cloud Storage Buckets",
|
|
11
|
-
description: "Google Cloud Storage integration for object storage and retrieval.",
|
|
12
|
-
domain: "infrastructure",
|
|
13
|
-
owners: ["platform.infrastructure"],
|
|
14
|
-
tags: [
|
|
15
|
-
"storage",
|
|
16
|
-
"gcs",
|
|
17
|
-
"google-cloud"
|
|
18
|
-
],
|
|
19
|
-
stability: StabilityEnum.Beta
|
|
20
|
-
},
|
|
21
|
-
supportedModes: ["managed", "byok"],
|
|
22
|
-
capabilities: { provides: [{
|
|
23
|
-
key: "storage.objects",
|
|
24
|
-
version: 1
|
|
25
|
-
}] },
|
|
26
|
-
configSchema: {
|
|
27
|
-
schema: {
|
|
28
|
-
type: "object",
|
|
29
|
-
required: ["bucket"],
|
|
30
|
-
properties: {
|
|
31
|
-
bucket: {
|
|
32
|
-
type: "string",
|
|
33
|
-
description: "Primary bucket name used for storing objects."
|
|
34
|
-
},
|
|
35
|
-
prefix: {
|
|
36
|
-
type: "string",
|
|
37
|
-
description: "Optional prefix applied to object keys."
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
example: {
|
|
42
|
-
bucket: "pfo-tenant-assets",
|
|
43
|
-
prefix: "documents/"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
secretSchema: {
|
|
47
|
-
schema: {
|
|
48
|
-
type: "object",
|
|
49
|
-
properties: {
|
|
50
|
-
type: {
|
|
51
|
-
type: "string",
|
|
52
|
-
description: "Service account type field from Google credentials JSON (if provided)."
|
|
53
|
-
},
|
|
54
|
-
client_email: { type: "string" },
|
|
55
|
-
private_key: { type: "string" },
|
|
56
|
-
project_id: { type: "string" }
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
example: {
|
|
60
|
-
type: "service_account",
|
|
61
|
-
client_email: "svc-account@example.iam.gserviceaccount.com",
|
|
62
|
-
private_key: "-----BEGIN PRIVATE KEY-----...",
|
|
63
|
-
project_id: "example-project"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
healthCheck: {
|
|
67
|
-
method: "ping",
|
|
68
|
-
timeoutMs: 4e3
|
|
69
|
-
},
|
|
70
|
-
docsUrl: "https://cloud.google.com/storage/docs/apis",
|
|
71
|
-
constraints: { quotas: { storageGb: 5120 } },
|
|
72
|
-
byokSetup: { setupInstructions: "Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store." }
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
//#endregion
|
|
76
|
-
//# sourceMappingURL=gcs-storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gcs-storage.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/gcs-storage.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/gcs-storage.ts\nconst gcsStorageIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"storage.gcs\",\n\t\tversion: 1,\n\t\tcategory: \"storage\",\n\t\tdisplayName: \"Google Cloud Storage\",\n\t\ttitle: \"Google Cloud Storage Buckets\",\n\t\tdescription: \"Google Cloud Storage integration for object storage and retrieval.\",\n\t\tdomain: \"infrastructure\",\n\t\towners: [\"platform.infrastructure\"],\n\t\ttags: [\n\t\t\t\"storage\",\n\t\t\t\"gcs\",\n\t\t\t\"google-cloud\"\n\t\t],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"storage.objects\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"bucket\"],\n\t\t\tproperties: {\n\t\t\t\tbucket: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Primary bucket name used for storing objects.\"\n\t\t\t\t},\n\t\t\t\tprefix: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Optional prefix applied to object keys.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tbucket: \"pfo-tenant-assets\",\n\t\t\tprefix: \"documents/\"\n\t\t}\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: {\n\t\t\t\ttype: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account type field from Google credentials JSON (if provided).\"\n\t\t\t\t},\n\t\t\t\tclient_email: { type: \"string\" },\n\t\t\t\tprivate_key: { type: \"string\" },\n\t\t\t\tproject_id: { type: \"string\" }\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\ttype: \"service_account\",\n\t\t\tclient_email: \"svc-account@example.iam.gserviceaccount.com\",\n\t\t\tprivate_key: \"-----BEGIN PRIVATE KEY-----...\",\n\t\t\tproject_id: \"example-project\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"ping\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://cloud.google.com/storage/docs/apis\",\n\tconstraints: { quotas: { storageGb: 5120 } },\n\tbyokSetup: { setupInstructions: \"Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store.\" }\n};\nfunction registerGcsStorageIntegration(registry) {\n\treturn registry.register(gcsStorageIntegrationSpec);\n}\n\n//#endregion\nexport { gcsStorageIntegrationSpec, registerGcsStorageIntegration };"],"mappings":";;;AAGA,MAAM,4BAA4B;CACjC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,0BAA0B;EACnC,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,SAAS;GACpB,YAAY;IACX,QAAQ;KACP,MAAM;KACN,aAAa;KACb;IACD,QAAQ;KACP,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,QAAQ;GACR,QAAQ;GACR;EACD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY;IACX,MAAM;KACL,MAAM;KACN,aAAa;KACb;IACD,cAAc,EAAE,MAAM,UAAU;IAChC,aAAa,EAAE,MAAM,UAAU;IAC/B,YAAY,EAAE,MAAM,UAAU;IAC9B;GACD;EACD,SAAS;GACR,MAAM;GACN,cAAc;GACd,aAAa;GACb,YAAY;GACZ;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,QAAQ,EAAE,WAAW,MAAM,EAAE;CAC5C,WAAW,EAAE,mBAAmB,6HAA6H;CAC7J"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/providers/gmail.js
|
|
4
|
-
const gmailIntegrationSpec = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "email.gmail",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "email",
|
|
9
|
-
displayName: "Gmail API",
|
|
10
|
-
title: "Google Gmail API",
|
|
11
|
-
description: "Gmail integration supporting inbound thread ingestion and outbound transactional email.",
|
|
12
|
-
domain: "communications",
|
|
13
|
-
owners: ["platform.messaging"],
|
|
14
|
-
tags: ["email", "gmail"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
supportedModes: ["managed", "byok"],
|
|
18
|
-
capabilities: { provides: [{
|
|
19
|
-
key: "email.inbound",
|
|
20
|
-
version: 1
|
|
21
|
-
}, {
|
|
22
|
-
key: "email.outbound",
|
|
23
|
-
version: 1
|
|
24
|
-
}] },
|
|
25
|
-
configSchema: {
|
|
26
|
-
schema: {
|
|
27
|
-
type: "object",
|
|
28
|
-
properties: {
|
|
29
|
-
labelIds: {
|
|
30
|
-
type: "array",
|
|
31
|
-
items: { type: "string" },
|
|
32
|
-
description: "Optional list of label IDs to scope inbound sync."
|
|
33
|
-
},
|
|
34
|
-
includeSpamTrash: {
|
|
35
|
-
type: "boolean",
|
|
36
|
-
description: "Whether to include spam or trash messages during sync."
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
example: {
|
|
41
|
-
labelIds: ["INBOX"],
|
|
42
|
-
includeSpamTrash: false
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
secretSchema: {
|
|
46
|
-
schema: {
|
|
47
|
-
type: "object",
|
|
48
|
-
required: [
|
|
49
|
-
"clientId",
|
|
50
|
-
"clientSecret",
|
|
51
|
-
"refreshToken"
|
|
52
|
-
],
|
|
53
|
-
properties: {
|
|
54
|
-
clientId: {
|
|
55
|
-
type: "string",
|
|
56
|
-
description: "OAuth client ID for the Google Cloud project."
|
|
57
|
-
},
|
|
58
|
-
clientSecret: {
|
|
59
|
-
type: "string",
|
|
60
|
-
description: "OAuth client secret for the Google Cloud project."
|
|
61
|
-
},
|
|
62
|
-
refreshToken: {
|
|
63
|
-
type: "string",
|
|
64
|
-
description: "OAuth refresh token for delegated Gmail access."
|
|
65
|
-
},
|
|
66
|
-
redirectUri: {
|
|
67
|
-
type: "string",
|
|
68
|
-
description: "Optional redirect URI used when issuing the refresh token."
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
example: {
|
|
73
|
-
clientId: "xxx.apps.googleusercontent.com",
|
|
74
|
-
clientSecret: "secret",
|
|
75
|
-
refreshToken: "refresh-token"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
healthCheck: {
|
|
79
|
-
method: "custom",
|
|
80
|
-
timeoutMs: 4e3
|
|
81
|
-
},
|
|
82
|
-
docsUrl: "https://developers.google.com/gmail/api",
|
|
83
|
-
constraints: { rateLimit: { rpm: 600 } },
|
|
84
|
-
byokSetup: { setupInstructions: "Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token." }
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
//#endregion
|
|
88
|
-
//# sourceMappingURL=gmail.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gmail.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/gmail.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/gmail.ts\nconst gmailIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"email.gmail\",\n\t\tversion: 1,\n\t\tcategory: \"email\",\n\t\tdisplayName: \"Gmail API\",\n\t\ttitle: \"Google Gmail API\",\n\t\tdescription: \"Gmail integration supporting inbound thread ingestion and outbound transactional email.\",\n\t\tdomain: \"communications\",\n\t\towners: [\"platform.messaging\"],\n\t\ttags: [\"email\", \"gmail\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"email.inbound\",\n\t\tversion: 1\n\t}, {\n\t\tkey: \"email.outbound\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: {\n\t\t\t\tlabelIds: {\n\t\t\t\t\ttype: \"array\",\n\t\t\t\t\titems: { type: \"string\" },\n\t\t\t\t\tdescription: \"Optional list of label IDs to scope inbound sync.\"\n\t\t\t\t},\n\t\t\t\tincludeSpamTrash: {\n\t\t\t\t\ttype: \"boolean\",\n\t\t\t\t\tdescription: \"Whether to include spam or trash messages during sync.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tlabelIds: [\"INBOX\"],\n\t\t\tincludeSpamTrash: false\n\t\t}\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\n\t\t\t\t\"clientId\",\n\t\t\t\t\"clientSecret\",\n\t\t\t\t\"refreshToken\"\n\t\t\t],\n\t\t\tproperties: {\n\t\t\t\tclientId: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth client ID for the Google Cloud project.\"\n\t\t\t\t},\n\t\t\t\tclientSecret: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth client secret for the Google Cloud project.\"\n\t\t\t\t},\n\t\t\t\trefreshToken: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth refresh token for delegated Gmail access.\"\n\t\t\t\t},\n\t\t\t\tredirectUri: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Optional redirect URI used when issuing the refresh token.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tclientId: \"xxx.apps.googleusercontent.com\",\n\t\t\tclientSecret: \"secret\",\n\t\t\trefreshToken: \"refresh-token\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://developers.google.com/gmail/api\",\n\tconstraints: { rateLimit: { rpm: 600 } },\n\tbyokSetup: { setupInstructions: \"Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token.\" }\n};\nfunction registerGmailIntegration(registry) {\n\treturn registry.register(gmailIntegrationSpec);\n}\n\n//#endregion\nexport { gmailIntegrationSpec, registerGmailIntegration };"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC5B,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,qBAAqB;EAC9B,MAAM,CAAC,SAAS,QAAQ;EACxB,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,EAAE;EACF,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY;IACX,UAAU;KACT,MAAM;KACN,OAAO,EAAE,MAAM,UAAU;KACzB,aAAa;KACb;IACD,kBAAkB;KACjB,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,UAAU,CAAC,QAAQ;GACnB,kBAAkB;GAClB;EACD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU;IACT;IACA;IACA;IACA;GACD,YAAY;IACX,UAAU;KACT,MAAM;KACN,aAAa;KACb;IACD,cAAc;KACb,MAAM;KACN,aAAa;KACb;IACD,cAAc;KACb,MAAM;KACN,aAAa;KACb;IACD,aAAa;KACZ,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,UAAU;GACV,cAAc;GACd,cAAc;GACd;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE;CACxC,WAAW,EAAE,mBAAmB,sJAAsJ;CACtL"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/providers/google-calendar.js
|
|
4
|
-
const googleCalendarIntegrationSpec = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "calendar.google",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "calendar",
|
|
9
|
-
displayName: "Google Calendar",
|
|
10
|
-
title: "Google Calendar API",
|
|
11
|
-
description: "Google Calendar integration for event creation, updates, and scheduling automations.",
|
|
12
|
-
domain: "productivity",
|
|
13
|
-
owners: ["platform.messaging"],
|
|
14
|
-
tags: ["calendar", "google"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
supportedModes: ["managed", "byok"],
|
|
18
|
-
capabilities: { provides: [{
|
|
19
|
-
key: "calendar.events",
|
|
20
|
-
version: 1
|
|
21
|
-
}] },
|
|
22
|
-
configSchema: {
|
|
23
|
-
schema: {
|
|
24
|
-
type: "object",
|
|
25
|
-
properties: { calendarId: {
|
|
26
|
-
type: "string",
|
|
27
|
-
description: "Default calendar identifier (defaults to primary)."
|
|
28
|
-
} }
|
|
29
|
-
},
|
|
30
|
-
example: { calendarId: "primary" }
|
|
31
|
-
},
|
|
32
|
-
secretSchema: {
|
|
33
|
-
schema: {
|
|
34
|
-
type: "object",
|
|
35
|
-
required: ["clientEmail", "privateKey"],
|
|
36
|
-
properties: {
|
|
37
|
-
clientEmail: {
|
|
38
|
-
type: "string",
|
|
39
|
-
description: "Service account client email."
|
|
40
|
-
},
|
|
41
|
-
privateKey: {
|
|
42
|
-
type: "string",
|
|
43
|
-
description: "Service account private key."
|
|
44
|
-
},
|
|
45
|
-
projectId: {
|
|
46
|
-
type: "string",
|
|
47
|
-
description: "Google Cloud project ID."
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
example: {
|
|
52
|
-
clientEmail: "svc-calendar@example.iam.gserviceaccount.com",
|
|
53
|
-
privateKey: "-----BEGIN PRIVATE KEY-----...",
|
|
54
|
-
projectId: "calendar-project"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
healthCheck: {
|
|
58
|
-
method: "custom",
|
|
59
|
-
timeoutMs: 4e3
|
|
60
|
-
},
|
|
61
|
-
docsUrl: "https://developers.google.com/calendar/api",
|
|
62
|
-
constraints: {},
|
|
63
|
-
byokSetup: { setupInstructions: "Create a Google service account with Calendar access and share the target calendars with the service account email." }
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
//#endregion
|
|
67
|
-
//# sourceMappingURL=google-calendar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-calendar.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/google-calendar.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/google-calendar.ts\nconst googleCalendarIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"calendar.google\",\n\t\tversion: 1,\n\t\tcategory: \"calendar\",\n\t\tdisplayName: \"Google Calendar\",\n\t\ttitle: \"Google Calendar API\",\n\t\tdescription: \"Google Calendar integration for event creation, updates, and scheduling automations.\",\n\t\tdomain: \"productivity\",\n\t\towners: [\"platform.messaging\"],\n\t\ttags: [\"calendar\", \"google\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"calendar.events\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: { calendarId: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"Default calendar identifier (defaults to primary).\"\n\t\t\t} }\n\t\t},\n\t\texample: { calendarId: \"primary\" }\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"clientEmail\", \"privateKey\"],\n\t\t\tproperties: {\n\t\t\t\tclientEmail: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account client email.\"\n\t\t\t\t},\n\t\t\t\tprivateKey: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account private key.\"\n\t\t\t\t},\n\t\t\t\tprojectId: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Google Cloud project ID.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tclientEmail: \"svc-calendar@example.iam.gserviceaccount.com\",\n\t\t\tprivateKey: \"-----BEGIN PRIVATE KEY-----...\",\n\t\t\tprojectId: \"calendar-project\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://developers.google.com/calendar/api\",\n\tconstraints: {},\n\tbyokSetup: { setupInstructions: \"Create a Google service account with Calendar access and share the target calendars with the service account email.\" }\n};\nfunction registerGoogleCalendarIntegration(registry) {\n\treturn registry.register(googleCalendarIntegrationSpec);\n}\n\n//#endregion\nexport { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration };"],"mappings":";;;AAGA,MAAM,gCAAgC;CACrC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,qBAAqB;EAC9B,MAAM,CAAC,YAAY,SAAS;EAC5B,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY,EAAE,YAAY;IACzB,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,YAAY,WAAW;EAClC;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,eAAe,aAAa;GACvC,YAAY;IACX,aAAa;KACZ,MAAM;KACN,aAAa;KACb;IACD,YAAY;KACX,MAAM;KACN,aAAa;KACb;IACD,WAAW;KACV,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,aAAa;GACb,YAAY;GACZ,WAAW;GACX;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE;CACf,WAAW,EAAE,mBAAmB,uHAAuH;CACvJ"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import "./stripe.js";
|
|
2
|
-
import "./postmark.js";
|
|
3
|
-
import "./qdrant.js";
|
|
4
|
-
import "./mistral.js";
|
|
5
|
-
import "./elevenlabs.js";
|
|
6
|
-
import "./gmail.js";
|
|
7
|
-
import "./google-calendar.js";
|
|
8
|
-
import "./twilio-sms.js";
|
|
9
|
-
import "./gcs-storage.js";
|
|
10
|
-
import "./powens.js";
|
|
11
|
-
import "./registry.js";
|