@lssm/lib.contracts 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821

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.
Files changed (91) hide show
  1. package/LICENSE +21 -0
  2. package/dist/app-config/contracts.d.ts +50 -50
  3. package/dist/app-config/contracts.js +54 -56
  4. package/dist/app-config/events.d.ts +27 -27
  5. package/dist/app-config/events.js +31 -33
  6. package/dist/app-config/lifecycle-contracts.d.ts +80 -80
  7. package/dist/app-config/lifecycle-contracts.js +66 -68
  8. package/dist/client/react/form-render.d.ts +6 -6
  9. package/dist/client/react/form-render.js +15 -15
  10. package/dist/contracts-adapter-hydration.js +2 -2
  11. package/dist/data-views/query-generator.d.ts +2 -2
  12. package/dist/data-views/query-generator.js +1 -1
  13. package/dist/data-views/runtime.d.ts +2 -2
  14. package/dist/data-views/runtime.js +2 -2
  15. package/dist/docs/index.js +0 -6
  16. package/dist/docs/meta.docs.js +3 -0
  17. package/dist/docs/tech-contracts.docs.js +3 -0
  18. package/dist/forms.d.ts +4 -4
  19. package/dist/forms.js +3 -2
  20. package/dist/index.js +2 -3
  21. package/dist/integrations/contracts.d.ts +105 -104
  22. package/dist/integrations/contracts.js +63 -65
  23. package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
  24. package/dist/integrations/openbanking/contracts/accounts.js +29 -31
  25. package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
  26. package/dist/integrations/openbanking/contracts/balances.js +16 -18
  27. package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
  28. package/dist/integrations/openbanking/contracts/transactions.js +30 -32
  29. package/dist/integrations/openbanking/guards.js +1 -0
  30. package/dist/integrations/openbanking/models.d.ts +55 -55
  31. package/dist/integrations/openbanking/models.js +58 -60
  32. package/dist/integrations/providers/impls/gmail-inbound.js +1 -1
  33. package/dist/integrations/providers/impls/gmail-outbound.js +4 -4
  34. package/dist/integrations/providers/impls/mistral-llm.d.ts +1 -1
  35. package/dist/integrations/providers/impls/mistral-llm.js +1 -1
  36. package/dist/integrations/providers/impls/powens-openbanking.d.ts +1 -1
  37. package/dist/integrations/providers/impls/provider-factory.js +4 -1
  38. package/dist/integrations/providers/impls/qdrant-vector.js +2 -2
  39. package/dist/integrations/runtime.d.ts +1 -1
  40. package/dist/integrations/runtime.js +1 -1
  41. package/dist/integrations/secrets/manager.js +1 -1
  42. package/dist/jobs/handlers/gmail-sync-handler.d.ts +1 -1
  43. package/dist/jsonschema.d.ts +3 -3
  44. package/dist/knowledge/contracts.d.ts +69 -68
  45. package/dist/knowledge/contracts.js +42 -44
  46. package/dist/markdown.d.ts +1 -1
  47. package/dist/markdown.js +1 -1
  48. package/dist/onboarding-base.d.ts +29 -29
  49. package/dist/onboarding-base.js +20 -22
  50. package/dist/ownership.d.ts +4 -6
  51. package/dist/ownership.js +4 -5
  52. package/dist/presentations.d.ts +3 -3
  53. package/dist/presentations.v2.js +5 -2
  54. package/dist/promptRegistry.d.ts +2 -2
  55. package/dist/registry.d.ts +1 -1
  56. package/dist/registry.js +1 -0
  57. package/dist/resources.js +4 -1
  58. package/dist/schema/dist/index.js +4683 -6
  59. package/dist/schema-to-markdown.d.ts +1 -1
  60. package/dist/schema-to-markdown.js +1 -1
  61. package/dist/server/graphql-pothos.js +0 -1
  62. package/dist/server/rest-elysia.d.ts +1 -1
  63. package/dist/server/rest-express.js +0 -3
  64. package/dist/server/rest-generic.d.ts +1 -1
  65. package/dist/server/rest-generic.js +0 -1
  66. package/dist/server/rest-next-mcp.js +1 -1
  67. package/dist/server/rest-next-pages.js +0 -3
  68. package/dist/workflow/adapters/db-adapter.d.ts +19 -7
  69. package/dist/workflow/adapters/db-adapter.js +3 -3
  70. package/dist/workflow/expression.js +3 -2
  71. package/dist/workflow/validation.js +1 -0
  72. package/package.json +19 -18
  73. package/dist/docs/PUBLISHING.docblock.d.ts +0 -6
  74. package/dist/docs/PUBLISHING.docblock.js +0 -17
  75. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +0 -6
  76. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -17
  77. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +0 -6
  78. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -17
  79. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +0 -6
  80. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -17
  81. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +0 -6
  82. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -17
  83. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +0 -6
  84. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -17
  85. package/dist/schema/dist/EnumType.js +0 -2
  86. package/dist/schema/dist/FieldType.js +0 -49
  87. package/dist/schema/dist/ScalarTypeEnum.js +0 -236
  88. package/dist/schema/dist/SchemaModel.js +0 -39
  89. package/dist/schema/dist/entity/defineEntity.js +0 -1
  90. package/dist/schema/dist/entity/index.js +0 -2
  91. package/dist/schema/dist/entity/types.js +0 -1
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { CapabilityRegistry, capabilityKey, defineCapability } from "./capabilities.js";
2
2
  import { DataViewRegistry, dataViewKey } from "./data-views.js";
3
- import { defineSchemaModel } from "./schema/dist/SchemaModel.js";
4
- import "./schema/dist/index.js";
3
+ import { K5 } from "./schema/dist/index.js";
5
4
  import { defineEvent, eventKey } from "./events.js";
6
5
  import { FeatureRegistry, installFeature, validateFeatureTargetsV2 } from "./features.js";
7
6
  import { FormRegistry, buildZodWithRelations, defineFormSpec, evalPredicate } from "./forms.js";
@@ -104,4 +103,4 @@ import { docBlockToMarkdown, eventToMarkdown, exportFeature, exportSpec, feature
104
103
  import { AGENT_SYSTEM_PROMPTS, formatPlanForAgent, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt } from "./llm/prompts.js";
105
104
  import "./llm/index.js";
106
105
 
107
- export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, CapabilityRegistry, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, CreateIntegrationConnection, CreateKnowledgeSource, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FormRegistry, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, InMemoryStateStore, IntegrationSpecRegistry, KnowledgeSpaceRegistry, ListIntegrationConnections, ListKnowledgeSources, MigrationRegistry, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, Owners, OwnersEnum, PolicyEngine, PolicyRegistry, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, SpecRegistry, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, capabilityKey, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpTool, defaultRestPath, defineCapability, defineCommand, defineEvent, defineFormSpec, definePrompt, defineQuery, defineResourceTemplate, defineSchemaModel, docBlockToMarkdown, docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, gmailIntegrationSpec, googleCalendarIntegrationSpec, installFeature, installOp, integrationContracts, isEmitDeclRef, isResourceRef, jsonSchemaForPresentation, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makePolicyKey, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, 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, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, toV2FromV1, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateFeatureTargetsV2, validateWorkflowSpec };
106
+ export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, AppBlueprintRegistry, BankAccountRecord, BankTransactionRecord, CapabilityRegistry, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ContractRegistryFileSchema, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestSchema, CreateIntegrationConnection, CreateKnowledgeSource, DataViewRegistry, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocRegistry, ExecutorProposalSink, ExperimentEvaluator, ExperimentRegistry, FeatureRegistry, FormRegistry, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, InMemoryStateStore, IntegrationSpecRegistry, KnowledgeSpaceRegistry, ListIntegrationConnections, ListKnowledgeSources, MigrationRegistry, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetBalances, OpenBankingListAccounts, OpenBankingListTransactions, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, Owners, OwnersEnum, PolicyEngine, PolicyRegistry, PresentationRegistry, PrismaStateStore, PromptRegistry, ProposalExecutor, RegeneratorService, ResourceRegistry, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, SpecRegistry, StabilityEnum, Tags, TagsEnum, TelemetryAnomalyMonitor, TelemetryRegistry, TelemetryTracker, TestIntegrationConnection, TestRegistry, TestRunner, ThemeRegistry, TransformEngine, TriggerKnowledgeSourceSync, UpdateIntegrationConnection, UpdateKnowledgeSource, WorkflowPreFlightError, WorkflowRegistry, WorkflowRunner, WorkflowValidationError, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, capabilityKey, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpTool, defaultRestPath, defineCapability, defineCommand, defineEvent, defineFormSpec, definePrompt, defineQuery, defineResourceTemplate, K5 as defineSchemaModel, docBlockToMarkdown, docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, gmailIntegrationSpec, googleCalendarIntegrationSpec, installFeature, installOp, integrationContracts, isEmitDeclRef, isResourceRef, jsonSchemaForPresentation, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makePolicyKey, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, 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, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, toV2FromV1, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateFeatureTargetsV2, validateWorkflowSpec };
@@ -1,400 +1,401 @@
1
- import { ContractSpec } from "../spec.js";
1
+ import { AnyContractSpec, ContractSpec } from "../spec.js";
2
2
  import { SpecRegistry } from "../registry.js";
3
- import * as _lssm_lib_schema92 from "@lssm/lib.schema";
3
+ import "../index.js";
4
+ import * as _lssm_lib_schema251 from "@lssm/lib.schema";
4
5
  import { SchemaModel } from "@lssm/lib.schema";
5
6
 
6
7
  //#region src/integrations/contracts.d.ts
7
8
  declare const CreateIntegrationConnection: ContractSpec<SchemaModel<{
8
9
  tenantId: {
9
- type: _lssm_lib_schema92.FieldType<string, string>;
10
+ type: _lssm_lib_schema251.FieldType<string, string>;
10
11
  isOptional: false;
11
12
  };
12
13
  integrationKey: {
13
- type: _lssm_lib_schema92.FieldType<string, string>;
14
+ type: _lssm_lib_schema251.FieldType<string, string>;
14
15
  isOptional: false;
15
16
  };
16
17
  integrationVersion: {
17
- type: _lssm_lib_schema92.FieldType<number, number>;
18
+ type: _lssm_lib_schema251.FieldType<number, number>;
18
19
  isOptional: false;
19
20
  };
20
21
  label: {
21
- type: _lssm_lib_schema92.FieldType<string, string>;
22
+ type: _lssm_lib_schema251.FieldType<string, string>;
22
23
  isOptional: false;
23
24
  };
24
25
  ownershipMode: {
25
- type: _lssm_lib_schema92.FieldType<string, string>;
26
+ type: _lssm_lib_schema251.FieldType<string, string>;
26
27
  isOptional: false;
27
28
  };
28
29
  externalAccountId: {
29
- type: _lssm_lib_schema92.FieldType<string, string>;
30
+ type: _lssm_lib_schema251.FieldType<string, string>;
30
31
  isOptional: true;
31
32
  };
32
33
  secretProvider: {
33
- type: _lssm_lib_schema92.FieldType<string, string>;
34
+ type: _lssm_lib_schema251.FieldType<string, string>;
34
35
  isOptional: false;
35
36
  };
36
37
  secretRef: {
37
- type: _lssm_lib_schema92.FieldType<string, string>;
38
+ type: _lssm_lib_schema251.FieldType<string, string>;
38
39
  isOptional: false;
39
40
  };
40
41
  environment: {
41
- type: _lssm_lib_schema92.FieldType<string, string>;
42
+ type: _lssm_lib_schema251.FieldType<string, string>;
42
43
  isOptional: true;
43
44
  };
44
45
  config: {
45
- type: _lssm_lib_schema92.FieldType<Record<string, unknown>, Record<string, unknown>>;
46
+ type: _lssm_lib_schema251.FieldType<Record<string, unknown>, Record<string, unknown>>;
46
47
  isOptional: false;
47
48
  };
48
49
  }>, SchemaModel<{
49
50
  id: {
50
- type: _lssm_lib_schema92.FieldType<string, string>;
51
+ type: _lssm_lib_schema251.FieldType<string, string>;
51
52
  isOptional: false;
52
53
  };
53
54
  tenantId: {
54
- type: _lssm_lib_schema92.FieldType<string, string>;
55
+ type: _lssm_lib_schema251.FieldType<string, string>;
55
56
  isOptional: false;
56
57
  };
57
58
  integrationKey: {
58
- type: _lssm_lib_schema92.FieldType<string, string>;
59
+ type: _lssm_lib_schema251.FieldType<string, string>;
59
60
  isOptional: false;
60
61
  };
61
62
  integrationVersion: {
62
- type: _lssm_lib_schema92.FieldType<number, number>;
63
+ type: _lssm_lib_schema251.FieldType<number, number>;
63
64
  isOptional: false;
64
65
  };
65
66
  label: {
66
- type: _lssm_lib_schema92.FieldType<string, string>;
67
+ type: _lssm_lib_schema251.FieldType<string, string>;
67
68
  isOptional: false;
68
69
  };
69
70
  ownershipMode: {
70
- type: _lssm_lib_schema92.FieldType<string, string>;
71
+ type: _lssm_lib_schema251.FieldType<string, string>;
71
72
  isOptional: false;
72
73
  };
73
74
  externalAccountId: {
74
- type: _lssm_lib_schema92.FieldType<string, string>;
75
+ type: _lssm_lib_schema251.FieldType<string, string>;
75
76
  isOptional: true;
76
77
  };
77
78
  secretProvider: {
78
- type: _lssm_lib_schema92.FieldType<string, string>;
79
+ type: _lssm_lib_schema251.FieldType<string, string>;
79
80
  isOptional: false;
80
81
  };
81
82
  secretRef: {
82
- type: _lssm_lib_schema92.FieldType<string, string>;
83
+ type: _lssm_lib_schema251.FieldType<string, string>;
83
84
  isOptional: false;
84
85
  };
85
86
  status: {
86
- type: _lssm_lib_schema92.FieldType<string, string>;
87
+ type: _lssm_lib_schema251.FieldType<string, string>;
87
88
  isOptional: false;
88
89
  };
89
90
  environment: {
90
- type: _lssm_lib_schema92.FieldType<string, string>;
91
+ type: _lssm_lib_schema251.FieldType<string, string>;
91
92
  isOptional: true;
92
93
  };
93
94
  healthStatus: {
94
- type: _lssm_lib_schema92.FieldType<string, string>;
95
+ type: _lssm_lib_schema251.FieldType<string, string>;
95
96
  isOptional: true;
96
97
  };
97
98
  healthCheckedAt: {
98
- type: _lssm_lib_schema92.FieldType<Date, string>;
99
+ type: _lssm_lib_schema251.FieldType<Date, string>;
99
100
  isOptional: true;
100
101
  };
101
102
  healthLatencyMs: {
102
- type: _lssm_lib_schema92.FieldType<number, number>;
103
+ type: _lssm_lib_schema251.FieldType<number, number>;
103
104
  isOptional: true;
104
105
  };
105
106
  healthErrorCode: {
106
- type: _lssm_lib_schema92.FieldType<string, string>;
107
+ type: _lssm_lib_schema251.FieldType<string, string>;
107
108
  isOptional: true;
108
109
  };
109
110
  healthErrorMessage: {
110
- type: _lssm_lib_schema92.FieldType<string, string>;
111
+ type: _lssm_lib_schema251.FieldType<string, string>;
111
112
  isOptional: true;
112
113
  };
113
114
  usageRequestCount: {
114
- type: _lssm_lib_schema92.FieldType<number, number>;
115
+ type: _lssm_lib_schema251.FieldType<number, number>;
115
116
  isOptional: true;
116
117
  };
117
118
  usageSuccessCount: {
118
- type: _lssm_lib_schema92.FieldType<number, number>;
119
+ type: _lssm_lib_schema251.FieldType<number, number>;
119
120
  isOptional: true;
120
121
  };
121
122
  usageErrorCount: {
122
- type: _lssm_lib_schema92.FieldType<number, number>;
123
+ type: _lssm_lib_schema251.FieldType<number, number>;
123
124
  isOptional: true;
124
125
  };
125
126
  usageLastUsedAt: {
126
- type: _lssm_lib_schema92.FieldType<Date, string>;
127
+ type: _lssm_lib_schema251.FieldType<Date, string>;
127
128
  isOptional: true;
128
129
  };
129
130
  usageLastErrorAt: {
130
- type: _lssm_lib_schema92.FieldType<Date, string>;
131
+ type: _lssm_lib_schema251.FieldType<Date, string>;
131
132
  isOptional: true;
132
133
  };
133
134
  usageLastErrorCode: {
134
- type: _lssm_lib_schema92.FieldType<string, string>;
135
+ type: _lssm_lib_schema251.FieldType<string, string>;
135
136
  isOptional: true;
136
137
  };
137
138
  createdAt: {
138
- type: _lssm_lib_schema92.FieldType<Date, string>;
139
+ type: _lssm_lib_schema251.FieldType<Date, string>;
139
140
  isOptional: true;
140
141
  };
141
142
  updatedAt: {
142
- type: _lssm_lib_schema92.FieldType<Date, string>;
143
+ type: _lssm_lib_schema251.FieldType<Date, string>;
143
144
  isOptional: true;
144
145
  };
145
146
  }>, undefined>;
146
147
  declare const UpdateIntegrationConnection: ContractSpec<SchemaModel<{
147
148
  connectionId: {
148
- type: _lssm_lib_schema92.FieldType<string, string>;
149
+ type: _lssm_lib_schema251.FieldType<string, string>;
149
150
  isOptional: false;
150
151
  };
151
152
  label: {
152
- type: _lssm_lib_schema92.FieldType<string, string>;
153
+ type: _lssm_lib_schema251.FieldType<string, string>;
153
154
  isOptional: true;
154
155
  };
155
156
  status: {
156
- type: _lssm_lib_schema92.FieldType<string, string>;
157
+ type: _lssm_lib_schema251.FieldType<string, string>;
157
158
  isOptional: true;
158
159
  };
159
160
  ownershipMode: {
160
- type: _lssm_lib_schema92.FieldType<string, string>;
161
+ type: _lssm_lib_schema251.FieldType<string, string>;
161
162
  isOptional: true;
162
163
  };
163
164
  externalAccountId: {
164
- type: _lssm_lib_schema92.FieldType<string, string>;
165
+ type: _lssm_lib_schema251.FieldType<string, string>;
165
166
  isOptional: true;
166
167
  };
167
168
  secretProvider: {
168
- type: _lssm_lib_schema92.FieldType<string, string>;
169
+ type: _lssm_lib_schema251.FieldType<string, string>;
169
170
  isOptional: true;
170
171
  };
171
172
  secretRef: {
172
- type: _lssm_lib_schema92.FieldType<string, string>;
173
+ type: _lssm_lib_schema251.FieldType<string, string>;
173
174
  isOptional: true;
174
175
  };
175
176
  config: {
176
- type: _lssm_lib_schema92.FieldType<Record<string, unknown>, Record<string, unknown>>;
177
+ type: _lssm_lib_schema251.FieldType<Record<string, unknown>, Record<string, unknown>>;
177
178
  isOptional: true;
178
179
  };
179
180
  }>, SchemaModel<{
180
181
  id: {
181
- type: _lssm_lib_schema92.FieldType<string, string>;
182
+ type: _lssm_lib_schema251.FieldType<string, string>;
182
183
  isOptional: false;
183
184
  };
184
185
  tenantId: {
185
- type: _lssm_lib_schema92.FieldType<string, string>;
186
+ type: _lssm_lib_schema251.FieldType<string, string>;
186
187
  isOptional: false;
187
188
  };
188
189
  integrationKey: {
189
- type: _lssm_lib_schema92.FieldType<string, string>;
190
+ type: _lssm_lib_schema251.FieldType<string, string>;
190
191
  isOptional: false;
191
192
  };
192
193
  integrationVersion: {
193
- type: _lssm_lib_schema92.FieldType<number, number>;
194
+ type: _lssm_lib_schema251.FieldType<number, number>;
194
195
  isOptional: false;
195
196
  };
196
197
  label: {
197
- type: _lssm_lib_schema92.FieldType<string, string>;
198
+ type: _lssm_lib_schema251.FieldType<string, string>;
198
199
  isOptional: false;
199
200
  };
200
201
  ownershipMode: {
201
- type: _lssm_lib_schema92.FieldType<string, string>;
202
+ type: _lssm_lib_schema251.FieldType<string, string>;
202
203
  isOptional: false;
203
204
  };
204
205
  externalAccountId: {
205
- type: _lssm_lib_schema92.FieldType<string, string>;
206
+ type: _lssm_lib_schema251.FieldType<string, string>;
206
207
  isOptional: true;
207
208
  };
208
209
  secretProvider: {
209
- type: _lssm_lib_schema92.FieldType<string, string>;
210
+ type: _lssm_lib_schema251.FieldType<string, string>;
210
211
  isOptional: false;
211
212
  };
212
213
  secretRef: {
213
- type: _lssm_lib_schema92.FieldType<string, string>;
214
+ type: _lssm_lib_schema251.FieldType<string, string>;
214
215
  isOptional: false;
215
216
  };
216
217
  status: {
217
- type: _lssm_lib_schema92.FieldType<string, string>;
218
+ type: _lssm_lib_schema251.FieldType<string, string>;
218
219
  isOptional: false;
219
220
  };
220
221
  environment: {
221
- type: _lssm_lib_schema92.FieldType<string, string>;
222
+ type: _lssm_lib_schema251.FieldType<string, string>;
222
223
  isOptional: true;
223
224
  };
224
225
  healthStatus: {
225
- type: _lssm_lib_schema92.FieldType<string, string>;
226
+ type: _lssm_lib_schema251.FieldType<string, string>;
226
227
  isOptional: true;
227
228
  };
228
229
  healthCheckedAt: {
229
- type: _lssm_lib_schema92.FieldType<Date, string>;
230
+ type: _lssm_lib_schema251.FieldType<Date, string>;
230
231
  isOptional: true;
231
232
  };
232
233
  healthLatencyMs: {
233
- type: _lssm_lib_schema92.FieldType<number, number>;
234
+ type: _lssm_lib_schema251.FieldType<number, number>;
234
235
  isOptional: true;
235
236
  };
236
237
  healthErrorCode: {
237
- type: _lssm_lib_schema92.FieldType<string, string>;
238
+ type: _lssm_lib_schema251.FieldType<string, string>;
238
239
  isOptional: true;
239
240
  };
240
241
  healthErrorMessage: {
241
- type: _lssm_lib_schema92.FieldType<string, string>;
242
+ type: _lssm_lib_schema251.FieldType<string, string>;
242
243
  isOptional: true;
243
244
  };
244
245
  usageRequestCount: {
245
- type: _lssm_lib_schema92.FieldType<number, number>;
246
+ type: _lssm_lib_schema251.FieldType<number, number>;
246
247
  isOptional: true;
247
248
  };
248
249
  usageSuccessCount: {
249
- type: _lssm_lib_schema92.FieldType<number, number>;
250
+ type: _lssm_lib_schema251.FieldType<number, number>;
250
251
  isOptional: true;
251
252
  };
252
253
  usageErrorCount: {
253
- type: _lssm_lib_schema92.FieldType<number, number>;
254
+ type: _lssm_lib_schema251.FieldType<number, number>;
254
255
  isOptional: true;
255
256
  };
256
257
  usageLastUsedAt: {
257
- type: _lssm_lib_schema92.FieldType<Date, string>;
258
+ type: _lssm_lib_schema251.FieldType<Date, string>;
258
259
  isOptional: true;
259
260
  };
260
261
  usageLastErrorAt: {
261
- type: _lssm_lib_schema92.FieldType<Date, string>;
262
+ type: _lssm_lib_schema251.FieldType<Date, string>;
262
263
  isOptional: true;
263
264
  };
264
265
  usageLastErrorCode: {
265
- type: _lssm_lib_schema92.FieldType<string, string>;
266
+ type: _lssm_lib_schema251.FieldType<string, string>;
266
267
  isOptional: true;
267
268
  };
268
269
  createdAt: {
269
- type: _lssm_lib_schema92.FieldType<Date, string>;
270
+ type: _lssm_lib_schema251.FieldType<Date, string>;
270
271
  isOptional: true;
271
272
  };
272
273
  updatedAt: {
273
- type: _lssm_lib_schema92.FieldType<Date, string>;
274
+ type: _lssm_lib_schema251.FieldType<Date, string>;
274
275
  isOptional: true;
275
276
  };
276
277
  }>, undefined>;
277
278
  declare const DeleteIntegrationConnection: ContractSpec<SchemaModel<{
278
279
  connectionId: {
279
- type: _lssm_lib_schema92.FieldType<string, string>;
280
+ type: _lssm_lib_schema251.FieldType<string, string>;
280
281
  isOptional: false;
281
282
  };
282
283
  }>, SchemaModel<{
283
284
  success: {
284
- type: _lssm_lib_schema92.FieldType<boolean, boolean>;
285
+ type: _lssm_lib_schema251.FieldType<boolean, boolean>;
285
286
  isOptional: false;
286
287
  };
287
288
  }>, undefined>;
288
289
  declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
289
290
  tenantId: {
290
- type: _lssm_lib_schema92.FieldType<string, string>;
291
+ type: _lssm_lib_schema251.FieldType<string, string>;
291
292
  isOptional: false;
292
293
  };
293
294
  category: {
294
- type: _lssm_lib_schema92.FieldType<string, string>;
295
+ type: _lssm_lib_schema251.FieldType<string, string>;
295
296
  isOptional: true;
296
297
  };
297
298
  status: {
298
- type: _lssm_lib_schema92.FieldType<string, string>;
299
+ type: _lssm_lib_schema251.FieldType<string, string>;
299
300
  isOptional: true;
300
301
  };
301
302
  }>, SchemaModel<{
302
303
  connections: {
303
304
  type: SchemaModel<{
304
305
  id: {
305
- type: _lssm_lib_schema92.FieldType<string, string>;
306
+ type: _lssm_lib_schema251.FieldType<string, string>;
306
307
  isOptional: false;
307
308
  };
308
309
  tenantId: {
309
- type: _lssm_lib_schema92.FieldType<string, string>;
310
+ type: _lssm_lib_schema251.FieldType<string, string>;
310
311
  isOptional: false;
311
312
  };
312
313
  integrationKey: {
313
- type: _lssm_lib_schema92.FieldType<string, string>;
314
+ type: _lssm_lib_schema251.FieldType<string, string>;
314
315
  isOptional: false;
315
316
  };
316
317
  integrationVersion: {
317
- type: _lssm_lib_schema92.FieldType<number, number>;
318
+ type: _lssm_lib_schema251.FieldType<number, number>;
318
319
  isOptional: false;
319
320
  };
320
321
  label: {
321
- type: _lssm_lib_schema92.FieldType<string, string>;
322
+ type: _lssm_lib_schema251.FieldType<string, string>;
322
323
  isOptional: false;
323
324
  };
324
325
  ownershipMode: {
325
- type: _lssm_lib_schema92.FieldType<string, string>;
326
+ type: _lssm_lib_schema251.FieldType<string, string>;
326
327
  isOptional: false;
327
328
  };
328
329
  externalAccountId: {
329
- type: _lssm_lib_schema92.FieldType<string, string>;
330
+ type: _lssm_lib_schema251.FieldType<string, string>;
330
331
  isOptional: true;
331
332
  };
332
333
  secretProvider: {
333
- type: _lssm_lib_schema92.FieldType<string, string>;
334
+ type: _lssm_lib_schema251.FieldType<string, string>;
334
335
  isOptional: false;
335
336
  };
336
337
  secretRef: {
337
- type: _lssm_lib_schema92.FieldType<string, string>;
338
+ type: _lssm_lib_schema251.FieldType<string, string>;
338
339
  isOptional: false;
339
340
  };
340
341
  status: {
341
- type: _lssm_lib_schema92.FieldType<string, string>;
342
+ type: _lssm_lib_schema251.FieldType<string, string>;
342
343
  isOptional: false;
343
344
  };
344
345
  environment: {
345
- type: _lssm_lib_schema92.FieldType<string, string>;
346
+ type: _lssm_lib_schema251.FieldType<string, string>;
346
347
  isOptional: true;
347
348
  };
348
349
  healthStatus: {
349
- type: _lssm_lib_schema92.FieldType<string, string>;
350
+ type: _lssm_lib_schema251.FieldType<string, string>;
350
351
  isOptional: true;
351
352
  };
352
353
  healthCheckedAt: {
353
- type: _lssm_lib_schema92.FieldType<Date, string>;
354
+ type: _lssm_lib_schema251.FieldType<Date, string>;
354
355
  isOptional: true;
355
356
  };
356
357
  healthLatencyMs: {
357
- type: _lssm_lib_schema92.FieldType<number, number>;
358
+ type: _lssm_lib_schema251.FieldType<number, number>;
358
359
  isOptional: true;
359
360
  };
360
361
  healthErrorCode: {
361
- type: _lssm_lib_schema92.FieldType<string, string>;
362
+ type: _lssm_lib_schema251.FieldType<string, string>;
362
363
  isOptional: true;
363
364
  };
364
365
  healthErrorMessage: {
365
- type: _lssm_lib_schema92.FieldType<string, string>;
366
+ type: _lssm_lib_schema251.FieldType<string, string>;
366
367
  isOptional: true;
367
368
  };
368
369
  usageRequestCount: {
369
- type: _lssm_lib_schema92.FieldType<number, number>;
370
+ type: _lssm_lib_schema251.FieldType<number, number>;
370
371
  isOptional: true;
371
372
  };
372
373
  usageSuccessCount: {
373
- type: _lssm_lib_schema92.FieldType<number, number>;
374
+ type: _lssm_lib_schema251.FieldType<number, number>;
374
375
  isOptional: true;
375
376
  };
376
377
  usageErrorCount: {
377
- type: _lssm_lib_schema92.FieldType<number, number>;
378
+ type: _lssm_lib_schema251.FieldType<number, number>;
378
379
  isOptional: true;
379
380
  };
380
381
  usageLastUsedAt: {
381
- type: _lssm_lib_schema92.FieldType<Date, string>;
382
+ type: _lssm_lib_schema251.FieldType<Date, string>;
382
383
  isOptional: true;
383
384
  };
384
385
  usageLastErrorAt: {
385
- type: _lssm_lib_schema92.FieldType<Date, string>;
386
+ type: _lssm_lib_schema251.FieldType<Date, string>;
386
387
  isOptional: true;
387
388
  };
388
389
  usageLastErrorCode: {
389
- type: _lssm_lib_schema92.FieldType<string, string>;
390
+ type: _lssm_lib_schema251.FieldType<string, string>;
390
391
  isOptional: true;
391
392
  };
392
393
  createdAt: {
393
- type: _lssm_lib_schema92.FieldType<Date, string>;
394
+ type: _lssm_lib_schema251.FieldType<Date, string>;
394
395
  isOptional: true;
395
396
  };
396
397
  updatedAt: {
397
- type: _lssm_lib_schema92.FieldType<Date, string>;
398
+ type: _lssm_lib_schema251.FieldType<Date, string>;
398
399
  isOptional: true;
399
400
  };
400
401
  }>;
@@ -404,32 +405,32 @@ declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
404
405
  }>, undefined>;
405
406
  declare const TestIntegrationConnection: ContractSpec<SchemaModel<{
406
407
  connectionId: {
407
- type: _lssm_lib_schema92.FieldType<string, string>;
408
+ type: _lssm_lib_schema251.FieldType<string, string>;
408
409
  isOptional: false;
409
410
  };
410
411
  }>, SchemaModel<{
411
412
  success: {
412
- type: _lssm_lib_schema92.FieldType<boolean, boolean>;
413
+ type: _lssm_lib_schema251.FieldType<boolean, boolean>;
413
414
  isOptional: false;
414
415
  };
415
416
  status: {
416
- type: _lssm_lib_schema92.FieldType<string, string>;
417
+ type: _lssm_lib_schema251.FieldType<string, string>;
417
418
  isOptional: true;
418
419
  };
419
420
  latencyMs: {
420
- type: _lssm_lib_schema92.FieldType<number, number>;
421
+ type: _lssm_lib_schema251.FieldType<number, number>;
421
422
  isOptional: true;
422
423
  };
423
424
  error: {
424
- type: _lssm_lib_schema92.FieldType<string, string>;
425
+ type: _lssm_lib_schema251.FieldType<string, string>;
425
426
  isOptional: true;
426
427
  };
427
428
  errorCode: {
428
- type: _lssm_lib_schema92.FieldType<string, string>;
429
+ type: _lssm_lib_schema251.FieldType<string, string>;
429
430
  isOptional: true;
430
431
  };
431
432
  }>, undefined>;
432
- declare const integrationContracts: Record<string, ContractSpec<any, any>>;
433
+ declare const integrationContracts: Record<string, AnyContractSpec>;
433
434
  declare function registerIntegrationContracts(registry: SpecRegistry): SpecRegistry;
434
435
  //#endregion
435
436
  export { CreateIntegrationConnection, DeleteIntegrationConnection, ListIntegrationConnections, TestIntegrationConnection, UpdateIntegrationConnection, integrationContracts, registerIntegrationContracts };