@lssm/lib.feature-flags 0.0.0-canary-20251217083314 → 1.41.1
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/contracts/index.js +1 -910
- package/dist/docs/feature-flags.docblock.js +2 -21
- package/dist/docs/index.js +1 -1
- package/dist/entities/index.js +1 -325
- package/dist/evaluation/index.js +1 -220
- package/dist/events.js +1 -459
- package/dist/feature-flags.feature.js +1 -139
- package/dist/index.js +1 -8
- package/package.json +13 -13
- package/dist/contracts/dist/capabilities/openbanking.js +0 -88
- package/dist/contracts/dist/client/index.js +0 -5
- package/dist/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/contracts/dist/client/react/form-render.js +0 -4
- package/dist/contracts/dist/client/react/index.js +0 -4
- package/dist/contracts/dist/contract-registry/index.js +0 -1
- package/dist/contracts/dist/contract-registry/schemas.js +0 -60
- package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
- package/dist/contracts/dist/docs/index.js +0 -29
- package/dist/contracts/dist/docs/presentations.js +0 -71
- package/dist/contracts/dist/docs/registry.js +0 -44
- package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/contracts/dist/events.js +0 -10
- package/dist/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/contracts/dist/index.js +0 -71
- package/dist/contracts/dist/install.js +0 -2
- package/dist/contracts/dist/integrations/contracts.js +0 -377
- package/dist/contracts/dist/integrations/index.js +0 -18
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/contracts/dist/integrations/openbanking/telemetry.js +0 -13
- package/dist/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/contracts/dist/jsonschema.js +0 -1
- package/dist/contracts/dist/knowledge/contracts.js +0 -306
- package/dist/contracts/dist/knowledge/index.js +0 -7
- package/dist/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/contracts/dist/llm/exporters.js +0 -19
- package/dist/contracts/dist/llm/index.js +0 -2
- package/dist/contracts/dist/llm/prompts.js +0 -1
- package/dist/contracts/dist/onboarding-base.js +0 -196
- package/dist/contracts/dist/openapi.js +0 -1
- package/dist/contracts/dist/ownership.js +0 -21
- package/dist/contracts/dist/presentations.js +0 -1
- package/dist/contracts/dist/presentations.v2.js +0 -11
- package/dist/contracts/dist/prompt.js +0 -1
- package/dist/contracts/dist/promptRegistry.js +0 -1
- package/dist/contracts/dist/regenerator/index.js +0 -1
- package/dist/contracts/dist/regenerator/service.js +0 -6
- package/dist/contracts/dist/registry.js +0 -2
- package/dist/contracts/dist/resources.js +0 -1
- package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/contracts/dist/schema/dist/index.js +0 -6
- package/dist/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/contracts/dist/server/index.js +0 -8
- package/dist/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/contracts/dist/server/rest-express.js +0 -1
- package/dist/contracts/dist/server/rest-generic.js +0 -1
- package/dist/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/contracts/dist/spec.js +0 -34
- package/dist/contracts/dist/telemetry/index.js +0 -1
- package/dist/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/contracts/dist/tests/index.js +0 -1
- package/dist/contracts/dist/tests/runner.js +0 -2
- package/dist/contracts/dist/workflow/index.js +0 -1
- package/dist/contracts/dist/workflow/runner.js +0 -1
- package/dist/contracts/index.d.ts +0 -1006
- package/dist/docs/feature-flags.docblock.d.ts +0 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/entities/index.d.ts +0 -200
- package/dist/evaluation/index.d.ts +0 -162
- package/dist/events.d.ts +0 -624
- package/dist/feature-flags.feature.d.ts +0 -11
- package/dist/index.d.ts +0 -6
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -236
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
- package/dist/schema/dist/index.js +0 -6
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { SchemaModel } from "../../schema/dist/SchemaModel.js";
|
|
2
|
-
import { ScalarTypeEnum } from "../../schema/dist/ScalarTypeEnum.js";
|
|
3
|
-
import "../../schema/dist/index.js";
|
|
4
|
-
|
|
5
|
-
//#region ../contracts/dist/integrations/openbanking/models.js
|
|
6
|
-
const BankAccountRecord = new SchemaModel({
|
|
7
|
-
name: "BankAccountRecord",
|
|
8
|
-
description: "Canonical representation of a bank account synced from an open banking provider.",
|
|
9
|
-
fields: {
|
|
10
|
-
id: {
|
|
11
|
-
type: ScalarTypeEnum.ID(),
|
|
12
|
-
isOptional: false
|
|
13
|
-
},
|
|
14
|
-
tenantId: {
|
|
15
|
-
type: ScalarTypeEnum.ID(),
|
|
16
|
-
isOptional: false
|
|
17
|
-
},
|
|
18
|
-
userId: {
|
|
19
|
-
type: ScalarTypeEnum.ID(),
|
|
20
|
-
isOptional: false
|
|
21
|
-
},
|
|
22
|
-
connectionId: {
|
|
23
|
-
type: ScalarTypeEnum.ID(),
|
|
24
|
-
isOptional: false
|
|
25
|
-
},
|
|
26
|
-
externalId: {
|
|
27
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
28
|
-
isOptional: false
|
|
29
|
-
},
|
|
30
|
-
institutionId: {
|
|
31
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
32
|
-
isOptional: false
|
|
33
|
-
},
|
|
34
|
-
institutionName: {
|
|
35
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
36
|
-
isOptional: false
|
|
37
|
-
},
|
|
38
|
-
institutionLogoUrl: {
|
|
39
|
-
type: ScalarTypeEnum.URL(),
|
|
40
|
-
isOptional: true
|
|
41
|
-
},
|
|
42
|
-
iban: {
|
|
43
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
44
|
-
isOptional: true
|
|
45
|
-
},
|
|
46
|
-
bic: {
|
|
47
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
48
|
-
isOptional: true
|
|
49
|
-
},
|
|
50
|
-
accountType: {
|
|
51
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
52
|
-
isOptional: false
|
|
53
|
-
},
|
|
54
|
-
currency: {
|
|
55
|
-
type: ScalarTypeEnum.Currency(),
|
|
56
|
-
isOptional: false
|
|
57
|
-
},
|
|
58
|
-
displayName: {
|
|
59
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
60
|
-
isOptional: false
|
|
61
|
-
},
|
|
62
|
-
accountNumberMasked: {
|
|
63
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
64
|
-
isOptional: true
|
|
65
|
-
},
|
|
66
|
-
productCode: {
|
|
67
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
68
|
-
isOptional: true
|
|
69
|
-
},
|
|
70
|
-
balance: {
|
|
71
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
72
|
-
isOptional: true
|
|
73
|
-
},
|
|
74
|
-
availableBalance: {
|
|
75
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
76
|
-
isOptional: true
|
|
77
|
-
},
|
|
78
|
-
lastSyncedAt: {
|
|
79
|
-
type: ScalarTypeEnum.DateTime(),
|
|
80
|
-
isOptional: false
|
|
81
|
-
},
|
|
82
|
-
createdAt: {
|
|
83
|
-
type: ScalarTypeEnum.DateTime(),
|
|
84
|
-
isOptional: false
|
|
85
|
-
},
|
|
86
|
-
updatedAt: {
|
|
87
|
-
type: ScalarTypeEnum.DateTime(),
|
|
88
|
-
isOptional: false
|
|
89
|
-
},
|
|
90
|
-
metadata: {
|
|
91
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
92
|
-
isOptional: true
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
const BankTransactionRecord = new SchemaModel({
|
|
97
|
-
name: "BankTransactionRecord",
|
|
98
|
-
description: "Canonical transaction entry mapped from Powens into the open banking ledger.",
|
|
99
|
-
fields: {
|
|
100
|
-
id: {
|
|
101
|
-
type: ScalarTypeEnum.ID(),
|
|
102
|
-
isOptional: false
|
|
103
|
-
},
|
|
104
|
-
accountId: {
|
|
105
|
-
type: ScalarTypeEnum.ID(),
|
|
106
|
-
isOptional: false
|
|
107
|
-
},
|
|
108
|
-
tenantId: {
|
|
109
|
-
type: ScalarTypeEnum.ID(),
|
|
110
|
-
isOptional: false
|
|
111
|
-
},
|
|
112
|
-
connectionId: {
|
|
113
|
-
type: ScalarTypeEnum.ID(),
|
|
114
|
-
isOptional: false
|
|
115
|
-
},
|
|
116
|
-
externalId: {
|
|
117
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
118
|
-
isOptional: false
|
|
119
|
-
},
|
|
120
|
-
amount: {
|
|
121
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
122
|
-
isOptional: false
|
|
123
|
-
},
|
|
124
|
-
currency: {
|
|
125
|
-
type: ScalarTypeEnum.Currency(),
|
|
126
|
-
isOptional: false
|
|
127
|
-
},
|
|
128
|
-
date: {
|
|
129
|
-
type: ScalarTypeEnum.DateTime(),
|
|
130
|
-
isOptional: false
|
|
131
|
-
},
|
|
132
|
-
bookingDate: {
|
|
133
|
-
type: ScalarTypeEnum.DateTime(),
|
|
134
|
-
isOptional: true
|
|
135
|
-
},
|
|
136
|
-
valueDate: {
|
|
137
|
-
type: ScalarTypeEnum.DateTime(),
|
|
138
|
-
isOptional: true
|
|
139
|
-
},
|
|
140
|
-
description: {
|
|
141
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
142
|
-
isOptional: true
|
|
143
|
-
},
|
|
144
|
-
counterpartyName: {
|
|
145
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
146
|
-
isOptional: true
|
|
147
|
-
},
|
|
148
|
-
counterpartyAccount: {
|
|
149
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
150
|
-
isOptional: true
|
|
151
|
-
},
|
|
152
|
-
merchantCategoryCode: {
|
|
153
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
154
|
-
isOptional: true
|
|
155
|
-
},
|
|
156
|
-
rawCategory: {
|
|
157
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
158
|
-
isOptional: true
|
|
159
|
-
},
|
|
160
|
-
standardizedCategory: {
|
|
161
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
162
|
-
isOptional: true
|
|
163
|
-
},
|
|
164
|
-
transactionType: {
|
|
165
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
166
|
-
isOptional: false
|
|
167
|
-
},
|
|
168
|
-
status: {
|
|
169
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
170
|
-
isOptional: false
|
|
171
|
-
},
|
|
172
|
-
runningBalance: {
|
|
173
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
174
|
-
isOptional: true
|
|
175
|
-
},
|
|
176
|
-
metadata: {
|
|
177
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
178
|
-
isOptional: true
|
|
179
|
-
},
|
|
180
|
-
createdAt: {
|
|
181
|
-
type: ScalarTypeEnum.DateTime(),
|
|
182
|
-
isOptional: false
|
|
183
|
-
},
|
|
184
|
-
updatedAt: {
|
|
185
|
-
type: ScalarTypeEnum.DateTime(),
|
|
186
|
-
isOptional: false
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
const AccountBalanceRecord = new SchemaModel({
|
|
191
|
-
name: "AccountBalanceRecord",
|
|
192
|
-
description: "Canonical balance snapshot computed from Powens balance payloads.",
|
|
193
|
-
fields: {
|
|
194
|
-
id: {
|
|
195
|
-
type: ScalarTypeEnum.ID(),
|
|
196
|
-
isOptional: false
|
|
197
|
-
},
|
|
198
|
-
accountId: {
|
|
199
|
-
type: ScalarTypeEnum.ID(),
|
|
200
|
-
isOptional: false
|
|
201
|
-
},
|
|
202
|
-
tenantId: {
|
|
203
|
-
type: ScalarTypeEnum.ID(),
|
|
204
|
-
isOptional: false
|
|
205
|
-
},
|
|
206
|
-
connectionId: {
|
|
207
|
-
type: ScalarTypeEnum.ID(),
|
|
208
|
-
isOptional: false
|
|
209
|
-
},
|
|
210
|
-
balanceType: {
|
|
211
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
212
|
-
isOptional: false
|
|
213
|
-
},
|
|
214
|
-
currentBalance: {
|
|
215
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
216
|
-
isOptional: false
|
|
217
|
-
},
|
|
218
|
-
availableBalance: {
|
|
219
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
220
|
-
isOptional: true
|
|
221
|
-
},
|
|
222
|
-
currency: {
|
|
223
|
-
type: ScalarTypeEnum.Currency(),
|
|
224
|
-
isOptional: false
|
|
225
|
-
},
|
|
226
|
-
lastUpdatedAt: {
|
|
227
|
-
type: ScalarTypeEnum.DateTime(),
|
|
228
|
-
isOptional: false
|
|
229
|
-
},
|
|
230
|
-
createdAt: {
|
|
231
|
-
type: ScalarTypeEnum.DateTime(),
|
|
232
|
-
isOptional: false
|
|
233
|
-
},
|
|
234
|
-
metadata: {
|
|
235
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
236
|
-
isOptional: true
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
//#endregion
|
|
242
|
-
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region ../contracts/dist/integrations/openbanking/telemetry.js
|
|
2
|
-
const OPENBANKING_TELEMETRY_EVENTS = {
|
|
3
|
-
accountsSynced: "openbanking.accounts.synced",
|
|
4
|
-
accountsSyncFailed: "openbanking.accounts.sync_failed",
|
|
5
|
-
transactionsSynced: "openbanking.transactions.synced",
|
|
6
|
-
transactionsSyncFailed: "openbanking.transactions.sync_failed",
|
|
7
|
-
balancesRefreshed: "openbanking.balances.refreshed",
|
|
8
|
-
balancesRefreshFailed: "openbanking.balances.refresh_failed",
|
|
9
|
-
overviewGenerated: "openbanking.overview.generated"
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { OPENBANKING_TELEMETRY_EVENTS };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../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
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../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
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../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
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../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
|
|
@@ -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";
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../contracts/dist/integrations/providers/mistral.js
|
|
4
|
-
const mistralIntegrationSpec = {
|
|
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: StabilityEnum.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
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../contracts/dist/integrations/providers/postmark.js
|
|
4
|
-
const postmarkIntegrationSpec = {
|
|
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: StabilityEnum.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: true,
|
|
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
|