@contractspec/lib.contracts 1.46.2 → 1.47.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/app-config/app-config.capability.d.ts +7 -0
- package/dist/app-config/app-config.capability.js +23 -0
- package/dist/app-config/app-config.feature.d.ts +1 -2
- package/dist/app-config/app-config.feature.js +9 -2
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/index.d.ts +4 -3
- package/dist/app-config/index.js +3 -2
- package/dist/app-config/lifecycle-contracts.d.ts +55 -55
- package/dist/app-config/runtime.d.ts +6 -6
- package/dist/app-config/spec.d.ts +9 -5
- package/dist/app-config/spec.js +5 -1
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/runtime.d.ts +5 -1
- package/dist/data-views/runtime.js +34 -7
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/docs/index.js +2 -1
- package/dist/docs/tech/cli.docblock.d.ts +6 -0
- package/dist/docs/tech/cli.docblock.js +138 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -1
- package/dist/docs/tech/studio/project-access-teams.docblock.js +3 -1
- package/dist/examples/index.d.ts +9 -1
- package/dist/examples/index.js +8 -1
- package/dist/examples/registry.d.ts +3 -25
- package/dist/examples/registry.js +4 -60
- package/dist/examples/schema.d.ts +17 -17
- package/dist/examples/types.d.ts +1 -1
- package/dist/features/types.d.ts +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +6 -6
- package/dist/install.d.ts +1 -1
- package/dist/integrations/index.d.ts +2 -2
- package/dist/integrations/index.js +2 -2
- package/dist/integrations/integrations.capability.d.ts +7 -0
- package/dist/integrations/integrations.capability.js +17 -0
- package/dist/integrations/integrations.feature.d.ts +1 -2
- package/dist/integrations/integrations.feature.js +9 -2
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/openbanking.capability.d.ts +7 -0
- package/dist/integrations/openbanking/openbanking.capability.js +21 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +1 -2
- package/dist/integrations/openbanking/openbanking.feature.js +9 -2
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/elevenlabs.d.ts +1 -0
- package/dist/integrations/providers/elevenlabs.js +3 -2
- package/dist/integrations/providers/gcs-storage.d.ts +1 -0
- package/dist/integrations/providers/gcs-storage.js +3 -2
- package/dist/integrations/providers/gmail.d.ts +1 -0
- package/dist/integrations/providers/gmail.js +3 -2
- package/dist/integrations/providers/google-calendar.d.ts +1 -0
- package/dist/integrations/providers/google-calendar.js +3 -2
- package/dist/integrations/providers/impls/provider-factory.js +2 -1
- package/dist/integrations/providers/mistral.d.ts +1 -0
- package/dist/integrations/providers/mistral.js +3 -2
- package/dist/integrations/providers/postmark.d.ts +1 -0
- package/dist/integrations/providers/postmark.js +3 -2
- package/dist/integrations/providers/powens.d.ts +1 -0
- package/dist/integrations/providers/powens.js +3 -2
- package/dist/integrations/providers/qdrant.d.ts +1 -0
- package/dist/integrations/providers/qdrant.js +3 -2
- package/dist/integrations/providers/stripe.d.ts +1 -0
- package/dist/integrations/providers/stripe.js +3 -2
- package/dist/integrations/providers/twilio-sms.d.ts +1 -0
- package/dist/integrations/providers/twilio-sms.js +3 -2
- package/dist/integrations/spec.d.ts +5 -1
- package/dist/integrations/spec.js +5 -1
- package/dist/knowledge/knowledge.capability.d.ts +7 -0
- package/dist/knowledge/knowledge.capability.js +21 -0
- package/dist/knowledge/knowledge.feature.d.ts +1 -2
- package/dist/knowledge/knowledge.feature.js +9 -2
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +1 -1
- package/dist/llm/types.d.ts +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/operation.d.ts +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -1
- package/dist/server/mcp/mcpTypes.d.ts +1 -1
- package/dist/server/mcp/registerPresentations.js +1 -1
- package/dist/server/mcp/registerResources.js +2 -2
- package/dist/tests/index.d.ts +2 -2
- package/dist/tests/index.js +2 -2
- package/dist/tests/spec.d.ts +2 -1
- package/dist/tests/spec.js +4 -1
- package/dist/types.d.ts +2 -2
- package/dist/workflow/index.d.ts +8 -1
- package/dist/workflow/index.js +8 -1
- package/dist/workflow/runner.d.ts +2 -2
- package/dist/workflow/spec.d.ts +1 -1
- package/dist/workflow/validation.d.ts +1 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +45 -974
- package/dist/workspace-config/contractsrc-schema.js +89 -55
- package/dist/workspace-config/contractsrc-types.d.ts +346 -0
- package/dist/workspace-config/contractsrc-types.js +0 -0
- package/dist/workspace-config/index.d.ts +3 -2
- package/package.json +27 -25
- package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/create-subscription.docblock.js +0 -21
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +0 -21
- package/dist/docs/tech/templates/runtime.docblock.d.ts +0 -6
- package/dist/docs/tech/templates/runtime.docblock.js +0 -21
package/dist/index.js
CHANGED
|
@@ -54,14 +54,14 @@ import { TelemetryRegistry, makeTelemetryKey } from "./telemetry/spec.js";
|
|
|
54
54
|
import { TelemetryTracker } from "./telemetry/tracker.js";
|
|
55
55
|
import { TelemetryAnomalyMonitor } from "./telemetry/anomaly.js";
|
|
56
56
|
import "./telemetry/index.js";
|
|
57
|
-
import { TestRegistry, makeTestKey } from "./tests/spec.js";
|
|
57
|
+
import { TestRegistry, defineTestSpec, makeTestKey } from "./tests/spec.js";
|
|
58
58
|
import { TestRunner } from "./tests/runner.js";
|
|
59
59
|
import "./tests/index.js";
|
|
60
60
|
import { ExperimentRegistry, makeExperimentKey } from "./experiments/spec.js";
|
|
61
61
|
import { ExperimentEvaluator } from "./experiments/evaluator.js";
|
|
62
|
-
import { AppBlueprintRegistry, makeAppBlueprintKey } from "./app-config/spec.js";
|
|
62
|
+
import { AppBlueprintRegistry, defineAppConfig, makeAppBlueprintKey } from "./app-config/spec.js";
|
|
63
63
|
import { composeAppConfig, resolveAppConfig } from "./app-config/runtime.js";
|
|
64
|
-
import { IntegrationSpecRegistry, makeIntegrationSpecKey } from "./integrations/spec.js";
|
|
64
|
+
import { IntegrationSpecRegistry, defineIntegration, makeIntegrationSpecKey } from "./integrations/spec.js";
|
|
65
65
|
import { registerStripeIntegration, stripeIntegrationSpec } from "./integrations/providers/stripe.js";
|
|
66
66
|
import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./integrations/providers/postmark.js";
|
|
67
67
|
import { qdrantIntegrationSpec, registerQdrantIntegration } from "./integrations/providers/qdrant.js";
|
|
@@ -106,7 +106,7 @@ import { WorkflowPreFlightError, WorkflowRunner } from "./workflow/runner.js";
|
|
|
106
106
|
import { InMemoryStateStore } from "./workflow/adapters/memory-store.js";
|
|
107
107
|
import { PrismaStateStore } from "./workflow/adapters/db-adapter.js";
|
|
108
108
|
import { createFileStateStore } from "./workflow/adapters/file-adapter.js";
|
|
109
|
-
import "./workflow/index.js";
|
|
109
|
+
import { defineWorkflow } from "./workflow/index.js";
|
|
110
110
|
import { docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, mapDocRoutes } from "./docs/presentations.js";
|
|
111
111
|
import { DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from "./docs/registry.js";
|
|
112
112
|
import { techContractsDocs } from "./docs/tech-contracts.docs.js";
|
|
@@ -120,7 +120,7 @@ import { ExampleKindEnum, ExampleSandboxModeEnum, ExampleVisibilityEnum, isExamp
|
|
|
120
120
|
import { ExampleDocumentationSchema, ExampleEntrypointsSchema, ExampleKindSchema, ExampleMetaSchema, ExampleSandboxModeSchema, ExampleSpecSchema, ExampleSurfacesSchema, ExampleVisibilitySchema, parseExampleDocumentation, parseExampleEntrypoints, parseExampleMeta, parseExampleSpec, parseExampleSurfaces, safeParseExampleSpec } from "./examples/schema.js";
|
|
121
121
|
import { ExampleRegistry } from "./examples/registry.js";
|
|
122
122
|
import { validateExample, validateExampleReferences, validateExamples } from "./examples/validation.js";
|
|
123
|
-
import "./examples/index.js";
|
|
123
|
+
import { defineExample } from "./examples/index.js";
|
|
124
124
|
import { isChangeType, isChangelogDocBlock, isVersionBumpType } from "./versioning/types.js";
|
|
125
125
|
import { bumpVersion, compareVersions, determineBumpType, formatVersion, getBumpTypePriority, getMaxBumpType, isValidVersion, isVersionEqual, isVersionGreater, isVersionLess, parseVersion, parseVersionStrict, validateVersion } from "./versioning/utils.js";
|
|
126
126
|
import { defineSchemaModel } from "@contractspec/lib.schema";
|
|
@@ -129,4 +129,4 @@ import { defineSchemaModel } from "@contractspec/lib.schema";
|
|
|
129
129
|
init_registry_utils();
|
|
130
130
|
|
|
131
131
|
//#endregion
|
|
132
|
-
export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, BumpStrategySchema, CapabilityRegistry, ChangelogFormatSchema, ChangelogTierSchema, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, ContractsrcSchema, CreateIntegrationConnection, CreateKnowledgeSource, DEFAULT_CONTRACTSRC, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, EventRegistry, ExampleDocumentationSchema, ExampleEntrypointsSchema, ExampleKindEnum, ExampleKindSchema, ExampleMetaSchema, ExampleRegistry, ExampleSandboxModeEnum, ExampleSandboxModeSchema, ExampleSpecSchema, ExampleSurfacesSchema, ExampleVisibilityEnum, ExampleVisibilitySchema, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FolderConventionsSchema, FormRegistry, FormatterConfigSchema, FormatterTypeSchema, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, GroupingStrategies, InMemoryStateStore, IntegrationSpecRegistry, KnowledgeSpaceRegistry, ListIntegrationConnections, ListKnowledgeSources, MigrationRegistry, ModelRegistry, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OperationSpecRegistry, Owners, OwnersEnum, PolicyEngine, PolicyRegistry, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, RuleSyncConfigSchema, RuleSyncTargetSchema, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, SchemaFormatSchema, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, VersioningConfigSchema, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, bumpVersion, capabilityKey, compareVersions, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpPrompt, defaultMcpTool, defaultRestPath, defineCapability, defineCommand, defineDataView, defineEvent, defineFeature, defineFormSpec, definePresentation, definePrompt, defineQuery, defineResourceTemplate, defineSchemaModel, determineBumpType, docBlockToMarkdown, docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, filterBy, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, formatVersion, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, getBumpTypePriority, getMaxBumpType, getUniqueDomains, getUniqueOwners, getUniqueTags, gmailIntegrationSpec, googleCalendarIntegrationSpec, groupBy, groupByMultiple, groupByToArray, installFeature, installOp, integrationContracts, isChangeType, isChangelogDocBlock, isEmitDeclRef, isExampleKind, isExampleVisibility, isFeatureRef, isResourceRef, isSpecPointer, isValidVersion, isVersionBumpType, isVersionEqual, isVersionGreater, isVersionLess, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, operationSpecToAgentPrompt, operationSpecToContextMarkdown, operationSpecToFullMarkdown, parseExampleDocumentation, parseExampleEntrypoints, parseExampleMeta, parseExampleSpec, parseExampleSurfaces, parseVersion, parseVersionStrict, postmarkIntegrationSpec, powensIntegrationSpec, presentationToMarkdown, productCanonKnowledgeSpace, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerBasicValidation, registerContractsOnBuilder, registerDefaultReactRenderer, registerDocBlocks, registerElevenLabsIntegration, registerEmailThreadsKnowledgeSpace, registerFeature, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerIntegrationContracts, registerKnowledgeContracts, registerMistralIntegration, registerOpenBankingCapabilities, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerProductCanonKnowledgeSpace, registerQdrantIntegration, registerReactToMarkdownRenderer, registerStripeIntegration, registerSupportFaqKnowledgeSpace, registerTwilioSmsIntegration, registerUploadedDocsKnowledgeSpace, renderFeaturePresentation, resolveAppConfig, resourceRef, rnReusablesDriver, safeParseExampleSpec, sanitizeMcpName, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateBlueprint, validateConfig, validateExample, validateExampleReferences, validateExamples, validateFeatureTargetsV2, validateResolvedConfig, validateTenantConfig, validateVersion, validateWorkflowSpec };
|
|
132
|
+
export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, BumpStrategySchema, CapabilityRegistry, ChangelogFormatSchema, ChangelogTierSchema, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, ContractsrcSchema, CreateIntegrationConnection, CreateKnowledgeSource, DEFAULT_CONTRACTSRC, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, EventRegistry, ExampleDocumentationSchema, ExampleEntrypointsSchema, ExampleKindEnum, ExampleKindSchema, ExampleMetaSchema, ExampleRegistry, ExampleSandboxModeEnum, ExampleSandboxModeSchema, ExampleSpecSchema, ExampleSurfacesSchema, ExampleVisibilityEnum, ExampleVisibilitySchema, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FolderConventionsSchema, FormRegistry, FormatterConfigSchema, FormatterTypeSchema, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, GroupingStrategies, InMemoryStateStore, IntegrationSpecRegistry, KnowledgeSpaceRegistry, ListIntegrationConnections, ListKnowledgeSources, MigrationRegistry, ModelRegistry, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OperationSpecRegistry, Owners, OwnersEnum, PolicyEngine, PolicyRegistry, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, RuleSyncConfigSchema, RuleSyncTargetSchema, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, SchemaFormatSchema, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, VersioningConfigSchema, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, bumpVersion, capabilityKey, compareVersions, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpPrompt, defaultMcpTool, defaultRestPath, defineAppConfig, defineCapability, defineCommand, defineDataView, defineEvent, defineExample, defineFeature, defineFormSpec, defineIntegration, definePresentation, definePrompt, defineQuery, defineResourceTemplate, defineSchemaModel, defineTestSpec, defineWorkflow, determineBumpType, docBlockToMarkdown, docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, filterBy, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, formatVersion, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, getBumpTypePriority, getMaxBumpType, getUniqueDomains, getUniqueOwners, getUniqueTags, gmailIntegrationSpec, googleCalendarIntegrationSpec, groupBy, groupByMultiple, groupByToArray, installFeature, installOp, integrationContracts, isChangeType, isChangelogDocBlock, isEmitDeclRef, isExampleKind, isExampleVisibility, isFeatureRef, isResourceRef, isSpecPointer, isValidVersion, isVersionBumpType, isVersionEqual, isVersionGreater, isVersionLess, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, operationSpecToAgentPrompt, operationSpecToContextMarkdown, operationSpecToFullMarkdown, parseExampleDocumentation, parseExampleEntrypoints, parseExampleMeta, parseExampleSpec, parseExampleSurfaces, parseVersion, parseVersionStrict, postmarkIntegrationSpec, powensIntegrationSpec, presentationToMarkdown, productCanonKnowledgeSpace, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerBasicValidation, registerContractsOnBuilder, registerDefaultReactRenderer, registerDocBlocks, registerElevenLabsIntegration, registerEmailThreadsKnowledgeSpace, registerFeature, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerIntegrationContracts, registerKnowledgeContracts, registerMistralIntegration, registerOpenBankingCapabilities, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerProductCanonKnowledgeSpace, registerQdrantIntegration, registerReactToMarkdownRenderer, registerStripeIntegration, registerSupportFaqKnowledgeSpace, registerTwilioSmsIntegration, registerUploadedDocsKnowledgeSpace, renderFeaturePresentation, resolveAppConfig, resourceRef, rnReusablesDriver, safeParseExampleSpec, sanitizeMcpName, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateBlueprint, validateConfig, validateExample, validateExampleReferences, validateExamples, validateFeatureTargetsV2, validateResolvedConfig, validateTenantConfig, validateVersion, validateWorkflowSpec };
|
package/dist/install.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventSpec } from "./events.js";
|
|
2
1
|
import { ResourceRefDescriptor } from "./resources.js";
|
|
3
2
|
import { AnyOperationSpec, EmitDecl, OperationSpec } from "./operations/operation.js";
|
|
4
3
|
import { OperationSpecRegistry } from "./operations/registry.js";
|
|
5
4
|
import "./operations/index.js";
|
|
6
5
|
import { HandlerCtx } from "./types.js";
|
|
6
|
+
import { EventSpec } from "./events.js";
|
|
7
7
|
import { AnySchemaModel, ZodSchemaModel } from "@contractspec/lib.schema";
|
|
8
8
|
import * as z$2 from "zod";
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, makeIntegrationSpecKey } from "./spec.js";
|
|
1
|
+
import { IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, defineIntegration, makeIntegrationSpecKey } from "./spec.js";
|
|
2
2
|
import { ConnectionStatus, IntegrationConnection, IntegrationConnectionHealth, IntegrationConnectionMeta, IntegrationUsageMetrics } from "./connection.js";
|
|
3
3
|
import { AppIntegrationBinding } from "./binding.js";
|
|
4
4
|
import { CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, ListInvoicesQuery, ListTransactionsQuery, Money, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, RefundPaymentInput } from "./providers/payments.js";
|
|
@@ -31,4 +31,4 @@ import { OpenBankingFeature } from "./openbanking/openbanking.feature.js";
|
|
|
31
31
|
import { registerOpenBankingContracts } from "./openbanking/contracts/index.js";
|
|
32
32
|
import { OpenBankingGuardResult, assertPrimaryOpenBankingReady, ensurePrimaryOpenBankingIntegration } from "./openbanking/guards.js";
|
|
33
33
|
import { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingTelemetryEvent, redactOpenBankingTelemetryPayload } from "./openbanking/telemetry.js";
|
|
34
|
-
export { AccountBalanceRecord, AppIntegrationBinding, BankAccountRecord, BankTransactionRecord, CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder, CapturePaymentInput, ConnectionStatus, CreateCustomerInput, CreatePaymentIntentInput, DeleteObjectInput, EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery, EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector, GetObjectResult, IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationConnection, IntegrationConnectionHealth, IntegrationConnectionMeta, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, IntegrationUsageMetrics, LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, ListInvoicesQuery, ListObjectsQuery, ListObjectsResult, ListTransactionsQuery, Money, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, ObjectStorageProvider, OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetAccountDetailsParams, OpenBankingGetBalances, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingGuardResult, OpenBankingListAccounts, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactions, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OpenBankingTelemetryEvent, OpenBankingTransaction, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, PutObjectInput, RefundPaymentInput, SendSmsInput, SignedUrlOptions, SmsDeliveryStatus, SmsMessage, SmsProvider, StorageObjectBody, StorageObjectMetadata, TokenCountResult, VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest, Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult, assertPrimaryOpenBankingReady, createDefaultIntegrationSpecRegistry, elevenLabsIntegrationSpec, ensurePrimaryOpenBankingIntegration, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, makeIntegrationSpecKey, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
34
|
+
export { AccountBalanceRecord, AppIntegrationBinding, BankAccountRecord, BankTransactionRecord, CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder, CapturePaymentInput, ConnectionStatus, CreateCustomerInput, CreatePaymentIntentInput, DeleteObjectInput, EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery, EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector, GetObjectResult, IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationConnection, IntegrationConnectionHealth, IntegrationConnectionMeta, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, IntegrationUsageMetrics, LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, ListInvoicesQuery, ListObjectsQuery, ListObjectsResult, ListTransactionsQuery, Money, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, ObjectStorageProvider, OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetAccountDetailsParams, OpenBankingGetBalances, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingGuardResult, OpenBankingListAccounts, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactions, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OpenBankingTelemetryEvent, OpenBankingTransaction, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, PutObjectInput, RefundPaymentInput, SendSmsInput, SignedUrlOptions, SmsDeliveryStatus, SmsMessage, SmsProvider, StorageObjectBody, StorageObjectMetadata, TokenCountResult, VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest, Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult, assertPrimaryOpenBankingReady, createDefaultIntegrationSpecRegistry, defineIntegration, elevenLabsIntegrationSpec, ensurePrimaryOpenBankingIntegration, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, makeIntegrationSpecKey, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IntegrationSpecRegistry, makeIntegrationSpecKey } from "./spec.js";
|
|
1
|
+
import { IntegrationSpecRegistry, defineIntegration, makeIntegrationSpecKey } from "./spec.js";
|
|
2
2
|
import { registerStripeIntegration, stripeIntegrationSpec } from "./providers/stripe.js";
|
|
3
3
|
import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./providers/postmark.js";
|
|
4
4
|
import { qdrantIntegrationSpec, registerQdrantIntegration } from "./providers/qdrant.js";
|
|
@@ -20,4 +20,4 @@ import { OpenBankingFeature } from "./openbanking/openbanking.feature.js";
|
|
|
20
20
|
import { registerOpenBankingContracts } from "./openbanking/contracts/index.js";
|
|
21
21
|
import { assertPrimaryOpenBankingReady, ensurePrimaryOpenBankingIntegration } from "./openbanking/guards.js";
|
|
22
22
|
|
|
23
|
-
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord, IntegrationSpecRegistry, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, assertPrimaryOpenBankingReady, createDefaultIntegrationSpecRegistry, elevenLabsIntegrationSpec, ensurePrimaryOpenBankingIntegration, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, makeIntegrationSpecKey, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
23
|
+
export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord, IntegrationSpecRegistry, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, assertPrimaryOpenBankingReady, createDefaultIntegrationSpecRegistry, defineIntegration, elevenLabsIntegrationSpec, ensurePrimaryOpenBankingIntegration, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, makeIntegrationSpecKey, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineCapability } from "../capabilities/capabilities.js";
|
|
2
|
+
import { StabilityEnum } from "../ownership.js";
|
|
3
|
+
import "../capabilities/index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/integrations/integrations.capability.ts
|
|
6
|
+
const IntegrationsCapability = defineCapability({ meta: {
|
|
7
|
+
key: "integrations",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
kind: "integration",
|
|
10
|
+
stability: StabilityEnum.Experimental,
|
|
11
|
+
description: "Core integrations capability for third-party connections",
|
|
12
|
+
owners: ["@platform.core"],
|
|
13
|
+
tags: ["integrations", "platform"]
|
|
14
|
+
} });
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { IntegrationsCapability };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FeatureModuleSpec } from "../features/types.js";
|
|
2
|
-
import "../
|
|
2
|
+
import "../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/integrations.feature.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Platform Integrations feature module that bundles
|
|
8
7
|
* integration connection management capabilities.
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { defineFeature } from "../features/index.js";
|
|
2
|
+
|
|
1
3
|
//#region src/integrations/integrations.feature.ts
|
|
2
4
|
/**
|
|
5
|
+
* Platform Integrations Feature Module Specification
|
|
6
|
+
*
|
|
7
|
+
* Defines the feature module for managing integration connections.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
3
10
|
* Platform Integrations feature module that bundles
|
|
4
11
|
* integration connection management capabilities.
|
|
5
12
|
*/
|
|
6
|
-
const IntegrationsFeature = {
|
|
13
|
+
const IntegrationsFeature = defineFeature({
|
|
7
14
|
meta: {
|
|
8
15
|
key: "platform.integrations",
|
|
9
16
|
version: "1.0.0",
|
|
@@ -54,7 +61,7 @@ const IntegrationsFeature = {
|
|
|
54
61
|
version: "1.0.0"
|
|
55
62
|
}]
|
|
56
63
|
}
|
|
57
|
-
};
|
|
64
|
+
});
|
|
58
65
|
|
|
59
66
|
//#endregion
|
|
60
67
|
export { IntegrationsFeature };
|
|
@@ -2,124 +2,124 @@ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.j
|
|
|
2
2
|
import { OperationSpecRegistry } from "../../../operations/registry.js";
|
|
3
3
|
import "../../../operations/index.js";
|
|
4
4
|
import "../../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _contractspec_lib_schema408 from "@contractspec/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/integrations/openbanking/contracts/accounts.d.ts
|
|
9
9
|
declare const OpenBankingListAccounts: OperationSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
userId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
connectionId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
includeBalances: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
};
|
|
26
26
|
institutionId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
cursor: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
pageSize: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
}>, SchemaModel<{
|
|
39
39
|
accounts: {
|
|
40
40
|
type: SchemaModel<{
|
|
41
41
|
id: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
tenantId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
userId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
connectionId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
externalId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
institutionId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
institutionName: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
institutionLogoUrl: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
iban: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
bic: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
accountType: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
currency: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
displayName: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
accountNumberMasked: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
productCode: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
balance: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
availableBalance: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
107
107
|
isOptional: true;
|
|
108
108
|
};
|
|
109
109
|
lastSyncedAt: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
createdAt: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
updatedAt: {
|
|
118
|
-
type:
|
|
118
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
metadata: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema408.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
123
123
|
isOptional: true;
|
|
124
124
|
};
|
|
125
125
|
}>;
|
|
@@ -127,159 +127,159 @@ declare const OpenBankingListAccounts: OperationSpec<SchemaModel<{
|
|
|
127
127
|
isArray: true;
|
|
128
128
|
};
|
|
129
129
|
nextCursor: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
hasMore: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>, undefined>;
|
|
138
138
|
declare const OpenBankingGetAccount: OperationSpec<SchemaModel<{
|
|
139
139
|
tenantId: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
accountId: {
|
|
144
|
-
type:
|
|
144
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
includeBalances: {
|
|
148
|
-
type:
|
|
148
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
includeLatestTransactions: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
153
153
|
isOptional: true;
|
|
154
154
|
};
|
|
155
155
|
}>, SchemaModel<{
|
|
156
156
|
id: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
tenantId: {
|
|
161
|
-
type:
|
|
161
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
userId: {
|
|
165
|
-
type:
|
|
165
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
connectionId: {
|
|
169
|
-
type:
|
|
169
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
170
170
|
isOptional: false;
|
|
171
171
|
};
|
|
172
172
|
externalId: {
|
|
173
|
-
type:
|
|
173
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
institutionId: {
|
|
177
|
-
type:
|
|
177
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
institutionName: {
|
|
181
|
-
type:
|
|
181
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
institutionLogoUrl: {
|
|
185
|
-
type:
|
|
185
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
186
186
|
isOptional: true;
|
|
187
187
|
};
|
|
188
188
|
iban: {
|
|
189
|
-
type:
|
|
189
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
190
190
|
isOptional: true;
|
|
191
191
|
};
|
|
192
192
|
bic: {
|
|
193
|
-
type:
|
|
193
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
194
194
|
isOptional: true;
|
|
195
195
|
};
|
|
196
196
|
accountType: {
|
|
197
|
-
type:
|
|
197
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
198
198
|
isOptional: false;
|
|
199
199
|
};
|
|
200
200
|
currency: {
|
|
201
|
-
type:
|
|
201
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
displayName: {
|
|
205
|
-
type:
|
|
205
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
accountNumberMasked: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
productCode: {
|
|
213
|
-
type:
|
|
213
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
balance: {
|
|
217
|
-
type:
|
|
217
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
availableBalance: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
222
222
|
isOptional: true;
|
|
223
223
|
};
|
|
224
224
|
lastSyncedAt: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
226
226
|
isOptional: false;
|
|
227
227
|
};
|
|
228
228
|
createdAt: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
230
230
|
isOptional: false;
|
|
231
231
|
};
|
|
232
232
|
updatedAt: {
|
|
233
|
-
type:
|
|
233
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
234
234
|
isOptional: false;
|
|
235
235
|
};
|
|
236
236
|
metadata: {
|
|
237
|
-
type:
|
|
237
|
+
type: _contractspec_lib_schema408.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
238
238
|
isOptional: true;
|
|
239
239
|
};
|
|
240
240
|
}>, undefined>;
|
|
241
241
|
declare const OpenBankingSyncAccounts: OperationSpec<SchemaModel<{
|
|
242
242
|
tenantId: {
|
|
243
|
-
type:
|
|
243
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
userId: {
|
|
247
|
-
type:
|
|
247
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
248
248
|
isOptional: true;
|
|
249
249
|
};
|
|
250
250
|
connectionId: {
|
|
251
|
-
type:
|
|
251
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
accountIds: {
|
|
255
|
-
type:
|
|
255
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
256
256
|
isArray: true;
|
|
257
257
|
isOptional: true;
|
|
258
258
|
};
|
|
259
259
|
forceFullRefresh: {
|
|
260
|
-
type:
|
|
260
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
261
261
|
isOptional: true;
|
|
262
262
|
};
|
|
263
263
|
triggerWorkflows: {
|
|
264
|
-
type:
|
|
264
|
+
type: _contractspec_lib_schema408.FieldType<boolean, boolean>;
|
|
265
265
|
isOptional: true;
|
|
266
266
|
};
|
|
267
267
|
}>, SchemaModel<{
|
|
268
268
|
synced: {
|
|
269
|
-
type:
|
|
269
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
failed: {
|
|
273
|
-
type:
|
|
273
|
+
type: _contractspec_lib_schema408.FieldType<number, number>;
|
|
274
274
|
isOptional: false;
|
|
275
275
|
};
|
|
276
276
|
errors: {
|
|
277
|
-
type:
|
|
277
|
+
type: _contractspec_lib_schema408.FieldType<string, string>;
|
|
278
278
|
isArray: true;
|
|
279
279
|
isOptional: true;
|
|
280
280
|
};
|
|
281
281
|
nextSyncSuggestedAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _contractspec_lib_schema408.FieldType<Date, string>;
|
|
283
283
|
isOptional: true;
|
|
284
284
|
};
|
|
285
285
|
}>, undefined>;
|