@lssm/example.analytics-dashboard 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217063201
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/dashboard/dashboard.contracts.d.ts +131 -131
- package/dist/dashboard/dashboard.contracts.js +5 -5
- package/dist/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.js +5 -4
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/dashboard/dashboard.schema.js +44 -42
- package/dist/docs/analytics-dashboard.docblock.js +3 -2
- package/dist/events.d.ts +40 -40
- package/dist/events.js +27 -24
- package/dist/index.d.ts +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +84 -0
- package/dist/libs/contracts/dist/client/index.js +5 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -0
- package/dist/libs/contracts/dist/client/react/index.js +4 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +57 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +91 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +365 -0
- package/dist/libs/contracts/dist/docs/index.js +29 -0
- package/dist/libs/contracts/dist/docs/presentations.js +67 -0
- package/dist/libs/contracts/dist/docs/registry.js +42 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +398 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +83 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +155 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +101 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +80 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +228 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +357 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +21 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +281 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +22 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +79 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +84 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +22 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +40 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +86 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +22 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +62 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +155 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +101 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -0
- package/dist/libs/contracts/dist/events.js +9 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +71 -0
- package/dist/libs/contracts/dist/install.js +2 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +371 -0
- package/dist/libs/contracts/dist/integrations/index.js +18 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +225 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +157 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +208 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +240 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +24 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +299 -0
- package/dist/libs/contracts/dist/knowledge/index.js +7 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -0
- package/dist/libs/contracts/dist/llm/exporters.js +18 -0
- package/dist/libs/contracts/dist/llm/index.js +2 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +179 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +36 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +7 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +1 -0
- package/dist/libs/contracts/dist/registry.js +2 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +39 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +222 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +23 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -0
- package/dist/libs/contracts/dist/server/index.js +8 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +25 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +2 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +40 -0
- package/dist/libs/schema/dist/FieldType.js +39 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +222 -0
- package/dist/libs/schema/dist/SchemaModel.js +24 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +2 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +6 -0
- package/dist/query/query.contracts.d.ts +44 -44
- package/dist/query/query.contracts.js +3 -3
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.enum.js +3 -2
- package/dist/query/query.schema.d.ts +34 -34
- package/dist/query/query.schema.js +34 -32
- package/package.json +10 -10
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { t } from "../../schema/dist/SchemaModel.js";
|
|
2
|
+
import { l } from "../../schema/dist/ScalarTypeEnum.js";
|
|
3
|
+
import "../../schema/dist/index.js";
|
|
4
|
+
|
|
5
|
+
//#region ../../libs/contracts/dist/integrations/openbanking/models.js
|
|
6
|
+
const n = new t({
|
|
7
|
+
name: `BankAccountRecord`,
|
|
8
|
+
description: `Canonical representation of a bank account synced from an open banking provider.`,
|
|
9
|
+
fields: {
|
|
10
|
+
id: {
|
|
11
|
+
type: l.ID(),
|
|
12
|
+
isOptional: !1
|
|
13
|
+
},
|
|
14
|
+
tenantId: {
|
|
15
|
+
type: l.ID(),
|
|
16
|
+
isOptional: !1
|
|
17
|
+
},
|
|
18
|
+
userId: {
|
|
19
|
+
type: l.ID(),
|
|
20
|
+
isOptional: !1
|
|
21
|
+
},
|
|
22
|
+
connectionId: {
|
|
23
|
+
type: l.ID(),
|
|
24
|
+
isOptional: !1
|
|
25
|
+
},
|
|
26
|
+
externalId: {
|
|
27
|
+
type: l.NonEmptyString(),
|
|
28
|
+
isOptional: !1
|
|
29
|
+
},
|
|
30
|
+
institutionId: {
|
|
31
|
+
type: l.NonEmptyString(),
|
|
32
|
+
isOptional: !1
|
|
33
|
+
},
|
|
34
|
+
institutionName: {
|
|
35
|
+
type: l.NonEmptyString(),
|
|
36
|
+
isOptional: !1
|
|
37
|
+
},
|
|
38
|
+
institutionLogoUrl: {
|
|
39
|
+
type: l.URL(),
|
|
40
|
+
isOptional: !0
|
|
41
|
+
},
|
|
42
|
+
iban: {
|
|
43
|
+
type: l.String_unsecure(),
|
|
44
|
+
isOptional: !0
|
|
45
|
+
},
|
|
46
|
+
bic: {
|
|
47
|
+
type: l.String_unsecure(),
|
|
48
|
+
isOptional: !0
|
|
49
|
+
},
|
|
50
|
+
accountType: {
|
|
51
|
+
type: l.NonEmptyString(),
|
|
52
|
+
isOptional: !1
|
|
53
|
+
},
|
|
54
|
+
currency: {
|
|
55
|
+
type: l.Currency(),
|
|
56
|
+
isOptional: !1
|
|
57
|
+
},
|
|
58
|
+
displayName: {
|
|
59
|
+
type: l.NonEmptyString(),
|
|
60
|
+
isOptional: !1
|
|
61
|
+
},
|
|
62
|
+
accountNumberMasked: {
|
|
63
|
+
type: l.String_unsecure(),
|
|
64
|
+
isOptional: !0
|
|
65
|
+
},
|
|
66
|
+
productCode: {
|
|
67
|
+
type: l.String_unsecure(),
|
|
68
|
+
isOptional: !0
|
|
69
|
+
},
|
|
70
|
+
balance: {
|
|
71
|
+
type: l.Float_unsecure(),
|
|
72
|
+
isOptional: !0
|
|
73
|
+
},
|
|
74
|
+
availableBalance: {
|
|
75
|
+
type: l.Float_unsecure(),
|
|
76
|
+
isOptional: !0
|
|
77
|
+
},
|
|
78
|
+
lastSyncedAt: {
|
|
79
|
+
type: l.DateTime(),
|
|
80
|
+
isOptional: !1
|
|
81
|
+
},
|
|
82
|
+
createdAt: {
|
|
83
|
+
type: l.DateTime(),
|
|
84
|
+
isOptional: !1
|
|
85
|
+
},
|
|
86
|
+
updatedAt: {
|
|
87
|
+
type: l.DateTime(),
|
|
88
|
+
isOptional: !1
|
|
89
|
+
},
|
|
90
|
+
metadata: {
|
|
91
|
+
type: l.JSONObject(),
|
|
92
|
+
isOptional: !0
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}), r = new t({
|
|
96
|
+
name: `BankTransactionRecord`,
|
|
97
|
+
description: `Canonical transaction entry mapped from Powens into the open banking ledger.`,
|
|
98
|
+
fields: {
|
|
99
|
+
id: {
|
|
100
|
+
type: l.ID(),
|
|
101
|
+
isOptional: !1
|
|
102
|
+
},
|
|
103
|
+
accountId: {
|
|
104
|
+
type: l.ID(),
|
|
105
|
+
isOptional: !1
|
|
106
|
+
},
|
|
107
|
+
tenantId: {
|
|
108
|
+
type: l.ID(),
|
|
109
|
+
isOptional: !1
|
|
110
|
+
},
|
|
111
|
+
connectionId: {
|
|
112
|
+
type: l.ID(),
|
|
113
|
+
isOptional: !1
|
|
114
|
+
},
|
|
115
|
+
externalId: {
|
|
116
|
+
type: l.NonEmptyString(),
|
|
117
|
+
isOptional: !1
|
|
118
|
+
},
|
|
119
|
+
amount: {
|
|
120
|
+
type: l.Float_unsecure(),
|
|
121
|
+
isOptional: !1
|
|
122
|
+
},
|
|
123
|
+
currency: {
|
|
124
|
+
type: l.Currency(),
|
|
125
|
+
isOptional: !1
|
|
126
|
+
},
|
|
127
|
+
date: {
|
|
128
|
+
type: l.DateTime(),
|
|
129
|
+
isOptional: !1
|
|
130
|
+
},
|
|
131
|
+
bookingDate: {
|
|
132
|
+
type: l.DateTime(),
|
|
133
|
+
isOptional: !0
|
|
134
|
+
},
|
|
135
|
+
valueDate: {
|
|
136
|
+
type: l.DateTime(),
|
|
137
|
+
isOptional: !0
|
|
138
|
+
},
|
|
139
|
+
description: {
|
|
140
|
+
type: l.String_unsecure(),
|
|
141
|
+
isOptional: !0
|
|
142
|
+
},
|
|
143
|
+
counterpartyName: {
|
|
144
|
+
type: l.String_unsecure(),
|
|
145
|
+
isOptional: !0
|
|
146
|
+
},
|
|
147
|
+
counterpartyAccount: {
|
|
148
|
+
type: l.String_unsecure(),
|
|
149
|
+
isOptional: !0
|
|
150
|
+
},
|
|
151
|
+
merchantCategoryCode: {
|
|
152
|
+
type: l.String_unsecure(),
|
|
153
|
+
isOptional: !0
|
|
154
|
+
},
|
|
155
|
+
rawCategory: {
|
|
156
|
+
type: l.String_unsecure(),
|
|
157
|
+
isOptional: !0
|
|
158
|
+
},
|
|
159
|
+
standardizedCategory: {
|
|
160
|
+
type: l.String_unsecure(),
|
|
161
|
+
isOptional: !0
|
|
162
|
+
},
|
|
163
|
+
transactionType: {
|
|
164
|
+
type: l.NonEmptyString(),
|
|
165
|
+
isOptional: !1
|
|
166
|
+
},
|
|
167
|
+
status: {
|
|
168
|
+
type: l.NonEmptyString(),
|
|
169
|
+
isOptional: !1
|
|
170
|
+
},
|
|
171
|
+
runningBalance: {
|
|
172
|
+
type: l.Float_unsecure(),
|
|
173
|
+
isOptional: !0
|
|
174
|
+
},
|
|
175
|
+
metadata: {
|
|
176
|
+
type: l.JSONObject(),
|
|
177
|
+
isOptional: !0
|
|
178
|
+
},
|
|
179
|
+
createdAt: {
|
|
180
|
+
type: l.DateTime(),
|
|
181
|
+
isOptional: !1
|
|
182
|
+
},
|
|
183
|
+
updatedAt: {
|
|
184
|
+
type: l.DateTime(),
|
|
185
|
+
isOptional: !1
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}), i = new t({
|
|
189
|
+
name: `AccountBalanceRecord`,
|
|
190
|
+
description: `Canonical balance snapshot computed from Powens balance payloads.`,
|
|
191
|
+
fields: {
|
|
192
|
+
id: {
|
|
193
|
+
type: l.ID(),
|
|
194
|
+
isOptional: !1
|
|
195
|
+
},
|
|
196
|
+
accountId: {
|
|
197
|
+
type: l.ID(),
|
|
198
|
+
isOptional: !1
|
|
199
|
+
},
|
|
200
|
+
tenantId: {
|
|
201
|
+
type: l.ID(),
|
|
202
|
+
isOptional: !1
|
|
203
|
+
},
|
|
204
|
+
connectionId: {
|
|
205
|
+
type: l.ID(),
|
|
206
|
+
isOptional: !1
|
|
207
|
+
},
|
|
208
|
+
balanceType: {
|
|
209
|
+
type: l.NonEmptyString(),
|
|
210
|
+
isOptional: !1
|
|
211
|
+
},
|
|
212
|
+
currentBalance: {
|
|
213
|
+
type: l.Float_unsecure(),
|
|
214
|
+
isOptional: !1
|
|
215
|
+
},
|
|
216
|
+
availableBalance: {
|
|
217
|
+
type: l.Float_unsecure(),
|
|
218
|
+
isOptional: !0
|
|
219
|
+
},
|
|
220
|
+
currency: {
|
|
221
|
+
type: l.Currency(),
|
|
222
|
+
isOptional: !1
|
|
223
|
+
},
|
|
224
|
+
lastUpdatedAt: {
|
|
225
|
+
type: l.DateTime(),
|
|
226
|
+
isOptional: !1
|
|
227
|
+
},
|
|
228
|
+
createdAt: {
|
|
229
|
+
type: l.DateTime(),
|
|
230
|
+
isOptional: !1
|
|
231
|
+
},
|
|
232
|
+
metadata: {
|
|
233
|
+
type: l.JSONObject(),
|
|
234
|
+
isOptional: !0
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
//#endregion
|
|
240
|
+
export { i, n, r };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region ../../libs/contracts/dist/integrations/openbanking/telemetry.js
|
|
2
|
+
const e = [
|
|
3
|
+
`iban`,
|
|
4
|
+
`bic`,
|
|
5
|
+
`accountNumberMasked`,
|
|
6
|
+
`accountNumber`,
|
|
7
|
+
`counterpartyName`,
|
|
8
|
+
`counterpartyAccount`,
|
|
9
|
+
`description`,
|
|
10
|
+
`merchantName`,
|
|
11
|
+
`merchantCategoryCode`,
|
|
12
|
+
`reference`
|
|
13
|
+
], t = {
|
|
14
|
+
accountsSynced: `openbanking.accounts.synced`,
|
|
15
|
+
accountsSyncFailed: `openbanking.accounts.sync_failed`,
|
|
16
|
+
transactionsSynced: `openbanking.transactions.synced`,
|
|
17
|
+
transactionsSyncFailed: `openbanking.transactions.sync_failed`,
|
|
18
|
+
balancesRefreshed: `openbanking.balances.refreshed`,
|
|
19
|
+
balancesRefreshFailed: `openbanking.balances.refresh_failed`,
|
|
20
|
+
overviewGenerated: `openbanking.overview.generated`
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/elevenlabs.js
|
|
4
|
+
const t = {
|
|
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: e.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
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/gcs-storage.js
|
|
4
|
+
const t = {
|
|
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: e.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
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/gmail.js
|
|
4
|
+
const t = {
|
|
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: e.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: !1
|
|
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
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/google-calendar.js
|
|
4
|
+
const t = {
|
|
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: e.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
|
|
@@ -0,0 +1,11 @@
|
|
|
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";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/mistral.js
|
|
4
|
+
const t = {
|
|
5
|
+
meta: {
|
|
6
|
+
key: `ai-llm.mistral`,
|
|
7
|
+
version: 1,
|
|
8
|
+
category: `ai-llm`,
|
|
9
|
+
displayName: `Mistral AI`,
|
|
10
|
+
title: `Mistral Large Language Model`,
|
|
11
|
+
description: `Mistral integration providing chat completions and embedding generation.`,
|
|
12
|
+
domain: `ai`,
|
|
13
|
+
owners: [`platform.ai`],
|
|
14
|
+
tags: [
|
|
15
|
+
`ai`,
|
|
16
|
+
`llm`,
|
|
17
|
+
`embeddings`
|
|
18
|
+
],
|
|
19
|
+
stability: e.Experimental
|
|
20
|
+
},
|
|
21
|
+
supportedModes: [`managed`, `byok`],
|
|
22
|
+
capabilities: { provides: [{
|
|
23
|
+
key: `ai.chat`,
|
|
24
|
+
version: 1
|
|
25
|
+
}, {
|
|
26
|
+
key: `ai.embeddings`,
|
|
27
|
+
version: 1
|
|
28
|
+
}] },
|
|
29
|
+
configSchema: {
|
|
30
|
+
schema: {
|
|
31
|
+
type: `object`,
|
|
32
|
+
properties: {
|
|
33
|
+
model: {
|
|
34
|
+
type: `string`,
|
|
35
|
+
description: `Default chat completion model (e.g., mistral-large-latest).`
|
|
36
|
+
},
|
|
37
|
+
embeddingModel: {
|
|
38
|
+
type: `string`,
|
|
39
|
+
description: `Embedding model identifier.`
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
example: {
|
|
44
|
+
model: `mistral-large-latest`,
|
|
45
|
+
embeddingModel: `mistral-embed`
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
secretSchema: {
|
|
49
|
+
schema: {
|
|
50
|
+
type: `object`,
|
|
51
|
+
required: [`apiKey`],
|
|
52
|
+
properties: { apiKey: {
|
|
53
|
+
type: `string`,
|
|
54
|
+
description: `Mistral API key with access to chat and embeddings endpoints.`
|
|
55
|
+
} }
|
|
56
|
+
},
|
|
57
|
+
example: { apiKey: `mistral-***` }
|
|
58
|
+
},
|
|
59
|
+
healthCheck: {
|
|
60
|
+
method: `custom`,
|
|
61
|
+
timeoutMs: 5e3
|
|
62
|
+
},
|
|
63
|
+
docsUrl: `https://docs.mistral.ai/platform/endpoints`,
|
|
64
|
+
constraints: { rateLimit: { rpm: 600 } },
|
|
65
|
+
byokSetup: { setupInstructions: `Generate an API key within the Mistral console and ensure the selected models are enabled for the account.` }
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { e } from "../../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/integrations/providers/postmark.js
|
|
4
|
+
const t = {
|
|
5
|
+
meta: {
|
|
6
|
+
key: `email.postmark`,
|
|
7
|
+
version: 1,
|
|
8
|
+
category: `email`,
|
|
9
|
+
displayName: `Postmark`,
|
|
10
|
+
title: `Postmark Transactional Email`,
|
|
11
|
+
description: `Postmark integration for transactional email delivery.`,
|
|
12
|
+
domain: `communications`,
|
|
13
|
+
owners: [`platform.messaging`],
|
|
14
|
+
tags: [`email`, `transactional`],
|
|
15
|
+
stability: e.Stable
|
|
16
|
+
},
|
|
17
|
+
supportedModes: [`managed`, `byok`],
|
|
18
|
+
capabilities: {
|
|
19
|
+
provides: [{
|
|
20
|
+
key: `email.transactional`,
|
|
21
|
+
version: 1
|
|
22
|
+
}],
|
|
23
|
+
requires: [{
|
|
24
|
+
key: `platform.webhooks`,
|
|
25
|
+
optional: !0,
|
|
26
|
+
reason: `Optional for inbound bounce handling`
|
|
27
|
+
}]
|
|
28
|
+
},
|
|
29
|
+
configSchema: {
|
|
30
|
+
schema: {
|
|
31
|
+
type: `object`,
|
|
32
|
+
properties: {
|
|
33
|
+
messageStream: {
|
|
34
|
+
type: `string`,
|
|
35
|
+
description: `Optional message stream identifier (e.g., transactional).`
|
|
36
|
+
},
|
|
37
|
+
fromEmail: {
|
|
38
|
+
type: `string`,
|
|
39
|
+
description: `Default From address used for outbound messages.`
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
example: {
|
|
44
|
+
messageStream: `outbound`,
|
|
45
|
+
fromEmail: `notifications@example.com`
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
secretSchema: {
|
|
49
|
+
schema: {
|
|
50
|
+
type: `object`,
|
|
51
|
+
required: [`serverToken`],
|
|
52
|
+
properties: { serverToken: {
|
|
53
|
+
type: `string`,
|
|
54
|
+
description: `Server token for the Postmark account.`
|
|
55
|
+
} }
|
|
56
|
+
},
|
|
57
|
+
example: { serverToken: `server-***` }
|
|
58
|
+
},
|
|
59
|
+
healthCheck: {
|
|
60
|
+
method: `ping`,
|
|
61
|
+
timeoutMs: 3e3
|
|
62
|
+
},
|
|
63
|
+
docsUrl: `https://postmarkapp.com/developer`,
|
|
64
|
+
constraints: { rateLimit: { rpm: 500 } },
|
|
65
|
+
byokSetup: { setupInstructions: `Create a Postmark server token with outbound send permissions and configure allowed from addresses.` }
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
//#endregion
|