@contractspec/lib.contracts 0.0.0-canary-20260128200020 → 0.0.0-canary-20260202053150
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/{contracts.d.ts → app-config.contracts.d.ts} +51 -51
- package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.d.ts +3 -3
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/data-views.d.ts +1 -1
- package/dist/data-views/index.d.ts +1 -1
- package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
- package/dist/data-views/report/contractVerificationTable.js +95 -0
- package/dist/data-views/runtime.d.ts +1 -1
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/docs/capabilities/documentationSystem.capability.js +5 -5
- package/dist/docs/commands/docsGenerate.command.d.ts +19 -19
- package/dist/docs/commands/docsGenerate.command.js +5 -2
- package/dist/docs/commands/docsPublish.command.d.ts +13 -13
- package/dist/docs/commands/docsPublish.command.js +5 -2
- package/dist/docs/constants.d.ts +1 -9
- package/dist/docs/constants.js +1 -9
- package/dist/docs/contracts.d.ts +103 -103
- package/dist/docs/events/docsGenerated.event.d.ts +13 -13
- package/dist/docs/events/docsPublished.event.d.ts +15 -15
- package/dist/docs/forms/docsSearch.form.d.ts +4 -4
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/index.js +3 -2
- package/dist/docs/presentations/docsLayout.presentation.js +7 -4
- package/dist/docs/presentations/docsReferencePage.presentation.js +7 -4
- package/dist/docs/queries/contractReference.query.d.ts +47 -47
- package/dist/docs/queries/contractReference.query.js +5 -2
- package/dist/docs/queries/docsIndex.query.d.ts +57 -57
- package/dist/docs/queries/docsIndex.query.js +5 -2
- package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +50 -0
- package/dist/examples/schema.d.ts +14 -14
- package/dist/index.d.ts +11 -8
- package/dist/index.js +6 -3
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/index.d.ts +4 -1
- package/dist/operations/index.js +4 -1
- package/dist/operations/registry.d.ts +1 -1
- package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
- package/dist/operations/report/getContractVerificationStatus.js +96 -0
- package/dist/operations/report/index.d.ts +13 -0
- package/dist/operations/report/index.js +45 -0
- package/dist/serialization/serializers.d.ts +1 -1
- package/dist/telemetry/tracker.d.ts +3 -2
- package/dist/types.d.ts +2 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
- package/dist/workspace-config/contractsrc-types.d.ts +5 -6
- package/dist/workspace-config/index.d.ts +2 -2
- package/package.json +10 -6
package/dist/index.js
CHANGED
|
@@ -40,11 +40,14 @@ import { installOp, makeEmit, op } from "./install.js";
|
|
|
40
40
|
import { openApiForRegistry } from "./openapi.js";
|
|
41
41
|
import { definePrompt } from "./prompt.js";
|
|
42
42
|
import { PromptRegistry } from "./promptRegistry.js";
|
|
43
|
+
import { ContractVerificationStatusModel, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery } from "./operations/report/getContractVerificationStatus.js";
|
|
44
|
+
import { defineDataView } from "./data-views/spec.js";
|
|
45
|
+
import { ContractVerificationTableDataView } from "./data-views/report/contractVerificationTable.js";
|
|
46
|
+
import { getContractVerificationStatusHandler, registerReportContracts } from "./operations/report/index.js";
|
|
43
47
|
import "./operations/index.js";
|
|
44
48
|
import { ResourceRegistry, defineResourceTemplate, isResourceRef, resourceRef } from "./resources.js";
|
|
45
49
|
import { ModelRegistry } from "./model-registry.js";
|
|
46
50
|
import { CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput } from "./onboarding-base.js";
|
|
47
|
-
import { defineDataView } from "./data-views/spec.js";
|
|
48
51
|
import { DataViewRegistry, dataViewKey } from "./data-views/registry.js";
|
|
49
52
|
import "./data-views/index.js";
|
|
50
53
|
import { PolicyRegistry } from "./policy/registry.js";
|
|
@@ -115,7 +118,7 @@ import { createFileStateStore } from "./workflow/adapters/file-adapter.js";
|
|
|
115
118
|
import { WorkflowContextError, calculateWorkflowProgress, createWorkflowContext, getAverageStepDuration, getWorkflowDuration } from "./workflow/context.js";
|
|
116
119
|
import { SLAMonitor } from "./workflow/sla-monitor.js";
|
|
117
120
|
import { defineWorkflow } from "./workflow/index.js";
|
|
118
|
-
import {
|
|
121
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "./docs/constants.js";
|
|
119
122
|
import { docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, mapDocRoutes } from "./docs/presentations.js";
|
|
120
123
|
import { DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from "./docs/registry.js";
|
|
121
124
|
import { DocsGeneratedEvent, DocsGeneratedPayload } from "./docs/events/docsGenerated.event.js";
|
|
@@ -154,4 +157,4 @@ import { defineSchemaModel } from "@contractspec/lib.schema";
|
|
|
154
157
|
init_registry_utils();
|
|
155
158
|
|
|
156
159
|
//#endregion
|
|
157
|
-
export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, BumpStrategySchema, CapabilityMissingError, CapabilityRegistry, ChangelogFormatSchema, ChangelogTierSchema, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, ContractsrcSchema, CreateIntegrationConnection, CreateKnowledgeSource, DEFAULT_CONTRACTSRC,
|
|
160
|
+
export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, BumpStrategySchema, CapabilityMissingError, CapabilityRegistry, ChangelogFormatSchema, ChangelogTierSchema, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, ContractVerificationStatusModel, ContractVerificationTableDataView, ContractsrcSchema, CreateIntegrationConnection, CreateKnowledgeSource, DEFAULT_CONTRACTSRC, DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, DocSummaryModel, DocsGenerateCommand, DocsGeneratedEvent, DocsGeneratedPayload, DocsIndexDataView, DocsIndexInput, DocsIndexOutput, DocsIndexQuery, DocsLayoutPresentation, DocsPublishCommand, DocsPublishedEvent, DocsPublishedPayload, DocsReferencePagePresentation, DocsSearchForm, DocumentationSystemCapability, EventRegistry, ExampleCatalogDataView, ExampleDocumentationSchema, ExampleEntrypointsSchema, ExampleKindEnum, ExampleKindSchema, ExampleMetaSchema, ExampleRegistry, ExampleSandboxModeEnum, ExampleSandboxModeSchema, ExampleSpecSchema, ExampleSurfacesSchema, ExampleVisibilityEnum, ExampleVisibilitySchema, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FolderConventionsSchema, FormRegistry, FormatterConfigSchema, FormatterTypeSchema, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery, 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, PolicyValidationError, PolicyViolationError, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, RuleSyncConfigSchema, RuleSyncTargetSchema, SLAMonitor, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, SchemaFormatSchema, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, VersioningConfigSchema, WorkflowContextError, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, assertCombinedPolicy, assertPermission, assertPolicyConsistency, assertPolicyForOperation, assertPolicySpecValid, assertPrimaryOpenBankingReady, assertRole, assertWorkflowConsistency, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, bumpVersion, calculateWorkflowProgress, capabilityKey, checkAllPermissions, checkAnyRole, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, checkCombinedPolicy, checkPermission, checkPolicyForOperation, checkRole, compareVersions, composeAppConfig, createAnonymousPolicyContext, createBypassCapabilityContext, createBypassPolicyContext, createCapabilityContext, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEmptyCapabilityContext, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createKeyRef, createMcpServer, createOptionalRef, createPolicyContext, createVersionedRef, createWorkflowContext, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpPrompt, defaultMcpTool, defaultRestPath, defineAppConfig, defineCapability, defineCommand, defineDataView, defineEvent, defineExample, defineFeature, defineFormSpec, defineIntegration, definePolicy, definePresentation, definePrompt, defineQuery, defineResourceTemplate, defineSchemaModel, defineTestSpec, defineWorkflow, determineBumpType, docBlockToMarkdown, docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, docsDataViewContracts, docsEventContracts, docsFormContracts, docsOperationContracts, docsPresentationContracts, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, filterBy, filterEventsByCapability, filterOperationsByCapability, filterOperationsByPolicy, filterPresentationsByCapability, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, findOrphanSpecs, formatPlanForAgent, formatVersion, formatVersionedRefKey, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, getAverageStepDuration, getBumpTypePriority, getContractVerificationStatusHandler, getMaxBumpType, getUniqueDomains, getUniqueOwners, getUniqueTags, getWorkflowDuration, gmailIntegrationSpec, googleCalendarIntegrationSpec, groupBy, groupByMultiple, groupByToArray, installFeature, installOp, integrationContracts, isChangeType, isChangelogDocBlock, isEmitDeclRef, isExampleKind, isExampleVisibility, isFeatureRef, isOptionalVersionedSpecRef, isResourceRef, isSpecKeyRef, isSpecPointer, isValidVersion, isVersionBumpType, isVersionEqual, isVersionGreater, isVersionLess, isVersionedSpecRef, 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, parseVersionedRefKey, postmarkIntegrationSpec, powensIntegrationSpec, presentationToMarkdown, productCanonKnowledgeSpace, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerBasicValidation, registerContractsOnBuilder, registerDefaultReactRenderer, registerDocBlocks, registerDocsDataViews, registerDocsEvents, registerDocsForms, registerDocsOperations, registerDocsPresentations, registerElevenLabsIntegration, registerEmailThreadsKnowledgeSpace, registerFeature, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerIntegrationContracts, registerKnowledgeContracts, registerMistralIntegration, registerOpenBankingCapabilities, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerProductCanonKnowledgeSpace, registerQdrantIntegration, registerReactToMarkdownRenderer, registerReportContracts, registerStripeIntegration, registerSupportFaqKnowledgeSpace, registerTwilioSmsIntegration, registerUploadedDocsKnowledgeSpace, renderFeaturePresentation, resolveAppConfig, resourceRef, rnReusablesDriver, safeParseExampleSpec, sanitizeMcpName, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, serializeDataViewSpec, serializeEventSpec, serializeFormSpec, serializeOperationSpec, serializePresentationSpec, serializeSchemaModel, shadcnDriver, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateBlueprint, validateCapabilityConsistency, validateCompensation, validateConfig, validateExample, validateExampleReferences, validateExamples, validateFeatureTargetsV2, validatePolicyConsistency, validatePolicySpec, validateResolvedConfig, validateRetryConfig, validateSlaConfig, validateTenantConfig, validateVersion, validateWorkflowComprehensive, validateWorkflowConsistency, validateWorkflowSpec };
|
|
@@ -2,124 +2,124 @@ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.j
|
|
|
2
2
|
import "../../../operations/index.js";
|
|
3
3
|
import { OperationSpecRegistry } from "../../../operations/registry.js";
|
|
4
4
|
import "../../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _contractspec_lib_schema647 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_schema647.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
userId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
connectionId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
includeBalances: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema647.FieldType<boolean, boolean>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
};
|
|
26
26
|
institutionId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
cursor: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
pageSize: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema647.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_schema647.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
tenantId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
userId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
connectionId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
externalId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
institutionId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
institutionName: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
institutionLogoUrl: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
iban: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
bic: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
accountType: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
currency: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
displayName: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
accountNumberMasked: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
productCode: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
balance: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
availableBalance: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
107
107
|
isOptional: true;
|
|
108
108
|
};
|
|
109
109
|
lastSyncedAt: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
createdAt: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
updatedAt: {
|
|
118
|
-
type:
|
|
118
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
metadata: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema647.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_schema647.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
hasMore: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema647.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_schema647.FieldType<string, string>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
accountId: {
|
|
144
|
-
type:
|
|
144
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
includeBalances: {
|
|
148
|
-
type:
|
|
148
|
+
type: _contractspec_lib_schema647.FieldType<boolean, boolean>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
includeLatestTransactions: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema647.FieldType<boolean, boolean>;
|
|
153
153
|
isOptional: true;
|
|
154
154
|
};
|
|
155
155
|
}>, SchemaModel<{
|
|
156
156
|
id: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
tenantId: {
|
|
161
|
-
type:
|
|
161
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
userId: {
|
|
165
|
-
type:
|
|
165
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
connectionId: {
|
|
169
|
-
type:
|
|
169
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
170
170
|
isOptional: false;
|
|
171
171
|
};
|
|
172
172
|
externalId: {
|
|
173
|
-
type:
|
|
173
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
institutionId: {
|
|
177
|
-
type:
|
|
177
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
institutionName: {
|
|
181
|
-
type:
|
|
181
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
institutionLogoUrl: {
|
|
185
|
-
type:
|
|
185
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
186
186
|
isOptional: true;
|
|
187
187
|
};
|
|
188
188
|
iban: {
|
|
189
|
-
type:
|
|
189
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
190
190
|
isOptional: true;
|
|
191
191
|
};
|
|
192
192
|
bic: {
|
|
193
|
-
type:
|
|
193
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
194
194
|
isOptional: true;
|
|
195
195
|
};
|
|
196
196
|
accountType: {
|
|
197
|
-
type:
|
|
197
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
198
198
|
isOptional: false;
|
|
199
199
|
};
|
|
200
200
|
currency: {
|
|
201
|
-
type:
|
|
201
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
displayName: {
|
|
205
|
-
type:
|
|
205
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
accountNumberMasked: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
productCode: {
|
|
213
|
-
type:
|
|
213
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
balance: {
|
|
217
|
-
type:
|
|
217
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
availableBalance: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
222
222
|
isOptional: true;
|
|
223
223
|
};
|
|
224
224
|
lastSyncedAt: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
226
226
|
isOptional: false;
|
|
227
227
|
};
|
|
228
228
|
createdAt: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
230
230
|
isOptional: false;
|
|
231
231
|
};
|
|
232
232
|
updatedAt: {
|
|
233
|
-
type:
|
|
233
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
234
234
|
isOptional: false;
|
|
235
235
|
};
|
|
236
236
|
metadata: {
|
|
237
|
-
type:
|
|
237
|
+
type: _contractspec_lib_schema647.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_schema647.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
userId: {
|
|
247
|
-
type:
|
|
247
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
248
248
|
isOptional: true;
|
|
249
249
|
};
|
|
250
250
|
connectionId: {
|
|
251
|
-
type:
|
|
251
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
accountIds: {
|
|
255
|
-
type:
|
|
255
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
256
256
|
isArray: true;
|
|
257
257
|
isOptional: true;
|
|
258
258
|
};
|
|
259
259
|
forceFullRefresh: {
|
|
260
|
-
type:
|
|
260
|
+
type: _contractspec_lib_schema647.FieldType<boolean, boolean>;
|
|
261
261
|
isOptional: true;
|
|
262
262
|
};
|
|
263
263
|
triggerWorkflows: {
|
|
264
|
-
type:
|
|
264
|
+
type: _contractspec_lib_schema647.FieldType<boolean, boolean>;
|
|
265
265
|
isOptional: true;
|
|
266
266
|
};
|
|
267
267
|
}>, SchemaModel<{
|
|
268
268
|
synced: {
|
|
269
|
-
type:
|
|
269
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
failed: {
|
|
273
|
-
type:
|
|
273
|
+
type: _contractspec_lib_schema647.FieldType<number, number>;
|
|
274
274
|
isOptional: false;
|
|
275
275
|
};
|
|
276
276
|
errors: {
|
|
277
|
-
type:
|
|
277
|
+
type: _contractspec_lib_schema647.FieldType<string, string>;
|
|
278
278
|
isArray: true;
|
|
279
279
|
isOptional: true;
|
|
280
280
|
};
|
|
281
281
|
nextSyncSuggestedAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _contractspec_lib_schema647.FieldType<Date, string>;
|
|
283
283
|
isOptional: true;
|
|
284
284
|
};
|
|
285
285
|
}>, undefined>;
|
|
@@ -2,21 +2,21 @@ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.j
|
|
|
2
2
|
import "../../../operations/index.js";
|
|
3
3
|
import { OperationSpecRegistry } from "../../../operations/registry.js";
|
|
4
4
|
import "../../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _contractspec_lib_schema759 from "@contractspec/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/integrations/openbanking/contracts/balances.d.ts
|
|
9
9
|
declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
accountId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
balanceTypes: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
20
20
|
isArray: true;
|
|
21
21
|
isOptional: true;
|
|
22
22
|
};
|
|
@@ -24,47 +24,47 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
|
|
|
24
24
|
balances: {
|
|
25
25
|
type: SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
accountId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
tenantId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
connectionId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
balanceType: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
currentBalance: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema759.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
availableBalance: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema759.FieldType<number, number>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
currency: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
lastUpdatedAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
createdAt: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
metadata: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema759.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
@@ -72,77 +72,77 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
|
|
|
72
72
|
isArray: true;
|
|
73
73
|
};
|
|
74
74
|
asOf: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
}>, undefined>;
|
|
79
79
|
declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
|
|
80
80
|
tenantId: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
accountId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
connectionId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
90
90
|
isOptional: true;
|
|
91
91
|
};
|
|
92
92
|
balanceTypes: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
94
94
|
isArray: true;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
forceRefresh: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema759.FieldType<boolean, boolean>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>, SchemaModel<{
|
|
102
102
|
balances: {
|
|
103
103
|
type: SchemaModel<{
|
|
104
104
|
id: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
accountId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
tenantId: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
connectionId: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
balanceType: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
currentBalance: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema759.FieldType<number, number>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
availableBalance: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema759.FieldType<number, number>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
currency: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
lastUpdatedAt: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
createdAt: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
metadata: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema759.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
}>;
|
|
@@ -150,11 +150,11 @@ declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
|
|
|
150
150
|
isArray: true;
|
|
151
151
|
};
|
|
152
152
|
refreshedAt: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema759.FieldType<Date, string>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
errors: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema759.FieldType<string, string>;
|
|
158
158
|
isArray: true;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|