@contractspec/lib.contracts 1.56.1 → 1.57.0
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/_virtual/{rolldown_runtime.js → _rolldown/runtime.js} +3 -3
- package/dist/app-config/app-config.contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.js +3 -3
- package/dist/app-config/validation.js +3 -3
- package/dist/capabilities/capabilities.js +20 -20
- package/dist/capabilities/context.d.ts +0 -1
- package/dist/capabilities/context.js +1 -1
- package/dist/capabilities/guards.d.ts +0 -1
- package/dist/capabilities/index.d.ts +2 -1
- package/dist/capabilities/index.js +2 -1
- package/dist/capabilities/meeting-recorder.d.ts +10 -0
- package/dist/capabilities/meeting-recorder.js +82 -0
- package/dist/capabilities/validation.d.ts +0 -1
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -1
- package/dist/client/react/drivers/shadcn.d.ts +0 -1
- package/dist/client/react/form-render.js +3 -3
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/registry.d.ts +0 -1
- package/dist/data-views/spec.d.ts +0 -1
- package/dist/docs/commands/docsPublish.command.d.ts +13 -13
- package/dist/docs/contracts.d.ts +103 -103
- package/dist/docs/events/docsGenerated.event.d.ts +13 -13
- package/dist/docs/events/docsPublished.event.d.ts +15 -15
- package/dist/docs/forms/docsSearch.form.d.ts +4 -4
- package/dist/docs/queries/contractReference.query.d.ts +47 -47
- package/dist/docs/queries/docsIndex.query.d.ts +57 -57
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
- package/dist/docs/tech/mcp-endpoints.docblock.js +5 -0
- package/dist/events.d.ts +0 -1
- package/dist/examples/index.d.ts +0 -1
- package/dist/examples/registry.d.ts +0 -1
- package/dist/examples/schema.d.ts +17 -17
- package/dist/experiments/spec.d.ts +2 -4
- package/dist/features/index.d.ts +0 -1
- package/dist/features/types.d.ts +2 -5
- package/dist/forms/forms.d.ts +1 -2
- package/dist/forms/forms.js +1 -2
- package/dist/index.d.ts +42 -1
- package/dist/index.js +36 -1
- package/dist/install.d.ts +2 -5
- package/dist/integrations/docs/integrations.docblock.js +19 -1
- package/dist/integrations/index.d.ts +26 -1
- package/dist/integrations/index.js +20 -1
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +10 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +12 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +458 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +149 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +173 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +156 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +92 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +82 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +7 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +21 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +11 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +67 -0
- package/dist/integrations/meeting-recorder/models.d.ts +407 -0
- package/dist/integrations/meeting-recorder/models.js +295 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +16 -0
- package/dist/integrations/meeting-recorder/telemetry.js +42 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/analytics-reader.d.ts +107 -0
- package/dist/integrations/providers/analytics-reader.js +0 -0
- package/dist/integrations/providers/analytics-writer.d.ts +10 -0
- package/dist/integrations/providers/analytics-writer.js +0 -0
- package/dist/integrations/providers/analytics.d.ts +49 -0
- package/dist/integrations/providers/analytics.js +0 -0
- package/dist/integrations/providers/database.d.ts +15 -0
- package/dist/integrations/providers/database.js +0 -0
- package/dist/integrations/providers/fal.d.ts +8 -0
- package/dist/integrations/providers/fal.js +94 -0
- package/dist/integrations/providers/fathom.d.ts +8 -0
- package/dist/integrations/providers/fathom.js +114 -0
- package/dist/integrations/providers/fireflies.d.ts +8 -0
- package/dist/integrations/providers/fireflies.js +98 -0
- package/dist/integrations/providers/gradium.d.ts +8 -0
- package/dist/integrations/providers/gradium.js +92 -0
- package/dist/integrations/providers/granola.d.ts +8 -0
- package/dist/integrations/providers/granola.js +71 -0
- package/dist/integrations/providers/index.d.ts +19 -1
- package/dist/integrations/providers/index.js +13 -1
- package/dist/integrations/providers/jira.d.ts +8 -0
- package/dist/integrations/providers/jira.js +90 -0
- package/dist/integrations/providers/linear.d.ts +8 -0
- package/dist/integrations/providers/linear.js +85 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +132 -0
- package/dist/integrations/providers/meeting-recorder.js +0 -0
- package/dist/integrations/providers/notion.d.ts +8 -0
- package/dist/integrations/providers/notion.js +91 -0
- package/dist/integrations/providers/posthog.d.ts +8 -0
- package/dist/integrations/providers/posthog.js +107 -0
- package/dist/integrations/providers/project-management.d.ts +35 -0
- package/dist/integrations/providers/project-management.js +0 -0
- package/dist/integrations/providers/registry.d.ts +0 -1
- package/dist/integrations/providers/registry.js +24 -0
- package/dist/integrations/providers/supabase-postgres.d.ts +8 -0
- package/dist/integrations/providers/supabase-postgres.js +73 -0
- package/dist/integrations/providers/supabase-vector.d.ts +8 -0
- package/dist/integrations/providers/supabase-vector.js +93 -0
- package/dist/integrations/providers/tldv.d.ts +8 -0
- package/dist/integrations/providers/tldv.js +98 -0
- package/dist/integrations/runtime.js +0 -1
- package/dist/integrations/spec.d.ts +1 -1
- package/dist/jobs/queue.d.ts +0 -1
- package/dist/knowledge/binding.d.ts +1 -3
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +0 -1
- package/dist/llm/exporters.js +0 -1
- package/dist/llm/prompts.d.ts +0 -1
- package/dist/llm/types.d.ts +0 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/openapi.d.ts +0 -1
- package/dist/operations/operation.d.ts +19 -43
- package/dist/operations/registry.d.ts +0 -1
- package/dist/operations/registry.js +2 -2
- package/dist/operations/report/getContractVerificationStatus.d.ts +10 -10
- package/dist/ownership.d.ts +41 -88
- package/dist/policy/guards.d.ts +0 -1
- package/dist/policy/guards.js +3 -3
- package/dist/policy/index.d.ts +0 -1
- package/dist/policy/validation.d.ts +0 -1
- package/dist/product-intent/contract-patch-intent.d.ts +103 -0
- package/dist/product-intent/contract-patch-intent.js +33 -0
- package/dist/product-intent/contract-spec-patch.d.ts +89 -0
- package/dist/product-intent/contract-spec-patch.js +27 -0
- package/dist/product-intent/evidence.d.ts +17 -0
- package/dist/product-intent/evidence.js +13 -0
- package/dist/product-intent/findings.d.ts +60 -0
- package/dist/product-intent/findings.js +17 -0
- package/dist/product-intent/impact-report.d.ts +60 -0
- package/dist/product-intent/impact-report.js +27 -0
- package/dist/product-intent/index.d.ts +16 -0
- package/dist/product-intent/index.js +17 -0
- package/dist/product-intent/insights.d.ts +65 -0
- package/dist/product-intent/insights.js +23 -0
- package/dist/product-intent/opportunity-brief.d.ts +195 -0
- package/dist/product-intent/opportunity-brief.js +42 -0
- package/dist/product-intent/problems.d.ts +62 -0
- package/dist/product-intent/problems.js +22 -0
- package/dist/product-intent/registry.d.ts +32 -0
- package/dist/product-intent/registry.js +49 -0
- package/dist/product-intent/runtime.d.ts +103 -0
- package/dist/product-intent/runtime.js +101 -0
- package/dist/product-intent/spec.d.ts +676 -0
- package/dist/product-intent/spec.js +53 -0
- package/dist/product-intent/task-pack.d.ts +101 -0
- package/dist/product-intent/task-pack.js +34 -0
- package/dist/product-intent/tickets.d.ts +70 -0
- package/dist/product-intent/tickets.js +24 -0
- package/dist/product-intent/types.d.ts +12 -0
- package/dist/product-intent/types.js +13 -0
- package/dist/product-intent/ui-wireframe.d.ts +103 -0
- package/dist/product-intent/ui-wireframe.js +33 -0
- package/dist/registry-utils.d.ts +0 -1
- package/dist/registry-utils.js +3 -3
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.d.ts +0 -1
- package/dist/server/contracts-adapter-input.js +2 -2
- package/dist/server/graphql-pothos.d.ts +0 -1
- package/dist/server/mcp/createMcpServer.d.ts +0 -1
- package/dist/server/rest-express.d.ts +0 -1
- package/dist/server/rest-generic.js +3 -3
- package/dist/server/rest-next-app.d.ts +0 -1
- package/dist/tests/spec.d.ts +0 -1
- package/dist/translations/registry.d.ts +0 -1
- package/dist/translations/spec.d.ts +0 -1
- package/dist/translations/validation.d.ts +0 -1
- package/dist/types.d.ts +5 -12
- package/dist/versioning/types.d.ts +0 -1
- package/dist/versioning/utils.d.ts +0 -1
- package/dist/workflow/adapters/memory-store.d.ts +0 -1
- package/dist/workflow/context.d.ts +0 -1
- package/dist/workflow/context.js +2 -2
- package/dist/workflow/runner.d.ts +1 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +0 -1
- package/dist/workspace-config/contractsrc-types.d.ts +1 -3
- package/package.json +110 -32
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gcs-storage.js +0 -88
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/google-calendar.js +0 -154
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/index.js +0 -16
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/mistral-llm.js +0 -247
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/postmark-email.js +0 -55
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-client.js +0 -171
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/provider-factory.js +0 -146
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/stripe-payments.js +0 -202
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/impls/twilio-sms.js +0 -58
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
+
import { defineIntegration } from "../spec.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/supabase-postgres.ts
|
|
5
|
+
const supabasePostgresIntegrationSpec = defineIntegration({
|
|
6
|
+
meta: {
|
|
7
|
+
key: "database.supabase",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
category: "database",
|
|
10
|
+
title: "Supabase Postgres",
|
|
11
|
+
description: "Supabase Postgres integration for SQL query execution and transactional workloads.",
|
|
12
|
+
domain: "infrastructure",
|
|
13
|
+
owners: ["platform.infrastructure"],
|
|
14
|
+
tags: [
|
|
15
|
+
"database",
|
|
16
|
+
"postgres",
|
|
17
|
+
"supabase"
|
|
18
|
+
],
|
|
19
|
+
stability: StabilityEnum.Beta
|
|
20
|
+
},
|
|
21
|
+
supportedModes: ["managed", "byok"],
|
|
22
|
+
capabilities: { provides: [{
|
|
23
|
+
key: "database.sql",
|
|
24
|
+
version: "1.0.0"
|
|
25
|
+
}] },
|
|
26
|
+
configSchema: {
|
|
27
|
+
schema: {
|
|
28
|
+
type: "object",
|
|
29
|
+
properties: {
|
|
30
|
+
maxConnections: {
|
|
31
|
+
type: "number",
|
|
32
|
+
description: "Optional connection pool size when opening a Postgres client to Supabase."
|
|
33
|
+
},
|
|
34
|
+
sslMode: {
|
|
35
|
+
type: "string",
|
|
36
|
+
enum: [
|
|
37
|
+
"require",
|
|
38
|
+
"allow",
|
|
39
|
+
"prefer"
|
|
40
|
+
],
|
|
41
|
+
description: "TLS mode used by the Postgres client."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
example: {
|
|
46
|
+
maxConnections: 10,
|
|
47
|
+
sslMode: "require"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
secretSchema: {
|
|
51
|
+
schema: {
|
|
52
|
+
type: "object",
|
|
53
|
+
required: ["databaseUrl"],
|
|
54
|
+
properties: { databaseUrl: {
|
|
55
|
+
type: "string",
|
|
56
|
+
description: "Supabase Postgres connection string (transaction or session pooler endpoint)."
|
|
57
|
+
} }
|
|
58
|
+
},
|
|
59
|
+
example: { databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres" }
|
|
60
|
+
},
|
|
61
|
+
healthCheck: {
|
|
62
|
+
method: "ping",
|
|
63
|
+
timeoutMs: 5e3
|
|
64
|
+
},
|
|
65
|
+
docsUrl: "https://supabase.com/docs/guides/database/connecting-to-postgres",
|
|
66
|
+
byokSetup: { setupInstructions: "Create or reuse a Supabase project and provide a Postgres connection string with permissions aligned to your workload." }
|
|
67
|
+
});
|
|
68
|
+
function registerSupabasePostgresIntegration(registry) {
|
|
69
|
+
return registry.register(supabasePostgresIntegrationSpec);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
export { registerSupabasePostgresIntegration, supabasePostgresIntegrationSpec };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
import "../index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/supabase-vector.d.ts
|
|
5
|
+
declare const supabaseVectorIntegrationSpec: IntegrationSpec;
|
|
6
|
+
declare function registerSupabaseVectorIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { registerSupabaseVectorIntegration, supabaseVectorIntegrationSpec };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
+
import { defineIntegration } from "../spec.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/supabase-vector.ts
|
|
5
|
+
const supabaseVectorIntegrationSpec = defineIntegration({
|
|
6
|
+
meta: {
|
|
7
|
+
key: "vectordb.supabase",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
category: "vector-db",
|
|
10
|
+
title: "Supabase Vector Database (pgvector)",
|
|
11
|
+
description: "Supabase integration for embedding storage and vector similarity search using pgvector.",
|
|
12
|
+
domain: "ai",
|
|
13
|
+
owners: ["platform.ai"],
|
|
14
|
+
tags: [
|
|
15
|
+
"vector-db",
|
|
16
|
+
"supabase",
|
|
17
|
+
"pgvector"
|
|
18
|
+
],
|
|
19
|
+
stability: StabilityEnum.Beta
|
|
20
|
+
},
|
|
21
|
+
supportedModes: ["managed", "byok"],
|
|
22
|
+
capabilities: {
|
|
23
|
+
provides: [{
|
|
24
|
+
key: "vector-db.search",
|
|
25
|
+
version: "1.0.0"
|
|
26
|
+
}, {
|
|
27
|
+
key: "vector-db.storage",
|
|
28
|
+
version: "1.0.0"
|
|
29
|
+
}],
|
|
30
|
+
requires: [{
|
|
31
|
+
key: "ai.embeddings",
|
|
32
|
+
optional: true,
|
|
33
|
+
reason: "Required when vectors are generated by a hosted embedding provider."
|
|
34
|
+
}]
|
|
35
|
+
},
|
|
36
|
+
configSchema: {
|
|
37
|
+
schema: {
|
|
38
|
+
type: "object",
|
|
39
|
+
properties: {
|
|
40
|
+
schema: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Schema name containing the pgvector table (default: public)."
|
|
43
|
+
},
|
|
44
|
+
table: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Table used to store vectors and metadata (default: contractspec_vectors)."
|
|
47
|
+
},
|
|
48
|
+
createTableIfMissing: {
|
|
49
|
+
type: "boolean",
|
|
50
|
+
description: "Automatically create pgvector extension and table when first writing vectors."
|
|
51
|
+
},
|
|
52
|
+
distanceMetric: {
|
|
53
|
+
type: "string",
|
|
54
|
+
enum: [
|
|
55
|
+
"cosine",
|
|
56
|
+
"l2",
|
|
57
|
+
"inner_product"
|
|
58
|
+
],
|
|
59
|
+
description: "Distance metric used for nearest-neighbor search."
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
example: {
|
|
64
|
+
schema: "public",
|
|
65
|
+
table: "contractspec_vectors",
|
|
66
|
+
createTableIfMissing: true,
|
|
67
|
+
distanceMetric: "cosine"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
secretSchema: {
|
|
71
|
+
schema: {
|
|
72
|
+
type: "object",
|
|
73
|
+
required: ["databaseUrl"],
|
|
74
|
+
properties: { databaseUrl: {
|
|
75
|
+
type: "string",
|
|
76
|
+
description: "Supabase Postgres connection string with privileges to read/write vector rows."
|
|
77
|
+
} }
|
|
78
|
+
},
|
|
79
|
+
example: { databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres" }
|
|
80
|
+
},
|
|
81
|
+
healthCheck: {
|
|
82
|
+
method: "ping",
|
|
83
|
+
timeoutMs: 5e3
|
|
84
|
+
},
|
|
85
|
+
docsUrl: "https://supabase.com/docs/guides/ai/vector-columns",
|
|
86
|
+
byokSetup: { setupInstructions: "Create or reuse a Supabase project, enable pgvector, and provide a Postgres connection string with read/write access to the target vector table." }
|
|
87
|
+
});
|
|
88
|
+
function registerSupabaseVectorIntegration(registry) {
|
|
89
|
+
return registry.register(supabaseVectorIntegrationSpec);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
export { registerSupabaseVectorIntegration, supabaseVectorIntegrationSpec };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
import "../index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/tldv.d.ts
|
|
5
|
+
declare const tldvIntegrationSpec: IntegrationSpec;
|
|
6
|
+
declare function registerTldvIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { registerTldvIntegration, tldvIntegrationSpec };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
+
import { defineIntegration } from "../spec.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/tldv.ts
|
|
5
|
+
const tldvIntegrationSpec = defineIntegration({
|
|
6
|
+
meta: {
|
|
7
|
+
key: "meeting-recorder.tldv",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
category: "meeting-recorder",
|
|
10
|
+
title: "tl;dv Meeting Recorder",
|
|
11
|
+
description: "tl;dv Public API for meeting recordings, transcripts, and webhook events.",
|
|
12
|
+
domain: "productivity",
|
|
13
|
+
owners: ["platform.integrations"],
|
|
14
|
+
tags: [
|
|
15
|
+
"meeting-recorder",
|
|
16
|
+
"tldv",
|
|
17
|
+
"transcripts"
|
|
18
|
+
],
|
|
19
|
+
stability: StabilityEnum.Experimental
|
|
20
|
+
},
|
|
21
|
+
supportedModes: ["byok"],
|
|
22
|
+
capabilities: { provides: [
|
|
23
|
+
{
|
|
24
|
+
key: "meeting-recorder.meetings.read",
|
|
25
|
+
version: "1.0.0"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "meeting-recorder.transcripts.read",
|
|
29
|
+
version: "1.0.0"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "meeting-recorder.webhooks",
|
|
33
|
+
version: "1.0.0"
|
|
34
|
+
}
|
|
35
|
+
] },
|
|
36
|
+
configSchema: {
|
|
37
|
+
schema: {
|
|
38
|
+
type: "object",
|
|
39
|
+
properties: {
|
|
40
|
+
baseUrl: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Optional override for the tl;dv API base URL. Defaults to https://pasta.tldv.io/v1alpha1."
|
|
43
|
+
},
|
|
44
|
+
webhookUrl: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Webhook destination URL configured in tl;dv settings (MeetingReady/TranscriptReady)."
|
|
47
|
+
},
|
|
48
|
+
webhookEvents: {
|
|
49
|
+
type: "array",
|
|
50
|
+
items: { type: "string" },
|
|
51
|
+
description: "Webhook triggers to enable (MeetingReady, TranscriptReady)."
|
|
52
|
+
},
|
|
53
|
+
webhookScope: {
|
|
54
|
+
type: "string",
|
|
55
|
+
description: "Webhook scope to configure (user, team, or organization)."
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
example: {
|
|
60
|
+
baseUrl: "https://pasta.tldv.io/v1alpha1",
|
|
61
|
+
webhookUrl: "https://example.com/webhooks/tldv",
|
|
62
|
+
webhookEvents: ["MeetingReady", "TranscriptReady"],
|
|
63
|
+
webhookScope: "team"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
secretSchema: {
|
|
67
|
+
schema: {
|
|
68
|
+
type: "object",
|
|
69
|
+
required: ["apiKey"],
|
|
70
|
+
properties: {
|
|
71
|
+
apiKey: {
|
|
72
|
+
type: "string",
|
|
73
|
+
description: "tl;dv API key used in the x-api-key header for API requests."
|
|
74
|
+
},
|
|
75
|
+
webhookSecret: {
|
|
76
|
+
type: "string",
|
|
77
|
+
description: "Optional shared secret for webhook verification if configured in your environment."
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
example: {
|
|
82
|
+
apiKey: "tldv-***",
|
|
83
|
+
webhookSecret: "tldv-webhook-secret"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
healthCheck: {
|
|
87
|
+
method: "ping",
|
|
88
|
+
timeoutMs: 6e3
|
|
89
|
+
},
|
|
90
|
+
docsUrl: "https://doc.tldv.io/index.html",
|
|
91
|
+
byokSetup: { setupInstructions: "Generate a tl;dv API key and optionally configure MeetingReady/TranscriptReady webhooks." }
|
|
92
|
+
});
|
|
93
|
+
function registerTldvIntegration(registry) {
|
|
94
|
+
return registry.register(tldvIntegrationSpec);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
//#endregion
|
|
98
|
+
export { registerTldvIntegration, tldvIntegrationSpec };
|
|
@@ -4,7 +4,7 @@ import "../capabilities/index.js";
|
|
|
4
4
|
import { OwnerShipMeta } from "../ownership.js";
|
|
5
5
|
|
|
6
6
|
//#region src/integrations/spec.d.ts
|
|
7
|
-
type IntegrationCategory = 'payments' | 'email' | 'calendar' | 'sms' | 'ai-llm' | 'ai-voice' | 'speech-to-text' | 'vector-db' | 'storage' | 'accounting' | 'crm' | 'helpdesk' | 'open-banking' | 'custom';
|
|
7
|
+
type IntegrationCategory = 'payments' | 'email' | 'calendar' | 'sms' | 'ai-llm' | 'ai-voice' | 'analytics' | 'speech-to-text' | 'vector-db' | 'storage' | 'accounting' | 'crm' | 'helpdesk' | 'project-management' | 'open-banking' | 'meeting-recorder' | 'database' | 'custom';
|
|
8
8
|
type IntegrationOwnershipMode = 'managed' | 'byok';
|
|
9
9
|
interface IntegrationMeta extends OwnerShipMeta {
|
|
10
10
|
category: IntegrationCategory;
|
package/dist/jobs/queue.d.ts
CHANGED
|
@@ -11,9 +11,7 @@ interface AppKnowledgeBinding {
|
|
|
11
11
|
};
|
|
12
12
|
/** Usage constraints. */
|
|
13
13
|
constraints?: {
|
|
14
|
-
/** Max tokens per query. */
|
|
15
|
-
maxTokensPerQuery?: number;
|
|
16
|
-
/** Max queries per minute. */
|
|
14
|
+
/** Max tokens per query. */maxTokensPerQuery?: number; /** Max queries per minute. */
|
|
17
15
|
maxQueriesPerMinute?: number;
|
|
18
16
|
};
|
|
19
17
|
/** Priority when multiple spaces overlap. */
|