@lssm/lib.contracts 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433
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/app-config/app-config.feature.d.ts +11 -0
- package/dist/app-config/branding.d.ts +55 -0
- package/dist/app-config/contracts.d.ts +244 -0
- package/dist/app-config/docs/app-config.docblock.d.ts +6 -0
- package/dist/app-config/events.d.ts +122 -0
- package/dist/app-config/index.d.ts +9 -0
- package/dist/app-config/lifecycle-contracts.d.ts +382 -0
- package/dist/app-config/lifecycle.d.ts +27 -0
- package/dist/app-config/runtime.d.ts +114 -0
- package/dist/app-config/spec.d.ts +175 -0
- package/dist/app-config/validation.d.ts +47 -0
- package/dist/capabilities/docs/capabilities.docblock.d.ts +6 -0
- package/dist/capabilities/openbanking.d.ts +9 -0
- package/dist/capabilities.d.ts +48 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/react/drivers/rn-reusables.d.ts +22 -0
- package/dist/client/react/drivers/shadcn.d.ts +12 -0
- package/dist/client/react/feature-render.d.ts +19 -0
- package/dist/client/react/form-render.d.ts +91 -0
- package/dist/client/react/index.d.ts +5 -0
- package/dist/contract-registry/index.d.ts +3 -0
- package/dist/contract-registry/schemas.d.ts +124 -0
- package/dist/contract-registry/types.d.ts +46 -0
- package/dist/contracts-adapter-hydration.d.ts +15 -0
- package/dist/contracts-adapter-input.d.ts +10 -0
- package/dist/data-views/docs/data-views.docblock.d.ts +6 -0
- package/dist/data-views/query-generator.d.ts +39 -0
- package/dist/data-views/runtime.d.ts +26 -0
- package/dist/data-views.d.ts +131 -0
- package/dist/docs/PUBLISHING.docblock.d.ts +6 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +6 -0
- package/dist/docs/index.d.ts +6 -0
- package/dist/docs/meta.docs.d.ts +6 -0
- package/dist/docs/presentations.d.ts +33 -0
- package/dist/docs/registry.d.ts +24 -0
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +6 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/README.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/tests.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/themes.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +6 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +6 -0
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +7 -0
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +6 -0
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +6 -0
- package/dist/docs/tech/schema/README.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +6 -0
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +6 -0
- package/dist/docs/tech/templates/runtime.docblock.d.ts +6 -0
- package/dist/docs/tech/vscode-extension.docblock.d.ts +6 -0
- package/dist/docs/tech/workflows/overview.docblock.d.ts +6 -0
- package/dist/docs/tech-contracts.docs.d.ts +6 -0
- package/dist/docs/types.d.ts +41 -0
- package/dist/events.d.ts +47 -0
- package/dist/experiments/docs/experiments.docblock.d.ts +6 -0
- package/dist/experiments/evaluator.d.ts +37 -0
- package/dist/experiments/spec-resolver.d.ts +16 -0
- package/dist/experiments/spec.d.ts +89 -0
- package/dist/features.d.ts +96 -0
- package/dist/forms/docs/forms.docblock.d.ts +6 -0
- package/dist/forms.d.ts +258 -0
- package/dist/index.d.ts +127 -0
- package/dist/install.d.ts +76 -0
- package/dist/integrations/binding.d.ts +17 -0
- package/dist/integrations/connection.d.ts +51 -0
- package/dist/integrations/contracts.d.ts +435 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +6 -0
- package/dist/integrations/health.d.ts +21 -0
- package/dist/integrations/index.d.ts +34 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +287 -0
- package/dist/integrations/openbanking/contracts/balances.d.ts +163 -0
- package/dist/integrations/openbanking/contracts/index.d.ts +10 -0
- package/dist/integrations/openbanking/contracts/transactions.d.ts +211 -0
- package/dist/integrations/openbanking/guards.d.ts +12 -0
- package/dist/integrations/openbanking/models.d.ts +228 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +11 -0
- package/dist/integrations/openbanking/telemetry.d.ts +15 -0
- package/dist/integrations/providers/calendar.d.ts +78 -0
- package/dist/integrations/providers/elevenlabs.d.ts +7 -0
- package/dist/integrations/providers/email.d.ts +86 -0
- package/dist/integrations/providers/embedding.d.ts +24 -0
- package/dist/integrations/providers/gcs-storage.d.ts +7 -0
- package/dist/integrations/providers/gmail.d.ts +7 -0
- package/dist/integrations/providers/google-calendar.d.ts +7 -0
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +20 -0
- package/dist/integrations/providers/impls/gcs-storage.d.ts +24 -0
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +26 -0
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +18 -0
- package/dist/integrations/providers/impls/google-calendar.d.ts +23 -0
- package/dist/integrations/providers/impls/index.d.ts +15 -0
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +23 -0
- package/dist/integrations/providers/impls/mistral-llm.d.ts +31 -0
- package/dist/integrations/providers/impls/postmark-email.d.ts +19 -0
- package/dist/integrations/providers/impls/powens-client.d.ts +124 -0
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +27 -0
- package/dist/integrations/providers/impls/provider-factory.d.ts +26 -0
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +24 -0
- package/dist/integrations/providers/impls/stripe-payments.d.ts +28 -0
- package/dist/integrations/providers/impls/twilio-sms.d.ts +20 -0
- package/dist/integrations/providers/index.d.ts +22 -0
- package/dist/integrations/providers/llm.d.ts +82 -0
- package/dist/integrations/providers/mistral.d.ts +7 -0
- package/dist/integrations/providers/openbanking.d.ts +128 -0
- package/dist/integrations/providers/payments.d.ts +109 -0
- package/dist/integrations/providers/postmark.d.ts +7 -0
- package/dist/integrations/providers/powens.d.ts +7 -0
- package/dist/integrations/providers/qdrant.d.ts +7 -0
- package/dist/integrations/providers/registry.d.ts +11 -0
- package/dist/integrations/providers/sms.d.ts +34 -0
- package/dist/integrations/providers/storage.d.ts +60 -0
- package/dist/integrations/providers/stripe.d.ts +7 -0
- package/dist/integrations/providers/twilio-sms.d.ts +7 -0
- package/dist/integrations/providers/vector-store.d.ts +43 -0
- package/dist/integrations/providers/voice.d.ts +34 -0
- package/dist/integrations/runtime.d.ts +99 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +31 -0
- package/dist/integrations/secrets/env-secret-provider.d.ts +31 -0
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +32 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
- package/dist/integrations/secrets/index.d.ts +7 -0
- package/dist/integrations/secrets/manager.d.ts +47 -0
- package/dist/integrations/secrets/provider.d.ts +52 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +38 -0
- package/dist/integrations/spec.d.ts +79 -0
- package/dist/jobs/define-job.d.ts +18 -0
- package/dist/jobs/gcp-cloud-tasks.d.ts +41 -0
- package/dist/jobs/gcp-pubsub.d.ts +25 -0
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +9 -0
- package/dist/jobs/handlers/index.d.ts +9 -0
- package/dist/jobs/handlers/ping-handler.d.ts +10 -0
- package/dist/jobs/handlers/storage-document-handler.d.ts +12 -0
- package/dist/jobs/index.d.ts +3 -0
- package/dist/jobs/memory-queue.d.ts +18 -0
- package/dist/jobs/queue.d.ts +131 -0
- package/dist/jobs/scaleway-sqs-queue.d.ts +30 -0
- package/dist/jsonschema.d.ts +27 -0
- package/dist/knowledge/binding.d.ts +25 -0
- package/dist/knowledge/contracts.d.ts +316 -0
- package/dist/knowledge/docs/knowledge.docblock.d.ts +6 -0
- package/dist/knowledge/index.d.ts +10 -0
- package/dist/knowledge/ingestion/document-processor.d.ts +24 -0
- package/dist/knowledge/ingestion/embedding-service.d.ts +12 -0
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +18 -0
- package/dist/knowledge/ingestion/index.d.ts +6 -0
- package/dist/knowledge/ingestion/storage-adapter.d.ts +15 -0
- package/dist/knowledge/ingestion/vector-indexer.d.ts +18 -0
- package/dist/knowledge/query/index.d.ts +2 -0
- package/dist/knowledge/query/service.d.ts +29 -0
- package/dist/knowledge/runtime.d.ts +32 -0
- package/dist/knowledge/source.d.ts +32 -0
- package/dist/knowledge/spaces/email-threads.d.ts +7 -0
- package/dist/knowledge/spaces/financial-docs.d.ts +7 -0
- package/dist/knowledge/spaces/financial-overview.d.ts +7 -0
- package/dist/knowledge/spaces/index.d.ts +7 -0
- package/dist/knowledge/spaces/product-canon.d.ts +7 -0
- package/dist/knowledge/spaces/support-faq.d.ts +7 -0
- package/dist/knowledge/spaces/uploaded-docs.d.ts +7 -0
- package/dist/knowledge/spec.d.ts +52 -0
- package/dist/llm/exporters.d.ts +67 -0
- package/dist/llm/index.d.ts +4 -0
- package/dist/llm/prompts.d.ts +51 -0
- package/dist/llm/types.d.ts +213 -0
- package/dist/markdown.d.ts +21 -0
- package/dist/migrations.d.ts +52 -0
- package/dist/onboarding-base.d.ts +137 -0
- package/dist/openapi.d.ts +31 -0
- package/dist/openbanking/docs/openbanking.docblock.d.ts +6 -0
- package/dist/ownership.d.ts +75 -0
- package/dist/policy/docs/policy.docblock.d.ts +6 -0
- package/dist/policy/engine.d.ts +39 -0
- package/dist/policy/opa-adapter.d.ts +45 -0
- package/dist/policy/spec.d.ts +114 -0
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +6 -0
- package/dist/presentations.backcompat.d.ts +7 -0
- package/dist/presentations.d.ts +98 -0
- package/dist/presentations.v2.d.ts +114 -0
- package/dist/prompt.d.ts +60 -0
- package/dist/promptRegistry.d.ts +15 -0
- package/dist/regenerator/adapters.d.ts +19 -0
- package/dist/regenerator/docs/regenerator.docblock.d.ts +6 -0
- package/dist/regenerator/executor.d.ts +70 -0
- package/dist/regenerator/index.d.ts +7 -0
- package/dist/regenerator/service.d.ts +33 -0
- package/dist/regenerator/sinks.d.ts +26 -0
- package/dist/regenerator/types.d.ts +107 -0
- package/dist/regenerator/utils.d.ts +9 -0
- package/dist/registry.d.ts +73 -0
- package/dist/resources.d.ts +64 -0
- package/dist/schema-to-markdown.d.ts +54 -0
- package/dist/server/graphql-pothos.d.ts +27 -0
- package/dist/server/index.d.ts +9 -0
- package/dist/server/mcp/createMcpServer.d.ts +15 -0
- package/dist/server/mcp/mcpTypes.d.ts +29 -0
- package/dist/server/mcp/registerPresentations.d.ts +7 -0
- package/dist/server/mcp/registerPrompts.d.ts +8 -0
- package/dist/server/mcp/registerResources.d.ts +8 -0
- package/dist/server/mcp/registerTools.d.ts +8 -0
- package/dist/server/provider-mcp.d.ts +2 -0
- package/dist/server/rest-elysia.d.ts +40 -0
- package/dist/server/rest-express.d.ts +16 -0
- package/dist/server/rest-generic.d.ts +32 -0
- package/dist/server/rest-next-app.d.ts +35 -0
- package/dist/server/rest-next-mcp.d.ts +11 -0
- package/dist/server/rest-next-pages.d.ts +9 -0
- package/dist/spec.d.ts +195 -0
- package/dist/telemetry/anomaly.d.ts +27 -0
- package/dist/telemetry/docs/telemetry.docblock.d.ts +6 -0
- package/dist/telemetry/index.d.ts +4 -0
- package/dist/telemetry/spec.d.ts +98 -0
- package/dist/telemetry/tracker.d.ts +51 -0
- package/dist/tests/index.d.ts +3 -0
- package/dist/tests/runner.d.ts +43 -0
- package/dist/tests/spec.d.ts +89 -0
- package/dist/themes.d.ts +55 -0
- package/dist/translations/catalog.d.ts +28 -0
- package/dist/translations/tenant.d.ts +15 -0
- package/dist/types/all.d.ts +60 -0
- package/dist/types.d.ts +88 -0
- package/dist/workflow/adapters/db-adapter.d.ts +34 -0
- package/dist/workflow/adapters/file-adapter.d.ts +14 -0
- package/dist/workflow/adapters/index.d.ts +4 -0
- package/dist/workflow/adapters/memory-store.d.ts +18 -0
- package/dist/workflow/expression.d.ts +9 -0
- package/dist/workflow/index.d.ts +10 -0
- package/dist/workflow/runner.d.ts +74 -0
- package/dist/workflow/sla-monitor.d.ts +20 -0
- package/dist/workflow/spec.d.ts +99 -0
- package/dist/workflow/state.d.ts +35 -0
- package/dist/workflow/validation.d.ts +28 -0
- package/package.json +250 -250
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as _lssm_lib_schema197 from "@lssm/lib.schema";
|
|
2
|
+
import { SchemaModel } from "@lssm/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/openbanking/models.d.ts
|
|
5
|
+
declare const BankAccountRecord: SchemaModel<{
|
|
6
|
+
id: {
|
|
7
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
8
|
+
isOptional: false;
|
|
9
|
+
};
|
|
10
|
+
tenantId: {
|
|
11
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
12
|
+
isOptional: false;
|
|
13
|
+
};
|
|
14
|
+
userId: {
|
|
15
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
16
|
+
isOptional: false;
|
|
17
|
+
};
|
|
18
|
+
connectionId: {
|
|
19
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
20
|
+
isOptional: false;
|
|
21
|
+
};
|
|
22
|
+
externalId: {
|
|
23
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
24
|
+
isOptional: false;
|
|
25
|
+
};
|
|
26
|
+
institutionId: {
|
|
27
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
28
|
+
isOptional: false;
|
|
29
|
+
};
|
|
30
|
+
institutionName: {
|
|
31
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
32
|
+
isOptional: false;
|
|
33
|
+
};
|
|
34
|
+
institutionLogoUrl: {
|
|
35
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
36
|
+
isOptional: true;
|
|
37
|
+
};
|
|
38
|
+
iban: {
|
|
39
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
40
|
+
isOptional: true;
|
|
41
|
+
};
|
|
42
|
+
bic: {
|
|
43
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
44
|
+
isOptional: true;
|
|
45
|
+
};
|
|
46
|
+
accountType: {
|
|
47
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
currency: {
|
|
51
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
displayName: {
|
|
55
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
accountNumberMasked: {
|
|
59
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
60
|
+
isOptional: true;
|
|
61
|
+
};
|
|
62
|
+
productCode: {
|
|
63
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
64
|
+
isOptional: true;
|
|
65
|
+
};
|
|
66
|
+
balance: {
|
|
67
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
68
|
+
isOptional: true;
|
|
69
|
+
};
|
|
70
|
+
availableBalance: {
|
|
71
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
72
|
+
isOptional: true;
|
|
73
|
+
};
|
|
74
|
+
lastSyncedAt: {
|
|
75
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
createdAt: {
|
|
79
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
80
|
+
isOptional: false;
|
|
81
|
+
};
|
|
82
|
+
updatedAt: {
|
|
83
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
84
|
+
isOptional: false;
|
|
85
|
+
};
|
|
86
|
+
metadata: {
|
|
87
|
+
type: _lssm_lib_schema197.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
88
|
+
isOptional: true;
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
91
|
+
declare const BankTransactionRecord: SchemaModel<{
|
|
92
|
+
id: {
|
|
93
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
accountId: {
|
|
97
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
tenantId: {
|
|
101
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
connectionId: {
|
|
105
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
106
|
+
isOptional: false;
|
|
107
|
+
};
|
|
108
|
+
externalId: {
|
|
109
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
110
|
+
isOptional: false;
|
|
111
|
+
};
|
|
112
|
+
amount: {
|
|
113
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
114
|
+
isOptional: false;
|
|
115
|
+
};
|
|
116
|
+
currency: {
|
|
117
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
118
|
+
isOptional: false;
|
|
119
|
+
};
|
|
120
|
+
date: {
|
|
121
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
122
|
+
isOptional: false;
|
|
123
|
+
};
|
|
124
|
+
bookingDate: {
|
|
125
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
126
|
+
isOptional: true;
|
|
127
|
+
};
|
|
128
|
+
valueDate: {
|
|
129
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
130
|
+
isOptional: true;
|
|
131
|
+
};
|
|
132
|
+
description: {
|
|
133
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
134
|
+
isOptional: true;
|
|
135
|
+
};
|
|
136
|
+
counterpartyName: {
|
|
137
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
138
|
+
isOptional: true;
|
|
139
|
+
};
|
|
140
|
+
counterpartyAccount: {
|
|
141
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
142
|
+
isOptional: true;
|
|
143
|
+
};
|
|
144
|
+
merchantCategoryCode: {
|
|
145
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
146
|
+
isOptional: true;
|
|
147
|
+
};
|
|
148
|
+
rawCategory: {
|
|
149
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
150
|
+
isOptional: true;
|
|
151
|
+
};
|
|
152
|
+
standardizedCategory: {
|
|
153
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
154
|
+
isOptional: true;
|
|
155
|
+
};
|
|
156
|
+
transactionType: {
|
|
157
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
158
|
+
isOptional: false;
|
|
159
|
+
};
|
|
160
|
+
status: {
|
|
161
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
162
|
+
isOptional: false;
|
|
163
|
+
};
|
|
164
|
+
runningBalance: {
|
|
165
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
166
|
+
isOptional: true;
|
|
167
|
+
};
|
|
168
|
+
metadata: {
|
|
169
|
+
type: _lssm_lib_schema197.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
170
|
+
isOptional: true;
|
|
171
|
+
};
|
|
172
|
+
createdAt: {
|
|
173
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
174
|
+
isOptional: false;
|
|
175
|
+
};
|
|
176
|
+
updatedAt: {
|
|
177
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
178
|
+
isOptional: false;
|
|
179
|
+
};
|
|
180
|
+
}>;
|
|
181
|
+
declare const AccountBalanceRecord: SchemaModel<{
|
|
182
|
+
id: {
|
|
183
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
184
|
+
isOptional: false;
|
|
185
|
+
};
|
|
186
|
+
accountId: {
|
|
187
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
188
|
+
isOptional: false;
|
|
189
|
+
};
|
|
190
|
+
tenantId: {
|
|
191
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
194
|
+
connectionId: {
|
|
195
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
196
|
+
isOptional: false;
|
|
197
|
+
};
|
|
198
|
+
balanceType: {
|
|
199
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
200
|
+
isOptional: false;
|
|
201
|
+
};
|
|
202
|
+
currentBalance: {
|
|
203
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
204
|
+
isOptional: false;
|
|
205
|
+
};
|
|
206
|
+
availableBalance: {
|
|
207
|
+
type: _lssm_lib_schema197.FieldType<number, number>;
|
|
208
|
+
isOptional: true;
|
|
209
|
+
};
|
|
210
|
+
currency: {
|
|
211
|
+
type: _lssm_lib_schema197.FieldType<string, string>;
|
|
212
|
+
isOptional: false;
|
|
213
|
+
};
|
|
214
|
+
lastUpdatedAt: {
|
|
215
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
216
|
+
isOptional: false;
|
|
217
|
+
};
|
|
218
|
+
createdAt: {
|
|
219
|
+
type: _lssm_lib_schema197.FieldType<Date, string>;
|
|
220
|
+
isOptional: false;
|
|
221
|
+
};
|
|
222
|
+
metadata: {
|
|
223
|
+
type: _lssm_lib_schema197.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
224
|
+
isOptional: true;
|
|
225
|
+
};
|
|
226
|
+
}>;
|
|
227
|
+
//#endregion
|
|
228
|
+
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FeatureModuleSpec } from "../../features.js";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/openbanking/openbanking.feature.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* OpenBanking feature module that bundles account, balance,
|
|
7
|
+
* and transaction synchronization capabilities.
|
|
8
|
+
*/
|
|
9
|
+
declare const OpenBankingFeature: FeatureModuleSpec;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { OpenBankingFeature };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/integrations/openbanking/telemetry.d.ts
|
|
2
|
+
declare const OPENBANKING_PII_FIELDS: readonly ["iban", "bic", "accountNumberMasked", "accountNumber", "counterpartyName", "counterpartyAccount", "description", "merchantName", "merchantCategoryCode", "reference"];
|
|
3
|
+
declare const OPENBANKING_TELEMETRY_EVENTS: {
|
|
4
|
+
readonly accountsSynced: "openbanking.accounts.synced";
|
|
5
|
+
readonly accountsSyncFailed: "openbanking.accounts.sync_failed";
|
|
6
|
+
readonly transactionsSynced: "openbanking.transactions.synced";
|
|
7
|
+
readonly transactionsSyncFailed: "openbanking.transactions.sync_failed";
|
|
8
|
+
readonly balancesRefreshed: "openbanking.balances.refreshed";
|
|
9
|
+
readonly balancesRefreshFailed: "openbanking.balances.refresh_failed";
|
|
10
|
+
readonly overviewGenerated: "openbanking.overview.generated";
|
|
11
|
+
};
|
|
12
|
+
type OpenBankingTelemetryEvent = (typeof OPENBANKING_TELEMETRY_EVENTS)[keyof typeof OPENBANKING_TELEMETRY_EVENTS];
|
|
13
|
+
declare function redactOpenBankingTelemetryPayload<T extends Record<string, unknown>>(payload: T): T;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingTelemetryEvent, redactOpenBankingTelemetryPayload };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
//#region src/integrations/providers/calendar.d.ts
|
|
2
|
+
interface CalendarAttendee {
|
|
3
|
+
email: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
optional?: boolean;
|
|
6
|
+
responseStatus?: 'needsAction' | 'declined' | 'tentative' | 'accepted';
|
|
7
|
+
}
|
|
8
|
+
interface CalendarReminder {
|
|
9
|
+
method: 'email' | 'popup';
|
|
10
|
+
minutesBeforeStart: number;
|
|
11
|
+
}
|
|
12
|
+
interface CalendarEvent {
|
|
13
|
+
id: string;
|
|
14
|
+
calendarId: string;
|
|
15
|
+
title: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
location?: string;
|
|
18
|
+
start: Date;
|
|
19
|
+
end: Date;
|
|
20
|
+
allDay?: boolean;
|
|
21
|
+
attendees?: CalendarAttendee[];
|
|
22
|
+
reminders?: CalendarReminder[];
|
|
23
|
+
conferenceLink?: string;
|
|
24
|
+
metadata?: Record<string, string>;
|
|
25
|
+
createdAt?: Date;
|
|
26
|
+
updatedAt?: Date;
|
|
27
|
+
}
|
|
28
|
+
interface CalendarEventInput {
|
|
29
|
+
calendarId: string;
|
|
30
|
+
title: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
location?: string;
|
|
33
|
+
start: Date;
|
|
34
|
+
end: Date;
|
|
35
|
+
allDay?: boolean;
|
|
36
|
+
attendees?: CalendarAttendee[];
|
|
37
|
+
reminders?: CalendarReminder[];
|
|
38
|
+
conference?: {
|
|
39
|
+
create: boolean;
|
|
40
|
+
type?: 'google_meet' | 'zoom' | 'custom';
|
|
41
|
+
};
|
|
42
|
+
metadata?: Record<string, string>;
|
|
43
|
+
}
|
|
44
|
+
interface CalendarEventUpdateInput {
|
|
45
|
+
title?: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
location?: string;
|
|
48
|
+
start?: Date;
|
|
49
|
+
end?: Date;
|
|
50
|
+
allDay?: boolean;
|
|
51
|
+
attendees?: CalendarAttendee[];
|
|
52
|
+
reminders?: CalendarReminder[];
|
|
53
|
+
conference?: {
|
|
54
|
+
create?: boolean;
|
|
55
|
+
type?: 'google_meet' | 'zoom' | 'custom';
|
|
56
|
+
};
|
|
57
|
+
metadata?: Record<string, string>;
|
|
58
|
+
}
|
|
59
|
+
interface CalendarListEventsQuery {
|
|
60
|
+
calendarId: string;
|
|
61
|
+
timeMin?: Date;
|
|
62
|
+
timeMax?: Date;
|
|
63
|
+
maxResults?: number;
|
|
64
|
+
pageToken?: string;
|
|
65
|
+
includeCancelled?: boolean;
|
|
66
|
+
}
|
|
67
|
+
interface CalendarListEventsResult {
|
|
68
|
+
events: CalendarEvent[];
|
|
69
|
+
nextPageToken?: string;
|
|
70
|
+
}
|
|
71
|
+
interface CalendarProvider {
|
|
72
|
+
listEvents(query: CalendarListEventsQuery): Promise<CalendarListEventsResult>;
|
|
73
|
+
createEvent(input: CalendarEventInput): Promise<CalendarEvent>;
|
|
74
|
+
updateEvent(calendarId: string, eventId: string, input: CalendarEventUpdateInput): Promise<CalendarEvent>;
|
|
75
|
+
deleteEvent(calendarId: string, eventId: string): Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/elevenlabs.d.ts
|
|
4
|
+
declare const elevenLabsIntegrationSpec: IntegrationSpec;
|
|
5
|
+
declare function registerElevenLabsIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { elevenLabsIntegrationSpec, registerElevenLabsIntegration };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region src/integrations/providers/email.d.ts
|
|
2
|
+
interface EmailAddress {
|
|
3
|
+
email: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
interface EmailAttachment {
|
|
7
|
+
id: string;
|
|
8
|
+
filename: string;
|
|
9
|
+
contentType: string;
|
|
10
|
+
sizeBytes?: number;
|
|
11
|
+
data?: Uint8Array;
|
|
12
|
+
downloadUrl?: string;
|
|
13
|
+
}
|
|
14
|
+
interface EmailOutboundMessage {
|
|
15
|
+
from: EmailAddress;
|
|
16
|
+
to: EmailAddress[];
|
|
17
|
+
cc?: EmailAddress[];
|
|
18
|
+
bcc?: EmailAddress[];
|
|
19
|
+
replyTo?: EmailAddress;
|
|
20
|
+
subject: string;
|
|
21
|
+
textBody?: string;
|
|
22
|
+
htmlBody?: string;
|
|
23
|
+
headers?: Record<string, string>;
|
|
24
|
+
attachments?: EmailAttachment[];
|
|
25
|
+
metadata?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
interface EmailOutboundResult {
|
|
28
|
+
id: string;
|
|
29
|
+
providerMessageId?: string;
|
|
30
|
+
queuedAt?: Date;
|
|
31
|
+
deliveredAt?: Date;
|
|
32
|
+
}
|
|
33
|
+
interface EmailThread {
|
|
34
|
+
id: string;
|
|
35
|
+
subject?: string;
|
|
36
|
+
snippet?: string;
|
|
37
|
+
participants: EmailAddress[];
|
|
38
|
+
messages: EmailMessage[];
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
labels?: string[];
|
|
41
|
+
metadata?: Record<string, string>;
|
|
42
|
+
}
|
|
43
|
+
interface EmailMessage {
|
|
44
|
+
id: string;
|
|
45
|
+
threadId: string;
|
|
46
|
+
subject?: string;
|
|
47
|
+
from: EmailAddress;
|
|
48
|
+
to: EmailAddress[];
|
|
49
|
+
cc?: EmailAddress[];
|
|
50
|
+
bcc?: EmailAddress[];
|
|
51
|
+
replyTo?: EmailAddress;
|
|
52
|
+
sentAt: Date;
|
|
53
|
+
receivedAt?: Date;
|
|
54
|
+
textBody?: string;
|
|
55
|
+
htmlBody?: string;
|
|
56
|
+
attachments?: EmailAttachment[];
|
|
57
|
+
headers?: Record<string, string>;
|
|
58
|
+
metadata?: Record<string, string>;
|
|
59
|
+
}
|
|
60
|
+
interface EmailThreadListQuery {
|
|
61
|
+
label?: string;
|
|
62
|
+
query?: string;
|
|
63
|
+
pageSize?: number;
|
|
64
|
+
pageToken?: string;
|
|
65
|
+
includeArchived?: boolean;
|
|
66
|
+
updatedSince?: Date;
|
|
67
|
+
}
|
|
68
|
+
interface EmailMessagesSinceQuery {
|
|
69
|
+
label?: string;
|
|
70
|
+
since?: Date;
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
pageToken?: string;
|
|
73
|
+
}
|
|
74
|
+
interface EmailOutboundProvider {
|
|
75
|
+
sendEmail(message: EmailOutboundMessage): Promise<EmailOutboundResult>;
|
|
76
|
+
}
|
|
77
|
+
interface EmailInboundProvider {
|
|
78
|
+
listThreads(query?: EmailThreadListQuery): Promise<EmailThread[]>;
|
|
79
|
+
getThread(threadId: string): Promise<EmailThread | null>;
|
|
80
|
+
listMessagesSince(query: EmailMessagesSinceQuery): Promise<{
|
|
81
|
+
messages: EmailMessage[];
|
|
82
|
+
nextPageToken?: string;
|
|
83
|
+
}>;
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
export { EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/integrations/providers/embedding.d.ts
|
|
2
|
+
type EmbeddingVector = number[];
|
|
3
|
+
interface EmbeddingDocument {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
metadata?: Record<string, string | number | boolean>;
|
|
7
|
+
}
|
|
8
|
+
interface EmbeddingResult {
|
|
9
|
+
id: string;
|
|
10
|
+
vector: EmbeddingVector;
|
|
11
|
+
dimensions: number;
|
|
12
|
+
model: string;
|
|
13
|
+
metadata?: Record<string, string>;
|
|
14
|
+
}
|
|
15
|
+
interface EmbeddingProvider {
|
|
16
|
+
embedDocuments(documents: EmbeddingDocument[], options?: {
|
|
17
|
+
model?: string;
|
|
18
|
+
}): Promise<EmbeddingResult[]>;
|
|
19
|
+
embedQuery(query: string, options?: {
|
|
20
|
+
model?: string;
|
|
21
|
+
}): Promise<EmbeddingResult>;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/gcs-storage.d.ts
|
|
4
|
+
declare const gcsStorageIntegrationSpec: IntegrationSpec;
|
|
5
|
+
declare function registerGcsStorageIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { gcsStorageIntegrationSpec, registerGcsStorageIntegration };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/gmail.d.ts
|
|
4
|
+
declare const gmailIntegrationSpec: IntegrationSpec;
|
|
5
|
+
declare function registerGmailIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { gmailIntegrationSpec, registerGmailIntegration };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/google-calendar.d.ts
|
|
4
|
+
declare const googleCalendarIntegrationSpec: IntegrationSpec;
|
|
5
|
+
declare function registerGoogleCalendarIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult } from "../voice.js";
|
|
2
|
+
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/elevenlabs-voice.d.ts
|
|
5
|
+
interface ElevenLabsVoiceProviderOptions {
|
|
6
|
+
apiKey: string;
|
|
7
|
+
defaultVoiceId?: string;
|
|
8
|
+
modelId?: string;
|
|
9
|
+
client?: ElevenLabsClient;
|
|
10
|
+
}
|
|
11
|
+
declare class ElevenLabsVoiceProvider implements VoiceProvider {
|
|
12
|
+
private readonly client;
|
|
13
|
+
private readonly defaultVoiceId?;
|
|
14
|
+
private readonly modelId?;
|
|
15
|
+
constructor(options: ElevenLabsVoiceProviderOptions);
|
|
16
|
+
listVoices(): Promise<Voice[]>;
|
|
17
|
+
synthesize(input: VoiceSynthesisInput): Promise<VoiceSynthesisResult>;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DeleteObjectInput, GetObjectResult, ListObjectsQuery, ListObjectsResult, ObjectStorageProvider, PutObjectInput, SignedUrlOptions, StorageObjectMetadata } from "../storage.js";
|
|
2
|
+
import { Storage, StorageOptions } from "@google-cloud/storage";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/gcs-storage.d.ts
|
|
5
|
+
interface GoogleCloudStorageProviderOptions {
|
|
6
|
+
bucket: string;
|
|
7
|
+
storage?: Storage;
|
|
8
|
+
clientOptions?: StorageOptions;
|
|
9
|
+
}
|
|
10
|
+
declare class GoogleCloudStorageProvider implements ObjectStorageProvider {
|
|
11
|
+
private readonly storage;
|
|
12
|
+
private readonly bucketName;
|
|
13
|
+
constructor(options: GoogleCloudStorageProviderOptions);
|
|
14
|
+
putObject(input: PutObjectInput): Promise<StorageObjectMetadata>;
|
|
15
|
+
getObject(input: DeleteObjectInput): Promise<GetObjectResult | null>;
|
|
16
|
+
deleteObject(input: DeleteObjectInput): Promise<void>;
|
|
17
|
+
generateSignedUrl(options: SignedUrlOptions): Promise<{
|
|
18
|
+
url: string;
|
|
19
|
+
expiresAt: Date;
|
|
20
|
+
}>;
|
|
21
|
+
listObjects(query: ListObjectsQuery): Promise<ListObjectsResult>;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailThread, EmailThreadListQuery } from "../email.js";
|
|
2
|
+
import { gmail_v1 } from "googleapis";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/gmail-inbound.d.ts
|
|
5
|
+
interface GmailInboundProviderOptions {
|
|
6
|
+
auth: gmail_v1.Options['auth'];
|
|
7
|
+
userId?: string;
|
|
8
|
+
gmail?: gmail_v1.Gmail;
|
|
9
|
+
includeSpamTrash?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare class GmailInboundProvider implements EmailInboundProvider {
|
|
12
|
+
private readonly gmail;
|
|
13
|
+
private readonly userId;
|
|
14
|
+
private readonly includeSpamTrash;
|
|
15
|
+
private readonly auth;
|
|
16
|
+
constructor(options: GmailInboundProviderOptions);
|
|
17
|
+
listThreads(query?: EmailThreadListQuery): Promise<EmailThread[]>;
|
|
18
|
+
getThread(threadId: string): Promise<EmailThread | null>;
|
|
19
|
+
listMessagesSince(query: EmailMessagesSinceQuery): Promise<{
|
|
20
|
+
messages: EmailMessage[];
|
|
21
|
+
nextPageToken: string | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
private transformMessage;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { GmailInboundProvider, GmailInboundProviderOptions };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult } from "../email.js";
|
|
2
|
+
import { gmail_v1 } from "googleapis";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/gmail-outbound.d.ts
|
|
5
|
+
interface GmailOutboundProviderOptions {
|
|
6
|
+
auth: gmail_v1.Options['auth'];
|
|
7
|
+
userId?: string;
|
|
8
|
+
gmail?: gmail_v1.Gmail;
|
|
9
|
+
}
|
|
10
|
+
declare class GmailOutboundProvider implements EmailOutboundProvider {
|
|
11
|
+
private readonly gmail;
|
|
12
|
+
private readonly userId;
|
|
13
|
+
private readonly auth;
|
|
14
|
+
constructor(options: GmailOutboundProviderOptions);
|
|
15
|
+
sendEmail(message: EmailOutboundMessage): Promise<EmailOutboundResult>;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { GmailOutboundProvider, GmailOutboundProviderOptions };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider } from "../calendar.js";
|
|
2
|
+
import { calendar_v3 } from "googleapis";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/google-calendar.d.ts
|
|
5
|
+
interface GoogleCalendarProviderOptions {
|
|
6
|
+
auth: calendar_v3.Options['auth'];
|
|
7
|
+
calendar?: calendar_v3.Calendar;
|
|
8
|
+
calendarId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare class GoogleCalendarProvider implements CalendarProvider {
|
|
11
|
+
private readonly calendar;
|
|
12
|
+
private readonly defaultCalendarId;
|
|
13
|
+
private readonly auth;
|
|
14
|
+
constructor(options: GoogleCalendarProviderOptions);
|
|
15
|
+
listEvents(query: CalendarListEventsQuery): Promise<CalendarListEventsResult>;
|
|
16
|
+
createEvent(input: CalendarEventInput): Promise<CalendarEvent>;
|
|
17
|
+
updateEvent(calendarId: string, eventId: string, input: CalendarEventUpdateInput): Promise<CalendarEvent>;
|
|
18
|
+
deleteEvent(calendarId: string, eventId: string): Promise<void>;
|
|
19
|
+
private fromGoogleEvent;
|
|
20
|
+
private toGoogleEvent;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { GoogleCalendarProvider, GoogleCalendarProviderOptions };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions } from "./elevenlabs-voice.js";
|
|
2
|
+
import { GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions } from "./gcs-storage.js";
|
|
3
|
+
import { GmailInboundProvider, GmailInboundProviderOptions } from "./gmail-inbound.js";
|
|
4
|
+
import { GmailOutboundProvider, GmailOutboundProviderOptions } from "./gmail-outbound.js";
|
|
5
|
+
import { GoogleCalendarProvider, GoogleCalendarProviderOptions } from "./google-calendar.js";
|
|
6
|
+
import { MistralLLMProvider, MistralLLMProviderOptions } from "./mistral-llm.js";
|
|
7
|
+
import { MistralEmbeddingProvider, MistralEmbeddingProviderOptions } from "./mistral-embedding.js";
|
|
8
|
+
import { QdrantVectorProvider, QdrantVectorProviderOptions } from "./qdrant-vector.js";
|
|
9
|
+
import { StripePaymentsProvider, StripePaymentsProviderOptions } from "./stripe-payments.js";
|
|
10
|
+
import { PostmarkEmailProvider, PostmarkEmailProviderOptions } from "./postmark-email.js";
|
|
11
|
+
import { TwilioSmsProvider, TwilioSmsProviderOptions } from "./twilio-sms.js";
|
|
12
|
+
import { PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensTransaction, PowensTransactionListResponse } from "./powens-client.js";
|
|
13
|
+
import { PowensOpenBankingProvider, PowensOpenBankingProviderOptions } from "./powens-openbanking.js";
|
|
14
|
+
import { IntegrationProviderFactory } from "./provider-factory.js";
|
|
15
|
+
export { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions, GmailInboundProvider, GmailInboundProviderOptions, GmailOutboundProvider, GmailOutboundProviderOptions, GoogleCalendarProvider, GoogleCalendarProviderOptions, GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions, IntegrationProviderFactory, MistralEmbeddingProvider, MistralEmbeddingProviderOptions, MistralLLMProvider, MistralLLMProviderOptions, PostmarkEmailProvider, PostmarkEmailProviderOptions, PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensOpenBankingProvider, PowensOpenBankingProviderOptions, PowensTransaction, PowensTransactionListResponse, QdrantVectorProvider, QdrantVectorProviderOptions, StripePaymentsProvider, StripePaymentsProviderOptions, TwilioSmsProvider, TwilioSmsProviderOptions };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EmbeddingDocument, EmbeddingProvider, EmbeddingResult } from "../embedding.js";
|
|
2
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/mistral-embedding.d.ts
|
|
5
|
+
interface MistralEmbeddingProviderOptions {
|
|
6
|
+
apiKey: string;
|
|
7
|
+
defaultModel?: string;
|
|
8
|
+
serverURL?: string;
|
|
9
|
+
client?: Mistral;
|
|
10
|
+
}
|
|
11
|
+
declare class MistralEmbeddingProvider implements EmbeddingProvider {
|
|
12
|
+
private readonly client;
|
|
13
|
+
private readonly defaultModel;
|
|
14
|
+
constructor(options: MistralEmbeddingProviderOptions);
|
|
15
|
+
embedDocuments(documents: EmbeddingDocument[], options?: {
|
|
16
|
+
model?: string;
|
|
17
|
+
}): Promise<EmbeddingResult[]>;
|
|
18
|
+
embedQuery(query: string, options?: {
|
|
19
|
+
model?: string;
|
|
20
|
+
}): Promise<EmbeddingResult>;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { MistralEmbeddingProvider, MistralEmbeddingProviderOptions };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LLMChatOptions, LLMMessage, LLMProvider, LLMResponse, LLMStreamChunk } from "../llm.js";
|
|
2
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/mistral-llm.d.ts
|
|
5
|
+
interface MistralLLMProviderOptions {
|
|
6
|
+
apiKey: string;
|
|
7
|
+
defaultModel?: string;
|
|
8
|
+
serverURL?: string;
|
|
9
|
+
client?: Mistral;
|
|
10
|
+
userAgentSuffix?: string;
|
|
11
|
+
}
|
|
12
|
+
declare class MistralLLMProvider implements LLMProvider {
|
|
13
|
+
private readonly client;
|
|
14
|
+
private readonly defaultModel;
|
|
15
|
+
constructor(options: MistralLLMProviderOptions);
|
|
16
|
+
chat(messages: LLMMessage[], options?: LLMChatOptions): Promise<LLMResponse>;
|
|
17
|
+
stream(messages: LLMMessage[], options?: LLMChatOptions): AsyncIterable<LLMStreamChunk>;
|
|
18
|
+
countTokens(messages: LLMMessage[]): Promise<{
|
|
19
|
+
promptTokens: number;
|
|
20
|
+
}>;
|
|
21
|
+
private buildChatRequest;
|
|
22
|
+
private buildLLMResponse;
|
|
23
|
+
private fromUsage;
|
|
24
|
+
private fromAssistantMessage;
|
|
25
|
+
private fromMistralToolCall;
|
|
26
|
+
private toMistralMessage;
|
|
27
|
+
private extractText;
|
|
28
|
+
private extractToolCalls;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { MistralLLMProvider, MistralLLMProviderOptions };
|