@lssm/example.analytics-dashboard 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834

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 +130 -130
  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 +4 -5
  5. package/dist/dashboard/dashboard.schema.d.ts +79 -79
  6. package/dist/dashboard/dashboard.schema.js +42 -44
  7. package/dist/docs/analytics-dashboard.docblock.js +2 -3
  8. package/dist/events.d.ts +39 -39
  9. package/dist/events.js +24 -27
  10. package/dist/index.d.ts +1 -0
  11. package/dist/query/query.contracts.d.ts +1 -1
  12. package/dist/query/query.contracts.js +3 -3
  13. package/dist/query/query.enum.d.ts +2 -2
  14. package/dist/query/query.enum.js +2 -3
  15. package/dist/query/query.schema.d.ts +34 -34
  16. package/dist/query/query.schema.js +32 -34
  17. package/package.json +10 -10
  18. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -84
  19. package/dist/libs/contracts/dist/client/index.js +0 -5
  20. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  21. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  22. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  23. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  24. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -57
  25. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -91
  26. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -365
  27. package/dist/libs/contracts/dist/docs/index.js +0 -29
  28. package/dist/libs/contracts/dist/docs/presentations.js +0 -67
  29. package/dist/libs/contracts/dist/docs/registry.js +0 -42
  30. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -398
  31. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -83
  32. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -155
  33. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -101
  34. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  35. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  36. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  37. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -228
  38. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  39. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -21
  40. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  41. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -281
  42. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -22
  43. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  44. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  45. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -57
  46. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -22
  47. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  48. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -86
  49. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -22
  50. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  51. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  52. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  53. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  54. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  55. package/dist/libs/contracts/dist/events.js +0 -9
  56. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  57. package/dist/libs/contracts/dist/index.js +0 -71
  58. package/dist/libs/contracts/dist/install.js +0 -2
  59. package/dist/libs/contracts/dist/integrations/contracts.js +0 -371
  60. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  61. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -225
  62. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -157
  63. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  64. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -208
  65. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -240
  66. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -24
  67. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  68. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  69. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  70. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  71. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  72. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  73. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  74. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  75. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  76. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  77. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  78. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  79. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  80. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -299
  81. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  82. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  83. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  84. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  85. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  86. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  87. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  88. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  89. package/dist/libs/contracts/dist/llm/exporters.js +0 -18
  90. package/dist/libs/contracts/dist/llm/index.js +0 -2
  91. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  92. package/dist/libs/contracts/dist/onboarding-base.js +0 -179
  93. package/dist/libs/contracts/dist/openapi.js +0 -1
  94. package/dist/libs/contracts/dist/ownership.js +0 -36
  95. package/dist/libs/contracts/dist/presentations.js +0 -1
  96. package/dist/libs/contracts/dist/presentations.v2.js +0 -7
  97. package/dist/libs/contracts/dist/prompt.js +0 -1
  98. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  99. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  100. package/dist/libs/contracts/dist/regenerator/service.js +0 -1
  101. package/dist/libs/contracts/dist/registry.js +0 -2
  102. package/dist/libs/contracts/dist/resources.js +0 -1
  103. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  104. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -39
  105. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -222
  106. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -23
  107. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  108. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  109. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  110. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  111. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  112. package/dist/libs/contracts/dist/server/index.js +0 -8
  113. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  114. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  115. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  116. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  117. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  118. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  119. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  120. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  121. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  122. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  123. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  124. package/dist/libs/contracts/dist/spec.js +0 -25
  125. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  126. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  127. package/dist/libs/contracts/dist/tests/index.js +0 -1
  128. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  129. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  130. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  131. package/dist/libs/schema/dist/EnumType.js +0 -40
  132. package/dist/libs/schema/dist/FieldType.js +0 -39
  133. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -222
  134. package/dist/libs/schema/dist/SchemaModel.js +0 -24
  135. package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
  136. package/dist/libs/schema/dist/entity/index.js +0 -2
  137. package/dist/libs/schema/dist/entity/types.js +0 -1
  138. package/dist/libs/schema/dist/index.js +0 -6
@@ -1,116 +0,0 @@
1
- import { e } from "../../ownership.js";
2
-
3
- //#region ../../libs/contracts/dist/integrations/providers/powens.js
4
- const t = {
5
- meta: {
6
- key: `openbanking.powens`,
7
- version: 1,
8
- category: `open-banking`,
9
- displayName: `Powens Open Banking`,
10
- title: `Powens Open Banking (Read)`,
11
- description: `Read-only Open Banking integration powered by Powens, exposing accounts, transactions, and balances.`,
12
- domain: `finance`,
13
- owners: [`platform.finance`],
14
- tags: [
15
- `open-banking`,
16
- `powens`,
17
- `finance`
18
- ],
19
- stability: e.Experimental
20
- },
21
- supportedModes: [`byok`],
22
- capabilities: { provides: [
23
- {
24
- key: `openbanking.accounts.read`,
25
- version: 1
26
- },
27
- {
28
- key: `openbanking.transactions.read`,
29
- version: 1
30
- },
31
- {
32
- key: `openbanking.balances.read`,
33
- version: 1
34
- }
35
- ] },
36
- configSchema: {
37
- schema: {
38
- type: `object`,
39
- required: [`environment`],
40
- properties: {
41
- environment: {
42
- type: `string`,
43
- enum: [`sandbox`, `production`],
44
- description: `Powens environment to target. Sandbox uses Powens test API base URL, production uses live endpoints.`
45
- },
46
- baseUrl: {
47
- type: `string`,
48
- description: `Optional override for the Powens API base URL. Defaults to Powens environment defaults.`
49
- },
50
- region: {
51
- type: `string`,
52
- description: `Optional Powens region identifier when targeting a specific data residency cluster.`
53
- },
54
- pollingIntervalMs: {
55
- type: `number`,
56
- description: `Optional custom polling interval in milliseconds for background sync jobs (defaults to platform standard).`
57
- }
58
- }
59
- },
60
- example: {
61
- environment: `sandbox`,
62
- baseUrl: `https://api-sandbox.powens.com/v2`,
63
- region: `eu-west-1`,
64
- pollingIntervalMs: 3e5
65
- }
66
- },
67
- secretSchema: {
68
- schema: {
69
- type: `object`,
70
- required: [`clientId`, `clientSecret`],
71
- properties: {
72
- clientId: {
73
- type: `string`,
74
- description: `Powens OAuth client identifier obtained from the Powens Console (BYOK project).`
75
- },
76
- clientSecret: {
77
- type: `string`,
78
- description: `Powens OAuth client secret used to exchange for access tokens.`
79
- },
80
- apiKey: {
81
- type: `string`,
82
- description: `Optional Powens API key (if the tenant project exposes a dedicated API token).`
83
- },
84
- webhookSecret: {
85
- type: `string`,
86
- description: `Optional webhook signing secret used to verify Powens webhook payloads.`
87
- }
88
- }
89
- },
90
- example: {
91
- clientId: `powens-client-id`,
92
- clientSecret: `powens-client-secret`,
93
- apiKey: `powens-api-key`,
94
- webhookSecret: `powens-webhook-secret`
95
- }
96
- },
97
- healthCheck: {
98
- method: `ping`,
99
- timeoutMs: 8e3
100
- },
101
- docsUrl: `https://docs.powens.com/`,
102
- constraints: { rateLimit: {
103
- rph: 1e4,
104
- rpm: 600
105
- } },
106
- byokSetup: {
107
- setupInstructions: `Create a Powens BYOK project, generate OAuth credentials, and optionally configure webhook delivery for account/transaction updates.`,
108
- requiredScopes: [
109
- `accounts:read`,
110
- `transactions:read`,
111
- `balances:read`
112
- ]
113
- }
114
- };
115
-
116
- //#endregion
@@ -1,73 +0,0 @@
1
- import { e } from "../../ownership.js";
2
-
3
- //#region ../../libs/contracts/dist/integrations/providers/qdrant.js
4
- const t = {
5
- meta: {
6
- key: `vectordb.qdrant`,
7
- version: 1,
8
- category: `vector-db`,
9
- displayName: `Qdrant`,
10
- title: `Qdrant Vector Database`,
11
- description: `Qdrant integration for vector search and embeddings storage.`,
12
- domain: `ai`,
13
- owners: [`platform.ai`],
14
- tags: [`vector-db`, `search`],
15
- stability: e.Experimental
16
- },
17
- supportedModes: [`managed`, `byok`],
18
- capabilities: {
19
- provides: [{
20
- key: `vector-db.search`,
21
- version: 1
22
- }, {
23
- key: `vector-db.storage`,
24
- version: 1
25
- }],
26
- requires: [{
27
- key: `ai.embeddings`,
28
- optional: !0,
29
- reason: `Required if vectors are generated via hosted embedding services`
30
- }]
31
- },
32
- configSchema: {
33
- schema: {
34
- type: `object`,
35
- properties: {
36
- apiUrl: {
37
- type: `string`,
38
- description: `Base URL for the Qdrant instance (e.g., https://qdrant.example.com).`
39
- },
40
- collectionPrefix: {
41
- type: `string`,
42
- description: `Prefix applied to all collection names for this tenant.`
43
- }
44
- }
45
- },
46
- example: {
47
- apiUrl: `https://qdrant.example.com`,
48
- collectionPrefix: `tenant_`
49
- }
50
- },
51
- secretSchema: {
52
- schema: {
53
- type: `object`,
54
- properties: { apiKey: {
55
- type: `string`,
56
- description: `API key or token when authentication is enabled.`
57
- } }
58
- },
59
- example: { apiKey: `qdrant-api-key` }
60
- },
61
- healthCheck: {
62
- method: `ping`,
63
- timeoutMs: 4e3
64
- },
65
- docsUrl: `https://qdrant.tech/documentation/quick-start/`,
66
- constraints: { quotas: {
67
- collections: 100,
68
- pointsPerCollection: 1e6
69
- } },
70
- byokSetup: { setupInstructions: `Provide the HTTPS endpoint of your Qdrant cluster and generate an API key with read/write access to the collections that will be managed.` }
71
- };
72
-
73
- //#endregion
@@ -1,10 +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";
@@ -1,83 +0,0 @@
1
- import { e } from "../../ownership.js";
2
-
3
- //#region ../../libs/contracts/dist/integrations/providers/stripe.js
4
- const t = {
5
- meta: {
6
- key: `payments.stripe`,
7
- version: 1,
8
- category: `payments`,
9
- displayName: `Stripe`,
10
- title: `Stripe Payments`,
11
- description: `Stripe integration for payment processing, charges, and payouts.`,
12
- domain: `payments`,
13
- owners: [`platform.payments`],
14
- tags: [`payments`, `psp`],
15
- stability: e.Stable
16
- },
17
- supportedModes: [`managed`, `byok`],
18
- capabilities: {
19
- provides: [{
20
- key: `payments.psp`,
21
- version: 1
22
- }],
23
- requires: [{
24
- key: `platform.webhooks`,
25
- optional: !0,
26
- reason: `Recommended for reliable event ingestion`
27
- }]
28
- },
29
- configSchema: {
30
- schema: {
31
- type: `object`,
32
- properties: {
33
- accountId: {
34
- type: `string`,
35
- description: `Connected account ID when using Stripe Connect (BYOK).`
36
- },
37
- region: {
38
- type: `string`,
39
- description: `Optional Stripe region or data residency hint.`
40
- }
41
- }
42
- },
43
- example: {
44
- accountId: `acct_123`,
45
- region: `us-east-1`
46
- }
47
- },
48
- secretSchema: {
49
- schema: {
50
- type: `object`,
51
- required: [`apiKey`, `webhookSecret`],
52
- properties: {
53
- apiKey: {
54
- type: `string`,
55
- description: `Stripe secret API key (sk_live_... or sk_test_...).`
56
- },
57
- webhookSecret: {
58
- type: `string`,
59
- description: `Signing secret for webhook verification.`
60
- }
61
- }
62
- },
63
- example: {
64
- apiKey: `sk_live_***`,
65
- webhookSecret: `whsec_***`
66
- }
67
- },
68
- healthCheck: {
69
- method: `ping`,
70
- timeoutMs: 5e3
71
- },
72
- docsUrl: `https://stripe.com/docs/api`,
73
- constraints: { rateLimit: {
74
- rpm: 1e3,
75
- rph: 2e4
76
- } },
77
- byokSetup: {
78
- setupInstructions: `Create a restricted Stripe API key with write access to Charges and provide a webhook signing secret.`,
79
- requiredScopes: [`charges:write`, `customers:read`]
80
- }
81
- };
82
-
83
- //#endregion
@@ -1,61 +0,0 @@
1
- import { e } from "../../ownership.js";
2
-
3
- //#region ../../libs/contracts/dist/integrations/providers/twilio-sms.js
4
- const t = {
5
- meta: {
6
- key: `sms.twilio`,
7
- version: 1,
8
- category: `sms`,
9
- displayName: `Twilio SMS`,
10
- title: `Twilio Messaging`,
11
- description: `Twilio SMS integration for transactional and notification messaging.`,
12
- domain: `communications`,
13
- owners: [`platform.messaging`],
14
- tags: [`sms`, `messaging`],
15
- stability: e.Stable
16
- },
17
- supportedModes: [`managed`, `byok`],
18
- capabilities: { provides: [{
19
- key: `sms.outbound`,
20
- version: 1
21
- }] },
22
- configSchema: {
23
- schema: {
24
- type: `object`,
25
- properties: { fromNumber: {
26
- type: `string`,
27
- description: `Default Twilio phone number used as sender.`
28
- } }
29
- },
30
- example: { fromNumber: `+15551234567` }
31
- },
32
- secretSchema: {
33
- schema: {
34
- type: `object`,
35
- required: [`accountSid`, `authToken`],
36
- properties: {
37
- accountSid: {
38
- type: `string`,
39
- description: `Twilio Account SID.`
40
- },
41
- authToken: {
42
- type: `string`,
43
- description: `Twilio Auth Token.`
44
- }
45
- }
46
- },
47
- example: {
48
- accountSid: `ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`,
49
- authToken: `auth-token`
50
- }
51
- },
52
- healthCheck: {
53
- method: `custom`,
54
- timeoutMs: 3e3
55
- },
56
- docsUrl: `https://www.twilio.com/docs/sms/api`,
57
- constraints: { rateLimit: { rpm: 200 } },
58
- byokSetup: { setupInstructions: `Provide a Twilio account SID, auth token, and verify the outbound sending numbers used by the integration.` }
59
- };
60
-
61
- //#endregion
@@ -1 +0,0 @@
1
- import e from "zod";
@@ -1,299 +0,0 @@
1
- import { t } from "../schema/dist/SchemaModel.js";
2
- import { l } from "../schema/dist/ScalarTypeEnum.js";
3
- import "../schema/dist/index.js";
4
- import { n, t as t$1 } from "../spec.js";
5
-
6
- //#region ../../libs/contracts/dist/knowledge/contracts.js
7
- const i = new t({
8
- name: `KnowledgeSyncSchedule`,
9
- fields: {
10
- enabled: {
11
- type: l.Boolean(),
12
- isOptional: !1
13
- },
14
- cron: {
15
- type: l.String_unsecure(),
16
- isOptional: !0
17
- },
18
- intervalMs: {
19
- type: l.Int_unsecure(),
20
- isOptional: !0
21
- }
22
- }
23
- }), a = new t({
24
- name: `KnowledgeSourceRecord`,
25
- fields: {
26
- id: {
27
- type: l.ID(),
28
- isOptional: !1
29
- },
30
- tenantId: {
31
- type: l.ID(),
32
- isOptional: !1
33
- },
34
- spaceKey: {
35
- type: l.NonEmptyString(),
36
- isOptional: !1
37
- },
38
- spaceVersion: {
39
- type: l.Int_unsecure(),
40
- isOptional: !1
41
- },
42
- label: {
43
- type: l.String_unsecure(),
44
- isOptional: !1
45
- },
46
- sourceType: {
47
- type: l.String_unsecure(),
48
- isOptional: !1
49
- },
50
- syncSchedule: {
51
- type: i,
52
- isOptional: !0
53
- },
54
- lastSyncStatus: {
55
- type: l.String_unsecure(),
56
- isOptional: !0
57
- },
58
- lastSyncAt: {
59
- type: l.DateTime(),
60
- isOptional: !0
61
- },
62
- itemsProcessed: {
63
- type: l.Int_unsecure(),
64
- isOptional: !0
65
- },
66
- createdAt: {
67
- type: l.DateTime(),
68
- isOptional: !0
69
- },
70
- updatedAt: {
71
- type: l.DateTime(),
72
- isOptional: !0
73
- }
74
- }
75
- }), o = new t({
76
- name: `CreateKnowledgeSourceInput`,
77
- fields: {
78
- tenantId: {
79
- type: l.ID(),
80
- isOptional: !1
81
- },
82
- spaceKey: {
83
- type: l.NonEmptyString(),
84
- isOptional: !1
85
- },
86
- spaceVersion: {
87
- type: l.Int_unsecure(),
88
- isOptional: !1
89
- },
90
- label: {
91
- type: l.String_unsecure(),
92
- isOptional: !1
93
- },
94
- sourceType: {
95
- type: l.NonEmptyString(),
96
- isOptional: !1
97
- },
98
- config: {
99
- type: l.JSONObject(),
100
- isOptional: !1
101
- },
102
- syncSchedule: {
103
- type: i,
104
- isOptional: !0
105
- }
106
- }
107
- }), s = new t({
108
- name: `UpdateKnowledgeSourceInput`,
109
- fields: {
110
- sourceId: {
111
- type: l.ID(),
112
- isOptional: !1
113
- },
114
- label: {
115
- type: l.String_unsecure(),
116
- isOptional: !0
117
- },
118
- config: {
119
- type: l.JSONObject(),
120
- isOptional: !0
121
- },
122
- syncSchedule: {
123
- type: i,
124
- isOptional: !0
125
- }
126
- }
127
- }), c = new t({
128
- name: `DeleteKnowledgeSourceInput`,
129
- fields: { sourceId: {
130
- type: l.ID(),
131
- isOptional: !1
132
- } }
133
- }), l$1 = new t({
134
- name: `DeleteKnowledgeSourceOutput`,
135
- fields: { success: {
136
- type: l.Boolean(),
137
- isOptional: !1
138
- } }
139
- }), u = new t({
140
- name: `ListKnowledgeSourcesInput`,
141
- fields: {
142
- tenantId: {
143
- type: l.ID(),
144
- isOptional: !1
145
- },
146
- spaceKey: {
147
- type: l.NonEmptyString(),
148
- isOptional: !0
149
- }
150
- }
151
- }), d = new t({
152
- name: `ListKnowledgeSourcesOutput`,
153
- fields: { sources: {
154
- type: a,
155
- isOptional: !1,
156
- isArray: !0
157
- } }
158
- }), f = new t({
159
- name: `TriggerKnowledgeSyncInput`,
160
- fields: { sourceId: {
161
- type: l.ID(),
162
- isOptional: !1
163
- } }
164
- }), p = new t({
165
- name: `TriggerKnowledgeSyncOutput`,
166
- fields: {
167
- success: {
168
- type: l.Boolean(),
169
- isOptional: !1
170
- },
171
- itemsProcessed: {
172
- type: l.Int_unsecure(),
173
- isOptional: !0
174
- },
175
- error: {
176
- type: l.String_unsecure(),
177
- isOptional: !0
178
- }
179
- }
180
- }), m = t$1({
181
- meta: {
182
- name: `knowledge.source.create`,
183
- version: 1,
184
- description: `Create a knowledge source binding for a tenant.`,
185
- goal: `Onboard a new knowledge ingestion source such as Notion or uploads.`,
186
- context: `Used by Ops and App Studio to configure knowledge ingestion per tenant and space.`,
187
- owners: [`platform.knowledge`],
188
- tags: [`knowledge`, `sources`],
189
- stability: `experimental`
190
- },
191
- io: {
192
- input: o,
193
- output: a
194
- },
195
- policy: {
196
- auth: `admin`,
197
- policies: [{
198
- name: `platform.knowledge.manage`,
199
- version: 1
200
- }]
201
- }
202
- }), h = t$1({
203
- meta: {
204
- name: `knowledge.source.update`,
205
- version: 1,
206
- description: `Update metadata or configuration for a knowledge source.`,
207
- goal: `Allow rotation of credentials, sync schedules, and labels.`,
208
- context: `Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).`,
209
- owners: [`platform.knowledge`],
210
- tags: [`knowledge`, `sources`],
211
- stability: `experimental`
212
- },
213
- io: {
214
- input: s,
215
- output: a
216
- },
217
- policy: {
218
- auth: `admin`,
219
- policies: [{
220
- name: `platform.knowledge.manage`,
221
- version: 1
222
- }]
223
- }
224
- }), g = t$1({
225
- meta: {
226
- name: `knowledge.source.delete`,
227
- version: 1,
228
- description: `Delete a knowledge source binding for a tenant.`,
229
- goal: `Remove obsolete or compromised knowledge ingestion paths.`,
230
- context: `Ensures ephemeral or external sources can be removed cleanly without leaving residual bindings.`,
231
- owners: [`platform.knowledge`],
232
- tags: [`knowledge`, `sources`],
233
- stability: `experimental`
234
- },
235
- io: {
236
- input: c,
237
- output: l$1
238
- },
239
- policy: {
240
- auth: `admin`,
241
- policies: [{
242
- name: `platform.knowledge.manage`,
243
- version: 1
244
- }]
245
- }
246
- }), _ = n({
247
- meta: {
248
- name: `knowledge.source.list`,
249
- version: 1,
250
- description: `List knowledge sources configured for a tenant.`,
251
- goal: `Provide visibility into knowledge ingest configuration and schedules.`,
252
- context: `Used by App Studio and Ops flows to surface knowledge sources and their health.`,
253
- owners: [`platform.knowledge`],
254
- tags: [`knowledge`, `sources`],
255
- stability: `experimental`
256
- },
257
- io: {
258
- input: u,
259
- output: d
260
- },
261
- policy: {
262
- auth: `admin`,
263
- policies: [{
264
- name: `platform.knowledge.read`,
265
- version: 1
266
- }]
267
- }
268
- }), v = t$1({
269
- meta: {
270
- name: `knowledge.source.triggerSync`,
271
- version: 1,
272
- description: `Trigger an immediate sync for a knowledge source.`,
273
- goal: `Support manual or automated sync retries for knowledge ingestion.`,
274
- context: `Invoked by Ops tooling or monitors when knowledge content must be refreshed or reprocessed.`,
275
- owners: [`platform.knowledge`],
276
- tags: [`knowledge`, `sources`],
277
- stability: `experimental`
278
- },
279
- io: {
280
- input: f,
281
- output: p
282
- },
283
- policy: {
284
- auth: `admin`,
285
- policies: [{
286
- name: `platform.knowledge.manage`,
287
- version: 1
288
- }]
289
- }
290
- }), y = {
291
- CreateKnowledgeSource: m,
292
- UpdateKnowledgeSource: h,
293
- DeleteKnowledgeSource: g,
294
- ListKnowledgeSources: _,
295
- TriggerKnowledgeSourceSync: v
296
- };
297
-
298
- //#endregion
299
- export { _, g, h, m, v };
@@ -1,7 +0,0 @@
1
- import "./spaces/product-canon.js";
2
- import "./spaces/support-faq.js";
3
- import "./spaces/email-threads.js";
4
- import "./spaces/uploaded-docs.js";
5
- import "./spaces/financial-docs.js";
6
- import "./spaces/financial-overview.js";
7
- import "./spaces/index.js";
@@ -1,34 +0,0 @@
1
- import { e } from "../../ownership.js";
2
-
3
- //#region ../../libs/contracts/dist/knowledge/spaces/email-threads.js
4
- const t = {
5
- meta: {
6
- key: `knowledge.email-threads`,
7
- version: 1,
8
- category: `operational`,
9
- displayName: `Email Threads`,
10
- title: `Operational Email Threads`,
11
- description: `Indexed copies of operational email threads used for support, onboarding, and workflows.`,
12
- domain: `operations`,
13
- owners: [`platform.operations`],
14
- tags: [`email`, `operations`],
15
- stability: e.Beta
16
- },
17
- retention: { ttlDays: 365 },
18
- access: {
19
- policy: {
20
- name: `knowledge.access.email-threads`,
21
- version: 1
22
- },
23
- trustLevel: `medium`,
24
- automationWritable: !0
25
- },
26
- indexing: {
27
- embeddingModel: `mistral-embed`,
28
- chunkSize: 600,
29
- vectorDbIntegration: `vectordb.qdrant`
30
- },
31
- description: `Operational email threads synchronized from Gmail to support automations and contextual assistance.`
32
- };
33
-
34
- //#endregion