@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.
Files changed (138) hide show
  1. package/dist/dashboard/dashboard.contracts.d.ts +131 -131
  2. package/dist/dashboard/dashboard.contracts.js +5 -5
  3. package/dist/dashboard/dashboard.enum.d.ts +4 -4
  4. package/dist/dashboard/dashboard.enum.js +5 -4
  5. package/dist/dashboard/dashboard.schema.d.ts +79 -79
  6. package/dist/dashboard/dashboard.schema.js +44 -42
  7. package/dist/docs/analytics-dashboard.docblock.js +3 -2
  8. package/dist/events.d.ts +40 -40
  9. package/dist/events.js +27 -24
  10. package/dist/index.d.ts +0 -1
  11. package/dist/libs/contracts/dist/capabilities/openbanking.js +84 -0
  12. package/dist/libs/contracts/dist/client/index.js +5 -0
  13. package/dist/libs/contracts/dist/client/react/feature-render.js +2 -0
  14. package/dist/libs/contracts/dist/client/react/form-render.js +4 -0
  15. package/dist/libs/contracts/dist/client/react/index.js +4 -0
  16. package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
  17. package/dist/libs/contracts/dist/contract-registry/schemas.js +57 -0
  18. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +91 -0
  19. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +365 -0
  20. package/dist/libs/contracts/dist/docs/index.js +29 -0
  21. package/dist/libs/contracts/dist/docs/presentations.js +67 -0
  22. package/dist/libs/contracts/dist/docs/registry.js +42 -0
  23. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +398 -0
  24. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +83 -0
  25. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +155 -0
  26. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +101 -0
  27. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -0
  28. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +80 -0
  29. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +57 -0
  30. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +228 -0
  31. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +357 -0
  32. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +21 -0
  33. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -0
  34. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +281 -0
  35. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +22 -0
  36. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +79 -0
  37. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +84 -0
  38. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +57 -0
  39. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +22 -0
  40. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +40 -0
  41. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +86 -0
  42. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +22 -0
  43. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +62 -0
  44. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +155 -0
  45. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -0
  46. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +101 -0
  47. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -0
  48. package/dist/libs/contracts/dist/events.js +9 -0
  49. package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
  50. package/dist/libs/contracts/dist/index.js +71 -0
  51. package/dist/libs/contracts/dist/install.js +2 -0
  52. package/dist/libs/contracts/dist/integrations/contracts.js +371 -0
  53. package/dist/libs/contracts/dist/integrations/index.js +18 -0
  54. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +225 -0
  55. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +157 -0
  56. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -0
  57. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +208 -0
  58. package/dist/libs/contracts/dist/integrations/openbanking/models.js +240 -0
  59. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +24 -0
  60. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -0
  61. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -0
  62. package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -0
  63. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -0
  64. package/dist/libs/contracts/dist/integrations/providers/index.js +11 -0
  65. package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -0
  66. package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -0
  67. package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -0
  68. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -0
  69. package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -0
  70. package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -0
  71. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -0
  72. package/dist/libs/contracts/dist/jsonschema.js +1 -0
  73. package/dist/libs/contracts/dist/knowledge/contracts.js +299 -0
  74. package/dist/libs/contracts/dist/knowledge/index.js +7 -0
  75. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -0
  76. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -0
  77. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -0
  78. package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -0
  79. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -0
  80. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -0
  81. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -0
  82. package/dist/libs/contracts/dist/llm/exporters.js +18 -0
  83. package/dist/libs/contracts/dist/llm/index.js +2 -0
  84. package/dist/libs/contracts/dist/llm/prompts.js +1 -0
  85. package/dist/libs/contracts/dist/onboarding-base.js +179 -0
  86. package/dist/libs/contracts/dist/openapi.js +1 -0
  87. package/dist/libs/contracts/dist/ownership.js +36 -0
  88. package/dist/libs/contracts/dist/presentations.js +1 -0
  89. package/dist/libs/contracts/dist/presentations.v2.js +7 -0
  90. package/dist/libs/contracts/dist/prompt.js +1 -0
  91. package/dist/libs/contracts/dist/promptRegistry.js +1 -0
  92. package/dist/libs/contracts/dist/regenerator/index.js +1 -0
  93. package/dist/libs/contracts/dist/regenerator/service.js +1 -0
  94. package/dist/libs/contracts/dist/registry.js +2 -0
  95. package/dist/libs/contracts/dist/resources.js +1 -0
  96. package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -0
  97. package/dist/libs/contracts/dist/schema/dist/FieldType.js +39 -0
  98. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +222 -0
  99. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +23 -0
  100. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
  101. package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -0
  102. package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
  103. package/dist/libs/contracts/dist/schema/dist/index.js +6 -0
  104. package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -0
  105. package/dist/libs/contracts/dist/server/index.js +8 -0
  106. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -0
  107. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -0
  108. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
  109. package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -0
  110. package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
  111. package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
  112. package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
  113. package/dist/libs/contracts/dist/server/rest-express.js +1 -0
  114. package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
  115. package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
  116. package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
  117. package/dist/libs/contracts/dist/spec.js +25 -0
  118. package/dist/libs/contracts/dist/telemetry/index.js +1 -0
  119. package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
  120. package/dist/libs/contracts/dist/tests/index.js +1 -0
  121. package/dist/libs/contracts/dist/tests/runner.js +2 -0
  122. package/dist/libs/contracts/dist/workflow/index.js +1 -0
  123. package/dist/libs/contracts/dist/workflow/runner.js +1 -0
  124. package/dist/libs/schema/dist/EnumType.js +40 -0
  125. package/dist/libs/schema/dist/FieldType.js +39 -0
  126. package/dist/libs/schema/dist/ScalarTypeEnum.js +222 -0
  127. package/dist/libs/schema/dist/SchemaModel.js +24 -0
  128. package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
  129. package/dist/libs/schema/dist/entity/index.js +2 -0
  130. package/dist/libs/schema/dist/entity/types.js +1 -0
  131. package/dist/libs/schema/dist/index.js +6 -0
  132. package/dist/query/query.contracts.d.ts +44 -44
  133. package/dist/query/query.contracts.js +3 -3
  134. package/dist/query/query.enum.d.ts +2 -2
  135. package/dist/query/query.enum.js +3 -2
  136. package/dist/query/query.schema.d.ts +34 -34
  137. package/dist/query/query.schema.js +34 -32
  138. 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