@lssm/lib.contracts 0.0.0-canary-20251207013726 → 0.0.0-canary-20251207043720

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 (404) hide show
  1. package/dist/_virtual/rolldown_runtime.js +1 -0
  2. package/dist/app-config/contracts.js +1 -1
  3. package/dist/app-config/events.js +1 -1
  4. package/dist/app-config/lifecycle-contracts.js +1 -1
  5. package/dist/events.js +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/integrations/contracts.js +1 -1
  8. package/dist/integrations/openbanking/contracts/accounts.js +1 -1
  9. package/dist/integrations/openbanking/contracts/balances.js +1 -1
  10. package/dist/integrations/openbanking/contracts/transactions.js +1 -1
  11. package/dist/integrations/openbanking/models.js +1 -1
  12. package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
  13. package/dist/jobs/scaleway-sqs-queue.js +1 -1
  14. package/dist/knowledge/contracts.js +1 -1
  15. package/dist/node_modules/@pothos/plugin-complexity/esm/calculate-complexity.js +1 -0
  16. package/dist/node_modules/@pothos/plugin-complexity/esm/defaults.js +1 -0
  17. package/dist/node_modules/@pothos/plugin-complexity/esm/index.js +1 -0
  18. package/dist/node_modules/@pothos/plugin-complexity/esm/types.js +1 -0
  19. package/dist/node_modules/@pothos/plugin-complexity/esm/util.js +1 -0
  20. package/dist/node_modules/@pothos/plugin-complexity/esm/validator.js +1 -0
  21. package/dist/node_modules/@pothos/plugin-dataloader/esm/field-builder.js +1 -0
  22. package/dist/node_modules/@pothos/plugin-dataloader/esm/index.js +1 -0
  23. package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/index.js +1 -0
  24. package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/interface.js +1 -0
  25. package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/node.js +1 -0
  26. package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/object.js +1 -0
  27. package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/union.js +1 -0
  28. package/dist/node_modules/@pothos/plugin-dataloader/esm/schema-builder.js +1 -0
  29. package/dist/node_modules/@pothos/plugin-dataloader/esm/util.js +1 -0
  30. package/dist/node_modules/@pothos/plugin-prisma/esm/connection-helpers.js +1 -0
  31. package/dist/node_modules/@pothos/plugin-prisma/esm/field-builder.js +1 -0
  32. package/dist/node_modules/@pothos/plugin-prisma/esm/index.js +1 -0
  33. package/dist/node_modules/@pothos/plugin-prisma/esm/interface-ref.js +1 -0
  34. package/dist/node_modules/@pothos/plugin-prisma/esm/model-loader.js +1 -0
  35. package/dist/node_modules/@pothos/plugin-prisma/esm/node-ref.js +1 -0
  36. package/dist/node_modules/@pothos/plugin-prisma/esm/object-ref.js +1 -0
  37. package/dist/node_modules/@pothos/plugin-prisma/esm/prisma-field-builder.js +1 -0
  38. package/dist/node_modules/@pothos/plugin-prisma/esm/schema-builder.js +1 -0
  39. package/dist/node_modules/@pothos/plugin-prisma/esm/types.js +0 -0
  40. package/dist/node_modules/@pothos/plugin-prisma/esm/util/cursors.js +1 -0
  41. package/dist/node_modules/@pothos/plugin-prisma/esm/util/datamodel.js +1 -0
  42. package/dist/node_modules/@pothos/plugin-prisma/esm/util/deep-equal.js +1 -0
  43. package/dist/node_modules/@pothos/plugin-prisma/esm/util/description.js +1 -0
  44. package/dist/node_modules/@pothos/plugin-prisma/esm/util/get-client.js +1 -0
  45. package/dist/node_modules/@pothos/plugin-prisma/esm/util/loader-map.js +1 -0
  46. package/dist/node_modules/@pothos/plugin-prisma/esm/util/map-query.js +1 -0
  47. package/dist/node_modules/@pothos/plugin-prisma/esm/util/relation-map.js +1 -0
  48. package/dist/node_modules/@pothos/plugin-prisma/esm/util/selections.js +1 -0
  49. package/dist/node_modules/@pothos/plugin-prisma/esm/util/usage.js +1 -0
  50. package/dist/node_modules/@pothos/plugin-tracing/esm/index.js +1 -0
  51. package/dist/node_modules/@pothos/plugin-tracing/esm/util.js +1 -0
  52. package/dist/node_modules/dataloader/index.js +7 -0
  53. package/dist/node_modules/graphql/error/GraphQLError.js +5 -0
  54. package/dist/node_modules/graphql/error/index.js +1 -0
  55. package/dist/node_modules/graphql/error/locatedError.js +1 -0
  56. package/dist/node_modules/graphql/error/syntaxError.js +1 -0
  57. package/dist/node_modules/graphql/execution/collectFields.js +1 -0
  58. package/dist/node_modules/graphql/execution/execute.js +1 -0
  59. package/dist/node_modules/graphql/execution/index.js +1 -0
  60. package/dist/node_modules/graphql/execution/mapAsyncIterator.js +1 -0
  61. package/dist/node_modules/graphql/execution/subscribe.js +1 -0
  62. package/dist/node_modules/graphql/execution/values.js +1 -0
  63. package/dist/node_modules/graphql/graphql.js +1 -0
  64. package/dist/node_modules/graphql/index.js +1 -0
  65. package/dist/node_modules/graphql/jsutils/Path.js +1 -0
  66. package/dist/node_modules/graphql/jsutils/devAssert.js +1 -0
  67. package/dist/node_modules/graphql/jsutils/didYouMean.js +1 -0
  68. package/dist/node_modules/graphql/jsutils/groupBy.js +1 -0
  69. package/dist/node_modules/graphql/jsutils/identityFunc.js +1 -0
  70. package/dist/node_modules/graphql/jsutils/inspect.js +1 -0
  71. package/dist/node_modules/graphql/jsutils/instanceOf.js +12 -0
  72. package/dist/node_modules/graphql/jsutils/invariant.js +1 -0
  73. package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +1 -0
  74. package/dist/node_modules/graphql/jsutils/isIterableObject.js +1 -0
  75. package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -0
  76. package/dist/node_modules/graphql/jsutils/isPromise.js +1 -0
  77. package/dist/node_modules/graphql/jsutils/keyMap.js +1 -0
  78. package/dist/node_modules/graphql/jsutils/keyValMap.js +1 -0
  79. package/dist/node_modules/graphql/jsutils/mapValue.js +1 -0
  80. package/dist/node_modules/graphql/jsutils/memoize3.js +1 -0
  81. package/dist/node_modules/graphql/jsutils/naturalCompare.js +1 -0
  82. package/dist/node_modules/graphql/jsutils/printPathArray.js +1 -0
  83. package/dist/node_modules/graphql/jsutils/promiseForObject.js +1 -0
  84. package/dist/node_modules/graphql/jsutils/promiseReduce.js +1 -0
  85. package/dist/node_modules/graphql/jsutils/suggestionList.js +1 -0
  86. package/dist/node_modules/graphql/jsutils/toError.js +1 -0
  87. package/dist/node_modules/graphql/jsutils/toObjMap.js +1 -0
  88. package/dist/node_modules/graphql/language/ast.js +1 -0
  89. package/dist/node_modules/graphql/language/blockString.js +3 -0
  90. package/dist/node_modules/graphql/language/characterClasses.js +1 -0
  91. package/dist/node_modules/graphql/language/directiveLocation.js +1 -0
  92. package/dist/node_modules/graphql/language/index.js +1 -0
  93. package/dist/node_modules/graphql/language/kinds.js +1 -0
  94. package/dist/node_modules/graphql/language/lexer.js +3 -0
  95. package/dist/node_modules/graphql/language/location.js +1 -0
  96. package/dist/node_modules/graphql/language/parser.js +1 -0
  97. package/dist/node_modules/graphql/language/predicates.js +1 -0
  98. package/dist/node_modules/graphql/language/printLocation.js +2 -0
  99. package/dist/node_modules/graphql/language/printString.js +1 -0
  100. package/dist/node_modules/graphql/language/printer.js +34 -0
  101. package/dist/node_modules/graphql/language/schemaCoordinateLexer.js +1 -0
  102. package/dist/node_modules/graphql/language/source.js +1 -0
  103. package/dist/node_modules/graphql/language/tokenKind.js +1 -0
  104. package/dist/node_modules/graphql/language/visitor.js +1 -0
  105. package/dist/node_modules/graphql/type/assertName.js +1 -0
  106. package/dist/node_modules/graphql/type/definition.js +1 -0
  107. package/dist/node_modules/graphql/type/directives.js +1 -0
  108. package/dist/node_modules/graphql/type/index.js +1 -0
  109. package/dist/node_modules/graphql/type/introspection.js +3 -0
  110. package/dist/node_modules/graphql/type/scalars.js +1 -0
  111. package/dist/node_modules/graphql/type/schema.js +1 -0
  112. package/dist/node_modules/graphql/type/validate.js +3 -0
  113. package/dist/node_modules/graphql/utilities/TypeInfo.js +1 -0
  114. package/dist/node_modules/graphql/utilities/assertValidName.js +1 -0
  115. package/dist/node_modules/graphql/utilities/astFromValue.js +1 -0
  116. package/dist/node_modules/graphql/utilities/buildASTSchema.js +1 -0
  117. package/dist/node_modules/graphql/utilities/buildClientSchema.js +1 -0
  118. package/dist/node_modules/graphql/utilities/coerceInputValue.js +1 -0
  119. package/dist/node_modules/graphql/utilities/concatAST.js +1 -0
  120. package/dist/node_modules/graphql/utilities/extendSchema.js +1 -0
  121. package/dist/node_modules/graphql/utilities/findBreakingChanges.js +1 -0
  122. package/dist/node_modules/graphql/utilities/getIntrospectionQuery.js +107 -0
  123. package/dist/node_modules/graphql/utilities/getOperationAST.js +1 -0
  124. package/dist/node_modules/graphql/utilities/getOperationRootType.js +1 -0
  125. package/dist/node_modules/graphql/utilities/index.js +1 -0
  126. package/dist/node_modules/graphql/utilities/introspectionFromSchema.js +1 -0
  127. package/dist/node_modules/graphql/utilities/lexicographicSortSchema.js +1 -0
  128. package/dist/node_modules/graphql/utilities/printSchema.js +13 -0
  129. package/dist/node_modules/graphql/utilities/resolveSchemaCoordinate.js +1 -0
  130. package/dist/node_modules/graphql/utilities/separateOperations.js +1 -0
  131. package/dist/node_modules/graphql/utilities/sortValueNode.js +1 -0
  132. package/dist/node_modules/graphql/utilities/stripIgnoredCharacters.js +1 -0
  133. package/dist/node_modules/graphql/utilities/typeComparators.js +1 -0
  134. package/dist/node_modules/graphql/utilities/typeFromAST.js +1 -0
  135. package/dist/node_modules/graphql/utilities/valueFromAST.js +1 -0
  136. package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +1 -0
  137. package/dist/node_modules/graphql/validation/ValidationContext.js +1 -0
  138. package/dist/node_modules/graphql/validation/index.js +1 -0
  139. package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +1 -0
  140. package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +1 -0
  141. package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +1 -0
  142. package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +1 -0
  143. package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +1 -0
  144. package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +1 -0
  145. package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +1 -0
  146. package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +1 -0
  147. package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +1 -0
  148. package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +1 -0
  149. package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +1 -0
  150. package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +1 -0
  151. package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +1 -0
  152. package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +1 -0
  153. package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +1 -0
  154. package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +1 -0
  155. package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +1 -0
  156. package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +1 -0
  157. package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +1 -0
  158. package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +1 -0
  159. package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +1 -0
  160. package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +1 -0
  161. package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +1 -0
  162. package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +1 -0
  163. package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +1 -0
  164. package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +1 -0
  165. package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +1 -0
  166. package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +1 -0
  167. package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +1 -0
  168. package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +1 -0
  169. package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +1 -0
  170. package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +1 -0
  171. package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +1 -0
  172. package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +1 -0
  173. package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +1 -0
  174. package/dist/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +1 -0
  175. package/dist/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +1 -0
  176. package/dist/node_modules/graphql/validation/specifiedRules.js +1 -0
  177. package/dist/node_modules/graphql/validation/validate.js +5 -0
  178. package/dist/node_modules/graphql/version.js +1 -0
  179. package/dist/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -0
  180. package/dist/node_modules/zod-to-json-schema/dist/esm/Refs.js +1 -0
  181. package/dist/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +1 -0
  182. package/dist/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +1 -0
  183. package/dist/node_modules/zod-to-json-schema/dist/esm/index.js +1 -0
  184. package/dist/node_modules/zod-to-json-schema/dist/esm/parseDef.js +1 -0
  185. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +1 -0
  186. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +1 -0
  187. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +1 -0
  188. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +1 -0
  189. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +1 -0
  190. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +1 -0
  191. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +1 -0
  192. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +1 -0
  193. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +1 -0
  194. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +1 -0
  195. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +1 -0
  196. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +1 -0
  197. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +1 -0
  198. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +1 -0
  199. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +1 -0
  200. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +1 -0
  201. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +1 -0
  202. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +1 -0
  203. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +1 -0
  204. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +1 -0
  205. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +1 -0
  206. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +1 -0
  207. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +1 -0
  208. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +1 -0
  209. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +1 -0
  210. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +3 -0
  211. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +1 -0
  212. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +1 -0
  213. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +1 -0
  214. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +1 -0
  215. package/dist/node_modules/zod-to-json-schema/dist/esm/selectParser.js +1 -0
  216. package/dist/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +1 -0
  217. package/dist/onboarding-base.js +1 -1
  218. package/dist/server/graphql-pothos.js +1 -1
  219. package/dist/server/graphql-schema-export.js +1 -1
  220. package/dist/server/provider-mcp.js +1 -1
  221. package/package.json +183 -175
  222. package/dist/app-config/branding.d.ts +0 -55
  223. package/dist/app-config/contracts.d.ts +0 -244
  224. package/dist/app-config/events.d.ts +0 -122
  225. package/dist/app-config/index.d.ts +0 -8
  226. package/dist/app-config/lifecycle-contracts.d.ts +0 -382
  227. package/dist/app-config/lifecycle.d.ts +0 -27
  228. package/dist/app-config/runtime.d.ts +0 -114
  229. package/dist/app-config/spec.d.ts +0 -175
  230. package/dist/app-config/validation.d.ts +0 -47
  231. package/dist/capabilities/openbanking.d.ts +0 -9
  232. package/dist/capabilities.d.ts +0 -45
  233. package/dist/client/index.d.ts +0 -6
  234. package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
  235. package/dist/client/react/drivers/shadcn.d.ts +0 -12
  236. package/dist/client/react/feature-render.d.ts +0 -19
  237. package/dist/client/react/form-render.d.ts +0 -91
  238. package/dist/client/react/index.d.ts +0 -5
  239. package/dist/contracts-adapter-hydration.d.ts +0 -15
  240. package/dist/contracts-adapter-input.d.ts +0 -10
  241. package/dist/data-views/query-generator.d.ts +0 -39
  242. package/dist/data-views/runtime.d.ts +0 -26
  243. package/dist/data-views.d.ts +0 -131
  244. package/dist/events.d.ts +0 -44
  245. package/dist/experiments/evaluator.d.ts +0 -37
  246. package/dist/experiments/spec-resolver.d.ts +0 -16
  247. package/dist/experiments/spec.d.ts +0 -89
  248. package/dist/features.d.ts +0 -87
  249. package/dist/forms.d.ts +0 -258
  250. package/dist/graphql-federation/dist/index.js +0 -1
  251. package/dist/index.d.ts +0 -132
  252. package/dist/install.d.ts +0 -76
  253. package/dist/integrations/binding.d.ts +0 -17
  254. package/dist/integrations/connection.d.ts +0 -51
  255. package/dist/integrations/contracts.d.ts +0 -435
  256. package/dist/integrations/health.d.ts +0 -21
  257. package/dist/integrations/index.d.ts +0 -53
  258. package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -287
  259. package/dist/integrations/openbanking/contracts/balances.d.ts +0 -163
  260. package/dist/integrations/openbanking/contracts/index.d.ts +0 -9
  261. package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -211
  262. package/dist/integrations/openbanking/guards.d.ts +0 -12
  263. package/dist/integrations/openbanking/models.d.ts +0 -228
  264. package/dist/integrations/openbanking/telemetry.d.ts +0 -15
  265. package/dist/integrations/providers/calendar.d.ts +0 -78
  266. package/dist/integrations/providers/elevenlabs.d.ts +0 -7
  267. package/dist/integrations/providers/email.d.ts +0 -86
  268. package/dist/integrations/providers/embedding.d.ts +0 -24
  269. package/dist/integrations/providers/gcs-storage.d.ts +0 -7
  270. package/dist/integrations/providers/gmail.d.ts +0 -7
  271. package/dist/integrations/providers/google-calendar.d.ts +0 -7
  272. package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
  273. package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
  274. package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
  275. package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
  276. package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
  277. package/dist/integrations/providers/impls/index.d.ts +0 -15
  278. package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
  279. package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
  280. package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
  281. package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
  282. package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
  283. package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
  284. package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
  285. package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
  286. package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
  287. package/dist/integrations/providers/index.d.ts +0 -36
  288. package/dist/integrations/providers/llm.d.ts +0 -82
  289. package/dist/integrations/providers/mistral.d.ts +0 -7
  290. package/dist/integrations/providers/openbanking.d.ts +0 -128
  291. package/dist/integrations/providers/payments.d.ts +0 -109
  292. package/dist/integrations/providers/postmark.d.ts +0 -7
  293. package/dist/integrations/providers/powens.d.ts +0 -7
  294. package/dist/integrations/providers/qdrant.d.ts +0 -7
  295. package/dist/integrations/providers/sms.d.ts +0 -34
  296. package/dist/integrations/providers/storage.d.ts +0 -60
  297. package/dist/integrations/providers/stripe.d.ts +0 -7
  298. package/dist/integrations/providers/twilio-sms.d.ts +0 -7
  299. package/dist/integrations/providers/vector-store.d.ts +0 -43
  300. package/dist/integrations/providers/voice.d.ts +0 -34
  301. package/dist/integrations/runtime.d.ts +0 -99
  302. package/dist/integrations/secrets/env-secret-provider.d.ts +0 -31
  303. package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -32
  304. package/dist/integrations/secrets/index.d.ts +0 -5
  305. package/dist/integrations/secrets/manager.d.ts +0 -47
  306. package/dist/integrations/secrets/provider.d.ts +0 -52
  307. package/dist/integrations/spec.d.ts +0 -79
  308. package/dist/jobs/define-job.d.ts +0 -12
  309. package/dist/jobs/gcp-cloud-tasks.d.ts +0 -41
  310. package/dist/jobs/gcp-pubsub.d.ts +0 -25
  311. package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -9
  312. package/dist/jobs/handlers/index.d.ts +0 -9
  313. package/dist/jobs/handlers/ping-handler.d.ts +0 -10
  314. package/dist/jobs/handlers/storage-document-handler.d.ts +0 -12
  315. package/dist/jobs/index.d.ts +0 -10
  316. package/dist/jobs/memory-queue.d.ts +0 -18
  317. package/dist/jobs/queue.d.ts +0 -26
  318. package/dist/jobs/scaleway-sqs-queue.d.ts +0 -30
  319. package/dist/jsonschema.d.ts +0 -26
  320. package/dist/knowledge/binding.d.ts +0 -25
  321. package/dist/knowledge/contracts.d.ts +0 -316
  322. package/dist/knowledge/index.d.ts +0 -10
  323. package/dist/knowledge/ingestion/document-processor.d.ts +0 -24
  324. package/dist/knowledge/ingestion/embedding-service.d.ts +0 -12
  325. package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -18
  326. package/dist/knowledge/ingestion/index.d.ts +0 -6
  327. package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -15
  328. package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -18
  329. package/dist/knowledge/query/index.d.ts +0 -2
  330. package/dist/knowledge/query/service.d.ts +0 -29
  331. package/dist/knowledge/runtime.d.ts +0 -32
  332. package/dist/knowledge/source.d.ts +0 -32
  333. package/dist/knowledge/spaces/email-threads.d.ts +0 -7
  334. package/dist/knowledge/spaces/financial-docs.d.ts +0 -7
  335. package/dist/knowledge/spaces/financial-overview.d.ts +0 -7
  336. package/dist/knowledge/spaces/index.d.ts +0 -7
  337. package/dist/knowledge/spaces/product-canon.d.ts +0 -7
  338. package/dist/knowledge/spaces/support-faq.d.ts +0 -7
  339. package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -7
  340. package/dist/knowledge/spec.d.ts +0 -52
  341. package/dist/markdown.d.ts +0 -21
  342. package/dist/migrations.d.ts +0 -52
  343. package/dist/onboarding-base.d.ts +0 -137
  344. package/dist/ownership.d.ts +0 -75
  345. package/dist/policy/engine.d.ts +0 -39
  346. package/dist/policy/opa-adapter.d.ts +0 -45
  347. package/dist/policy/spec.d.ts +0 -114
  348. package/dist/presentations.backcompat.d.ts +0 -7
  349. package/dist/presentations.d.ts +0 -96
  350. package/dist/presentations.v2.d.ts +0 -115
  351. package/dist/prompt.d.ts +0 -60
  352. package/dist/promptRegistry.d.ts +0 -15
  353. package/dist/regenerator/adapters.d.ts +0 -19
  354. package/dist/regenerator/executor.d.ts +0 -70
  355. package/dist/regenerator/index.d.ts +0 -7
  356. package/dist/regenerator/service.d.ts +0 -33
  357. package/dist/regenerator/sinks.d.ts +0 -26
  358. package/dist/regenerator/types.d.ts +0 -107
  359. package/dist/regenerator/utils.d.ts +0 -9
  360. package/dist/registry.d.ts +0 -72
  361. package/dist/resources.d.ts +0 -64
  362. package/dist/schema/dist/EnumType.js +0 -1
  363. package/dist/schema/dist/FieldType.js +0 -1
  364. package/dist/schema/dist/ScalarTypeEnum.js +0 -1
  365. package/dist/schema/dist/SchemaModel.js +0 -1
  366. package/dist/schema/dist/entity/defineEntity.js +0 -1
  367. package/dist/schema/dist/entity/index.js +0 -1
  368. package/dist/schema/dist/entity/types.js +0 -1
  369. package/dist/schema/dist/index.js +0 -1
  370. package/dist/schema-to-markdown.d.ts +0 -54
  371. package/dist/server/graphql-pothos.d.ts +0 -31
  372. package/dist/server/graphql-schema-export.d.ts +0 -6
  373. package/dist/server/index.d.ts +0 -9
  374. package/dist/server/provider-mcp.d.ts +0 -51
  375. package/dist/server/rest-elysia.d.ts +0 -40
  376. package/dist/server/rest-express.d.ts +0 -16
  377. package/dist/server/rest-generic.d.ts +0 -32
  378. package/dist/server/rest-next-app.d.ts +0 -35
  379. package/dist/server/rest-next-mcp.d.ts +0 -11
  380. package/dist/server/rest-next-pages.d.ts +0 -9
  381. package/dist/spec.d.ts +0 -171
  382. package/dist/telemetry/anomaly.d.ts +0 -27
  383. package/dist/telemetry/index.d.ts +0 -4
  384. package/dist/telemetry/spec.d.ts +0 -98
  385. package/dist/telemetry/tracker.d.ts +0 -51
  386. package/dist/tests/index.d.ts +0 -3
  387. package/dist/tests/runner.d.ts +0 -43
  388. package/dist/tests/spec.d.ts +0 -89
  389. package/dist/themes.d.ts +0 -55
  390. package/dist/translations/catalog.d.ts +0 -28
  391. package/dist/translations/tenant.d.ts +0 -15
  392. package/dist/types/all.d.ts +0 -60
  393. package/dist/types.d.ts +0 -88
  394. package/dist/workflow/adapters/db-adapter.d.ts +0 -34
  395. package/dist/workflow/adapters/file-adapter.d.ts +0 -14
  396. package/dist/workflow/adapters/index.d.ts +0 -4
  397. package/dist/workflow/adapters/memory-store.d.ts +0 -18
  398. package/dist/workflow/expression.d.ts +0 -9
  399. package/dist/workflow/index.d.ts +0 -10
  400. package/dist/workflow/runner.d.ts +0 -74
  401. package/dist/workflow/sla-monitor.d.ts +0 -20
  402. package/dist/workflow/spec.d.ts +0 -99
  403. package/dist/workflow/state.d.ts +0 -35
  404. package/dist/workflow/validation.d.ts +0 -28
@@ -1,34 +0,0 @@
1
- //#region src/integrations/providers/sms.d.ts
2
- interface SmsMessage {
3
- id: string;
4
- to: string;
5
- from: string;
6
- body: string;
7
- status: 'queued' | 'sending' | 'sent' | 'delivered' | 'undelivered' | 'failed';
8
- providerMessageId?: string;
9
- carrier?: string;
10
- price?: number;
11
- priceCurrency?: string;
12
- sentAt?: Date;
13
- deliveredAt?: Date;
14
- errorCode?: string;
15
- errorMessage?: string;
16
- }
17
- interface SendSmsInput {
18
- to: string;
19
- from?: string;
20
- body: string;
21
- metadata?: Record<string, string>;
22
- }
23
- interface SmsDeliveryStatus {
24
- status: SmsMessage['status'];
25
- errorCode?: string;
26
- errorMessage?: string;
27
- updatedAt: Date;
28
- }
29
- interface SmsProvider {
30
- sendSms(input: SendSmsInput): Promise<SmsMessage>;
31
- getDeliveryStatus(messageId: string): Promise<SmsDeliveryStatus>;
32
- }
33
- //#endregion
34
- export { SendSmsInput, SmsDeliveryStatus, SmsMessage, SmsProvider };
@@ -1,60 +0,0 @@
1
- //#region src/integrations/providers/storage.d.ts
2
- interface StorageObjectMetadata {
3
- bucket: string;
4
- key: string;
5
- sizeBytes?: number;
6
- contentType?: string;
7
- etag?: string;
8
- checksum?: string;
9
- lastModified?: Date;
10
- metadata?: Record<string, string>;
11
- }
12
- type StorageObjectBody = {
13
- data: Uint8Array;
14
- stream?: never;
15
- } | {
16
- data?: never;
17
- stream: AsyncIterable<Uint8Array>;
18
- };
19
- type GetObjectResult = StorageObjectMetadata & StorageObjectBody;
20
- interface PutObjectInput {
21
- bucket: string;
22
- key: string;
23
- data: Uint8Array | ArrayBuffer;
24
- contentType?: string;
25
- metadata?: Record<string, string>;
26
- makePublic?: boolean;
27
- }
28
- interface DeleteObjectInput {
29
- bucket: string;
30
- key: string;
31
- }
32
- interface SignedUrlOptions {
33
- bucket: string;
34
- key: string;
35
- expiresInSeconds: number;
36
- method?: 'GET' | 'PUT';
37
- contentType?: string;
38
- }
39
- interface ListObjectsQuery {
40
- bucket: string;
41
- prefix?: string;
42
- maxResults?: number;
43
- pageToken?: string;
44
- }
45
- interface ListObjectsResult {
46
- objects: StorageObjectMetadata[];
47
- nextPageToken?: string;
48
- }
49
- interface ObjectStorageProvider {
50
- putObject(input: PutObjectInput): Promise<StorageObjectMetadata>;
51
- getObject(input: DeleteObjectInput): Promise<GetObjectResult | null>;
52
- deleteObject(input: DeleteObjectInput): Promise<void>;
53
- generateSignedUrl(options: SignedUrlOptions): Promise<{
54
- url: string;
55
- expiresAt: Date;
56
- }>;
57
- listObjects(query: ListObjectsQuery): Promise<ListObjectsResult>;
58
- }
59
- //#endregion
60
- export { DeleteObjectInput, GetObjectResult, ListObjectsQuery, ListObjectsResult, ObjectStorageProvider, PutObjectInput, SignedUrlOptions, StorageObjectBody, StorageObjectMetadata };
@@ -1,7 +0,0 @@
1
- import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
2
-
3
- //#region src/integrations/providers/stripe.d.ts
4
- declare const stripeIntegrationSpec: IntegrationSpec;
5
- declare function registerStripeIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
6
- //#endregion
7
- export { registerStripeIntegration, stripeIntegrationSpec };
@@ -1,7 +0,0 @@
1
- import { IntegrationSpec, IntegrationSpecRegistry } from "../spec.js";
2
-
3
- //#region src/integrations/providers/twilio-sms.d.ts
4
- declare const twilioSmsIntegrationSpec: IntegrationSpec;
5
- declare function registerTwilioSmsIntegration(registry: IntegrationSpecRegistry): IntegrationSpecRegistry;
6
- //#endregion
7
- export { registerTwilioSmsIntegration, twilioSmsIntegrationSpec };
@@ -1,43 +0,0 @@
1
- import { EmbeddingVector } from "./embedding.js";
2
-
3
- //#region src/integrations/providers/vector-store.d.ts
4
- interface VectorDocument {
5
- id: string;
6
- vector: EmbeddingVector;
7
- payload?: Record<string, unknown>;
8
- namespace?: string;
9
- expiresAt?: Date;
10
- }
11
- interface VectorUpsertRequest {
12
- collection: string;
13
- documents: VectorDocument[];
14
- waitForSync?: boolean;
15
- }
16
- interface VectorDeleteRequest {
17
- collection: string;
18
- ids: string[];
19
- namespace?: string;
20
- }
21
- interface VectorSearchQuery {
22
- collection: string;
23
- vector: EmbeddingVector;
24
- topK: number;
25
- namespace?: string;
26
- filter?: Record<string, unknown>;
27
- scoreThreshold?: number;
28
- consistent?: boolean;
29
- }
30
- interface VectorSearchResult {
31
- id: string;
32
- score: number;
33
- payload?: Record<string, unknown>;
34
- vector?: EmbeddingVector;
35
- namespace?: string;
36
- }
37
- interface VectorStoreProvider {
38
- upsert(request: VectorUpsertRequest): Promise<void>;
39
- search(query: VectorSearchQuery): Promise<VectorSearchResult[]>;
40
- delete(request: VectorDeleteRequest): Promise<void>;
41
- }
42
- //#endregion
43
- export { VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest };
@@ -1,34 +0,0 @@
1
- //#region src/integrations/providers/voice.d.ts
2
- interface Voice {
3
- id: string;
4
- name: string;
5
- description?: string;
6
- language?: string;
7
- gender?: 'male' | 'female' | 'neutral';
8
- previewUrl?: string;
9
- metadata?: Record<string, string>;
10
- }
11
- interface VoiceSynthesisInput {
12
- text: string;
13
- voiceId?: string;
14
- language?: string;
15
- style?: number;
16
- stability?: number;
17
- similarityBoost?: number;
18
- format?: 'mp3' | 'wav' | 'ogg' | 'pcm';
19
- sampleRateHz?: number;
20
- metadata?: Record<string, string>;
21
- }
22
- interface VoiceSynthesisResult {
23
- audio: Uint8Array;
24
- format: string;
25
- sampleRateHz: number;
26
- durationSeconds?: number;
27
- url?: string;
28
- }
29
- interface VoiceProvider {
30
- listVoices(): Promise<Voice[]>;
31
- synthesize(input: VoiceSynthesisInput): Promise<VoiceSynthesisResult>;
32
- }
33
- //#endregion
34
- export { Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult };
@@ -1,99 +0,0 @@
1
- import { IntegrationSpec } from "./spec.js";
2
- import { ConnectionStatus, IntegrationConnection } from "./connection.js";
3
- import { ResolvedAppConfig, ResolvedIntegration } from "../app-config/runtime.js";
4
- import { SecretProvider } from "./secrets/provider.js";
5
-
6
- //#region src/integrations/runtime.d.ts
7
- interface IntegrationTraceMetadata {
8
- blueprintName: string;
9
- blueprintVersion: number;
10
- configVersion: number;
11
- }
12
- interface IntegrationTelemetryEvent {
13
- tenantId: string;
14
- appId: string;
15
- environment?: string;
16
- slotId?: string;
17
- integrationKey: string;
18
- integrationVersion: number;
19
- connectionId: string;
20
- status: 'success' | 'error';
21
- durationMs?: number;
22
- errorCode?: string;
23
- errorMessage?: string;
24
- occurredAt: Date;
25
- metadata?: Record<string, string | number | boolean>;
26
- }
27
- interface IntegrationTelemetryEmitter {
28
- record(event: IntegrationTelemetryEvent): Promise<void> | void;
29
- }
30
- type IntegrationInvocationStatus = 'success' | 'error';
31
- interface IntegrationContext {
32
- tenantId: string;
33
- appId: string;
34
- environment?: string;
35
- slotId?: string;
36
- spec: IntegrationSpec;
37
- connection: IntegrationConnection;
38
- secretProvider: SecretProvider;
39
- secretReference: string;
40
- trace: IntegrationTraceMetadata;
41
- config?: Record<string, unknown>;
42
- }
43
- interface IntegrationCallContext {
44
- tenantId: string;
45
- appId: string;
46
- environment?: string;
47
- blueprintName: string;
48
- blueprintVersion: number;
49
- configVersion: number;
50
- slotId: string;
51
- operation: string;
52
- }
53
- interface IntegrationCallError {
54
- code: string;
55
- message: string;
56
- retryable: boolean;
57
- cause?: unknown;
58
- }
59
- interface IntegrationCallResult<T> {
60
- success: boolean;
61
- data?: T;
62
- error?: IntegrationCallError;
63
- metadata: {
64
- latencyMs: number;
65
- connectionId: string;
66
- ownershipMode: IntegrationConnection['ownershipMode'];
67
- attempts: number;
68
- };
69
- }
70
- interface IntegrationCallGuardOptions {
71
- telemetry?: IntegrationTelemetryEmitter;
72
- maxAttempts?: number;
73
- backoffMs?: number;
74
- shouldRetry?: (error: unknown, attempt: number) => boolean;
75
- sleep?: (ms: number) => Promise<void>;
76
- now?: () => Date;
77
- }
78
- declare class IntegrationCallGuard {
79
- private readonly secretProvider;
80
- private readonly telemetry?;
81
- private readonly maxAttempts;
82
- private readonly backoffMs;
83
- private readonly shouldRetry;
84
- private readonly sleep;
85
- private readonly now;
86
- constructor(secretProvider: SecretProvider, options?: IntegrationCallGuardOptions);
87
- executeWithGuards<T>(slotId: string, operation: string, input: unknown, resolvedConfig: ResolvedAppConfig, executor: (connection: IntegrationConnection, secrets: Record<string, string>) => Promise<T>): Promise<IntegrationCallResult<T>>;
88
- private findIntegration;
89
- private fetchSecrets;
90
- private parseSecret;
91
- private emitTelemetry;
92
- private failure;
93
- private makeContext;
94
- private errorCodeFor;
95
- }
96
- declare function ensureConnectionReady(integration: ResolvedIntegration): void;
97
- declare function connectionStatusLabel(status: ConnectionStatus): string;
98
- //#endregion
99
- export { IntegrationCallContext, IntegrationCallError, IntegrationCallGuard, IntegrationCallGuardOptions, IntegrationCallResult, IntegrationContext, IntegrationInvocationStatus, IntegrationTelemetryEmitter, IntegrationTelemetryEvent, IntegrationTraceMetadata, connectionStatusLabel, ensureConnectionReady };
@@ -1,31 +0,0 @@
1
- import { SecretProvider, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload } from "./provider.js";
2
-
3
- //#region src/integrations/secrets/env-secret-provider.d.ts
4
- interface EnvSecretProviderOptions {
5
- /**
6
- * Optional map to alias secret references to environment variable names.
7
- * Useful when referencing secrets from other providers (e.g. gcp://...)
8
- * while still allowing local overrides.
9
- */
10
- aliases?: Record<string, string>;
11
- }
12
- /**
13
- * Environment-variable backed secret provider. Read-only by design.
14
- * Allows overriding other secret providers by deriving environment variable
15
- * names from secret references (or by using explicit aliases).
16
- */
17
- declare class EnvSecretProvider implements SecretProvider {
18
- readonly id = "env";
19
- private readonly aliases;
20
- constructor(options?: EnvSecretProviderOptions);
21
- canHandle(reference: SecretReference): boolean;
22
- getSecret(reference: SecretReference): Promise<SecretValue>;
23
- setSecret(reference: SecretReference, _payload: SecretWritePayload): Promise<SecretRotationResult>;
24
- rotateSecret(reference: SecretReference, _payload: SecretWritePayload): Promise<SecretRotationResult>;
25
- deleteSecret(reference: SecretReference): Promise<void>;
26
- private resolveEnvKey;
27
- private deriveEnvKey;
28
- private forbiddenError;
29
- }
30
- //#endregion
31
- export { EnvSecretProvider };
@@ -1,32 +0,0 @@
1
- import { SecretProvider, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload } from "./provider.js";
2
- import { SecretManagerServiceClient, protos } from "@google-cloud/secret-manager";
3
- import { CallOptions } from "google-gax";
4
-
5
- //#region src/integrations/secrets/gcp-secret-manager.d.ts
6
- type SecretManagerClient = SecretManagerServiceClient;
7
- interface GcpSecretManagerProviderOptions {
8
- projectId?: string;
9
- client?: SecretManagerClient;
10
- clientOptions?: ConstructorParameters<typeof SecretManagerServiceClient>[0];
11
- defaultReplication?: protos.google.cloud.secretmanager.v1.IReplication;
12
- }
13
- declare class GcpSecretManagerProvider implements SecretProvider {
14
- readonly id = "gcp-secret-manager";
15
- private readonly client;
16
- private readonly explicitProjectId?;
17
- private readonly replication;
18
- constructor(options?: GcpSecretManagerProviderOptions);
19
- canHandle(reference: SecretReference): boolean;
20
- getSecret(reference: SecretReference, options?: {
21
- version?: string;
22
- }, callOptions?: CallOptions): Promise<SecretValue>;
23
- setSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
24
- rotateSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
25
- deleteSecret(reference: SecretReference): Promise<void>;
26
- private parseReference;
27
- private buildNames;
28
- private buildVersionName;
29
- private ensureSecretExists;
30
- }
31
- //#endregion
32
- export { GcpSecretManagerProvider };
@@ -1,5 +0,0 @@
1
- import { ParsedSecretUri, SecretFetchOptions, SecretPayloadEncoding, SecretProvider, SecretProviderError, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload, normalizeSecretPayload, parseSecretUri } from "./provider.js";
2
- import { GcpSecretManagerProvider } from "./gcp-secret-manager.js";
3
- import { EnvSecretProvider } from "./env-secret-provider.js";
4
- import { SecretProviderManager, SecretProviderManagerOptions } from "./manager.js";
5
- export { EnvSecretProvider, GcpSecretManagerProvider, ParsedSecretUri, SecretFetchOptions, SecretPayloadEncoding, SecretProvider, SecretProviderError, SecretProviderManager, SecretProviderManagerOptions, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload, normalizeSecretPayload, parseSecretUri };
@@ -1,47 +0,0 @@
1
- import { SecretProvider, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload } from "./provider.js";
2
-
3
- //#region src/integrations/secrets/manager.d.ts
4
- interface RegisterOptions {
5
- /**
6
- * Larger priority values are attempted first. Defaults to 0.
7
- */
8
- priority?: number;
9
- }
10
- interface SecretProviderManagerOptions {
11
- /**
12
- * Override manager identifier. Defaults to "secret-provider-manager".
13
- */
14
- id?: string;
15
- /**
16
- * Providers to pre-register. They are registered in array order with
17
- * descending priority (first entry wins ties).
18
- */
19
- providers?: {
20
- provider: SecretProvider;
21
- priority?: number;
22
- }[];
23
- }
24
- /**
25
- * Composite secret provider that delegates to registered providers.
26
- * Providers are attempted in order of descending priority, respecting the
27
- * registration order for ties. This enables privileged overrides (e.g.
28
- * environment variables) while still supporting durable backends like GCP
29
- * Secret Manager.
30
- */
31
- declare class SecretProviderManager implements SecretProvider {
32
- readonly id: string;
33
- private readonly providers;
34
- private registrationCounter;
35
- constructor(options?: SecretProviderManagerOptions);
36
- register(provider: SecretProvider, options?: RegisterOptions): this;
37
- canHandle(reference: SecretReference): boolean;
38
- getSecret(reference: SecretReference, options?: SecretFetchOptions): Promise<SecretValue>;
39
- setSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
40
- rotateSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
41
- deleteSecret(reference: SecretReference): Promise<void>;
42
- private delegateToFirst;
43
- private composeError;
44
- }
45
- type SecretFetchOptions = Parameters<SecretProvider['getSecret']>[1];
46
- //#endregion
47
- export { SecretProviderManager, SecretProviderManagerOptions };
@@ -1,52 +0,0 @@
1
- //#region src/integrations/secrets/provider.d.ts
2
- type SecretReference = string;
3
- interface SecretValue {
4
- data: Uint8Array;
5
- version?: string;
6
- metadata?: Record<string, string>;
7
- retrievedAt: Date;
8
- }
9
- interface SecretFetchOptions {
10
- version?: string;
11
- }
12
- type SecretPayloadEncoding = 'utf-8' | 'base64' | 'binary';
13
- interface SecretWritePayload {
14
- data: string | Uint8Array;
15
- encoding?: SecretPayloadEncoding;
16
- contentType?: string;
17
- labels?: Record<string, string>;
18
- }
19
- interface SecretRotationResult {
20
- reference: SecretReference;
21
- version: string;
22
- }
23
- interface SecretProvider {
24
- readonly id: string;
25
- canHandle(reference: SecretReference): boolean;
26
- getSecret(reference: SecretReference, options?: SecretFetchOptions): Promise<SecretValue>;
27
- setSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
28
- rotateSecret(reference: SecretReference, payload: SecretWritePayload): Promise<SecretRotationResult>;
29
- deleteSecret(reference: SecretReference): Promise<void>;
30
- }
31
- interface ParsedSecretUri {
32
- provider: string;
33
- path: string;
34
- extras?: Record<string, string>;
35
- }
36
- declare class SecretProviderError extends Error {
37
- readonly provider: string;
38
- readonly reference: SecretReference;
39
- readonly code: 'NOT_FOUND' | 'FORBIDDEN' | 'INVALID' | 'UNKNOWN';
40
- readonly cause?: unknown;
41
- constructor(params: {
42
- message: string;
43
- provider: string;
44
- reference: SecretReference;
45
- code?: SecretProviderError['code'];
46
- cause?: unknown;
47
- });
48
- }
49
- declare function parseSecretUri(reference: SecretReference): ParsedSecretUri;
50
- declare function normalizeSecretPayload(payload: SecretWritePayload): Uint8Array;
51
- //#endregion
52
- export { ParsedSecretUri, SecretFetchOptions, SecretPayloadEncoding, SecretProvider, SecretProviderError, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload, normalizeSecretPayload, parseSecretUri };
@@ -1,79 +0,0 @@
1
- import { OwnerShipMeta } from "../ownership.js";
2
- import { CapabilityRef, CapabilityRequirement } from "../capabilities.js";
3
-
4
- //#region src/integrations/spec.d.ts
5
- type IntegrationCategory = 'payments' | 'email' | 'calendar' | 'sms' | 'ai-llm' | 'ai-voice' | 'speech-to-text' | 'vector-db' | 'storage' | 'accounting' | 'crm' | 'helpdesk' | 'open-banking' | 'custom';
6
- type IntegrationOwnershipMode = 'managed' | 'byok';
7
- interface IntegrationMeta extends OwnerShipMeta {
8
- /** Stable provider slug (e.g., "stripe", "openai"). */
9
- key: string;
10
- /** Provider version (increment on breaking API changes). */
11
- version: number;
12
- category: IntegrationCategory;
13
- displayName: string;
14
- }
15
- interface IntegrationCapabilityMapping {
16
- /** Which CapabilitySpec this integration provides. */
17
- provides: CapabilityRef[];
18
- /** Optional: which capabilities it requires (e.g., storage for caching). */
19
- requires?: CapabilityRequirement[];
20
- }
21
- interface IntegrationConfigSchema {
22
- /** JSON Schema or SchemaModel defining required config fields. */
23
- schema: unknown;
24
- /** Example configuration (for docs/UI). */
25
- example?: Record<string, unknown>;
26
- }
27
- interface IntegrationSecretSchema {
28
- /** JSON Schema or SchemaModel describing secret fields. */
29
- schema: unknown;
30
- /** Redacted example for documentation/UI. */
31
- example?: Record<string, string>;
32
- }
33
- interface IntegrationByokSetup {
34
- /** Human-readable instructions for tenants configuring BYOK accounts. */
35
- setupInstructions?: string;
36
- /** Required scopes/permissions for BYOK accounts. */
37
- requiredScopes?: string[];
38
- }
39
- interface IntegrationHealthCheck {
40
- /** Endpoint or method to validate connection health. */
41
- method?: 'ping' | 'list' | 'custom';
42
- /** Timeout in ms for health check. */
43
- timeoutMs?: number;
44
- }
45
- interface IntegrationSpec {
46
- meta: IntegrationMeta;
47
- /** Supported ownership modes for this provider. */
48
- supportedModes: IntegrationOwnershipMode[];
49
- /** Which capabilities this integration provides/requires. */
50
- capabilities: IntegrationCapabilityMapping;
51
- /** Configuration schema (API keys, endpoints, etc.). */
52
- configSchema: IntegrationConfigSchema;
53
- /** Secret schema (API/key material stored via secretRef). */
54
- secretSchema: IntegrationSecretSchema;
55
- /** Optional health check configuration. */
56
- healthCheck?: IntegrationHealthCheck;
57
- /** Documentation URL. */
58
- docsUrl?: string;
59
- /** Rate limits or usage constraints. */
60
- constraints?: {
61
- rateLimit?: {
62
- rpm?: number;
63
- rph?: number;
64
- };
65
- quotas?: Record<string, number>;
66
- };
67
- /** Provider-specific metadata for BYOK setup flows. */
68
- byokSetup?: IntegrationByokSetup;
69
- }
70
- declare class IntegrationSpecRegistry {
71
- private readonly items;
72
- register(spec: IntegrationSpec): this;
73
- list(): IntegrationSpec[];
74
- get(key: string, version?: number): IntegrationSpec | undefined;
75
- getByCategory(category: IntegrationCategory): IntegrationSpec[];
76
- }
77
- declare function makeIntegrationSpecKey(meta: IntegrationMeta): string;
78
- //#endregion
79
- export { IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, makeIntegrationSpecKey };
@@ -1,12 +0,0 @@
1
- import { Job, JobQueue } from "./queue.js";
2
- import { ZodSchema } from "zod";
3
-
4
- //#region src/jobs/define-job.d.ts
5
- interface DefinedJob<TPayload> {
6
- type: string;
7
- schema: ZodSchema<TPayload>;
8
- handler: (payload: TPayload, job: Job<TPayload>) => Promise<void>;
9
- }
10
- declare function registerDefinedJob<TPayload>(queue: JobQueue, def: DefinedJob<TPayload>): void;
11
- //#endregion
12
- export { DefinedJob, registerDefinedJob };
@@ -1,41 +0,0 @@
1
- import { EnqueueOptions, Job, JobHandler, JobQueue } from "./queue.js";
2
-
3
- //#region src/jobs/gcp-cloud-tasks.d.ts
4
- interface CloudTasksClientLike {
5
- createTask(request: {
6
- parent: string;
7
- task: {
8
- httpRequest: {
9
- httpMethod: number | string;
10
- url: string;
11
- body: Buffer;
12
- headers?: Record<string, string>;
13
- oidcToken?: {
14
- serviceAccountEmail: string;
15
- };
16
- };
17
- scheduleTime?: {
18
- seconds: number;
19
- };
20
- };
21
- }): Promise<unknown>;
22
- }
23
- interface GcpCloudTasksQueueOptions {
24
- client: CloudTasksClientLike;
25
- projectId: string;
26
- location: string;
27
- queue: string;
28
- resolveUrl(jobType: string): string;
29
- serviceAccountEmail?: string;
30
- }
31
- declare class GcpCloudTasksQueue implements JobQueue {
32
- private readonly options;
33
- private readonly handlers;
34
- constructor(options: GcpCloudTasksQueueOptions);
35
- enqueue<TPayload>(jobType: string, payload: TPayload, options?: EnqueueOptions): Promise<Job<TPayload>>;
36
- register<TPayload>(jobType: string, handler: JobHandler<TPayload>): void;
37
- start(): void;
38
- stop(): Promise<void>;
39
- }
40
- //#endregion
41
- export { GcpCloudTasksQueue, GcpCloudTasksQueueOptions };
@@ -1,25 +0,0 @@
1
- import { EnqueueOptions, Job, JobHandler, JobQueue } from "./queue.js";
2
-
3
- //#region src/jobs/gcp-pubsub.d.ts
4
- interface PubSubClientLike {
5
- topic(name: string): {
6
- publishMessage(message: {
7
- data: Buffer;
8
- }): Promise<string>;
9
- };
10
- }
11
- interface GcpPubSubQueueOptions {
12
- client: PubSubClientLike;
13
- topicName: string;
14
- }
15
- declare class GcpPubSubQueue implements JobQueue {
16
- private readonly options;
17
- private readonly handlers;
18
- constructor(options: GcpPubSubQueueOptions);
19
- enqueue<TPayload>(jobType: string, payload: TPayload, _options?: EnqueueOptions): Promise<Job<TPayload>>;
20
- register<TPayload>(jobType: string, handler: JobHandler<TPayload>): void;
21
- start(): void;
22
- stop(): Promise<void>;
23
- }
24
- //#endregion
25
- export { GcpPubSubQueue, GcpPubSubQueueOptions };
@@ -1,9 +0,0 @@
1
- import { EmailThreadListQuery } from "../../integrations/providers/email.js";
2
- import { JobHandler } from "../queue.js";
3
- import { GmailIngestionAdapter } from "../../knowledge/ingestion/gmail-adapter.js";
4
-
5
- //#region src/jobs/handlers/gmail-sync-handler.d.ts
6
- interface GmailSyncJobPayload extends EmailThreadListQuery {}
7
- declare function createGmailSyncHandler(adapter: GmailIngestionAdapter): JobHandler<GmailSyncJobPayload>;
8
- //#endregion
9
- export { GmailSyncJobPayload, createGmailSyncHandler };
@@ -1,9 +0,0 @@
1
- import { JobQueue } from "../queue.js";
2
- import { GmailSyncJobPayload, createGmailSyncHandler } from "./gmail-sync-handler.js";
3
- import { PING_JOB_TYPE, PingPayload, PingPayloadSchema, pingJob } from "./ping-handler.js";
4
- import { StorageDocumentJobPayload, createStorageDocumentHandler } from "./storage-document-handler.js";
5
-
6
- //#region src/jobs/handlers/index.d.ts
7
- declare function registerAllJobs(queue: JobQueue): void;
8
- //#endregion
9
- export { GmailSyncJobPayload, PING_JOB_TYPE, PingPayload, PingPayloadSchema, StorageDocumentJobPayload, createGmailSyncHandler, createStorageDocumentHandler, pingJob, registerAllJobs };
@@ -1,10 +0,0 @@
1
- import { DefinedJob } from "../define-job.js";
2
- import { z as z$1 } from "zod";
3
-
4
- //#region src/jobs/handlers/ping-handler.d.ts
5
- declare const PING_JOB_TYPE: "core.ping";
6
- declare const PingPayloadSchema: z$1.ZodObject<{}, z$1.core.$strip>;
7
- type PingPayload = z$1.infer<typeof PingPayloadSchema>;
8
- declare const pingJob: DefinedJob<PingPayload>;
9
- //#endregion
10
- export { PING_JOB_TYPE, PingPayload, PingPayloadSchema, pingJob };
@@ -1,12 +0,0 @@
1
- import { ObjectStorageProvider } from "../../integrations/providers/storage.js";
2
- import { JobHandler } from "../queue.js";
3
- import { StorageIngestionAdapter } from "../../knowledge/ingestion/storage-adapter.js";
4
-
5
- //#region src/jobs/handlers/storage-document-handler.d.ts
6
- interface StorageDocumentJobPayload {
7
- bucket: string;
8
- key: string;
9
- }
10
- declare function createStorageDocumentHandler(storage: ObjectStorageProvider, adapter: StorageIngestionAdapter): JobHandler<StorageDocumentJobPayload>;
11
- //#endregion
12
- export { StorageDocumentJobPayload, createStorageDocumentHandler };