@contractspec/lib.contracts 0.0.0-canary-20260113162409
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/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/_virtual/rolldown_runtime.js +37 -0
- package/dist/app-config/app-config.capability.d.ts +7 -0
- package/dist/app-config/app-config.capability.js +23 -0
- package/dist/app-config/app-config.feature.d.ts +11 -0
- package/dist/app-config/app-config.feature.js +61 -0
- package/dist/app-config/branding.d.ts +55 -0
- package/dist/app-config/branding.js +0 -0
- package/dist/app-config/contracts.d.ts +245 -0
- package/dist/app-config/contracts.js +395 -0
- package/dist/app-config/docs/app-config.docblock.d.ts +6 -0
- package/dist/app-config/docs/app-config.docblock.js +21 -0
- package/dist/app-config/events.d.ts +122 -0
- package/dist/app-config/events.js +174 -0
- package/dist/app-config/index.d.ts +10 -0
- package/dist/app-config/index.js +9 -0
- package/dist/app-config/lifecycle-contracts.d.ts +273 -0
- package/dist/app-config/lifecycle-contracts.js +440 -0
- package/dist/app-config/lifecycle.d.ts +27 -0
- package/dist/app-config/lifecycle.js +0 -0
- package/dist/app-config/runtime.d.ts +120 -0
- package/dist/app-config/runtime.js +617 -0
- package/dist/app-config/spec.d.ts +175 -0
- package/dist/app-config/spec.js +19 -0
- package/dist/app-config/validation.d.ts +49 -0
- package/dist/app-config/validation.js +538 -0
- package/dist/capabilities/capabilities.d.ts +41 -0
- package/dist/capabilities/capabilities.js +48 -0
- package/dist/capabilities/docs/capabilities.docblock.d.ts +6 -0
- package/dist/capabilities/docs/capabilities.docblock.js +21 -0
- package/dist/capabilities/index.d.ts +3 -0
- package/dist/capabilities/index.js +4 -0
- package/dist/capabilities/openbanking.d.ts +10 -0
- package/dist/capabilities/openbanking.js +92 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/index.js +9 -0
- package/dist/client/react/drivers/rn-reusables.d.ts +22 -0
- package/dist/client/react/drivers/rn-reusables.js +21 -0
- package/dist/client/react/drivers/shadcn.d.ts +12 -0
- package/dist/client/react/drivers/shadcn.js +11 -0
- package/dist/client/react/feature-render.d.ts +23 -0
- package/dist/client/react/feature-render.js +44 -0
- package/dist/client/react/form-render.d.ts +92 -0
- package/dist/client/react/form-render.js +301 -0
- package/dist/client/react/index.d.ts +5 -0
- package/dist/client/react/index.js +8 -0
- package/dist/contract-registry/index.d.ts +3 -0
- package/dist/contract-registry/index.js +3 -0
- package/dist/contract-registry/schemas.d.ts +124 -0
- package/dist/contract-registry/schemas.js +61 -0
- package/dist/contract-registry/types.d.ts +46 -0
- package/dist/contract-registry/types.js +0 -0
- package/dist/data-views/data-views.d.ts +5 -0
- package/dist/data-views/data-views.js +5 -0
- package/dist/data-views/docs/data-views.docblock.d.ts +6 -0
- package/dist/data-views/docs/data-views.docblock.js +21 -0
- package/dist/data-views/index.d.ts +4 -0
- package/dist/data-views/index.js +4 -0
- package/dist/data-views/query-generator.d.ts +40 -0
- package/dist/data-views/query-generator.js +48 -0
- package/dist/data-views/registry.d.ts +17 -0
- package/dist/data-views/registry.js +20 -0
- package/dist/data-views/runtime.d.ts +32 -0
- package/dist/data-views/runtime.js +68 -0
- package/dist/data-views/spec.d.ts +32 -0
- package/dist/data-views/spec.js +10 -0
- package/dist/data-views/types.d.ts +157 -0
- package/dist/data-views/types.js +0 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +6 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +17 -0
- package/dist/docs/index.d.ts +6 -0
- package/dist/docs/index.js +30 -0
- package/dist/docs/meta.docs.d.ts +6 -0
- package/dist/docs/meta.docs.js +29 -0
- package/dist/docs/presentations.d.ts +31 -0
- package/dist/docs/presentations.js +57 -0
- package/dist/docs/registry.d.ts +23 -0
- package/dist/docs/registry.js +51 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +6 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +81 -0
- package/dist/docs/tech/cli.docblock.d.ts +6 -0
- package/dist/docs/tech/cli.docblock.js +138 -0
- package/dist/docs/tech/contracts/README.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/README.docblock.js +21 -0
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +21 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +58 -0
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/openapi-import.docblock.js +65 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +21 -0
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +21 -0
- package/dist/docs/tech/contracts/tests.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/tests.docblock.js +21 -0
- package/dist/docs/tech/contracts/themes.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/themes.docblock.js +21 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +126 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +6 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +17 -0
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +7 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +358 -0
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +6 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +38 -0
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +6 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +17 -0
- package/dist/docs/tech/schema/README.docblock.d.ts +6 -0
- package/dist/docs/tech/schema/README.docblock.js +21 -0
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +49 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +80 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +85 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +48 -0
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +68 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +41 -0
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +70 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +48 -0
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +63 -0
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +6 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +156 -0
- package/dist/docs/tech/vscode-extension.docblock.d.ts +6 -0
- package/dist/docs/tech/vscode-extension.docblock.js +102 -0
- package/dist/docs/tech-contracts.docs.d.ts +6 -0
- package/dist/docs/tech-contracts.docs.js +96 -0
- package/dist/docs/types.d.ts +41 -0
- package/dist/docs/types.js +0 -0
- package/dist/events.d.ts +47 -0
- package/dist/events.js +19 -0
- package/dist/examples/docs/examples.docblock.d.ts +6 -0
- package/dist/examples/docs/examples.docblock.js +165 -0
- package/dist/examples/index.d.ts +13 -0
- package/dist/examples/index.js +13 -0
- package/dist/examples/registry.d.ts +43 -0
- package/dist/examples/registry.js +88 -0
- package/dist/examples/schema.d.ts +282 -0
- package/dist/examples/schema.js +125 -0
- package/dist/examples/types.d.ts +167 -0
- package/dist/examples/types.js +43 -0
- package/dist/examples/validation.d.ts +65 -0
- package/dist/examples/validation.js +144 -0
- package/dist/experiments/docs/experiments.docblock.d.ts +6 -0
- package/dist/experiments/docs/experiments.docblock.js +21 -0
- package/dist/experiments/evaluator.d.ts +37 -0
- package/dist/experiments/evaluator.js +101 -0
- package/dist/experiments/spec-resolver.d.ts +17 -0
- package/dist/experiments/spec-resolver.js +0 -0
- package/dist/experiments/spec.d.ts +80 -0
- package/dist/experiments/spec.js +15 -0
- package/dist/features/index.d.ts +13 -0
- package/dist/features/index.js +12 -0
- package/dist/features/install.d.ts +22 -0
- package/dist/features/install.js +36 -0
- package/dist/features/registry.d.ts +26 -0
- package/dist/features/registry.js +49 -0
- package/dist/features/types.d.ts +88 -0
- package/dist/features/types.js +0 -0
- package/dist/features/validation.d.ts +8 -0
- package/dist/features/validation.js +14 -0
- package/dist/forms/docs/forms.docblock.d.ts +6 -0
- package/dist/forms/docs/forms.docblock.js +21 -0
- package/dist/forms/forms.d.ts +266 -0
- package/dist/forms/forms.js +143 -0
- package/dist/forms/index.d.ts +2 -0
- package/dist/forms/index.js +3 -0
- package/dist/index.d.ts +154 -0
- package/dist/index.js +132 -0
- package/dist/install.d.ts +77 -0
- package/dist/install.js +40 -0
- package/dist/integrations/binding.d.ts +17 -0
- package/dist/integrations/binding.js +0 -0
- package/dist/integrations/connection.d.ts +51 -0
- package/dist/integrations/connection.js +0 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +6 -0
- package/dist/integrations/docs/integrations.docblock.js +94 -0
- package/dist/integrations/health.d.ts +21 -0
- package/dist/integrations/health.js +69 -0
- package/dist/integrations/index.d.ts +34 -0
- package/dist/integrations/index.js +23 -0
- package/dist/integrations/integrations.capability.d.ts +7 -0
- package/dist/integrations/integrations.capability.js +17 -0
- package/dist/integrations/integrations.feature.d.ts +11 -0
- package/dist/integrations/integrations.feature.js +67 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +289 -0
- package/dist/integrations/openbanking/contracts/accounts.js +236 -0
- package/dist/integrations/openbanking/contracts/balances.d.ts +165 -0
- package/dist/integrations/openbanking/contracts/balances.js +166 -0
- package/dist/integrations/openbanking/contracts/index.d.ts +10 -0
- package/dist/integrations/openbanking/contracts/index.js +12 -0
- package/dist/integrations/openbanking/contracts/transactions.d.ts +213 -0
- package/dist/integrations/openbanking/contracts/transactions.js +217 -0
- package/dist/integrations/openbanking/guards.d.ts +12 -0
- package/dist/integrations/openbanking/guards.js +33 -0
- package/dist/integrations/openbanking/models.d.ts +228 -0
- package/dist/integrations/openbanking/models.js +240 -0
- package/dist/integrations/openbanking/openbanking.capability.d.ts +7 -0
- package/dist/integrations/openbanking/openbanking.capability.js +21 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +11 -0
- package/dist/integrations/openbanking/openbanking.feature.js +76 -0
- package/dist/integrations/openbanking/telemetry.d.ts +15 -0
- package/dist/integrations/openbanking/telemetry.js +39 -0
- package/dist/integrations/operations.d.ts +437 -0
- package/dist/integrations/operations.js +392 -0
- package/dist/integrations/providers/calendar.d.ts +78 -0
- package/dist/integrations/providers/calendar.js +0 -0
- package/dist/integrations/providers/elevenlabs.d.ts +8 -0
- package/dist/integrations/providers/elevenlabs.js +56 -0
- package/dist/integrations/providers/email.d.ts +86 -0
- package/dist/integrations/providers/email.js +0 -0
- package/dist/integrations/providers/embedding.d.ts +24 -0
- package/dist/integrations/providers/embedding.js +0 -0
- package/dist/integrations/providers/gcs-storage.d.ts +8 -0
- package/dist/integrations/providers/gcs-storage.js +79 -0
- package/dist/integrations/providers/gmail.d.ts +8 -0
- package/dist/integrations/providers/gmail.js +91 -0
- package/dist/integrations/providers/google-calendar.d.ts +8 -0
- package/dist/integrations/providers/google-calendar.js +70 -0
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +20 -0
- package/dist/integrations/providers/impls/elevenlabs-voice.js +95 -0
- package/dist/integrations/providers/impls/gcs-storage.d.ts +24 -0
- package/dist/integrations/providers/impls/gcs-storage.js +88 -0
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +26 -0
- package/dist/integrations/providers/impls/gmail-inbound.js +200 -0
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +18 -0
- package/dist/integrations/providers/impls/gmail-outbound.js +105 -0
- package/dist/integrations/providers/impls/google-calendar.d.ts +23 -0
- package/dist/integrations/providers/impls/google-calendar.js +154 -0
- package/dist/integrations/providers/impls/index.d.ts +15 -0
- package/dist/integrations/providers/impls/index.js +16 -0
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +23 -0
- package/dist/integrations/providers/impls/mistral-embedding.js +41 -0
- package/dist/integrations/providers/impls/mistral-llm.d.ts +31 -0
- package/dist/integrations/providers/impls/mistral-llm.js +247 -0
- package/dist/integrations/providers/impls/postmark-email.d.ts +19 -0
- package/dist/integrations/providers/impls/postmark-email.js +55 -0
- package/dist/integrations/providers/impls/powens-client.d.ts +124 -0
- package/dist/integrations/providers/impls/powens-client.js +171 -0
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +27 -0
- package/dist/integrations/providers/impls/powens-openbanking.js +218 -0
- package/dist/integrations/providers/impls/provider-factory.d.ts +26 -0
- package/dist/integrations/providers/impls/provider-factory.js +146 -0
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +24 -0
- package/dist/integrations/providers/impls/qdrant-vector.js +69 -0
- package/dist/integrations/providers/impls/stripe-payments.d.ts +28 -0
- package/dist/integrations/providers/impls/stripe-payments.js +202 -0
- package/dist/integrations/providers/impls/twilio-sms.d.ts +20 -0
- package/dist/integrations/providers/impls/twilio-sms.js +58 -0
- package/dist/integrations/providers/index.d.ts +22 -0
- package/dist/integrations/providers/index.js +13 -0
- package/dist/integrations/providers/llm.d.ts +82 -0
- package/dist/integrations/providers/llm.js +0 -0
- package/dist/integrations/providers/mistral.d.ts +8 -0
- package/dist/integrations/providers/mistral.js +72 -0
- package/dist/integrations/providers/openbanking.d.ts +128 -0
- package/dist/integrations/providers/openbanking.js +0 -0
- package/dist/integrations/providers/payments.d.ts +109 -0
- package/dist/integrations/providers/payments.js +0 -0
- package/dist/integrations/providers/postmark.d.ts +8 -0
- package/dist/integrations/providers/postmark.js +72 -0
- package/dist/integrations/providers/powens.d.ts +8 -0
- package/dist/integrations/providers/powens.js +120 -0
- package/dist/integrations/providers/qdrant.d.ts +8 -0
- package/dist/integrations/providers/qdrant.js +77 -0
- package/dist/integrations/providers/registry.d.ts +11 -0
- package/dist/integrations/providers/registry.js +34 -0
- package/dist/integrations/providers/sms.d.ts +34 -0
- package/dist/integrations/providers/sms.js +0 -0
- package/dist/integrations/providers/storage.d.ts +60 -0
- package/dist/integrations/providers/storage.js +0 -0
- package/dist/integrations/providers/stripe.d.ts +8 -0
- package/dist/integrations/providers/stripe.js +87 -0
- package/dist/integrations/providers/twilio-sms.d.ts +8 -0
- package/dist/integrations/providers/twilio-sms.js +65 -0
- package/dist/integrations/providers/vector-store.d.ts +43 -0
- package/dist/integrations/providers/vector-store.js +0 -0
- package/dist/integrations/providers/voice.d.ts +34 -0
- package/dist/integrations/providers/voice.js +0 -0
- package/dist/integrations/runtime.d.ts +99 -0
- package/dist/integrations/runtime.js +186 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +31 -0
- package/dist/integrations/secrets/aws-secret-manager.js +231 -0
- package/dist/integrations/secrets/env-secret-provider.d.ts +31 -0
- package/dist/integrations/secrets/env-secret-provider.js +81 -0
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +32 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +229 -0
- package/dist/integrations/secrets/index.d.ts +7 -0
- package/dist/integrations/secrets/index.js +8 -0
- package/dist/integrations/secrets/manager.d.ts +47 -0
- package/dist/integrations/secrets/manager.js +103 -0
- package/dist/integrations/secrets/provider.d.ts +52 -0
- package/dist/integrations/secrets/provider.js +58 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +38 -0
- package/dist/integrations/secrets/scaleway-secret-manager.js +247 -0
- package/dist/integrations/secrets-types.d.ts +17 -0
- package/dist/integrations/secrets-types.js +0 -0
- package/dist/integrations/spec.d.ts +77 -0
- package/dist/integrations/spec.js +22 -0
- package/dist/jobs/define-job.d.ts +18 -0
- package/dist/jobs/define-job.js +16 -0
- package/dist/jobs/gcp-cloud-tasks.d.ts +41 -0
- package/dist/jobs/gcp-cloud-tasks.js +53 -0
- package/dist/jobs/gcp-pubsub.d.ts +25 -0
- package/dist/jobs/gcp-pubsub.js +39 -0
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +9 -0
- package/dist/jobs/handlers/gmail-sync-handler.js +9 -0
- package/dist/jobs/handlers/index.d.ts +9 -0
- package/dist/jobs/handlers/index.js +12 -0
- package/dist/jobs/handlers/ping-handler.d.ts +10 -0
- package/dist/jobs/handlers/ping-handler.js +15 -0
- package/dist/jobs/handlers/storage-document-handler.d.ts +12 -0
- package/dist/jobs/handlers/storage-document-handler.js +14 -0
- package/dist/jobs/index.d.ts +3 -0
- package/dist/jobs/index.js +4 -0
- package/dist/jobs/memory-queue.d.ts +18 -0
- package/dist/jobs/memory-queue.js +71 -0
- package/dist/jobs/queue.d.ts +131 -0
- package/dist/jobs/queue.js +33 -0
- package/dist/jobs/scaleway-sqs-queue.d.ts +30 -0
- package/dist/jobs/scaleway-sqs-queue.js +153 -0
- package/dist/jsonschema.d.ts +42 -0
- package/dist/jsonschema.js +51 -0
- package/dist/knowledge/binding.d.ts +25 -0
- package/dist/knowledge/binding.js +0 -0
- package/dist/knowledge/docs/knowledge.docblock.d.ts +6 -0
- package/dist/knowledge/docs/knowledge.docblock.js +21 -0
- package/dist/knowledge/index.d.ts +11 -0
- package/dist/knowledge/index.js +10 -0
- package/dist/knowledge/ingestion/document-processor.d.ts +24 -0
- package/dist/knowledge/ingestion/document-processor.js +54 -0
- package/dist/knowledge/ingestion/embedding-service.d.ts +12 -0
- package/dist/knowledge/ingestion/embedding-service.js +25 -0
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +18 -0
- package/dist/knowledge/ingestion/gmail-adapter.js +51 -0
- package/dist/knowledge/ingestion/index.d.ts +6 -0
- package/dist/knowledge/ingestion/index.js +7 -0
- package/dist/knowledge/ingestion/storage-adapter.d.ts +15 -0
- package/dist/knowledge/ingestion/storage-adapter.js +26 -0
- package/dist/knowledge/ingestion/vector-indexer.d.ts +18 -0
- package/dist/knowledge/ingestion/vector-indexer.js +32 -0
- package/dist/knowledge/knowledge.capability.d.ts +7 -0
- package/dist/knowledge/knowledge.capability.js +21 -0
- package/dist/knowledge/knowledge.feature.d.ts +11 -0
- package/dist/knowledge/knowledge.feature.js +68 -0
- package/dist/knowledge/operations.d.ts +318 -0
- package/dist/knowledge/operations.js +321 -0
- package/dist/knowledge/query/index.d.ts +2 -0
- package/dist/knowledge/query/index.js +3 -0
- package/dist/knowledge/query/service.d.ts +29 -0
- package/dist/knowledge/query/service.js +65 -0
- package/dist/knowledge/runtime.d.ts +32 -0
- package/dist/knowledge/runtime.js +49 -0
- package/dist/knowledge/source.d.ts +32 -0
- package/dist/knowledge/source.js +0 -0
- package/dist/knowledge/spaces/email-threads.d.ts +7 -0
- package/dist/knowledge/spaces/email-threads.js +37 -0
- package/dist/knowledge/spaces/financial-docs.d.ts +7 -0
- package/dist/knowledge/spaces/financial-docs.js +37 -0
- package/dist/knowledge/spaces/financial-overview.d.ts +7 -0
- package/dist/knowledge/spaces/financial-overview.js +41 -0
- package/dist/knowledge/spaces/index.d.ts +7 -0
- package/dist/knowledge/spaces/index.js +8 -0
- package/dist/knowledge/spaces/product-canon.d.ts +7 -0
- package/dist/knowledge/spaces/product-canon.js +37 -0
- package/dist/knowledge/spaces/support-faq.d.ts +7 -0
- package/dist/knowledge/spaces/support-faq.js +40 -0
- package/dist/knowledge/spaces/uploaded-docs.d.ts +7 -0
- package/dist/knowledge/spaces/uploaded-docs.js +37 -0
- package/dist/knowledge/spec.d.ts +46 -0
- package/dist/knowledge/spec.js +17 -0
- package/dist/llm/exporters.d.ts +70 -0
- package/dist/llm/exporters.js +542 -0
- package/dist/llm/index.d.ts +4 -0
- package/dist/llm/index.js +4 -0
- package/dist/llm/prompts.d.ts +52 -0
- package/dist/llm/prompts.js +410 -0
- package/dist/llm/types.d.ts +215 -0
- package/dist/llm/types.js +0 -0
- package/dist/markdown.d.ts +22 -0
- package/dist/markdown.js +119 -0
- package/dist/migrations.d.ts +52 -0
- package/dist/migrations.js +31 -0
- package/dist/model-registry.d.ts +13 -0
- package/dist/model-registry.js +33 -0
- package/dist/onboarding-base.d.ts +138 -0
- package/dist/onboarding-base.js +195 -0
- package/dist/openapi.d.ts +31 -0
- package/dist/openapi.js +82 -0
- package/dist/operations/index.d.ts +3 -0
- package/dist/operations/index.js +4 -0
- package/dist/operations/operation.d.ts +186 -0
- package/dist/operations/operation.js +35 -0
- package/dist/operations/registry.d.ts +54 -0
- package/dist/operations/registry.js +176 -0
- package/dist/ownership.d.ts +84 -0
- package/dist/ownership.js +38 -0
- package/dist/policy/docs/policy.docblock.d.ts +6 -0
- package/dist/policy/docs/policy.docblock.js +21 -0
- package/dist/policy/engine.d.ts +40 -0
- package/dist/policy/engine.js +225 -0
- package/dist/policy/index.d.ts +5 -0
- package/dist/policy/index.js +5 -0
- package/dist/policy/opa-adapter.d.ts +45 -0
- package/dist/policy/opa-adapter.js +71 -0
- package/dist/policy/registry.d.ts +9 -0
- package/dist/policy/registry.js +11 -0
- package/dist/policy/spec.d.ts +103 -0
- package/dist/policy/spec.js +0 -0
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +6 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +21 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations/index.js +5 -0
- package/dist/presentations/presentations.d.ts +50 -0
- package/dist/presentations/presentations.js +7 -0
- package/dist/presentations/registry.d.ts +10 -0
- package/dist/presentations/registry.js +12 -0
- package/dist/presentations/transform-engine.d.ts +66 -0
- package/dist/presentations/transform-engine.js +282 -0
- package/dist/prompt.d.ts +53 -0
- package/dist/prompt.js +10 -0
- package/dist/promptRegistry.d.ts +15 -0
- package/dist/promptRegistry.js +31 -0
- package/dist/regenerator/adapters.d.ts +19 -0
- package/dist/regenerator/adapters.js +0 -0
- package/dist/regenerator/docs/regenerator.docblock.d.ts +6 -0
- package/dist/regenerator/docs/regenerator.docblock.js +21 -0
- package/dist/regenerator/executor.d.ts +70 -0
- package/dist/regenerator/executor.js +86 -0
- package/dist/regenerator/index.d.ts +7 -0
- package/dist/regenerator/index.js +6 -0
- package/dist/regenerator/service.d.ts +33 -0
- package/dist/regenerator/service.js +93 -0
- package/dist/regenerator/sinks.d.ts +26 -0
- package/dist/regenerator/sinks.js +32 -0
- package/dist/regenerator/types.d.ts +107 -0
- package/dist/regenerator/types.js +0 -0
- package/dist/regenerator/utils.d.ts +9 -0
- package/dist/regenerator/utils.js +51 -0
- package/dist/registry-utils.d.ts +106 -0
- package/dist/registry-utils.js +122 -0
- package/dist/registry.d.ts +32 -0
- package/dist/registry.js +61 -0
- package/dist/resources.d.ts +64 -0
- package/dist/resources.js +50 -0
- package/dist/schema-to-markdown.d.ts +54 -0
- package/dist/schema-to-markdown.js +217 -0
- package/dist/server/contracts-adapter-hydration.d.ts +15 -0
- package/dist/server/contracts-adapter-hydration.js +41 -0
- package/dist/server/contracts-adapter-input.d.ts +9 -0
- package/dist/server/contracts-adapter-input.js +83 -0
- package/dist/server/graphql-pothos.d.ts +31 -0
- package/dist/server/graphql-pothos.js +134 -0
- package/dist/server/index.d.ts +9 -0
- package/dist/server/index.js +10 -0
- package/dist/server/mcp/createMcpServer.d.ts +15 -0
- package/dist/server/mcp/createMcpServer.js +27 -0
- package/dist/server/mcp/mcpTypes.d.ts +27 -0
- package/dist/server/mcp/mcpTypes.js +0 -0
- package/dist/server/mcp/registerPresentations.d.ts +7 -0
- package/dist/server/mcp/registerPresentations.js +54 -0
- package/dist/server/mcp/registerPrompts.d.ts +8 -0
- package/dist/server/mcp/registerPrompts.js +41 -0
- package/dist/server/mcp/registerResources.d.ts +8 -0
- package/dist/server/mcp/registerResources.js +35 -0
- package/dist/server/mcp/registerTools.d.ts +8 -0
- package/dist/server/mcp/registerTools.js +22 -0
- package/dist/server/provider-mcp.d.ts +2 -0
- package/dist/server/provider-mcp.js +3 -0
- package/dist/server/rest-elysia.d.ts +40 -0
- package/dist/server/rest-elysia.js +20 -0
- package/dist/server/rest-express.d.ts +16 -0
- package/dist/server/rest-express.js +36 -0
- package/dist/server/rest-generic.d.ts +32 -0
- package/dist/server/rest-generic.js +124 -0
- package/dist/server/rest-next-app.d.ts +35 -0
- package/dist/server/rest-next-app.js +38 -0
- package/dist/server/rest-next-mcp.d.ts +11 -0
- package/dist/server/rest-next-mcp.js +45 -0
- package/dist/server/rest-next-pages.d.ts +9 -0
- package/dist/server/rest-next-pages.js +22 -0
- package/dist/telemetry/anomaly.d.ts +27 -0
- package/dist/telemetry/anomaly.js +48 -0
- package/dist/telemetry/docs/telemetry.docblock.d.ts +6 -0
- package/dist/telemetry/docs/telemetry.docblock.js +21 -0
- package/dist/telemetry/index.d.ts +4 -0
- package/dist/telemetry/index.js +5 -0
- package/dist/telemetry/spec.d.ts +91 -0
- package/dist/telemetry/spec.js +42 -0
- package/dist/telemetry/tracker.d.ts +51 -0
- package/dist/telemetry/tracker.js +76 -0
- package/dist/tests/index.d.ts +3 -0
- package/dist/tests/index.js +4 -0
- package/dist/tests/runner.d.ts +43 -0
- package/dist/tests/runner.js +150 -0
- package/dist/tests/spec.d.ts +82 -0
- package/dist/tests/spec.js +34 -0
- package/dist/themes.d.ts +51 -0
- package/dist/themes.js +17 -0
- package/dist/translations/catalog.d.ts +28 -0
- package/dist/translations/catalog.js +0 -0
- package/dist/translations/tenant.d.ts +15 -0
- package/dist/translations/tenant.js +0 -0
- package/dist/types.d.ts +92 -0
- package/dist/types.js +0 -0
- package/dist/versioning/index.d.ts +3 -0
- package/dist/versioning/index.js +4 -0
- package/dist/versioning/types.d.ts +127 -0
- package/dist/versioning/types.js +24 -0
- package/dist/versioning/utils.d.ts +95 -0
- package/dist/versioning/utils.js +180 -0
- package/dist/workflow/adapters/db-adapter.d.ts +46 -0
- package/dist/workflow/adapters/db-adapter.js +83 -0
- package/dist/workflow/adapters/file-adapter.d.ts +14 -0
- package/dist/workflow/adapters/file-adapter.js +11 -0
- package/dist/workflow/adapters/index.d.ts +4 -0
- package/dist/workflow/adapters/index.js +5 -0
- package/dist/workflow/adapters/memory-store.d.ts +18 -0
- package/dist/workflow/adapters/memory-store.js +58 -0
- package/dist/workflow/expression.d.ts +9 -0
- package/dist/workflow/expression.js +99 -0
- package/dist/workflow/index.d.ts +17 -0
- package/dist/workflow/index.js +16 -0
- package/dist/workflow/overview.docblock.d.ts +6 -0
- package/dist/workflow/overview.docblock.js +21 -0
- package/dist/workflow/runner.d.ts +77 -0
- package/dist/workflow/runner.js +337 -0
- package/dist/workflow/sla-monitor.d.ts +20 -0
- package/dist/workflow/sla-monitor.js +47 -0
- package/dist/workflow/spec.d.ts +93 -0
- package/dist/workflow/spec.js +11 -0
- package/dist/workflow/state.d.ts +35 -0
- package/dist/workflow/state.js +0 -0
- package/dist/workflow/validation.d.ts +29 -0
- package/dist/workflow/validation.js +176 -0
- package/dist/workspace-config/contractsrc-schema.d.ts +1162 -0
- package/dist/workspace-config/contractsrc-schema.js +421 -0
- package/dist/workspace-config/index.d.ts +2 -0
- package/dist/workspace-config/index.js +3 -0
- package/dist/workspace-config/workspace-config.docblock.d.ts +6 -0
- package/dist/workspace-config/workspace-config.docblock.js +45 -0
- package/package.json +618 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import Stripe from "stripe";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/impls/stripe-payments.ts
|
|
4
|
+
const API_VERSION = "2025-12-15.clover";
|
|
5
|
+
var StripePaymentsProvider = class {
|
|
6
|
+
stripe;
|
|
7
|
+
constructor(options) {
|
|
8
|
+
this.stripe = options.stripe ?? new Stripe(options.apiKey, { apiVersion: API_VERSION });
|
|
9
|
+
}
|
|
10
|
+
async createCustomer(input) {
|
|
11
|
+
const customer = await this.stripe.customers.create({
|
|
12
|
+
email: input.email,
|
|
13
|
+
name: input.name,
|
|
14
|
+
description: input.description,
|
|
15
|
+
metadata: input.metadata
|
|
16
|
+
});
|
|
17
|
+
return this.toCustomer(customer);
|
|
18
|
+
}
|
|
19
|
+
async getCustomer(customerId) {
|
|
20
|
+
const customer = await this.stripe.customers.retrieve(customerId);
|
|
21
|
+
if (customer.deleted) return null;
|
|
22
|
+
return this.toCustomer(customer);
|
|
23
|
+
}
|
|
24
|
+
async createPaymentIntent(input) {
|
|
25
|
+
const intent = await this.stripe.paymentIntents.create({
|
|
26
|
+
amount: input.amount.amount,
|
|
27
|
+
currency: input.amount.currency,
|
|
28
|
+
customer: input.customerId,
|
|
29
|
+
description: input.description,
|
|
30
|
+
capture_method: input.captureMethod ?? "automatic",
|
|
31
|
+
confirmation_method: input.confirmationMethod ?? "automatic",
|
|
32
|
+
automatic_payment_methods: { enabled: true },
|
|
33
|
+
metadata: input.metadata,
|
|
34
|
+
return_url: input.returnUrl,
|
|
35
|
+
statement_descriptor: input.statementDescriptor
|
|
36
|
+
});
|
|
37
|
+
return this.toPaymentIntent(intent);
|
|
38
|
+
}
|
|
39
|
+
async capturePayment(paymentIntentId, input) {
|
|
40
|
+
const intent = await this.stripe.paymentIntents.capture(paymentIntentId, input?.amount ? { amount_to_capture: input.amount.amount } : void 0);
|
|
41
|
+
return this.toPaymentIntent(intent);
|
|
42
|
+
}
|
|
43
|
+
async cancelPaymentIntent(paymentIntentId) {
|
|
44
|
+
const intent = await this.stripe.paymentIntents.cancel(paymentIntentId);
|
|
45
|
+
return this.toPaymentIntent(intent);
|
|
46
|
+
}
|
|
47
|
+
async refundPayment(input) {
|
|
48
|
+
const refund = await this.stripe.refunds.create({
|
|
49
|
+
payment_intent: input.paymentIntentId,
|
|
50
|
+
amount: input.amount?.amount,
|
|
51
|
+
reason: mapRefundReason(input.reason),
|
|
52
|
+
metadata: input.metadata
|
|
53
|
+
});
|
|
54
|
+
const paymentIntentId = typeof refund.payment_intent === "string" ? refund.payment_intent : refund.payment_intent?.id ?? "";
|
|
55
|
+
return {
|
|
56
|
+
id: refund.id,
|
|
57
|
+
paymentIntentId,
|
|
58
|
+
amount: {
|
|
59
|
+
amount: refund.amount ?? 0,
|
|
60
|
+
currency: refund.currency?.toUpperCase() ?? "USD"
|
|
61
|
+
},
|
|
62
|
+
status: mapRefundStatus(refund.status),
|
|
63
|
+
reason: refund.reason ?? void 0,
|
|
64
|
+
metadata: this.toMetadata(refund.metadata),
|
|
65
|
+
createdAt: refund.created ? /* @__PURE__ */ new Date(refund.created * 1e3) : void 0
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
async listInvoices(query) {
|
|
69
|
+
const requestedStatus = query?.status?.[0];
|
|
70
|
+
const stripeStatus = requestedStatus && requestedStatus !== "deleted" ? requestedStatus : void 0;
|
|
71
|
+
return (await this.stripe.invoices.list({
|
|
72
|
+
customer: query?.customerId,
|
|
73
|
+
status: stripeStatus,
|
|
74
|
+
limit: query?.limit,
|
|
75
|
+
starting_after: query?.startingAfter
|
|
76
|
+
})).data.map((invoice) => this.toInvoice(invoice));
|
|
77
|
+
}
|
|
78
|
+
async listTransactions(query) {
|
|
79
|
+
return (await this.stripe.charges.list({
|
|
80
|
+
customer: query?.customerId,
|
|
81
|
+
payment_intent: query?.paymentIntentId,
|
|
82
|
+
limit: query?.limit,
|
|
83
|
+
starting_after: query?.startingAfter
|
|
84
|
+
})).data.map((charge) => ({
|
|
85
|
+
id: charge.id,
|
|
86
|
+
paymentIntentId: typeof charge.payment_intent === "string" ? charge.payment_intent : charge.payment_intent?.id,
|
|
87
|
+
amount: {
|
|
88
|
+
amount: charge.amount,
|
|
89
|
+
currency: charge.currency?.toUpperCase() ?? "USD"
|
|
90
|
+
},
|
|
91
|
+
type: "capture",
|
|
92
|
+
status: mapChargeStatus(charge.status),
|
|
93
|
+
description: charge.description ?? void 0,
|
|
94
|
+
createdAt: /* @__PURE__ */ new Date(charge.created * 1e3),
|
|
95
|
+
metadata: this.mergeMetadata(this.toMetadata(charge.metadata), { balanceTransaction: typeof charge.balance_transaction === "string" ? charge.balance_transaction : void 0 })
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
toCustomer(customer) {
|
|
99
|
+
const metadata = this.toMetadata(customer.metadata);
|
|
100
|
+
const updatedAtValue = metadata?.updatedAt;
|
|
101
|
+
return {
|
|
102
|
+
id: customer.id,
|
|
103
|
+
email: customer.email ?? void 0,
|
|
104
|
+
name: customer.name ?? void 0,
|
|
105
|
+
metadata,
|
|
106
|
+
createdAt: customer.created ? /* @__PURE__ */ new Date(customer.created * 1e3) : void 0,
|
|
107
|
+
updatedAt: updatedAtValue ? new Date(updatedAtValue) : void 0
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
toPaymentIntent(intent) {
|
|
111
|
+
const metadata = this.toMetadata(intent.metadata);
|
|
112
|
+
return {
|
|
113
|
+
id: intent.id,
|
|
114
|
+
amount: this.toMoney(intent.amount_received ?? intent.amount ?? 0, intent.currency),
|
|
115
|
+
status: mapPaymentIntentStatus(intent.status),
|
|
116
|
+
customerId: typeof intent.customer === "string" ? intent.customer : intent.customer?.id,
|
|
117
|
+
description: intent.description ?? void 0,
|
|
118
|
+
clientSecret: intent.client_secret ?? void 0,
|
|
119
|
+
metadata,
|
|
120
|
+
createdAt: /* @__PURE__ */ new Date(intent.created * 1e3),
|
|
121
|
+
updatedAt: intent.canceled_at != null ? /* @__PURE__ */ new Date(intent.canceled_at * 1e3) : /* @__PURE__ */ new Date(intent.created * 1e3)
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
toInvoice(invoice) {
|
|
125
|
+
const metadata = this.toMetadata(invoice.metadata);
|
|
126
|
+
return {
|
|
127
|
+
id: invoice.id,
|
|
128
|
+
number: invoice.number ?? void 0,
|
|
129
|
+
status: invoice.status ?? "draft",
|
|
130
|
+
amountDue: this.toMoney(invoice.amount_due ?? 0, invoice.currency),
|
|
131
|
+
amountPaid: this.toMoney(invoice.amount_paid ?? 0, invoice.currency),
|
|
132
|
+
customerId: typeof invoice.customer === "string" ? invoice.customer : invoice.customer?.id,
|
|
133
|
+
dueDate: invoice.due_date ? /* @__PURE__ */ new Date(invoice.due_date * 1e3) : void 0,
|
|
134
|
+
hostedInvoiceUrl: invoice.hosted_invoice_url ?? void 0,
|
|
135
|
+
metadata,
|
|
136
|
+
createdAt: invoice.created ? /* @__PURE__ */ new Date(invoice.created * 1e3) : void 0,
|
|
137
|
+
updatedAt: invoice.status_transitions?.finalized_at ? /* @__PURE__ */ new Date(invoice.status_transitions.finalized_at * 1e3) : void 0
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
toMoney(amount, currency) {
|
|
141
|
+
return {
|
|
142
|
+
amount,
|
|
143
|
+
currency: currency?.toUpperCase() ?? "USD"
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
toMetadata(metadata) {
|
|
147
|
+
if (!metadata) return void 0;
|
|
148
|
+
const entries = Object.entries(metadata).filter((entry) => typeof entry[1] === "string");
|
|
149
|
+
if (entries.length === 0) return void 0;
|
|
150
|
+
return Object.fromEntries(entries);
|
|
151
|
+
}
|
|
152
|
+
mergeMetadata(base, extras) {
|
|
153
|
+
const filteredExtras = Object.entries(extras).filter((entry) => typeof entry[1] === "string");
|
|
154
|
+
if (!base && filteredExtras.length === 0) return;
|
|
155
|
+
return {
|
|
156
|
+
...base ?? {},
|
|
157
|
+
...Object.fromEntries(filteredExtras)
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
function mapRefundReason(reason) {
|
|
162
|
+
if (!reason) return void 0;
|
|
163
|
+
return [
|
|
164
|
+
"duplicate",
|
|
165
|
+
"fraudulent",
|
|
166
|
+
"requested_by_customer"
|
|
167
|
+
].includes(reason) ? reason : void 0;
|
|
168
|
+
}
|
|
169
|
+
function mapPaymentIntentStatus(status) {
|
|
170
|
+
switch (status) {
|
|
171
|
+
case "requires_payment_method": return "requires_payment_method";
|
|
172
|
+
case "requires_confirmation": return "requires_confirmation";
|
|
173
|
+
case "requires_action":
|
|
174
|
+
case "requires_capture": return "requires_action";
|
|
175
|
+
case "processing": return "processing";
|
|
176
|
+
case "succeeded": return "succeeded";
|
|
177
|
+
case "canceled": return "canceled";
|
|
178
|
+
default: return "requires_payment_method";
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function mapRefundStatus(status) {
|
|
182
|
+
switch (status) {
|
|
183
|
+
case "pending":
|
|
184
|
+
case "succeeded":
|
|
185
|
+
case "failed":
|
|
186
|
+
case "canceled": return status;
|
|
187
|
+
default: return "pending";
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function mapChargeStatus(status) {
|
|
191
|
+
switch (status) {
|
|
192
|
+
case "pending":
|
|
193
|
+
case "processing": return "pending";
|
|
194
|
+
case "succeeded": return "succeeded";
|
|
195
|
+
case "failed":
|
|
196
|
+
case "canceled": return "failed";
|
|
197
|
+
default: return "pending";
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
//#endregion
|
|
202
|
+
export { StripePaymentsProvider };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SendSmsInput, SmsDeliveryStatus, SmsMessage, SmsProvider } from "../sms.js";
|
|
2
|
+
import Twilio from "twilio";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/impls/twilio-sms.d.ts
|
|
5
|
+
type TwilioClient = ReturnType<typeof Twilio>;
|
|
6
|
+
interface TwilioSmsProviderOptions {
|
|
7
|
+
accountSid: string;
|
|
8
|
+
authToken: string;
|
|
9
|
+
fromNumber?: string;
|
|
10
|
+
client?: TwilioClient;
|
|
11
|
+
}
|
|
12
|
+
declare class TwilioSmsProvider implements SmsProvider {
|
|
13
|
+
private readonly client;
|
|
14
|
+
private readonly fromNumber?;
|
|
15
|
+
constructor(options: TwilioSmsProviderOptions);
|
|
16
|
+
sendSms(input: SendSmsInput): Promise<SmsMessage>;
|
|
17
|
+
getDeliveryStatus(messageId: string): Promise<SmsDeliveryStatus>;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { TwilioSmsProvider, TwilioSmsProviderOptions };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Twilio from "twilio";
|
|
2
|
+
|
|
3
|
+
//#region src/integrations/providers/impls/twilio-sms.ts
|
|
4
|
+
var TwilioSmsProvider = class {
|
|
5
|
+
client;
|
|
6
|
+
fromNumber;
|
|
7
|
+
constructor(options) {
|
|
8
|
+
this.client = options.client ?? Twilio(options.accountSid, options.authToken);
|
|
9
|
+
this.fromNumber = options.fromNumber;
|
|
10
|
+
}
|
|
11
|
+
async sendSms(input) {
|
|
12
|
+
const message = await this.client.messages.create({
|
|
13
|
+
to: input.to,
|
|
14
|
+
from: input.from ?? this.fromNumber,
|
|
15
|
+
body: input.body
|
|
16
|
+
});
|
|
17
|
+
return {
|
|
18
|
+
id: message.sid,
|
|
19
|
+
to: message.to ?? input.to,
|
|
20
|
+
from: message.from ?? input.from ?? this.fromNumber ?? "",
|
|
21
|
+
body: message.body ?? input.body,
|
|
22
|
+
status: mapStatus(message.status),
|
|
23
|
+
sentAt: message.dateCreated ? new Date(message.dateCreated) : void 0,
|
|
24
|
+
deliveredAt: message.status === "delivered" && message.dateUpdated ? new Date(message.dateUpdated) : void 0,
|
|
25
|
+
price: message.price ? Number(message.price) : void 0,
|
|
26
|
+
priceCurrency: message.priceUnit ?? void 0,
|
|
27
|
+
errorCode: message.errorCode ? String(message.errorCode) : void 0,
|
|
28
|
+
errorMessage: message.errorMessage ?? void 0
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
async getDeliveryStatus(messageId) {
|
|
32
|
+
const message = await this.client.messages(messageId).fetch();
|
|
33
|
+
return {
|
|
34
|
+
status: mapStatus(message.status),
|
|
35
|
+
errorCode: message.errorCode ? String(message.errorCode) : void 0,
|
|
36
|
+
errorMessage: message.errorMessage ?? void 0,
|
|
37
|
+
updatedAt: message.dateUpdated ? new Date(message.dateUpdated) : /* @__PURE__ */ new Date()
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function mapStatus(status) {
|
|
42
|
+
switch (status) {
|
|
43
|
+
case "queued":
|
|
44
|
+
case "accepted":
|
|
45
|
+
case "scheduled": return "queued";
|
|
46
|
+
case "sending":
|
|
47
|
+
case "processing": return "sending";
|
|
48
|
+
case "sent": return "sent";
|
|
49
|
+
case "delivered": return "delivered";
|
|
50
|
+
case "undelivered": return "undelivered";
|
|
51
|
+
case "failed":
|
|
52
|
+
case "canceled": return "failed";
|
|
53
|
+
default: return "queued";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
//#endregion
|
|
58
|
+
export { TwilioSmsProvider };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, ListInvoicesQuery, ListTransactionsQuery, Money, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, RefundPaymentInput } from "./payments.js";
|
|
2
|
+
import { LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, TokenCountResult } from "./llm.js";
|
|
3
|
+
import { EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector } from "./embedding.js";
|
|
4
|
+
import { VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest } from "./vector-store.js";
|
|
5
|
+
import { EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery } from "./email.js";
|
|
6
|
+
import { CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder } from "./calendar.js";
|
|
7
|
+
import { SendSmsInput, SmsDeliveryStatus, SmsMessage, SmsProvider } from "./sms.js";
|
|
8
|
+
import { Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult } from "./voice.js";
|
|
9
|
+
import { DeleteObjectInput, GetObjectResult, ListObjectsQuery, ListObjectsResult, ObjectStorageProvider, PutObjectInput, SignedUrlOptions, StorageObjectBody, StorageObjectMetadata } from "./storage.js";
|
|
10
|
+
import { registerStripeIntegration, stripeIntegrationSpec } from "./stripe.js";
|
|
11
|
+
import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./postmark.js";
|
|
12
|
+
import { qdrantIntegrationSpec, registerQdrantIntegration } from "./qdrant.js";
|
|
13
|
+
import { mistralIntegrationSpec, registerMistralIntegration } from "./mistral.js";
|
|
14
|
+
import { elevenLabsIntegrationSpec, registerElevenLabsIntegration } from "./elevenlabs.js";
|
|
15
|
+
import { gmailIntegrationSpec, registerGmailIntegration } from "./gmail.js";
|
|
16
|
+
import { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration } from "./google-calendar.js";
|
|
17
|
+
import { registerTwilioSmsIntegration, twilioSmsIntegrationSpec } from "./twilio-sms.js";
|
|
18
|
+
import { gcsStorageIntegrationSpec, registerGcsStorageIntegration } from "./gcs-storage.js";
|
|
19
|
+
import { powensIntegrationSpec, registerPowensIntegration } from "./powens.js";
|
|
20
|
+
import { OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction } from "./openbanking.js";
|
|
21
|
+
import { createDefaultIntegrationSpecRegistry } from "./registry.js";
|
|
22
|
+
export { CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder, CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, DeleteObjectInput, EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery, EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector, GetObjectResult, LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, ListInvoicesQuery, ListObjectsQuery, ListObjectsResult, ListTransactionsQuery, Money, ObjectStorageProvider, OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, PutObjectInput, RefundPaymentInput, SendSmsInput, SignedUrlOptions, SmsDeliveryStatus, SmsMessage, SmsProvider, StorageObjectBody, StorageObjectMetadata, TokenCountResult, VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest, Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult, createDefaultIntegrationSpecRegistry, elevenLabsIntegrationSpec, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { registerStripeIntegration, stripeIntegrationSpec } from "./stripe.js";
|
|
2
|
+
import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./postmark.js";
|
|
3
|
+
import { qdrantIntegrationSpec, registerQdrantIntegration } from "./qdrant.js";
|
|
4
|
+
import { mistralIntegrationSpec, registerMistralIntegration } from "./mistral.js";
|
|
5
|
+
import { elevenLabsIntegrationSpec, registerElevenLabsIntegration } from "./elevenlabs.js";
|
|
6
|
+
import { gmailIntegrationSpec, registerGmailIntegration } from "./gmail.js";
|
|
7
|
+
import { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration } from "./google-calendar.js";
|
|
8
|
+
import { registerTwilioSmsIntegration, twilioSmsIntegrationSpec } from "./twilio-sms.js";
|
|
9
|
+
import { gcsStorageIntegrationSpec, registerGcsStorageIntegration } from "./gcs-storage.js";
|
|
10
|
+
import { powensIntegrationSpec, registerPowensIntegration } from "./powens.js";
|
|
11
|
+
import { createDefaultIntegrationSpecRegistry } from "./registry.js";
|
|
12
|
+
|
|
13
|
+
export { createDefaultIntegrationSpecRegistry, elevenLabsIntegrationSpec, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//#region src/integrations/providers/llm.d.ts
|
|
2
|
+
type LLMRole = 'system' | 'user' | 'assistant' | 'tool';
|
|
3
|
+
interface LLMTextPart {
|
|
4
|
+
type: 'text';
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
interface LLMToolCallPart {
|
|
8
|
+
type: 'tool-call';
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
arguments: string;
|
|
12
|
+
}
|
|
13
|
+
interface LLMToolResultPart {
|
|
14
|
+
type: 'tool-result';
|
|
15
|
+
toolCallId: string;
|
|
16
|
+
output: string;
|
|
17
|
+
}
|
|
18
|
+
type LLMContentPart = LLMTextPart | LLMToolCallPart | LLMToolResultPart;
|
|
19
|
+
interface LLMMessage {
|
|
20
|
+
role: LLMRole;
|
|
21
|
+
content: LLMContentPart[];
|
|
22
|
+
name?: string;
|
|
23
|
+
toolCallId?: string;
|
|
24
|
+
metadata?: Record<string, string>;
|
|
25
|
+
}
|
|
26
|
+
interface LLMToolDefinition {
|
|
27
|
+
name: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
inputSchema: unknown;
|
|
30
|
+
}
|
|
31
|
+
interface LLMTokenUsage {
|
|
32
|
+
promptTokens: number;
|
|
33
|
+
completionTokens: number;
|
|
34
|
+
totalTokens: number;
|
|
35
|
+
}
|
|
36
|
+
interface LLMChatOptions {
|
|
37
|
+
model?: string;
|
|
38
|
+
temperature?: number;
|
|
39
|
+
topP?: number;
|
|
40
|
+
maxOutputTokens?: number;
|
|
41
|
+
stopSequences?: string[];
|
|
42
|
+
responseFormat?: 'text' | 'json';
|
|
43
|
+
tools?: LLMToolDefinition[];
|
|
44
|
+
userId?: string;
|
|
45
|
+
metadata?: Record<string, string>;
|
|
46
|
+
timeoutMs?: number;
|
|
47
|
+
signal?: AbortSignal;
|
|
48
|
+
}
|
|
49
|
+
interface LLMResponse {
|
|
50
|
+
message: LLMMessage;
|
|
51
|
+
usage?: LLMTokenUsage;
|
|
52
|
+
finishReason?: 'stop' | 'length' | 'tool_call' | 'content_filter';
|
|
53
|
+
raw?: unknown;
|
|
54
|
+
}
|
|
55
|
+
type LLMStreamChunk = {
|
|
56
|
+
type: 'message_delta';
|
|
57
|
+
delta: LLMContentPart;
|
|
58
|
+
index: number;
|
|
59
|
+
} | {
|
|
60
|
+
type: 'tool_call';
|
|
61
|
+
call: LLMToolCallPart;
|
|
62
|
+
index: number;
|
|
63
|
+
} | {
|
|
64
|
+
type: 'usage';
|
|
65
|
+
usage: LLMTokenUsage;
|
|
66
|
+
} | {
|
|
67
|
+
type: 'error';
|
|
68
|
+
error: Error;
|
|
69
|
+
} | {
|
|
70
|
+
type: 'end';
|
|
71
|
+
response: LLMResponse;
|
|
72
|
+
};
|
|
73
|
+
interface TokenCountResult {
|
|
74
|
+
promptTokens: number;
|
|
75
|
+
}
|
|
76
|
+
interface LLMProvider {
|
|
77
|
+
chat(messages: LLMMessage[], options?: LLMChatOptions): Promise<LLMResponse>;
|
|
78
|
+
stream(messages: LLMMessage[], options?: LLMChatOptions): AsyncIterable<LLMStreamChunk>;
|
|
79
|
+
countTokens(messages: LLMMessage[]): Promise<TokenCountResult>;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
export { LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, TokenCountResult };
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
+
import "../index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/mistral.d.ts
|
|
5
|
+
declare const mistralIntegrationSpec: IntegrationSpec;
|
|
6
|
+
declare function registerMistralIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mistralIntegrationSpec, registerMistralIntegration };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
+
import { defineIntegration } from "../spec.js";
|
|
3
|
+
|
|
4
|
+
//#region src/integrations/providers/mistral.ts
|
|
5
|
+
const mistralIntegrationSpec = defineIntegration({
|
|
6
|
+
meta: {
|
|
7
|
+
key: "ai-llm.mistral",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
category: "ai-llm",
|
|
10
|
+
title: "Mistral Large Language Model",
|
|
11
|
+
description: "Mistral integration providing chat completions and embedding generation.",
|
|
12
|
+
domain: "ai",
|
|
13
|
+
owners: ["platform.ai"],
|
|
14
|
+
tags: [
|
|
15
|
+
"ai",
|
|
16
|
+
"llm",
|
|
17
|
+
"embeddings"
|
|
18
|
+
],
|
|
19
|
+
stability: StabilityEnum.Experimental
|
|
20
|
+
},
|
|
21
|
+
supportedModes: ["managed", "byok"],
|
|
22
|
+
capabilities: { provides: [{
|
|
23
|
+
key: "ai.chat",
|
|
24
|
+
version: "1.0.0"
|
|
25
|
+
}, {
|
|
26
|
+
key: "ai.embeddings",
|
|
27
|
+
version: "1.0.0"
|
|
28
|
+
}] },
|
|
29
|
+
configSchema: {
|
|
30
|
+
schema: {
|
|
31
|
+
type: "object",
|
|
32
|
+
properties: {
|
|
33
|
+
model: {
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "Default chat completion model (e.g., mistral-large-latest)."
|
|
36
|
+
},
|
|
37
|
+
embeddingModel: {
|
|
38
|
+
type: "string",
|
|
39
|
+
description: "Embedding model identifier."
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
example: {
|
|
44
|
+
model: "mistral-large-latest",
|
|
45
|
+
embeddingModel: "mistral-embed"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
secretSchema: {
|
|
49
|
+
schema: {
|
|
50
|
+
type: "object",
|
|
51
|
+
required: ["apiKey"],
|
|
52
|
+
properties: { apiKey: {
|
|
53
|
+
type: "string",
|
|
54
|
+
description: "Mistral API key with access to chat and embeddings endpoints."
|
|
55
|
+
} }
|
|
56
|
+
},
|
|
57
|
+
example: { apiKey: "mistral-***" }
|
|
58
|
+
},
|
|
59
|
+
healthCheck: {
|
|
60
|
+
method: "custom",
|
|
61
|
+
timeoutMs: 5e3
|
|
62
|
+
},
|
|
63
|
+
docsUrl: "https://docs.mistral.ai/platform/endpoints",
|
|
64
|
+
constraints: { rateLimit: { rpm: 600 } },
|
|
65
|
+
byokSetup: { setupInstructions: "Generate an API key within the Mistral console and ensure the selected models are enabled for the account." }
|
|
66
|
+
});
|
|
67
|
+
function registerMistralIntegration(registry) {
|
|
68
|
+
return registry.register(mistralIntegrationSpec);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
export { mistralIntegrationSpec, registerMistralIntegration };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
//#region src/integrations/providers/openbanking.d.ts
|
|
2
|
+
type OpenBankingAccountOwnership = 'individual' | 'joint' | 'business' | 'unknown';
|
|
3
|
+
interface OpenBankingAccountSummary {
|
|
4
|
+
id: string;
|
|
5
|
+
externalId: string;
|
|
6
|
+
tenantId: string;
|
|
7
|
+
connectionId: string;
|
|
8
|
+
userId?: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
institutionId: string;
|
|
11
|
+
institutionName: string;
|
|
12
|
+
institutionLogoUrl?: string;
|
|
13
|
+
accountType: string;
|
|
14
|
+
iban?: string;
|
|
15
|
+
bic?: string;
|
|
16
|
+
currency: string;
|
|
17
|
+
accountNumberMasked?: string;
|
|
18
|
+
ownership?: OpenBankingAccountOwnership;
|
|
19
|
+
status?: 'active' | 'inactive' | 'closed' | 'suspended';
|
|
20
|
+
lastSyncedAt?: string;
|
|
21
|
+
metadata?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
interface OpenBankingAccountDetails extends OpenBankingAccountSummary {
|
|
24
|
+
productCode?: string;
|
|
25
|
+
openedAt?: string;
|
|
26
|
+
closedAt?: string;
|
|
27
|
+
availableBalance?: number;
|
|
28
|
+
currentBalance?: number;
|
|
29
|
+
creditLimit?: number;
|
|
30
|
+
customFields?: Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
interface OpenBankingTransaction {
|
|
33
|
+
id: string;
|
|
34
|
+
externalId: string;
|
|
35
|
+
tenantId: string;
|
|
36
|
+
accountId: string;
|
|
37
|
+
connectionId: string;
|
|
38
|
+
amount: number;
|
|
39
|
+
currency: string;
|
|
40
|
+
direction: 'debit' | 'credit';
|
|
41
|
+
description?: string;
|
|
42
|
+
bookingDate?: string;
|
|
43
|
+
valueDate?: string;
|
|
44
|
+
postedAt?: string;
|
|
45
|
+
category?: string;
|
|
46
|
+
rawCategory?: string;
|
|
47
|
+
merchantName?: string;
|
|
48
|
+
merchantCategoryCode?: string;
|
|
49
|
+
counterpartyName?: string;
|
|
50
|
+
counterpartyAccount?: string;
|
|
51
|
+
reference?: string;
|
|
52
|
+
status?: 'pending' | 'booked' | 'cancelled';
|
|
53
|
+
metadata?: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
type OpenBankingBalanceType = 'current' | 'available' | 'authorised' | 'uncleared' | 'credit' | (string & {});
|
|
56
|
+
interface OpenBankingAccountBalance {
|
|
57
|
+
accountId: string;
|
|
58
|
+
connectionId: string;
|
|
59
|
+
tenantId: string;
|
|
60
|
+
type: OpenBankingBalanceType;
|
|
61
|
+
currency: string;
|
|
62
|
+
amount: number;
|
|
63
|
+
lastUpdatedAt: string;
|
|
64
|
+
metadata?: Record<string, unknown>;
|
|
65
|
+
}
|
|
66
|
+
interface OpenBankingConnectionStatus {
|
|
67
|
+
connectionId: string;
|
|
68
|
+
tenantId: string;
|
|
69
|
+
status: 'healthy' | 'degraded' | 'error' | 'disconnected';
|
|
70
|
+
lastCheckedAt?: string;
|
|
71
|
+
errorCode?: string;
|
|
72
|
+
errorMessage?: string;
|
|
73
|
+
details?: Record<string, unknown>;
|
|
74
|
+
}
|
|
75
|
+
interface OpenBankingListAccountsParams {
|
|
76
|
+
tenantId: string;
|
|
77
|
+
connectionId: string;
|
|
78
|
+
userId?: string;
|
|
79
|
+
cursor?: string;
|
|
80
|
+
pageSize?: number;
|
|
81
|
+
includeBalances?: boolean;
|
|
82
|
+
institutionId?: string;
|
|
83
|
+
}
|
|
84
|
+
interface OpenBankingListAccountsResult {
|
|
85
|
+
accounts: OpenBankingAccountSummary[];
|
|
86
|
+
nextCursor?: string;
|
|
87
|
+
hasMore?: boolean;
|
|
88
|
+
}
|
|
89
|
+
interface OpenBankingGetAccountDetailsParams {
|
|
90
|
+
tenantId: string;
|
|
91
|
+
accountId: string;
|
|
92
|
+
connectionId: string;
|
|
93
|
+
includeBalances?: boolean;
|
|
94
|
+
}
|
|
95
|
+
interface OpenBankingListTransactionsParams {
|
|
96
|
+
tenantId: string;
|
|
97
|
+
accountId: string;
|
|
98
|
+
connectionId: string;
|
|
99
|
+
from?: string;
|
|
100
|
+
to?: string;
|
|
101
|
+
cursor?: string;
|
|
102
|
+
pageSize?: number;
|
|
103
|
+
includePending?: boolean;
|
|
104
|
+
}
|
|
105
|
+
interface OpenBankingListTransactionsResult {
|
|
106
|
+
transactions: OpenBankingTransaction[];
|
|
107
|
+
nextCursor?: string;
|
|
108
|
+
hasMore?: boolean;
|
|
109
|
+
}
|
|
110
|
+
interface OpenBankingGetBalancesParams {
|
|
111
|
+
tenantId: string;
|
|
112
|
+
accountId: string;
|
|
113
|
+
connectionId: string;
|
|
114
|
+
balanceTypes?: OpenBankingBalanceType[];
|
|
115
|
+
}
|
|
116
|
+
interface OpenBankingGetConnectionStatusParams {
|
|
117
|
+
tenantId: string;
|
|
118
|
+
connectionId: string;
|
|
119
|
+
}
|
|
120
|
+
interface OpenBankingProvider {
|
|
121
|
+
listAccounts(params: OpenBankingListAccountsParams): Promise<OpenBankingListAccountsResult>;
|
|
122
|
+
getAccountDetails(params: OpenBankingGetAccountDetailsParams): Promise<OpenBankingAccountDetails>;
|
|
123
|
+
listTransactions(params: OpenBankingListTransactionsParams): Promise<OpenBankingListTransactionsResult>;
|
|
124
|
+
getBalances(params: OpenBankingGetBalancesParams): Promise<OpenBankingAccountBalance[]>;
|
|
125
|
+
getConnectionStatus(params: OpenBankingGetConnectionStatusParams): Promise<OpenBankingConnectionStatus>;
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
128
|
+
export { OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction };
|
|
File without changes
|