@lssm/bundle.contractspec-workspace 0.0.0-canary-20251217083314 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +1 -22
- package/dist/adapters/ai.js +1 -82
- package/dist/adapters/factory.js +1 -36
- package/dist/adapters/fs.js +1 -118
- package/dist/adapters/git.js +1 -54
- package/dist/adapters/index.js +1 -7
- package/dist/adapters/logger.js +1 -80
- package/dist/adapters/watcher.js +1 -69
- package/dist/adapters/workspace.js +2 -190
- package/dist/ai/agents/claude-code-agent.js +9 -146
- package/dist/ai/agents/cursor-agent.js +17 -286
- package/dist/ai/agents/index.js +1 -5
- package/dist/ai/agents/openai-codex-agent.js +8 -140
- package/dist/ai/agents/orchestrator.js +1 -142
- package/dist/ai/agents/simple-agent.js +4 -80
- package/dist/ai/client.js +1 -162
- package/dist/ai/index.js +1 -27
- package/dist/ai/prompts/code-generation.js +13 -55
- package/dist/ai/prompts/index.js +1 -12
- package/dist/ai/prompts/spec-creation.js +20 -61
- package/dist/ai/providers.js +1 -40
- package/dist/formatters/index.js +1 -18
- package/dist/formatters/json.js +1 -71
- package/dist/formatters/sarif.js +1 -163
- package/dist/formatters/text.js +2 -208
- package/dist/index.js +1 -81
- package/dist/node_modules/@ai-sdk/anthropic/dist/index.js +1 -0
- package/dist/node_modules/@ai-sdk/openai/dist/index.js +11 -0
- package/dist/node_modules/@ai-sdk/provider/dist/index.js +3 -0
- package/dist/node_modules/@ai-sdk/provider-utils/dist/index.js +5 -0
- package/dist/node_modules/chalk/source/index.js +2 -0
- package/dist/node_modules/chalk/source/utilities.js +4 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +1 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +1 -0
- package/dist/node_modules/cli-cursor/index.js +1 -0
- package/dist/node_modules/cli-spinners/index.js +1 -0
- package/dist/node_modules/cli-spinners/spinners.js +1 -0
- package/dist/node_modules/eventsource-parser/dist/index.js +5 -0
- package/dist/node_modules/eventsource-parser/dist/stream.js +1 -0
- package/dist/node_modules/get-east-asian-width/index.js +1 -0
- package/dist/node_modules/get-east-asian-width/lookup.js +1 -0
- package/dist/node_modules/is-interactive/index.js +1 -0
- package/dist/node_modules/is-unicode-supported/index.js +1 -0
- package/dist/node_modules/log-symbols/browser-symbols.js +1 -0
- package/dist/node_modules/mimic-function/index.js +1 -0
- package/dist/node_modules/onetime/index.js +1 -0
- package/dist/node_modules/ora/index.js +6 -0
- package/dist/node_modules/restore-cursor/index.js +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +1 -0
- package/dist/node_modules/stdin-discarder/index.js +1 -0
- package/dist/node_modules/string-width/index.js +1 -0
- package/dist/node_modules/strip-ansi/index.js +1 -0
- package/dist/node_modules/strip-ansi/node_modules/ansi-regex/index.js +1 -0
- package/dist/services/agent-guide/adapters/claude-code.js +3 -144
- package/dist/services/agent-guide/adapters/cursor-cli.js +3 -135
- package/dist/services/agent-guide/adapters/generic-mcp.js +3 -159
- package/dist/services/agent-guide/adapters/index.js +1 -30
- package/dist/services/agent-guide/agent-guide-service.js +1 -148
- package/dist/services/agent-guide/index.js +1 -5
- package/dist/services/build.js +1 -140
- package/dist/services/ci-check/ci-check-service.js +1 -393
- package/dist/services/ci-check/index.js +1 -2
- package/dist/services/ci-check/types.js +1 -28
- package/dist/services/clean.js +1 -71
- package/dist/services/config.js +1 -76
- package/dist/services/deps.js +1 -62
- package/dist/services/diff.js +1 -33
- package/dist/services/doctor/checks/ai.js +2 -118
- package/dist/services/doctor/checks/cli.js +1 -146
- package/dist/services/doctor/checks/config.js +1 -170
- package/dist/services/doctor/checks/deps.js +1 -180
- package/dist/services/doctor/checks/index.js +1 -6
- package/dist/services/doctor/checks/mcp.js +1 -144
- package/dist/services/doctor/checks/workspace.js +1 -243
- package/dist/services/doctor/doctor-service.js +2 -115
- package/dist/services/doctor/index.js +1 -2
- package/dist/services/doctor/types.js +1 -26
- package/dist/services/implementation/discovery.js +2 -143
- package/dist/services/implementation/index.js +1 -2
- package/dist/services/implementation/resolver.js +1 -223
- package/dist/services/index.js +1 -53
- package/dist/services/integrity-diagram.js +6 -274
- package/dist/services/integrity.js +1 -272
- package/dist/services/list.js +1 -35
- package/dist/services/openapi/export-service.js +2 -51
- package/dist/services/openapi/import-service.js +1 -75
- package/dist/services/openapi/index.js +1 -4
- package/dist/services/openapi/sync-service.js +1 -121
- package/dist/services/openapi/validate-service.js +1 -130
- package/dist/services/regenerator.js +1 -23
- package/dist/services/registry.js +1 -73
- package/dist/services/setup/config-generators.js +26 -113
- package/dist/services/setup/file-merger.js +2 -60
- package/dist/services/setup/index.js +1 -4
- package/dist/services/setup/setup-service.js +1 -95
- package/dist/services/setup/targets/agents-md.js +1 -46
- package/dist/services/setup/targets/cli-config.js +1 -59
- package/dist/services/setup/targets/cursor-rules.js +1 -47
- package/dist/services/setup/targets/mcp-claude.js +1 -59
- package/dist/services/setup/targets/mcp-cursor.js +1 -58
- package/dist/services/setup/targets/vscode-settings.js +1 -62
- package/dist/services/setup/types.js +1 -26
- package/dist/services/sync.js +1 -62
- package/dist/services/test.js +1 -30
- package/dist/services/validate-implementation.js +1 -69
- package/dist/services/validate.js +1 -47
- package/dist/services/verification-cache/adapters/filesystem.js +1 -121
- package/dist/services/verification-cache/adapters/in-memory.js +1 -45
- package/dist/services/verification-cache/adapters/index.js +1 -3
- package/dist/services/verification-cache/adapters/workspace-state.js +1 -90
- package/dist/services/verification-cache/cache-service.js +1 -255
- package/dist/services/verification-cache/index.js +1 -6
- package/dist/services/verification-cache/types.js +1 -15
- package/dist/services/verify/ai-verifier.js +9 -336
- package/dist/services/verify/behavior-verifier.js +1 -185
- package/dist/services/verify/index.js +1 -4
- package/dist/services/verify/structure-verifier.js +2 -195
- package/dist/services/verify/verify-service.js +3 -203
- package/dist/services/watch.js +1 -31
- package/dist/services/workspace-info.js +2 -102
- package/dist/templates/app-config.template.js +28 -101
- package/dist/templates/data-view.template.js +27 -42
- package/dist/templates/event.template.js +14 -29
- package/dist/templates/experiment.template.js +51 -77
- package/dist/templates/handler.template.js +17 -53
- package/dist/templates/index.js +1 -36
- package/dist/templates/integration.template.js +50 -134
- package/dist/templates/knowledge.template.js +21 -62
- package/dist/templates/migration.template.js +26 -50
- package/dist/templates/operation.template.js +28 -44
- package/dist/templates/presentation.template.js +20 -46
- package/dist/templates/telemetry.template.js +53 -74
- package/dist/templates/workflow-runner.template.js +6 -12
- package/dist/templates/workflow.template.js +24 -51
- package/package.json +10 -16
- package/dist/adapters/ai.d.ts +0 -11
- package/dist/adapters/factory.d.ts +0 -28
- package/dist/adapters/fs.d.ts +0 -10
- package/dist/adapters/git.d.ts +0 -10
- package/dist/adapters/logger.d.ts +0 -17
- package/dist/adapters/watcher.d.ts +0 -10
- package/dist/adapters/workspace.d.ts +0 -93
- package/dist/ai/agents/claude-code-agent.d.ts +0 -21
- package/dist/ai/agents/cursor-agent.d.ts +0 -67
- package/dist/ai/agents/openai-codex-agent.d.ts +0 -21
- package/dist/ai/agents/orchestrator.d.ts +0 -49
- package/dist/ai/agents/simple-agent.d.ts +0 -16
- package/dist/ai/agents/types.d.ts +0 -35
- package/dist/ai/client.d.ts +0 -82
- package/dist/ai/index.d.ts +0 -16
- package/dist/ai/prompts/code-generation.d.ts +0 -25
- package/dist/ai/prompts/index.d.ts +0 -9
- package/dist/ai/prompts/spec-creation.d.ts +0 -28
- package/dist/ai/providers.d.ts +0 -28
- package/dist/formatters/index.d.ts +0 -10
- package/dist/formatters/json.d.ts +0 -88
- package/dist/formatters/sarif.d.ts +0 -100
- package/dist/formatters/text.d.ts +0 -34
- package/dist/index.d.ts +0 -66
- package/dist/libs/ai-providers/dist/factory.js +0 -154
- package/dist/libs/ai-providers/dist/index.js +0 -4
- package/dist/libs/ai-providers/dist/legacy.js +0 -72
- package/dist/libs/ai-providers/dist/models.js +0 -287
- package/dist/libs/ai-providers/dist/validation.js +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/index.js +0 -29
- package/dist/libs/contracts/dist/docs/presentations.js +0 -71
- package/dist/libs/contracts/dist/docs/registry.js +0 -44
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/libs/contracts/dist/events.js +0 -8
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -72
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/libs/contracts/dist/jsonschema.js +0 -24
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/libs/contracts/dist/llm/exporters.js +0 -352
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -211
- package/dist/libs/contracts/dist/onboarding-base.js +0 -196
- package/dist/libs/contracts/dist/openapi.js +0 -75
- package/dist/libs/contracts/dist/ownership.js +0 -21
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -11
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -2
- package/dist/libs/contracts/dist/regenerator/service.js +0 -92
- package/dist/libs/contracts/dist/regenerator/utils.js +0 -51
- package/dist/libs/contracts/dist/registry.js +0 -208
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -35
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -150
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/contracts-transformers/dist/common/utils.js +0 -47
- package/dist/libs/contracts-transformers/dist/openapi/exporter.js +0 -1
- package/dist/libs/contracts-transformers/dist/openapi/importer.js +0 -255
- package/dist/libs/contracts-transformers/dist/openapi/index.js +0 -4
- package/dist/libs/contracts-transformers/dist/openapi/parser.js +0 -231
- package/dist/libs/contracts-transformers/dist/openapi/schema-converter.js +0 -201
- package/dist/modules/contractspec-workspace/dist/ai/code-generation.js +0 -137
- package/dist/modules/contractspec-workspace/dist/ai/spec-creation.js +0 -101
- package/dist/modules/contractspec-workspace/dist/analysis/deps/graph.js +0 -84
- package/dist/modules/contractspec-workspace/dist/analysis/deps/parse-imports.js +0 -30
- package/dist/modules/contractspec-workspace/dist/analysis/diff/semantic.js +0 -96
- package/dist/modules/contractspec-workspace/dist/analysis/feature-scan.js +0 -151
- package/dist/modules/contractspec-workspace/dist/analysis/spec-scan.js +0 -344
- package/dist/modules/contractspec-workspace/dist/analysis/validate/spec-structure.js +0 -122
- package/dist/modules/contractspec-workspace/dist/templates/app-config.js +0 -105
- package/dist/modules/contractspec-workspace/dist/templates/data-view.js +0 -68
- package/dist/modules/contractspec-workspace/dist/templates/event.js +0 -38
- package/dist/modules/contractspec-workspace/dist/templates/experiment.js +0 -87
- package/dist/modules/contractspec-workspace/dist/templates/handler.js +0 -95
- package/dist/modules/contractspec-workspace/dist/templates/integration-utils.js +0 -104
- package/dist/modules/contractspec-workspace/dist/templates/integration.js +0 -62
- package/dist/modules/contractspec-workspace/dist/templates/knowledge.js +0 -68
- package/dist/modules/contractspec-workspace/dist/templates/migration.js +0 -60
- package/dist/modules/contractspec-workspace/dist/templates/operation.js +0 -100
- package/dist/modules/contractspec-workspace/dist/templates/presentation.js +0 -78
- package/dist/modules/contractspec-workspace/dist/templates/telemetry.js +0 -89
- package/dist/modules/contractspec-workspace/dist/templates/utils.js +0 -38
- package/dist/modules/contractspec-workspace/dist/templates/workflow-runner.js +0 -48
- package/dist/modules/contractspec-workspace/dist/templates/workflow.js +0 -67
- package/dist/modules/contractspec-workspace/dist/types/generation-types.js +0 -20
- package/dist/ports/ai.d.ts +0 -58
- package/dist/ports/fs.d.ts +0 -80
- package/dist/ports/git.d.ts +0 -32
- package/dist/ports/logger.d.ts +0 -87
- package/dist/ports/watcher.d.ts +0 -51
- package/dist/services/agent-guide/adapters/claude-code.d.ts +0 -34
- package/dist/services/agent-guide/adapters/cursor-cli.d.ts +0 -38
- package/dist/services/agent-guide/adapters/generic-mcp.d.ts +0 -52
- package/dist/services/agent-guide/adapters/index.d.ts +0 -22
- package/dist/services/agent-guide/agent-guide-service.d.ts +0 -55
- package/dist/services/agent-guide/types.d.ts +0 -57
- package/dist/services/build.d.ts +0 -58
- package/dist/services/ci-check/ci-check-service.d.ts +0 -15
- package/dist/services/ci-check/types.d.ts +0 -142
- package/dist/services/clean.d.ts +0 -40
- package/dist/services/config.d.ts +0 -25
- package/dist/services/deps.d.ts +0 -52
- package/dist/services/diff.d.ts +0 -33
- package/dist/services/doctor/doctor-service.d.ts +0 -23
- package/dist/services/doctor/types.d.ts +0 -117
- package/dist/services/implementation/discovery.d.ts +0 -29
- package/dist/services/implementation/resolver.d.ts +0 -43
- package/dist/services/implementation/types.d.ts +0 -78
- package/dist/services/integrity-diagram.d.ts +0 -35
- package/dist/services/integrity.d.ts +0 -133
- package/dist/services/list.d.ts +0 -30
- package/dist/services/openapi/export-service.d.ts +0 -52
- package/dist/services/openapi/import-service.d.ts +0 -15
- package/dist/services/openapi/sync-service.d.ts +0 -18
- package/dist/services/openapi/types.d.ts +0 -184
- package/dist/services/openapi/validate-service.d.ts +0 -15
- package/dist/services/regenerator.d.ts +0 -17
- package/dist/services/registry.d.ts +0 -52
- package/dist/services/setup/config-generators.d.ts +0 -41
- package/dist/services/setup/file-merger.d.ts +0 -26
- package/dist/services/setup/setup-service.d.ts +0 -11
- package/dist/services/setup/types.d.ts +0 -84
- package/dist/services/sync.d.ts +0 -40
- package/dist/services/test.d.ts +0 -14
- package/dist/services/validate-implementation.d.ts +0 -31
- package/dist/services/validate.d.ts +0 -40
- package/dist/services/verification-cache/adapters/filesystem.d.ts +0 -45
- package/dist/services/verification-cache/adapters/in-memory.d.ts +0 -26
- package/dist/services/verification-cache/adapters/workspace-state.d.ts +0 -48
- package/dist/services/verification-cache/cache-service.d.ts +0 -69
- package/dist/services/verification-cache/types.d.ts +0 -123
- package/dist/services/verify/ai-verifier.d.ts +0 -24
- package/dist/services/verify/behavior-verifier.d.ts +0 -11
- package/dist/services/verify/structure-verifier.d.ts +0 -11
- package/dist/services/verify/types.d.ts +0 -136
- package/dist/services/verify/verify-service.d.ts +0 -59
- package/dist/services/watch.d.ts +0 -24
- package/dist/services/workspace-info.d.ts +0 -61
- package/dist/templates/app-config.template.d.ts +0 -6
- package/dist/templates/data-view.template.d.ts +0 -6
- package/dist/templates/event.template.d.ts +0 -10
- package/dist/templates/experiment.template.d.ts +0 -6
- package/dist/templates/handler.template.d.ts +0 -15
- package/dist/templates/index.d.ts +0 -20
- package/dist/templates/integration.template.d.ts +0 -6
- package/dist/templates/knowledge.template.d.ts +0 -6
- package/dist/templates/migration.template.d.ts +0 -6
- package/dist/templates/operation.template.d.ts +0 -10
- package/dist/templates/presentation.template.d.ts +0 -10
- package/dist/templates/telemetry.template.d.ts +0 -6
- package/dist/templates/workflow-runner.template.d.ts +0 -15
- package/dist/templates/workflow.template.d.ts +0 -6
- package/dist/types/config.d.ts +0 -33
- package/dist/types.d.ts +0 -323
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { SchemaModel } from "../../../schema/dist/SchemaModel.js";
|
|
2
|
-
import { ScalarTypeEnum } from "../../../schema/dist/ScalarTypeEnum.js";
|
|
3
|
-
import "../../../schema/dist/index.js";
|
|
4
|
-
import { defineCommand, defineQuery } from "../../../spec.js";
|
|
5
|
-
import { AccountBalanceRecord } from "../models.js";
|
|
6
|
-
import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
|
|
7
|
-
|
|
8
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/contracts/balances.js
|
|
9
|
-
const OpenBankingGetBalancesInput = new SchemaModel({
|
|
10
|
-
name: "OpenBankingGetBalancesInput",
|
|
11
|
-
description: "Parameters for retrieving bank account balances from the canonical ledger.",
|
|
12
|
-
fields: {
|
|
13
|
-
tenantId: {
|
|
14
|
-
type: ScalarTypeEnum.ID(),
|
|
15
|
-
isOptional: false
|
|
16
|
-
},
|
|
17
|
-
accountId: {
|
|
18
|
-
type: ScalarTypeEnum.ID(),
|
|
19
|
-
isOptional: false
|
|
20
|
-
},
|
|
21
|
-
balanceTypes: {
|
|
22
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
23
|
-
isArray: true,
|
|
24
|
-
isOptional: true
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const OpenBankingGetBalancesOutput = new SchemaModel({
|
|
29
|
-
name: "OpenBankingGetBalancesOutput",
|
|
30
|
-
description: "Canonical balances for a bank account.",
|
|
31
|
-
fields: {
|
|
32
|
-
balances: {
|
|
33
|
-
type: AccountBalanceRecord,
|
|
34
|
-
isOptional: false,
|
|
35
|
-
isArray: true
|
|
36
|
-
},
|
|
37
|
-
asOf: {
|
|
38
|
-
type: ScalarTypeEnum.DateTime(),
|
|
39
|
-
isOptional: true
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
const OpenBankingRefreshBalancesInput = new SchemaModel({
|
|
44
|
-
name: "OpenBankingRefreshBalancesInput",
|
|
45
|
-
description: "Command payload to refresh balances for a bank account via the open banking provider.",
|
|
46
|
-
fields: {
|
|
47
|
-
tenantId: {
|
|
48
|
-
type: ScalarTypeEnum.ID(),
|
|
49
|
-
isOptional: false
|
|
50
|
-
},
|
|
51
|
-
accountId: {
|
|
52
|
-
type: ScalarTypeEnum.ID(),
|
|
53
|
-
isOptional: false
|
|
54
|
-
},
|
|
55
|
-
connectionId: {
|
|
56
|
-
type: ScalarTypeEnum.ID(),
|
|
57
|
-
isOptional: true
|
|
58
|
-
},
|
|
59
|
-
balanceTypes: {
|
|
60
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
61
|
-
isArray: true,
|
|
62
|
-
isOptional: true
|
|
63
|
-
},
|
|
64
|
-
forceRefresh: {
|
|
65
|
-
type: ScalarTypeEnum.Boolean(),
|
|
66
|
-
isOptional: true
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
const OpenBankingRefreshBalancesOutput = new SchemaModel({
|
|
71
|
-
name: "OpenBankingRefreshBalancesOutput",
|
|
72
|
-
description: "Result of a balance refresh against the open banking provider.",
|
|
73
|
-
fields: {
|
|
74
|
-
balances: {
|
|
75
|
-
type: AccountBalanceRecord,
|
|
76
|
-
isOptional: false,
|
|
77
|
-
isArray: true
|
|
78
|
-
},
|
|
79
|
-
refreshedAt: {
|
|
80
|
-
type: ScalarTypeEnum.DateTime(),
|
|
81
|
-
isOptional: false
|
|
82
|
-
},
|
|
83
|
-
errors: {
|
|
84
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
85
|
-
isArray: true,
|
|
86
|
-
isOptional: true
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
const OpenBankingGetBalances = defineQuery({
|
|
91
|
-
meta: {
|
|
92
|
-
name: "openbanking.balances.get",
|
|
93
|
-
version: 1,
|
|
94
|
-
description: "Retrieve the latest cached balances for a bank account.",
|
|
95
|
-
goal: "Expose current and available balances required by dashboards and analytics.",
|
|
96
|
-
context: "Used by Pocket Family Office UI surfaces and automation steps that require balance totals prior to generating summaries.",
|
|
97
|
-
owners: ["platform.finance"],
|
|
98
|
-
tags: [
|
|
99
|
-
"open-banking",
|
|
100
|
-
"powens",
|
|
101
|
-
"balances"
|
|
102
|
-
],
|
|
103
|
-
stability: "experimental"
|
|
104
|
-
},
|
|
105
|
-
io: {
|
|
106
|
-
input: OpenBankingGetBalancesInput,
|
|
107
|
-
output: OpenBankingGetBalancesOutput
|
|
108
|
-
},
|
|
109
|
-
policy: { auth: "user" }
|
|
110
|
-
});
|
|
111
|
-
const OpenBankingRefreshBalances = defineCommand({
|
|
112
|
-
meta: {
|
|
113
|
-
name: "openbanking.balances.refresh",
|
|
114
|
-
version: 1,
|
|
115
|
-
description: "Refresh balances for a bank account via the configured open banking provider.",
|
|
116
|
-
goal: "Ensure canonical balance records reflect the latest values from Powens.",
|
|
117
|
-
context: "Triggered by scheduled workflows before generating summaries or forecasting cashflow.",
|
|
118
|
-
owners: ["platform.finance"],
|
|
119
|
-
tags: [
|
|
120
|
-
"open-banking",
|
|
121
|
-
"powens",
|
|
122
|
-
"balances"
|
|
123
|
-
],
|
|
124
|
-
stability: "experimental"
|
|
125
|
-
},
|
|
126
|
-
io: {
|
|
127
|
-
input: OpenBankingRefreshBalancesInput,
|
|
128
|
-
output: OpenBankingRefreshBalancesOutput
|
|
129
|
-
},
|
|
130
|
-
policy: { auth: "admin" },
|
|
131
|
-
telemetry: {
|
|
132
|
-
success: {
|
|
133
|
-
event: { name: OPENBANKING_TELEMETRY_EVENTS.balancesRefreshed },
|
|
134
|
-
properties: ({ input, output }) => {
|
|
135
|
-
const payload = input;
|
|
136
|
-
const result = output;
|
|
137
|
-
return {
|
|
138
|
-
tenantId: payload?.tenantId,
|
|
139
|
-
accountId: payload?.accountId,
|
|
140
|
-
refreshedAt: result?.refreshedAt,
|
|
141
|
-
balanceCount: Array.isArray(result?.balances) ? result?.balances.length : void 0
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
failure: {
|
|
146
|
-
event: { name: OPENBANKING_TELEMETRY_EVENTS.balancesRefreshFailed },
|
|
147
|
-
properties: ({ input, error }) => {
|
|
148
|
-
const payload = input;
|
|
149
|
-
return {
|
|
150
|
-
tenantId: payload?.tenantId,
|
|
151
|
-
accountId: payload?.accountId,
|
|
152
|
-
error: error instanceof Error ? error.message : String(error ?? "unknown")
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
//#endregion
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { SchemaModel } from "../../../schema/dist/SchemaModel.js";
|
|
2
|
-
import { ScalarTypeEnum } from "../../../schema/dist/ScalarTypeEnum.js";
|
|
3
|
-
import "../../../schema/dist/index.js";
|
|
4
|
-
import { defineCommand, defineQuery } from "../../../spec.js";
|
|
5
|
-
import { BankTransactionRecord } from "../models.js";
|
|
6
|
-
import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
|
|
7
|
-
|
|
8
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/contracts/transactions.js
|
|
9
|
-
const OpenBankingListTransactionsInput = new SchemaModel({
|
|
10
|
-
name: "OpenBankingListTransactionsInput",
|
|
11
|
-
description: "Parameters for listing bank transactions from the canonical ledger.",
|
|
12
|
-
fields: {
|
|
13
|
-
tenantId: {
|
|
14
|
-
type: ScalarTypeEnum.ID(),
|
|
15
|
-
isOptional: false
|
|
16
|
-
},
|
|
17
|
-
accountId: {
|
|
18
|
-
type: ScalarTypeEnum.ID(),
|
|
19
|
-
isOptional: false
|
|
20
|
-
},
|
|
21
|
-
from: {
|
|
22
|
-
type: ScalarTypeEnum.DateTime(),
|
|
23
|
-
isOptional: true
|
|
24
|
-
},
|
|
25
|
-
to: {
|
|
26
|
-
type: ScalarTypeEnum.DateTime(),
|
|
27
|
-
isOptional: true
|
|
28
|
-
},
|
|
29
|
-
cursor: {
|
|
30
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
31
|
-
isOptional: true
|
|
32
|
-
},
|
|
33
|
-
pageSize: {
|
|
34
|
-
type: ScalarTypeEnum.Int_unsecure(),
|
|
35
|
-
isOptional: true
|
|
36
|
-
},
|
|
37
|
-
direction: {
|
|
38
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
39
|
-
isOptional: true
|
|
40
|
-
},
|
|
41
|
-
minimumAmount: {
|
|
42
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
43
|
-
isOptional: true
|
|
44
|
-
},
|
|
45
|
-
maximumAmount: {
|
|
46
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
47
|
-
isOptional: true
|
|
48
|
-
},
|
|
49
|
-
category: {
|
|
50
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
51
|
-
isOptional: true
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
const OpenBankingListTransactionsOutput = new SchemaModel({
|
|
56
|
-
name: "OpenBankingListTransactionsOutput",
|
|
57
|
-
description: "Paginated list of transactions for a bank account.",
|
|
58
|
-
fields: {
|
|
59
|
-
transactions: {
|
|
60
|
-
type: BankTransactionRecord,
|
|
61
|
-
isOptional: false,
|
|
62
|
-
isArray: true
|
|
63
|
-
},
|
|
64
|
-
nextCursor: {
|
|
65
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
66
|
-
isOptional: true
|
|
67
|
-
},
|
|
68
|
-
hasMore: {
|
|
69
|
-
type: ScalarTypeEnum.Boolean(),
|
|
70
|
-
isOptional: true
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
const OpenBankingSyncTransactionsInput = new SchemaModel({
|
|
75
|
-
name: "OpenBankingSyncTransactionsInput",
|
|
76
|
-
description: "Command payload to synchronise transactions from the open banking provider into the canonical ledger.",
|
|
77
|
-
fields: {
|
|
78
|
-
tenantId: {
|
|
79
|
-
type: ScalarTypeEnum.ID(),
|
|
80
|
-
isOptional: false
|
|
81
|
-
},
|
|
82
|
-
accountId: {
|
|
83
|
-
type: ScalarTypeEnum.ID(),
|
|
84
|
-
isOptional: false
|
|
85
|
-
},
|
|
86
|
-
from: {
|
|
87
|
-
type: ScalarTypeEnum.DateTime(),
|
|
88
|
-
isOptional: true
|
|
89
|
-
},
|
|
90
|
-
to: {
|
|
91
|
-
type: ScalarTypeEnum.DateTime(),
|
|
92
|
-
isOptional: true
|
|
93
|
-
},
|
|
94
|
-
connectionId: {
|
|
95
|
-
type: ScalarTypeEnum.ID(),
|
|
96
|
-
isOptional: true
|
|
97
|
-
},
|
|
98
|
-
includePending: {
|
|
99
|
-
type: ScalarTypeEnum.Boolean(),
|
|
100
|
-
isOptional: true
|
|
101
|
-
},
|
|
102
|
-
backfillDays: {
|
|
103
|
-
type: ScalarTypeEnum.Int_unsecure(),
|
|
104
|
-
isOptional: true
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
const OpenBankingSyncTransactionsOutput = new SchemaModel({
|
|
109
|
-
name: "OpenBankingSyncTransactionsOutput",
|
|
110
|
-
description: "Result of a transaction synchronisation run.",
|
|
111
|
-
fields: {
|
|
112
|
-
synced: {
|
|
113
|
-
type: ScalarTypeEnum.Int_unsecure(),
|
|
114
|
-
isOptional: false
|
|
115
|
-
},
|
|
116
|
-
failed: {
|
|
117
|
-
type: ScalarTypeEnum.Int_unsecure(),
|
|
118
|
-
isOptional: false
|
|
119
|
-
},
|
|
120
|
-
earliestSyncedAt: {
|
|
121
|
-
type: ScalarTypeEnum.DateTime(),
|
|
122
|
-
isOptional: true
|
|
123
|
-
},
|
|
124
|
-
latestSyncedAt: {
|
|
125
|
-
type: ScalarTypeEnum.DateTime(),
|
|
126
|
-
isOptional: true
|
|
127
|
-
},
|
|
128
|
-
nextSinceToken: {
|
|
129
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
130
|
-
isOptional: true
|
|
131
|
-
},
|
|
132
|
-
errors: {
|
|
133
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
134
|
-
isArray: true,
|
|
135
|
-
isOptional: true
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
const OpenBankingListTransactions = defineQuery({
|
|
140
|
-
meta: {
|
|
141
|
-
name: "openbanking.transactions.list",
|
|
142
|
-
version: 1,
|
|
143
|
-
description: "List bank transactions that have been normalised into the canonical ledger.",
|
|
144
|
-
goal: "Allow downstream analytics and UI surfaces to page through canonical bank transactions.",
|
|
145
|
-
context: "Used by Pocket Family Office dashboards, reconciliation workflows, and analytics data views.",
|
|
146
|
-
owners: ["platform.finance"],
|
|
147
|
-
tags: [
|
|
148
|
-
"open-banking",
|
|
149
|
-
"powens",
|
|
150
|
-
"transactions"
|
|
151
|
-
],
|
|
152
|
-
stability: "experimental"
|
|
153
|
-
},
|
|
154
|
-
io: {
|
|
155
|
-
input: OpenBankingListTransactionsInput,
|
|
156
|
-
output: OpenBankingListTransactionsOutput
|
|
157
|
-
},
|
|
158
|
-
policy: { auth: "user" }
|
|
159
|
-
});
|
|
160
|
-
const OpenBankingSyncTransactions = defineCommand({
|
|
161
|
-
meta: {
|
|
162
|
-
name: "openbanking.transactions.sync",
|
|
163
|
-
version: 1,
|
|
164
|
-
description: "Synchronise transactions for a bank account by calling the configured open banking provider.",
|
|
165
|
-
goal: "Ensure the canonical transaction ledger stays aligned with the external provider.",
|
|
166
|
-
context: "Triggered by scheduled workflows or on-demand actions when activity is expected on an account.",
|
|
167
|
-
owners: ["platform.finance"],
|
|
168
|
-
tags: [
|
|
169
|
-
"open-banking",
|
|
170
|
-
"powens",
|
|
171
|
-
"transactions"
|
|
172
|
-
],
|
|
173
|
-
stability: "experimental"
|
|
174
|
-
},
|
|
175
|
-
io: {
|
|
176
|
-
input: OpenBankingSyncTransactionsInput,
|
|
177
|
-
output: OpenBankingSyncTransactionsOutput
|
|
178
|
-
},
|
|
179
|
-
policy: { auth: "admin" },
|
|
180
|
-
telemetry: {
|
|
181
|
-
success: {
|
|
182
|
-
event: { name: OPENBANKING_TELEMETRY_EVENTS.transactionsSynced },
|
|
183
|
-
properties: ({ input, output }) => {
|
|
184
|
-
const payload = input;
|
|
185
|
-
const result = output;
|
|
186
|
-
return {
|
|
187
|
-
tenantId: payload?.tenantId,
|
|
188
|
-
accountId: payload?.accountId,
|
|
189
|
-
synced: result?.synced,
|
|
190
|
-
failed: result?.failed,
|
|
191
|
-
earliestSyncedAt: result?.earliestSyncedAt,
|
|
192
|
-
latestSyncedAt: result?.latestSyncedAt
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
failure: {
|
|
197
|
-
event: { name: OPENBANKING_TELEMETRY_EVENTS.transactionsSyncFailed },
|
|
198
|
-
properties: ({ input, error }) => {
|
|
199
|
-
const payload = input;
|
|
200
|
-
return {
|
|
201
|
-
tenantId: payload?.tenantId,
|
|
202
|
-
accountId: payload?.accountId,
|
|
203
|
-
error: error instanceof Error ? error.message : String(error ?? "unknown")
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
//#endregion
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { SchemaModel } from "../../schema/dist/SchemaModel.js";
|
|
2
|
-
import { ScalarTypeEnum } from "../../schema/dist/ScalarTypeEnum.js";
|
|
3
|
-
import "../../schema/dist/index.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/models.js
|
|
6
|
-
const BankAccountRecord = new SchemaModel({
|
|
7
|
-
name: "BankAccountRecord",
|
|
8
|
-
description: "Canonical representation of a bank account synced from an open banking provider.",
|
|
9
|
-
fields: {
|
|
10
|
-
id: {
|
|
11
|
-
type: ScalarTypeEnum.ID(),
|
|
12
|
-
isOptional: false
|
|
13
|
-
},
|
|
14
|
-
tenantId: {
|
|
15
|
-
type: ScalarTypeEnum.ID(),
|
|
16
|
-
isOptional: false
|
|
17
|
-
},
|
|
18
|
-
userId: {
|
|
19
|
-
type: ScalarTypeEnum.ID(),
|
|
20
|
-
isOptional: false
|
|
21
|
-
},
|
|
22
|
-
connectionId: {
|
|
23
|
-
type: ScalarTypeEnum.ID(),
|
|
24
|
-
isOptional: false
|
|
25
|
-
},
|
|
26
|
-
externalId: {
|
|
27
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
28
|
-
isOptional: false
|
|
29
|
-
},
|
|
30
|
-
institutionId: {
|
|
31
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
32
|
-
isOptional: false
|
|
33
|
-
},
|
|
34
|
-
institutionName: {
|
|
35
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
36
|
-
isOptional: false
|
|
37
|
-
},
|
|
38
|
-
institutionLogoUrl: {
|
|
39
|
-
type: ScalarTypeEnum.URL(),
|
|
40
|
-
isOptional: true
|
|
41
|
-
},
|
|
42
|
-
iban: {
|
|
43
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
44
|
-
isOptional: true
|
|
45
|
-
},
|
|
46
|
-
bic: {
|
|
47
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
48
|
-
isOptional: true
|
|
49
|
-
},
|
|
50
|
-
accountType: {
|
|
51
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
52
|
-
isOptional: false
|
|
53
|
-
},
|
|
54
|
-
currency: {
|
|
55
|
-
type: ScalarTypeEnum.Currency(),
|
|
56
|
-
isOptional: false
|
|
57
|
-
},
|
|
58
|
-
displayName: {
|
|
59
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
60
|
-
isOptional: false
|
|
61
|
-
},
|
|
62
|
-
accountNumberMasked: {
|
|
63
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
64
|
-
isOptional: true
|
|
65
|
-
},
|
|
66
|
-
productCode: {
|
|
67
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
68
|
-
isOptional: true
|
|
69
|
-
},
|
|
70
|
-
balance: {
|
|
71
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
72
|
-
isOptional: true
|
|
73
|
-
},
|
|
74
|
-
availableBalance: {
|
|
75
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
76
|
-
isOptional: true
|
|
77
|
-
},
|
|
78
|
-
lastSyncedAt: {
|
|
79
|
-
type: ScalarTypeEnum.DateTime(),
|
|
80
|
-
isOptional: false
|
|
81
|
-
},
|
|
82
|
-
createdAt: {
|
|
83
|
-
type: ScalarTypeEnum.DateTime(),
|
|
84
|
-
isOptional: false
|
|
85
|
-
},
|
|
86
|
-
updatedAt: {
|
|
87
|
-
type: ScalarTypeEnum.DateTime(),
|
|
88
|
-
isOptional: false
|
|
89
|
-
},
|
|
90
|
-
metadata: {
|
|
91
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
92
|
-
isOptional: true
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
const BankTransactionRecord = new SchemaModel({
|
|
97
|
-
name: "BankTransactionRecord",
|
|
98
|
-
description: "Canonical transaction entry mapped from Powens into the open banking ledger.",
|
|
99
|
-
fields: {
|
|
100
|
-
id: {
|
|
101
|
-
type: ScalarTypeEnum.ID(),
|
|
102
|
-
isOptional: false
|
|
103
|
-
},
|
|
104
|
-
accountId: {
|
|
105
|
-
type: ScalarTypeEnum.ID(),
|
|
106
|
-
isOptional: false
|
|
107
|
-
},
|
|
108
|
-
tenantId: {
|
|
109
|
-
type: ScalarTypeEnum.ID(),
|
|
110
|
-
isOptional: false
|
|
111
|
-
},
|
|
112
|
-
connectionId: {
|
|
113
|
-
type: ScalarTypeEnum.ID(),
|
|
114
|
-
isOptional: false
|
|
115
|
-
},
|
|
116
|
-
externalId: {
|
|
117
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
118
|
-
isOptional: false
|
|
119
|
-
},
|
|
120
|
-
amount: {
|
|
121
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
122
|
-
isOptional: false
|
|
123
|
-
},
|
|
124
|
-
currency: {
|
|
125
|
-
type: ScalarTypeEnum.Currency(),
|
|
126
|
-
isOptional: false
|
|
127
|
-
},
|
|
128
|
-
date: {
|
|
129
|
-
type: ScalarTypeEnum.DateTime(),
|
|
130
|
-
isOptional: false
|
|
131
|
-
},
|
|
132
|
-
bookingDate: {
|
|
133
|
-
type: ScalarTypeEnum.DateTime(),
|
|
134
|
-
isOptional: true
|
|
135
|
-
},
|
|
136
|
-
valueDate: {
|
|
137
|
-
type: ScalarTypeEnum.DateTime(),
|
|
138
|
-
isOptional: true
|
|
139
|
-
},
|
|
140
|
-
description: {
|
|
141
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
142
|
-
isOptional: true
|
|
143
|
-
},
|
|
144
|
-
counterpartyName: {
|
|
145
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
146
|
-
isOptional: true
|
|
147
|
-
},
|
|
148
|
-
counterpartyAccount: {
|
|
149
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
150
|
-
isOptional: true
|
|
151
|
-
},
|
|
152
|
-
merchantCategoryCode: {
|
|
153
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
154
|
-
isOptional: true
|
|
155
|
-
},
|
|
156
|
-
rawCategory: {
|
|
157
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
158
|
-
isOptional: true
|
|
159
|
-
},
|
|
160
|
-
standardizedCategory: {
|
|
161
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
162
|
-
isOptional: true
|
|
163
|
-
},
|
|
164
|
-
transactionType: {
|
|
165
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
166
|
-
isOptional: false
|
|
167
|
-
},
|
|
168
|
-
status: {
|
|
169
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
170
|
-
isOptional: false
|
|
171
|
-
},
|
|
172
|
-
runningBalance: {
|
|
173
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
174
|
-
isOptional: true
|
|
175
|
-
},
|
|
176
|
-
metadata: {
|
|
177
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
178
|
-
isOptional: true
|
|
179
|
-
},
|
|
180
|
-
createdAt: {
|
|
181
|
-
type: ScalarTypeEnum.DateTime(),
|
|
182
|
-
isOptional: false
|
|
183
|
-
},
|
|
184
|
-
updatedAt: {
|
|
185
|
-
type: ScalarTypeEnum.DateTime(),
|
|
186
|
-
isOptional: false
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
const AccountBalanceRecord = new SchemaModel({
|
|
191
|
-
name: "AccountBalanceRecord",
|
|
192
|
-
description: "Canonical balance snapshot computed from Powens balance payloads.",
|
|
193
|
-
fields: {
|
|
194
|
-
id: {
|
|
195
|
-
type: ScalarTypeEnum.ID(),
|
|
196
|
-
isOptional: false
|
|
197
|
-
},
|
|
198
|
-
accountId: {
|
|
199
|
-
type: ScalarTypeEnum.ID(),
|
|
200
|
-
isOptional: false
|
|
201
|
-
},
|
|
202
|
-
tenantId: {
|
|
203
|
-
type: ScalarTypeEnum.ID(),
|
|
204
|
-
isOptional: false
|
|
205
|
-
},
|
|
206
|
-
connectionId: {
|
|
207
|
-
type: ScalarTypeEnum.ID(),
|
|
208
|
-
isOptional: false
|
|
209
|
-
},
|
|
210
|
-
balanceType: {
|
|
211
|
-
type: ScalarTypeEnum.NonEmptyString(),
|
|
212
|
-
isOptional: false
|
|
213
|
-
},
|
|
214
|
-
currentBalance: {
|
|
215
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
216
|
-
isOptional: false
|
|
217
|
-
},
|
|
218
|
-
availableBalance: {
|
|
219
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
220
|
-
isOptional: true
|
|
221
|
-
},
|
|
222
|
-
currency: {
|
|
223
|
-
type: ScalarTypeEnum.Currency(),
|
|
224
|
-
isOptional: false
|
|
225
|
-
},
|
|
226
|
-
lastUpdatedAt: {
|
|
227
|
-
type: ScalarTypeEnum.DateTime(),
|
|
228
|
-
isOptional: false
|
|
229
|
-
},
|
|
230
|
-
createdAt: {
|
|
231
|
-
type: ScalarTypeEnum.DateTime(),
|
|
232
|
-
isOptional: false
|
|
233
|
-
},
|
|
234
|
-
metadata: {
|
|
235
|
-
type: ScalarTypeEnum.JSONObject(),
|
|
236
|
-
isOptional: true
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
//#endregion
|
|
242
|
-
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/contracts/dist/integrations/openbanking/telemetry.js
|
|
2
|
-
const OPENBANKING_TELEMETRY_EVENTS = {
|
|
3
|
-
accountsSynced: "openbanking.accounts.synced",
|
|
4
|
-
accountsSyncFailed: "openbanking.accounts.sync_failed",
|
|
5
|
-
transactionsSynced: "openbanking.transactions.synced",
|
|
6
|
-
transactionsSyncFailed: "openbanking.transactions.sync_failed",
|
|
7
|
-
balancesRefreshed: "openbanking.balances.refreshed",
|
|
8
|
-
balancesRefreshFailed: "openbanking.balances.refresh_failed",
|
|
9
|
-
overviewGenerated: "openbanking.overview.generated"
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { OPENBANKING_TELEMETRY_EVENTS };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/integrations/providers/elevenlabs.js
|
|
4
|
-
const elevenLabsIntegrationSpec = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "ai-voice.elevenlabs",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "ai-voice",
|
|
9
|
-
displayName: "ElevenLabs Voice",
|
|
10
|
-
title: "ElevenLabs Text-to-Speech",
|
|
11
|
-
description: "ElevenLabs integration for neural voice synthesis and voice catalog access.",
|
|
12
|
-
domain: "ai",
|
|
13
|
-
owners: ["platform.ai"],
|
|
14
|
-
tags: ["voice", "tts"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
supportedModes: ["managed", "byok"],
|
|
18
|
-
capabilities: { provides: [{
|
|
19
|
-
key: "ai.voice.synthesis",
|
|
20
|
-
version: 1
|
|
21
|
-
}] },
|
|
22
|
-
configSchema: {
|
|
23
|
-
schema: {
|
|
24
|
-
type: "object",
|
|
25
|
-
properties: { defaultVoiceId: {
|
|
26
|
-
type: "string",
|
|
27
|
-
description: "Optional default voice identifier for synthesis requests."
|
|
28
|
-
} }
|
|
29
|
-
},
|
|
30
|
-
example: { defaultVoiceId: "pNInz6obpgDQGcFmaJgB" }
|
|
31
|
-
},
|
|
32
|
-
secretSchema: {
|
|
33
|
-
schema: {
|
|
34
|
-
type: "object",
|
|
35
|
-
required: ["apiKey"],
|
|
36
|
-
properties: { apiKey: {
|
|
37
|
-
type: "string",
|
|
38
|
-
description: "ElevenLabs API key with text-to-speech permissions."
|
|
39
|
-
} }
|
|
40
|
-
},
|
|
41
|
-
example: { apiKey: "eleven-***" }
|
|
42
|
-
},
|
|
43
|
-
healthCheck: {
|
|
44
|
-
method: "custom",
|
|
45
|
-
timeoutMs: 4e3
|
|
46
|
-
},
|
|
47
|
-
docsUrl: "https://elevenlabs.io/docs/api-reference/text-to-speech",
|
|
48
|
-
constraints: { rateLimit: { rpm: 120 } },
|
|
49
|
-
byokSetup: { setupInstructions: "Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope." }
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
//#endregion
|