@lssm/lib.contracts 1.11.1 → 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/README.md +1 -1
- package/dist/_virtual/rolldown_runtime.js +1 -0
- package/dist/app-config/app-config.feature.js +1 -0
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/docs/app-config.docblock.js +220 -0
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/index.js +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/capabilities/docs/capabilities.docblock.js +1 -0
- package/dist/contract-registry/index.js +1 -0
- package/dist/contract-registry/schemas.js +1 -0
- package/dist/contract-registry/types.js +0 -0
- package/dist/data-views/docs/data-views.docblock.js +1 -0
- package/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/docs/index.js +1 -0
- package/dist/docs/meta.docs.js +13 -0
- package/dist/docs/presentations.js +1 -0
- package/dist/docs/registry.js +1 -0
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/docs/tech/contracts/README.docblock.js +1 -0
- package/dist/docs/tech/contracts/create-subscription.docblock.js +1 -0
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +180 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +1 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +62 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +68 -0
- package/dist/docs/tech/contracts/tests.docblock.js +132 -0
- package/dist/docs/tech/contracts/themes.docblock.js +1 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/docs/tech-contracts.docs.js +76 -0
- package/dist/docs/types.js +0 -0
- package/dist/events.js +1 -1
- package/dist/experiments/docs/experiments.docblock.js +128 -0
- package/dist/forms/docs/forms.docblock.js +1 -0
- package/dist/index.js +1 -1
- package/dist/install.js +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/docs/integrations.docblock.js +1 -0
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/index.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/openbanking.feature.js +1 -0
- package/dist/integrations/providers/impls/index.js +1 -1
- package/dist/integrations/providers/impls/provider-factory.js +1 -1
- package/dist/integrations/providers/index.js +1 -1
- package/dist/integrations/providers/registry.js +1 -0
- package/dist/integrations/secrets/aws-secret-manager.js +1 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
- package/dist/integrations/secrets/index.js +1 -1
- package/dist/integrations/secrets/scaleway-secret-manager.js +1 -0
- package/dist/jobs/define-job.js +1 -0
- package/dist/jobs/gcp-cloud-tasks.js +1 -1
- package/dist/jobs/gcp-pubsub.js +1 -1
- package/dist/jobs/handlers/index.js +1 -1
- package/dist/jobs/handlers/ping-handler.js +1 -0
- package/dist/jobs/index.js +1 -1
- package/dist/jobs/memory-queue.js +1 -1
- package/dist/jobs/queue.js +1 -0
- package/dist/jobs/scaleway-sqs-queue.js +1 -0
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/docs/knowledge.docblock.js +138 -0
- package/dist/llm/exporters.js +8 -0
- package/dist/llm/index.js +1 -0
- package/dist/llm/prompts.js +220 -0
- package/dist/llm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/calculate-complexity.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/defaults.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/types.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/validator.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/interface.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/node.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/object.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/union.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/connection-helpers.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/interface-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/model-loader.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/node-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/object-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/prisma-field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/cursors.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/datamodel.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/deep-equal.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/description.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/get-client.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/loader-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/map-query.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/relation-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/selections.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/usage.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/util.js +1 -0
- package/dist/node_modules/dataloader/index.js +7 -0
- package/dist/node_modules/graphql/error/GraphQLError.js +5 -0
- package/dist/node_modules/graphql/error/index.js +1 -0
- package/dist/node_modules/graphql/error/locatedError.js +1 -0
- package/dist/node_modules/graphql/error/syntaxError.js +1 -0
- package/dist/node_modules/graphql/execution/collectFields.js +1 -0
- package/dist/node_modules/graphql/execution/execute.js +1 -0
- package/dist/node_modules/graphql/execution/index.js +1 -0
- package/dist/node_modules/graphql/execution/mapAsyncIterator.js +1 -0
- package/dist/node_modules/graphql/execution/subscribe.js +1 -0
- package/dist/node_modules/graphql/execution/values.js +1 -0
- package/dist/node_modules/graphql/graphql.js +1 -0
- package/dist/node_modules/graphql/index.js +1 -0
- package/dist/node_modules/graphql/jsutils/Path.js +1 -0
- package/dist/node_modules/graphql/jsutils/devAssert.js +1 -0
- package/dist/node_modules/graphql/jsutils/didYouMean.js +1 -0
- package/dist/node_modules/graphql/jsutils/groupBy.js +1 -0
- package/dist/node_modules/graphql/jsutils/identityFunc.js +1 -0
- package/dist/node_modules/graphql/jsutils/inspect.js +1 -0
- package/dist/node_modules/graphql/jsutils/instanceOf.js +12 -0
- package/dist/node_modules/graphql/jsutils/invariant.js +1 -0
- package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +1 -0
- package/dist/node_modules/graphql/jsutils/isIterableObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -0
- package/dist/node_modules/graphql/jsutils/isPromise.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyValMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/mapValue.js +1 -0
- package/dist/node_modules/graphql/jsutils/memoize3.js +1 -0
- package/dist/node_modules/graphql/jsutils/naturalCompare.js +1 -0
- package/dist/node_modules/graphql/jsutils/printPathArray.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseForObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseReduce.js +1 -0
- package/dist/node_modules/graphql/jsutils/suggestionList.js +1 -0
- package/dist/node_modules/graphql/jsutils/toError.js +1 -0
- package/dist/node_modules/graphql/jsutils/toObjMap.js +1 -0
- package/dist/node_modules/graphql/language/ast.js +1 -0
- package/dist/node_modules/graphql/language/blockString.js +3 -0
- package/dist/node_modules/graphql/language/characterClasses.js +1 -0
- package/dist/node_modules/graphql/language/directiveLocation.js +1 -0
- package/dist/node_modules/graphql/language/index.js +1 -0
- package/dist/node_modules/graphql/language/kinds.js +1 -0
- package/dist/node_modules/graphql/language/lexer.js +3 -0
- package/dist/node_modules/graphql/language/location.js +1 -0
- package/dist/node_modules/graphql/language/parser.js +1 -0
- package/dist/node_modules/graphql/language/predicates.js +1 -0
- package/dist/node_modules/graphql/language/printLocation.js +2 -0
- package/dist/node_modules/graphql/language/printString.js +1 -0
- package/dist/node_modules/graphql/language/printer.js +34 -0
- package/dist/node_modules/graphql/language/schemaCoordinateLexer.js +1 -0
- package/dist/node_modules/graphql/language/source.js +1 -0
- package/dist/node_modules/graphql/language/tokenKind.js +1 -0
- package/dist/node_modules/graphql/language/visitor.js +1 -0
- package/dist/node_modules/graphql/type/assertName.js +1 -0
- package/dist/node_modules/graphql/type/definition.js +1 -0
- package/dist/node_modules/graphql/type/directives.js +1 -0
- package/dist/node_modules/graphql/type/index.js +1 -0
- package/dist/node_modules/graphql/type/introspection.js +3 -0
- package/dist/node_modules/graphql/type/scalars.js +1 -0
- package/dist/node_modules/graphql/type/schema.js +1 -0
- package/dist/node_modules/graphql/type/validate.js +3 -0
- package/dist/node_modules/graphql/utilities/TypeInfo.js +1 -0
- package/dist/node_modules/graphql/utilities/assertValidName.js +1 -0
- package/dist/node_modules/graphql/utilities/astFromValue.js +1 -0
- package/dist/node_modules/graphql/utilities/buildASTSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/buildClientSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/coerceInputValue.js +1 -0
- package/dist/node_modules/graphql/utilities/concatAST.js +1 -0
- package/dist/node_modules/graphql/utilities/extendSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/findBreakingChanges.js +1 -0
- package/dist/node_modules/graphql/utilities/getIntrospectionQuery.js +107 -0
- package/dist/node_modules/graphql/utilities/getOperationAST.js +1 -0
- package/dist/node_modules/graphql/utilities/getOperationRootType.js +1 -0
- package/dist/node_modules/graphql/utilities/index.js +1 -0
- package/dist/node_modules/graphql/utilities/introspectionFromSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/lexicographicSortSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/printSchema.js +13 -0
- package/dist/node_modules/graphql/utilities/resolveSchemaCoordinate.js +1 -0
- package/dist/node_modules/graphql/utilities/separateOperations.js +1 -0
- package/dist/node_modules/graphql/utilities/sortValueNode.js +1 -0
- package/dist/node_modules/graphql/utilities/stripIgnoredCharacters.js +1 -0
- package/dist/node_modules/graphql/utilities/typeComparators.js +1 -0
- package/dist/node_modules/graphql/utilities/typeFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +1 -0
- package/dist/node_modules/graphql/validation/ValidationContext.js +1 -0
- package/dist/node_modules/graphql/validation/index.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/specifiedRules.js +1 -0
- package/dist/node_modules/graphql/validation/validate.js +5 -0
- package/dist/node_modules/graphql/version.js +1 -0
- package/dist/onboarding-base.js +1 -1
- package/dist/openapi.js +1 -0
- package/dist/openbanking/docs/openbanking.docblock.js +109 -0
- package/dist/policy/docs/policy.docblock.js +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +8 -0
- package/dist/presentations.js +1 -1
- package/dist/presentations.v2.js +7 -1
- package/dist/prompt.js +1 -1
- package/dist/promptRegistry.js +1 -1
- package/dist/regenerator/docs/regenerator.docblock.js +184 -0
- package/dist/registry.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.js +10 -0
- package/dist/server/graphql-pothos.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/server/mcp/mcpTypes.js +0 -0
- package/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/server/mcp/registerPrompts.js +3 -0
- package/dist/server/mcp/registerResources.js +1 -0
- package/dist/server/mcp/registerTools.js +1 -0
- package/dist/server/provider-mcp.js +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +139 -0
- package/package.json +353 -193
- package/dist/app-config/branding.d.ts +0 -55
- package/dist/app-config/contracts.d.ts +0 -244
- package/dist/app-config/events.d.ts +0 -122
- package/dist/app-config/index.d.ts +0 -8
- package/dist/app-config/lifecycle-contracts.d.ts +0 -382
- package/dist/app-config/lifecycle.d.ts +0 -27
- package/dist/app-config/runtime.d.ts +0 -114
- package/dist/app-config/spec.d.ts +0 -175
- package/dist/app-config/validation.d.ts +0 -47
- package/dist/capabilities/openbanking.d.ts +0 -9
- package/dist/capabilities.d.ts +0 -45
- package/dist/client/index.d.ts +0 -6
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
- package/dist/client/react/drivers/shadcn.d.ts +0 -12
- package/dist/client/react/feature-render.d.ts +0 -20
- package/dist/client/react/form-render.d.ts +0 -91
- package/dist/client/react/index.d.ts +0 -5
- package/dist/contracts-adapter-hydration.d.ts +0 -15
- package/dist/contracts-adapter-input.d.ts +0 -10
- package/dist/data-views/query-generator.d.ts +0 -39
- package/dist/data-views/runtime.d.ts +0 -26
- package/dist/data-views.d.ts +0 -131
- package/dist/events.d.ts +0 -44
- package/dist/experiments/evaluator.d.ts +0 -37
- package/dist/experiments/spec-resolver.d.ts +0 -16
- package/dist/experiments/spec.d.ts +0 -89
- package/dist/features.d.ts +0 -87
- package/dist/forms.d.ts +0 -258
- package/dist/graphql-federation/dist/index.js +0 -1
- package/dist/index.d.ts +0 -130
- package/dist/install.d.ts +0 -76
- package/dist/integrations/binding.d.ts +0 -17
- package/dist/integrations/connection.d.ts +0 -51
- package/dist/integrations/contracts.d.ts +0 -435
- package/dist/integrations/health.d.ts +0 -21
- package/dist/integrations/index.d.ts +0 -53
- package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -287
- package/dist/integrations/openbanking/contracts/balances.d.ts +0 -163
- package/dist/integrations/openbanking/contracts/index.d.ts +0 -9
- package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -211
- package/dist/integrations/openbanking/guards.d.ts +0 -12
- package/dist/integrations/openbanking/models.d.ts +0 -228
- package/dist/integrations/openbanking/telemetry.d.ts +0 -15
- package/dist/integrations/providers/calendar.d.ts +0 -78
- package/dist/integrations/providers/elevenlabs.d.ts +0 -7
- package/dist/integrations/providers/email.d.ts +0 -86
- package/dist/integrations/providers/embedding.d.ts +0 -24
- package/dist/integrations/providers/gcs-storage.d.ts +0 -7
- package/dist/integrations/providers/gmail.d.ts +0 -7
- package/dist/integrations/providers/google-calendar.d.ts +0 -7
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/index.d.ts +0 -36
- package/dist/integrations/providers/llm.d.ts +0 -82
- package/dist/integrations/providers/mistral.d.ts +0 -7
- package/dist/integrations/providers/openbanking.d.ts +0 -128
- package/dist/integrations/providers/payments.d.ts +0 -109
- package/dist/integrations/providers/postmark.d.ts +0 -7
- package/dist/integrations/providers/powens.d.ts +0 -7
- package/dist/integrations/providers/qdrant.d.ts +0 -7
- package/dist/integrations/providers/sms.d.ts +0 -34
- package/dist/integrations/providers/storage.d.ts +0 -60
- package/dist/integrations/providers/stripe.d.ts +0 -7
- package/dist/integrations/providers/twilio-sms.d.ts +0 -7
- package/dist/integrations/providers/vector-store.d.ts +0 -43
- package/dist/integrations/providers/voice.d.ts +0 -34
- package/dist/integrations/runtime.d.ts +0 -99
- package/dist/integrations/secrets/env-secret-provider.d.ts +0 -31
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -32
- package/dist/integrations/secrets/index.d.ts +0 -5
- package/dist/integrations/secrets/manager.d.ts +0 -47
- package/dist/integrations/secrets/provider.d.ts +0 -52
- package/dist/integrations/spec.d.ts +0 -79
- package/dist/jobs/gcp-cloud-tasks.d.ts +0 -41
- package/dist/jobs/gcp-pubsub.d.ts +0 -25
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -9
- package/dist/jobs/handlers/index.d.ts +0 -3
- package/dist/jobs/handlers/storage-document-handler.d.ts +0 -12
- package/dist/jobs/index.d.ts +0 -7
- package/dist/jobs/memory-queue.d.ts +0 -18
- package/dist/jobs/queue.d.ts +0 -26
- package/dist/jsonschema.d.ts +0 -26
- package/dist/knowledge/binding.d.ts +0 -25
- package/dist/knowledge/contracts.d.ts +0 -316
- package/dist/knowledge/index.d.ts +0 -10
- package/dist/knowledge/ingestion/document-processor.d.ts +0 -24
- package/dist/knowledge/ingestion/embedding-service.d.ts +0 -12
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -18
- package/dist/knowledge/ingestion/index.d.ts +0 -6
- package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -15
- package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -18
- package/dist/knowledge/query/index.d.ts +0 -2
- package/dist/knowledge/query/service.d.ts +0 -29
- package/dist/knowledge/runtime.d.ts +0 -32
- package/dist/knowledge/source.d.ts +0 -32
- package/dist/knowledge/spaces/email-threads.d.ts +0 -7
- package/dist/knowledge/spaces/financial-docs.d.ts +0 -7
- package/dist/knowledge/spaces/financial-overview.d.ts +0 -7
- package/dist/knowledge/spaces/index.d.ts +0 -7
- package/dist/knowledge/spaces/product-canon.d.ts +0 -7
- package/dist/knowledge/spaces/support-faq.d.ts +0 -7
- package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -7
- package/dist/knowledge/spec.d.ts +0 -52
- package/dist/markdown.d.ts +0 -21
- package/dist/migrations.d.ts +0 -52
- package/dist/onboarding-base.d.ts +0 -137
- package/dist/ownership.d.ts +0 -75
- package/dist/policy/engine.d.ts +0 -39
- package/dist/policy/opa-adapter.d.ts +0 -45
- package/dist/policy/spec.d.ts +0 -114
- package/dist/presentations.backcompat.d.ts +0 -7
- package/dist/presentations.d.ts +0 -96
- package/dist/presentations.v2.d.ts +0 -95
- package/dist/prompt.d.ts +0 -60
- package/dist/promptRegistry.d.ts +0 -15
- package/dist/regenerator/adapters.d.ts +0 -19
- package/dist/regenerator/executor.d.ts +0 -70
- package/dist/regenerator/index.d.ts +0 -7
- package/dist/regenerator/service.d.ts +0 -33
- package/dist/regenerator/sinks.d.ts +0 -26
- package/dist/regenerator/types.d.ts +0 -107
- package/dist/regenerator/utils.d.ts +0 -9
- package/dist/registry.d.ts +0 -72
- package/dist/resources.d.ts +0 -64
- package/dist/schema/dist/EnumType.js +0 -1
- package/dist/schema/dist/FieldType.js +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/schema/dist/index.js +0 -1
- package/dist/server/graphql-pothos.d.ts +0 -31
- package/dist/server/graphql-schema-export.d.ts +0 -6
- package/dist/server/graphql-schema-export.js +0 -1
- package/dist/server/index.d.ts +0 -9
- package/dist/server/provider-mcp.d.ts +0 -51
- package/dist/server/rest-elysia.d.ts +0 -40
- package/dist/server/rest-express.d.ts +0 -16
- package/dist/server/rest-generic.d.ts +0 -32
- package/dist/server/rest-next-app.d.ts +0 -35
- package/dist/server/rest-next-mcp.d.ts +0 -11
- package/dist/server/rest-next-pages.d.ts +0 -9
- package/dist/spec.d.ts +0 -171
- package/dist/telemetry/anomaly.d.ts +0 -27
- package/dist/telemetry/index.d.ts +0 -4
- package/dist/telemetry/spec.d.ts +0 -98
- package/dist/telemetry/tracker.d.ts +0 -51
- package/dist/tests/index.d.ts +0 -3
- package/dist/tests/runner.d.ts +0 -43
- package/dist/tests/spec.d.ts +0 -89
- package/dist/themes.d.ts +0 -55
- package/dist/translations/catalog.d.ts +0 -28
- package/dist/translations/tenant.d.ts +0 -15
- package/dist/types/all.d.ts +0 -60
- package/dist/types.d.ts +0 -88
- package/dist/workflow/adapters/db-adapter.d.ts +0 -34
- package/dist/workflow/adapters/file-adapter.d.ts +0 -14
- package/dist/workflow/adapters/index.d.ts +0 -4
- package/dist/workflow/adapters/memory-store.d.ts +0 -18
- package/dist/workflow/expression.d.ts +0 -9
- package/dist/workflow/index.d.ts +0 -10
- package/dist/workflow/runner.d.ts +0 -74
- package/dist/workflow/sla-monitor.d.ts +0 -20
- package/dist/workflow/spec.d.ts +0 -99
- package/dist/workflow/state.d.ts +0 -35
- package/dist/workflow/validation.d.ts +0 -28
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
//#region src/integrations/providers/impls/powens-client.d.ts
|
|
2
|
-
type PowensEnvironment = 'sandbox' | 'production';
|
|
3
|
-
interface PowensClientOptions {
|
|
4
|
-
clientId: string;
|
|
5
|
-
clientSecret: string;
|
|
6
|
-
apiKey?: string;
|
|
7
|
-
environment: PowensEnvironment;
|
|
8
|
-
baseUrl?: string;
|
|
9
|
-
fetchImpl?: typeof fetch;
|
|
10
|
-
defaultTimeoutMs?: number;
|
|
11
|
-
logger?: {
|
|
12
|
-
debug?: (...args: unknown[]) => void;
|
|
13
|
-
warn?: (...args: unknown[]) => void;
|
|
14
|
-
error?: (...args: unknown[]) => void;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
interface PowensAccount {
|
|
18
|
-
uuid: string;
|
|
19
|
-
reference: string;
|
|
20
|
-
userUuid: string;
|
|
21
|
-
institution: {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
logoUrl?: string;
|
|
25
|
-
};
|
|
26
|
-
name: string;
|
|
27
|
-
iban?: string;
|
|
28
|
-
bic?: string;
|
|
29
|
-
currency?: string;
|
|
30
|
-
balance?: number;
|
|
31
|
-
availableBalance?: number;
|
|
32
|
-
type?: string;
|
|
33
|
-
status?: string;
|
|
34
|
-
metadata?: Record<string, unknown>;
|
|
35
|
-
}
|
|
36
|
-
interface PowensAccountListResponse {
|
|
37
|
-
accounts: PowensAccount[];
|
|
38
|
-
pagination?: {
|
|
39
|
-
nextCursor?: string;
|
|
40
|
-
hasMore?: boolean;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
interface PowensTransaction {
|
|
44
|
-
uuid: string;
|
|
45
|
-
accountUuid: string;
|
|
46
|
-
amount: number;
|
|
47
|
-
currency: string;
|
|
48
|
-
direction: 'credit' | 'debit';
|
|
49
|
-
description?: string;
|
|
50
|
-
category?: string;
|
|
51
|
-
rawLabel?: string;
|
|
52
|
-
bookingDate?: string;
|
|
53
|
-
valueDate?: string;
|
|
54
|
-
status?: string;
|
|
55
|
-
merchantName?: string;
|
|
56
|
-
merchantCategoryCode?: string;
|
|
57
|
-
counterpartyName?: string;
|
|
58
|
-
counterpartyAccount?: string;
|
|
59
|
-
metadata?: Record<string, unknown>;
|
|
60
|
-
}
|
|
61
|
-
interface PowensTransactionListResponse {
|
|
62
|
-
transactions: PowensTransaction[];
|
|
63
|
-
pagination?: {
|
|
64
|
-
nextCursor?: string;
|
|
65
|
-
hasMore?: boolean;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
interface PowensBalance {
|
|
69
|
-
accountUuid: string;
|
|
70
|
-
type: string;
|
|
71
|
-
amount: number;
|
|
72
|
-
currency: string;
|
|
73
|
-
updatedAt: string;
|
|
74
|
-
metadata?: Record<string, unknown>;
|
|
75
|
-
}
|
|
76
|
-
interface PowensConnectionStatusResponse {
|
|
77
|
-
connectionUuid: string;
|
|
78
|
-
status: 'healthy' | 'error' | 'revoked' | 'pending';
|
|
79
|
-
lastAttemptAt?: string;
|
|
80
|
-
errorCode?: string;
|
|
81
|
-
errorMessage?: string;
|
|
82
|
-
metadata?: Record<string, unknown>;
|
|
83
|
-
}
|
|
84
|
-
declare class PowensClientError extends Error {
|
|
85
|
-
readonly status: number;
|
|
86
|
-
readonly code?: string;
|
|
87
|
-
readonly requestId?: string;
|
|
88
|
-
readonly response?: unknown;
|
|
89
|
-
constructor(message: string, status: number, code?: string, requestId?: string, response?: unknown);
|
|
90
|
-
}
|
|
91
|
-
declare class PowensClient {
|
|
92
|
-
private readonly clientId;
|
|
93
|
-
private readonly clientSecret;
|
|
94
|
-
private readonly apiKey?;
|
|
95
|
-
private readonly fetchImpl;
|
|
96
|
-
private readonly logger?;
|
|
97
|
-
private readonly defaultTimeoutMs;
|
|
98
|
-
private token?;
|
|
99
|
-
private readonly baseUrl;
|
|
100
|
-
constructor(options: PowensClientOptions);
|
|
101
|
-
listAccounts(params: {
|
|
102
|
-
userUuid: string;
|
|
103
|
-
cursor?: string;
|
|
104
|
-
limit?: number;
|
|
105
|
-
includeBalances?: boolean;
|
|
106
|
-
institutionUuid?: string;
|
|
107
|
-
}): Promise<PowensAccountListResponse>;
|
|
108
|
-
getAccount(accountUuid: string): Promise<PowensAccount>;
|
|
109
|
-
listTransactions(params: {
|
|
110
|
-
accountUuid: string;
|
|
111
|
-
cursor?: string;
|
|
112
|
-
limit?: number;
|
|
113
|
-
from?: string;
|
|
114
|
-
to?: string;
|
|
115
|
-
includePending?: boolean;
|
|
116
|
-
}): Promise<PowensTransactionListResponse>;
|
|
117
|
-
getBalances(accountUuid: string): Promise<PowensBalance[]>;
|
|
118
|
-
getConnectionStatus(connectionUuid: string): Promise<PowensConnectionStatusResponse>;
|
|
119
|
-
private request;
|
|
120
|
-
private ensureAccessToken;
|
|
121
|
-
private fetchAccessToken;
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
export { PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensTransaction, PowensTransactionListResponse };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PowensClientOptions } from "./powens-client.js";
|
|
2
|
-
import { OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider } from "../openbanking.js";
|
|
3
|
-
|
|
4
|
-
//#region src/integrations/providers/impls/powens-openbanking.d.ts
|
|
5
|
-
interface PowensOpenBankingProviderOptions extends PowensClientOptions {}
|
|
6
|
-
declare class PowensOpenBankingProvider implements OpenBankingProvider {
|
|
7
|
-
private readonly client;
|
|
8
|
-
private readonly logger?;
|
|
9
|
-
constructor(options: PowensOpenBankingProviderOptions);
|
|
10
|
-
listAccounts(params: OpenBankingListAccountsParams): Promise<OpenBankingListAccountsResult>;
|
|
11
|
-
getAccountDetails(params: OpenBankingGetAccountDetailsParams): Promise<OpenBankingAccountDetails>;
|
|
12
|
-
listTransactions(params: OpenBankingListTransactionsParams): Promise<OpenBankingListTransactionsResult>;
|
|
13
|
-
getBalances(params: OpenBankingGetBalancesParams): Promise<OpenBankingAccountBalance[]>;
|
|
14
|
-
getConnectionStatus(params: OpenBankingGetConnectionStatusParams): Promise<OpenBankingConnectionStatus>;
|
|
15
|
-
private mapAccount;
|
|
16
|
-
private mapAccountDetails;
|
|
17
|
-
private mapTransaction;
|
|
18
|
-
private mapBalance;
|
|
19
|
-
private toContext;
|
|
20
|
-
private mapOwnership;
|
|
21
|
-
private mapAccountStatus;
|
|
22
|
-
private mapTransactionStatus;
|
|
23
|
-
private mapConnectionStatus;
|
|
24
|
-
private handleError;
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { PowensOpenBankingProvider, PowensOpenBankingProviderOptions };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { PaymentsProvider } from "../payments.js";
|
|
2
|
-
import { LLMProvider } from "../llm.js";
|
|
3
|
-
import { EmbeddingProvider } from "../embedding.js";
|
|
4
|
-
import { VectorStoreProvider } from "../vector-store.js";
|
|
5
|
-
import { EmailOutboundProvider } from "../email.js";
|
|
6
|
-
import { SmsProvider } from "../sms.js";
|
|
7
|
-
import { VoiceProvider } from "../voice.js";
|
|
8
|
-
import { ObjectStorageProvider } from "../storage.js";
|
|
9
|
-
import { OpenBankingProvider } from "../openbanking.js";
|
|
10
|
-
import { IntegrationContext } from "../../runtime.js";
|
|
11
|
-
|
|
12
|
-
//#region src/integrations/providers/impls/provider-factory.d.ts
|
|
13
|
-
declare class IntegrationProviderFactory {
|
|
14
|
-
createPaymentsProvider(context: IntegrationContext): Promise<PaymentsProvider>;
|
|
15
|
-
createEmailOutboundProvider(context: IntegrationContext): Promise<EmailOutboundProvider>;
|
|
16
|
-
createSmsProvider(context: IntegrationContext): Promise<SmsProvider>;
|
|
17
|
-
createVectorStoreProvider(context: IntegrationContext): Promise<VectorStoreProvider>;
|
|
18
|
-
createObjectStorageProvider(context: IntegrationContext): Promise<ObjectStorageProvider>;
|
|
19
|
-
createVoiceProvider(context: IntegrationContext): Promise<VoiceProvider>;
|
|
20
|
-
createLlmProvider(context: IntegrationContext): Promise<LLMProvider>;
|
|
21
|
-
createEmbeddingProvider(context: IntegrationContext): Promise<EmbeddingProvider>;
|
|
22
|
-
createOpenBankingProvider(context: IntegrationContext): Promise<OpenBankingProvider>;
|
|
23
|
-
private loadSecrets;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { IntegrationProviderFactory };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { VectorDeleteRequest, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest } from "../vector-store.js";
|
|
2
|
-
import { QdrantClient, QdrantClientParams } from "@qdrant/js-client-rest";
|
|
3
|
-
|
|
4
|
-
//#region src/integrations/providers/impls/qdrant-vector.d.ts
|
|
5
|
-
interface QdrantVectorProviderOptions {
|
|
6
|
-
url: string;
|
|
7
|
-
apiKey?: string;
|
|
8
|
-
client?: QdrantClient;
|
|
9
|
-
createCollectionIfMissing?: boolean;
|
|
10
|
-
distance?: 'Cosine' | 'Euclid' | 'Dot' | 'Manhattan';
|
|
11
|
-
clientParams?: Omit<QdrantClientParams, 'url' | 'apiKey'>;
|
|
12
|
-
}
|
|
13
|
-
declare class QdrantVectorProvider implements VectorStoreProvider {
|
|
14
|
-
private readonly client;
|
|
15
|
-
private readonly createCollectionIfMissing;
|
|
16
|
-
private readonly distance;
|
|
17
|
-
constructor(options: QdrantVectorProviderOptions);
|
|
18
|
-
upsert(request: VectorUpsertRequest): Promise<void>;
|
|
19
|
-
search(query: VectorSearchQuery): Promise<VectorSearchResult[]>;
|
|
20
|
-
delete(request: VectorDeleteRequest): Promise<void>;
|
|
21
|
-
private ensureCollection;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { QdrantVectorProvider, QdrantVectorProviderOptions };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, ListInvoicesQuery, ListTransactionsQuery, PaymentCustomer, PaymentIntent, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, RefundPaymentInput } from "../payments.js";
|
|
2
|
-
import Stripe from "stripe";
|
|
3
|
-
|
|
4
|
-
//#region src/integrations/providers/impls/stripe-payments.d.ts
|
|
5
|
-
interface StripePaymentsProviderOptions {
|
|
6
|
-
apiKey: string;
|
|
7
|
-
stripe?: Stripe;
|
|
8
|
-
}
|
|
9
|
-
declare class StripePaymentsProvider implements PaymentsProvider {
|
|
10
|
-
private readonly stripe;
|
|
11
|
-
constructor(options: StripePaymentsProviderOptions);
|
|
12
|
-
createCustomer(input: CreateCustomerInput): Promise<PaymentCustomer>;
|
|
13
|
-
getCustomer(customerId: string): Promise<PaymentCustomer | null>;
|
|
14
|
-
createPaymentIntent(input: CreatePaymentIntentInput): Promise<PaymentIntent>;
|
|
15
|
-
capturePayment(paymentIntentId: string, input?: CapturePaymentInput): Promise<PaymentIntent>;
|
|
16
|
-
cancelPaymentIntent(paymentIntentId: string): Promise<PaymentIntent>;
|
|
17
|
-
refundPayment(input: RefundPaymentInput): Promise<PaymentRefund>;
|
|
18
|
-
listInvoices(query?: ListInvoicesQuery): Promise<PaymentInvoice[]>;
|
|
19
|
-
listTransactions(query?: ListTransactionsQuery): Promise<PaymentTransaction[]>;
|
|
20
|
-
private toCustomer;
|
|
21
|
-
private toPaymentIntent;
|
|
22
|
-
private toInvoice;
|
|
23
|
-
private toMoney;
|
|
24
|
-
private toMetadata;
|
|
25
|
-
private mergeMetadata;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { StripePaymentsProvider, StripePaymentsProviderOptions };
|
|
@@ -1,20 +0,0 @@
|
|
|
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 };
|
|
@@ -1,36 +0,0 @@
|
|
|
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 { MistralLLMProvider, MistralLLMProviderOptions } from "./impls/mistral-llm.js";
|
|
21
|
-
import { MistralEmbeddingProvider, MistralEmbeddingProviderOptions } from "./impls/mistral-embedding.js";
|
|
22
|
-
import { QdrantVectorProvider, QdrantVectorProviderOptions } from "./impls/qdrant-vector.js";
|
|
23
|
-
import { GmailInboundProvider, GmailInboundProviderOptions } from "./impls/gmail-inbound.js";
|
|
24
|
-
import { GmailOutboundProvider, GmailOutboundProviderOptions } from "./impls/gmail-outbound.js";
|
|
25
|
-
import { GoogleCalendarProvider, GoogleCalendarProviderOptions } from "./impls/google-calendar.js";
|
|
26
|
-
import { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions } from "./impls/elevenlabs-voice.js";
|
|
27
|
-
import { GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions } from "./impls/gcs-storage.js";
|
|
28
|
-
import { StripePaymentsProvider, StripePaymentsProviderOptions } from "./impls/stripe-payments.js";
|
|
29
|
-
import { PostmarkEmailProvider, PostmarkEmailProviderOptions } from "./impls/postmark-email.js";
|
|
30
|
-
import { TwilioSmsProvider, TwilioSmsProviderOptions } from "./impls/twilio-sms.js";
|
|
31
|
-
import { PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensTransaction, PowensTransactionListResponse } from "./impls/powens-client.js";
|
|
32
|
-
import { OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction } from "./openbanking.js";
|
|
33
|
-
import { PowensOpenBankingProvider, PowensOpenBankingProviderOptions } from "./impls/powens-openbanking.js";
|
|
34
|
-
import { IntegrationProviderFactory } from "./impls/provider-factory.js";
|
|
35
|
-
import "./impls/index.js";
|
|
36
|
-
export { CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder, CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, DeleteObjectInput, ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions, EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery, EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector, GetObjectResult, GmailInboundProvider, GmailInboundProviderOptions, GmailOutboundProvider, GmailOutboundProviderOptions, GoogleCalendarProvider, GoogleCalendarProviderOptions, GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions, IntegrationProviderFactory, LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, ListInvoicesQuery, ListObjectsQuery, ListObjectsResult, ListTransactionsQuery, MistralEmbeddingProvider, MistralEmbeddingProviderOptions, MistralLLMProvider, MistralLLMProviderOptions, Money, ObjectStorageProvider, OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, PostmarkEmailProvider, PostmarkEmailProviderOptions, PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensOpenBankingProvider, PowensOpenBankingProviderOptions, PowensTransaction, PowensTransactionListResponse, PutObjectInput, QdrantVectorProvider, QdrantVectorProviderOptions, RefundPaymentInput, SendSmsInput, SignedUrlOptions, SmsDeliveryStatus, SmsMessage, SmsProvider, StorageObjectBody, StorageObjectMetadata, StripePaymentsProvider, StripePaymentsProviderOptions, TokenCountResult, TwilioSmsProvider, TwilioSmsProviderOptions, VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest, Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult, elevenLabsIntegrationSpec, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
@@ -1,82 +0,0 @@
|
|
|
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 };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/integrations/providers/mistral.d.ts
|
|
4
|
-
declare const mistralIntegrationSpec: IntegrationSpec;
|
|
5
|
-
declare function registerMistralIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { mistralIntegrationSpec, registerMistralIntegration };
|
|
@@ -1,128 +0,0 @@
|
|
|
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 };
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
//#region src/integrations/providers/payments.d.ts
|
|
2
|
-
interface Money {
|
|
3
|
-
/** Amount denominated in the smallest currency unit (e.g., cents). */
|
|
4
|
-
amount: number;
|
|
5
|
-
currency: string;
|
|
6
|
-
}
|
|
7
|
-
type PaymentIntentStatus = 'requires_payment_method' | 'requires_confirmation' | 'requires_action' | 'processing' | 'succeeded' | 'canceled';
|
|
8
|
-
interface PaymentCustomer {
|
|
9
|
-
id: string;
|
|
10
|
-
email?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
metadata?: Record<string, string>;
|
|
13
|
-
createdAt?: Date;
|
|
14
|
-
updatedAt?: Date;
|
|
15
|
-
}
|
|
16
|
-
interface CreateCustomerInput {
|
|
17
|
-
email?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
metadata?: Record<string, string>;
|
|
21
|
-
}
|
|
22
|
-
interface PaymentIntent {
|
|
23
|
-
id: string;
|
|
24
|
-
amount: Money;
|
|
25
|
-
status: PaymentIntentStatus;
|
|
26
|
-
customerId?: string;
|
|
27
|
-
clientSecret?: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
metadata?: Record<string, string>;
|
|
30
|
-
createdAt?: Date;
|
|
31
|
-
updatedAt?: Date;
|
|
32
|
-
}
|
|
33
|
-
interface CreatePaymentIntentInput {
|
|
34
|
-
amount: Money;
|
|
35
|
-
customerId?: string;
|
|
36
|
-
confirmationMethod?: 'automatic' | 'manual';
|
|
37
|
-
captureMethod?: 'automatic' | 'manual';
|
|
38
|
-
description?: string;
|
|
39
|
-
metadata?: Record<string, string>;
|
|
40
|
-
statementDescriptor?: string;
|
|
41
|
-
returnUrl?: string;
|
|
42
|
-
}
|
|
43
|
-
interface CapturePaymentInput {
|
|
44
|
-
amount?: Money;
|
|
45
|
-
receiptEmail?: string;
|
|
46
|
-
metadata?: Record<string, string>;
|
|
47
|
-
}
|
|
48
|
-
interface PaymentRefund {
|
|
49
|
-
id: string;
|
|
50
|
-
paymentIntentId: string;
|
|
51
|
-
amount: Money;
|
|
52
|
-
status: 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
53
|
-
reason?: string;
|
|
54
|
-
metadata?: Record<string, string>;
|
|
55
|
-
createdAt?: Date;
|
|
56
|
-
}
|
|
57
|
-
interface RefundPaymentInput {
|
|
58
|
-
paymentIntentId: string;
|
|
59
|
-
amount?: Money;
|
|
60
|
-
reason?: string;
|
|
61
|
-
metadata?: Record<string, string>;
|
|
62
|
-
}
|
|
63
|
-
interface PaymentInvoice {
|
|
64
|
-
id: string;
|
|
65
|
-
number?: string;
|
|
66
|
-
status: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void' | 'deleted';
|
|
67
|
-
amountDue: Money;
|
|
68
|
-
amountPaid?: Money;
|
|
69
|
-
customerId?: string;
|
|
70
|
-
dueDate?: Date;
|
|
71
|
-
hostedInvoiceUrl?: string;
|
|
72
|
-
metadata?: Record<string, string>;
|
|
73
|
-
createdAt?: Date;
|
|
74
|
-
updatedAt?: Date;
|
|
75
|
-
}
|
|
76
|
-
interface ListInvoicesQuery {
|
|
77
|
-
customerId?: string;
|
|
78
|
-
status?: PaymentInvoice['status'][];
|
|
79
|
-
limit?: number;
|
|
80
|
-
startingAfter?: string;
|
|
81
|
-
}
|
|
82
|
-
interface PaymentTransaction {
|
|
83
|
-
id: string;
|
|
84
|
-
paymentIntentId?: string;
|
|
85
|
-
amount: Money;
|
|
86
|
-
type: 'capture' | 'refund' | 'payout';
|
|
87
|
-
status: 'pending' | 'succeeded' | 'failed';
|
|
88
|
-
description?: string;
|
|
89
|
-
createdAt: Date;
|
|
90
|
-
metadata?: Record<string, string>;
|
|
91
|
-
}
|
|
92
|
-
interface ListTransactionsQuery {
|
|
93
|
-
customerId?: string;
|
|
94
|
-
paymentIntentId?: string;
|
|
95
|
-
limit?: number;
|
|
96
|
-
startingAfter?: string;
|
|
97
|
-
}
|
|
98
|
-
interface PaymentsProvider {
|
|
99
|
-
createCustomer(input: CreateCustomerInput): Promise<PaymentCustomer>;
|
|
100
|
-
getCustomer(customerId: string): Promise<PaymentCustomer | null>;
|
|
101
|
-
createPaymentIntent(input: CreatePaymentIntentInput): Promise<PaymentIntent>;
|
|
102
|
-
capturePayment(paymentIntentId: string, input?: CapturePaymentInput): Promise<PaymentIntent>;
|
|
103
|
-
cancelPaymentIntent(paymentIntentId: string): Promise<PaymentIntent>;
|
|
104
|
-
refundPayment(input: RefundPaymentInput): Promise<PaymentRefund>;
|
|
105
|
-
listInvoices(query?: ListInvoicesQuery): Promise<PaymentInvoice[]>;
|
|
106
|
-
listTransactions(query?: ListTransactionsQuery): Promise<PaymentTransaction[]>;
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
export { CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, ListInvoicesQuery, ListTransactionsQuery, Money, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, RefundPaymentInput };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/integrations/providers/postmark.d.ts
|
|
4
|
-
declare const postmarkIntegrationSpec: IntegrationSpec;
|
|
5
|
-
declare function registerPostmarkIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { postmarkIntegrationSpec, registerPostmarkIntegration };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/integrations/providers/powens.d.ts
|
|
4
|
-
declare const powensIntegrationSpec: IntegrationSpec;
|
|
5
|
-
declare function registerPowensIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { powensIntegrationSpec, registerPowensIntegration };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/integrations/providers/qdrant.d.ts
|
|
4
|
-
declare const qdrantIntegrationSpec: IntegrationSpec;
|
|
5
|
-
declare function registerQdrantIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { qdrantIntegrationSpec, registerQdrantIntegration };
|