@lssm/example.marketplace 0.0.0-canary-20251217083314 → 0.0.0-canary-20251219202229

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 (277) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/dist/docs/marketplace.docblock.js +2 -1
  4. package/dist/docs/marketplace.docblock.js.map +1 -0
  5. package/dist/entities/index.d.ts +298 -297
  6. package/dist/entities/index.d.ts.map +1 -0
  7. package/dist/entities/index.js +2 -1
  8. package/dist/entities/index.js.map +1 -0
  9. package/dist/entities/order.d.ts +80 -79
  10. package/dist/entities/order.d.ts.map +1 -0
  11. package/dist/entities/order.js +89 -89
  12. package/dist/entities/order.js.map +1 -0
  13. package/dist/entities/payout.d.ts +67 -66
  14. package/dist/entities/payout.d.ts.map +1 -0
  15. package/dist/entities/payout.js +74 -74
  16. package/dist/entities/payout.js.map +1 -0
  17. package/dist/entities/product.d.ts +72 -71
  18. package/dist/entities/product.d.ts.map +1 -0
  19. package/dist/entities/product.js +86 -86
  20. package/dist/entities/product.js.map +1 -0
  21. package/dist/entities/review.d.ts +58 -57
  22. package/dist/entities/review.d.ts.map +1 -0
  23. package/dist/entities/review.js +70 -70
  24. package/dist/entities/review.js.map +1 -0
  25. package/dist/entities/store.d.ts +43 -42
  26. package/dist/entities/store.d.ts.map +1 -0
  27. package/dist/entities/store.js +49 -49
  28. package/dist/entities/store.js.map +1 -0
  29. package/dist/example.d.ts +2 -1
  30. package/dist/example.d.ts.map +1 -0
  31. package/dist/example.js +2 -1
  32. package/dist/example.js.map +1 -0
  33. package/dist/libs/contracts/dist/capabilities/openbanking.js +2 -1
  34. package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -0
  35. package/dist/libs/contracts/dist/contract-registry/schemas.js +2 -1
  36. package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -0
  37. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
  38. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
  39. package/dist/libs/contracts/dist/docs/index.js +2 -6
  40. package/dist/libs/contracts/dist/docs/meta.docs.js +30 -0
  41. package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -0
  42. package/dist/libs/contracts/dist/docs/presentations.js +2 -1
  43. package/dist/libs/contracts/dist/docs/presentations.js.map +1 -0
  44. package/dist/libs/contracts/dist/docs/registry.js +2 -1
  45. package/dist/libs/contracts/dist/docs/registry.js.map +1 -0
  46. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
  47. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
  48. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
  49. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
  50. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
  51. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
  52. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
  53. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
  54. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
  55. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
  56. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
  57. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
  58. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
  59. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
  60. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
  61. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
  62. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
  63. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
  64. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
  65. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
  66. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
  67. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
  68. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
  69. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
  70. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
  71. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
  72. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
  73. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
  74. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
  75. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
  76. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
  77. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
  78. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
  79. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
  80. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
  81. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
  82. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
  83. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
  84. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
  85. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
  86. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +97 -0
  87. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
  88. package/dist/libs/contracts/dist/events.js +2 -1
  89. package/dist/libs/contracts/dist/events.js.map +1 -0
  90. package/dist/libs/contracts/dist/index.js +2 -1
  91. package/dist/libs/contracts/dist/integrations/contracts.js +65 -66
  92. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -0
  93. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
  94. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
  95. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
  96. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
  97. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
  98. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
  99. package/dist/libs/contracts/dist/integrations/openbanking/models.js +60 -61
  100. package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -0
  101. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +2 -1
  102. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
  103. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +2 -1
  104. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
  105. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +2 -1
  106. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
  107. package/dist/libs/contracts/dist/integrations/providers/gmail.js +2 -1
  108. package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -0
  109. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +2 -1
  110. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
  111. package/dist/libs/contracts/dist/integrations/providers/mistral.js +2 -1
  112. package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -0
  113. package/dist/libs/contracts/dist/integrations/providers/postmark.js +2 -1
  114. package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -0
  115. package/dist/libs/contracts/dist/integrations/providers/powens.js +2 -1
  116. package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -0
  117. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +2 -1
  118. package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -0
  119. package/dist/libs/contracts/dist/integrations/providers/stripe.js +2 -1
  120. package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -0
  121. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +2 -1
  122. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
  123. package/dist/libs/contracts/dist/knowledge/contracts.js +44 -45
  124. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -0
  125. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +2 -1
  126. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
  127. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
  128. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
  129. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
  130. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
  131. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +2 -1
  132. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
  133. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +2 -1
  134. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
  135. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
  136. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
  137. package/dist/libs/contracts/dist/llm/exporters.js +2 -1
  138. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -0
  139. package/dist/libs/contracts/dist/onboarding-base.js +22 -23
  140. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -0
  141. package/dist/libs/contracts/dist/ownership.js +4 -2
  142. package/dist/libs/contracts/dist/ownership.js.map +1 -0
  143. package/dist/libs/contracts/dist/presentations.v2.js +2 -1
  144. package/dist/libs/contracts/dist/presentations.v2.js.map +1 -0
  145. package/dist/libs/contracts/dist/regenerator/service.js +2 -1
  146. package/dist/libs/contracts/dist/regenerator/service.js.map +1 -0
  147. package/dist/libs/contracts/dist/schema/dist/index.js +3873 -6
  148. package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -0
  149. package/dist/libs/contracts/dist/spec.js +2 -1
  150. package/dist/libs/contracts/dist/spec.js.map +1 -0
  151. package/dist/libs/schema/dist/index.js +4922 -6
  152. package/dist/libs/schema/dist/index.js.map +1 -0
  153. package/dist/marketplace.feature.d.ts +2 -1
  154. package/dist/marketplace.feature.d.ts.map +1 -0
  155. package/dist/marketplace.feature.js +2 -1
  156. package/dist/marketplace.feature.js.map +1 -0
  157. package/dist/order/order.contracts.d.ts +92 -91
  158. package/dist/order/order.contracts.d.ts.map +1 -0
  159. package/dist/order/order.contracts.js +2 -1
  160. package/dist/order/order.contracts.js.map +1 -0
  161. package/dist/order/order.enum.d.ts +4 -3
  162. package/dist/order/order.enum.d.ts.map +1 -0
  163. package/dist/order/order.enum.js +4 -4
  164. package/dist/order/order.enum.js.map +1 -0
  165. package/dist/order/order.event.d.ts +41 -40
  166. package/dist/order/order.event.d.ts.map +1 -0
  167. package/dist/order/order.event.js +40 -41
  168. package/dist/order/order.event.js.map +1 -0
  169. package/dist/order/order.presentation.d.ts +2 -1
  170. package/dist/order/order.presentation.d.ts.map +1 -0
  171. package/dist/order/order.presentation.js +2 -1
  172. package/dist/order/order.presentation.js.map +1 -0
  173. package/dist/order/order.schema.d.ts +41 -40
  174. package/dist/order/order.schema.d.ts.map +1 -0
  175. package/dist/order/order.schema.js +32 -33
  176. package/dist/order/order.schema.js.map +1 -0
  177. package/dist/payout/payout.contracts.d.ts +26 -25
  178. package/dist/payout/payout.contracts.d.ts.map +1 -0
  179. package/dist/payout/payout.contracts.js +2 -1
  180. package/dist/payout/payout.contracts.js.map +1 -0
  181. package/dist/payout/payout.enum.d.ts +4 -3
  182. package/dist/payout/payout.enum.d.ts.map +1 -0
  183. package/dist/payout/payout.enum.js +4 -4
  184. package/dist/payout/payout.enum.js.map +1 -0
  185. package/dist/payout/payout.event.d.ts +19 -18
  186. package/dist/payout/payout.event.d.ts.map +1 -0
  187. package/dist/payout/payout.event.js +18 -19
  188. package/dist/payout/payout.event.js.map +1 -0
  189. package/dist/payout/payout.presentation.d.ts +2 -1
  190. package/dist/payout/payout.presentation.d.ts.map +1 -0
  191. package/dist/payout/payout.presentation.js +2 -1
  192. package/dist/payout/payout.presentation.js.map +1 -0
  193. package/dist/payout/payout.schema.d.ts +39 -38
  194. package/dist/payout/payout.schema.d.ts.map +1 -0
  195. package/dist/payout/payout.schema.js +23 -24
  196. package/dist/payout/payout.schema.js.map +1 -0
  197. package/dist/product/product.contracts.d.ts +70 -69
  198. package/dist/product/product.contracts.d.ts.map +1 -0
  199. package/dist/product/product.contracts.js +2 -1
  200. package/dist/product/product.contracts.js.map +1 -0
  201. package/dist/product/product.enum.d.ts +4 -3
  202. package/dist/product/product.enum.d.ts.map +1 -0
  203. package/dist/product/product.enum.js +4 -4
  204. package/dist/product/product.enum.js.map +1 -0
  205. package/dist/product/product.event.d.ts +22 -21
  206. package/dist/product/product.event.d.ts.map +1 -0
  207. package/dist/product/product.event.js +21 -22
  208. package/dist/product/product.event.js.map +1 -0
  209. package/dist/product/product.presentation.d.ts +2 -1
  210. package/dist/product/product.presentation.d.ts.map +1 -0
  211. package/dist/product/product.presentation.js +2 -1
  212. package/dist/product/product.presentation.js.map +1 -0
  213. package/dist/product/product.schema.d.ts +54 -53
  214. package/dist/product/product.schema.d.ts.map +1 -0
  215. package/dist/product/product.schema.js +37 -38
  216. package/dist/product/product.schema.js.map +1 -0
  217. package/dist/review/review.contracts.d.ts +61 -60
  218. package/dist/review/review.contracts.d.ts.map +1 -0
  219. package/dist/review/review.contracts.js +2 -1
  220. package/dist/review/review.contracts.js.map +1 -0
  221. package/dist/review/review.enum.d.ts +4 -3
  222. package/dist/review/review.enum.d.ts.map +1 -0
  223. package/dist/review/review.enum.js +4 -4
  224. package/dist/review/review.enum.js.map +1 -0
  225. package/dist/review/review.event.d.ts +17 -16
  226. package/dist/review/review.event.d.ts.map +1 -0
  227. package/dist/review/review.event.js +16 -17
  228. package/dist/review/review.event.js.map +1 -0
  229. package/dist/review/review.presentation.d.ts +2 -1
  230. package/dist/review/review.presentation.d.ts.map +1 -0
  231. package/dist/review/review.presentation.js +2 -1
  232. package/dist/review/review.presentation.js.map +1 -0
  233. package/dist/review/review.schema.d.ts +47 -46
  234. package/dist/review/review.schema.d.ts.map +1 -0
  235. package/dist/review/review.schema.js +32 -33
  236. package/dist/review/review.schema.js.map +1 -0
  237. package/dist/store/store.contracts.d.ts +35 -34
  238. package/dist/store/store.contracts.d.ts.map +1 -0
  239. package/dist/store/store.contracts.js +2 -1
  240. package/dist/store/store.contracts.js.map +1 -0
  241. package/dist/store/store.enum.d.ts +4 -3
  242. package/dist/store/store.enum.d.ts.map +1 -0
  243. package/dist/store/store.enum.js +4 -4
  244. package/dist/store/store.enum.js.map +1 -0
  245. package/dist/store/store.event.d.ts +16 -15
  246. package/dist/store/store.event.d.ts.map +1 -0
  247. package/dist/store/store.event.js +15 -16
  248. package/dist/store/store.event.js.map +1 -0
  249. package/dist/store/store.presentation.d.ts +2 -1
  250. package/dist/store/store.presentation.d.ts.map +1 -0
  251. package/dist/store/store.presentation.js +2 -1
  252. package/dist/store/store.presentation.js.map +1 -0
  253. package/dist/store/store.schema.d.ts +22 -21
  254. package/dist/store/store.schema.d.ts.map +1 -0
  255. package/dist/store/store.schema.js +21 -22
  256. package/dist/store/store.schema.js.map +1 -0
  257. package/package.json +14 -13
  258. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  259. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  260. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  261. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  262. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  263. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  264. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  265. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  266. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  267. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  268. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  269. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  270. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  271. package/dist/libs/schema/dist/EnumType.js +0 -56
  272. package/dist/libs/schema/dist/FieldType.js +0 -49
  273. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  274. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  275. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  276. package/dist/libs/schema/dist/entity/index.js +0 -2
  277. package/dist/libs/schema/dist/entity/types.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"balances.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/integrations/openbanking/contracts/balances.js"],"sourcesContent":["import { E5, x8 } from \"../../../schema/dist/index.js\";\nimport { defineCommand, defineQuery } from \"../../../spec.js\";\nimport { AccountBalanceRecord } from \"../models.js\";\nimport { OPENBANKING_TELEMETRY_EVENTS } from \"../telemetry.js\";\n\n//#region src/integrations/openbanking/contracts/balances.ts\nconst OpenBankingGetBalancesInput = new x8({\n\tname: \"OpenBankingGetBalancesInput\",\n\tdescription: \"Parameters for retrieving bank account balances from the canonical ledger.\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tbalanceTypes: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisArray: true,\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingGetBalancesOutput = new x8({\n\tname: \"OpenBankingGetBalancesOutput\",\n\tdescription: \"Canonical balances for a bank account.\",\n\tfields: {\n\t\tbalances: {\n\t\t\ttype: AccountBalanceRecord,\n\t\t\tisOptional: false,\n\t\t\tisArray: true\n\t\t},\n\t\tasOf: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingRefreshBalancesInput = new x8({\n\tname: \"OpenBankingRefreshBalancesInput\",\n\tdescription: \"Command payload to refresh balances for a bank account via the open banking provider.\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbalanceTypes: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisArray: true,\n\t\t\tisOptional: true\n\t\t},\n\t\tforceRefresh: {\n\t\t\ttype: E5.Boolean(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingRefreshBalancesOutput = new x8({\n\tname: \"OpenBankingRefreshBalancesOutput\",\n\tdescription: \"Result of a balance refresh against the open banking provider.\",\n\tfields: {\n\t\tbalances: {\n\t\t\ttype: AccountBalanceRecord,\n\t\t\tisOptional: false,\n\t\t\tisArray: true\n\t\t},\n\t\trefreshedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\terrors: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisArray: true,\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingGetBalances = defineQuery({\n\tmeta: {\n\t\tname: \"openbanking.balances.get\",\n\t\tversion: 1,\n\t\tdescription: \"Retrieve the latest cached balances for a bank account.\",\n\t\tgoal: \"Expose current and available balances required by dashboards and analytics.\",\n\t\tcontext: \"Used by Pocket Family Office UI surfaces and automation steps that require balance totals prior to generating summaries.\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\n\t\t\t\"open-banking\",\n\t\t\t\"powens\",\n\t\t\t\"balances\"\n\t\t],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: OpenBankingGetBalancesInput,\n\t\toutput: OpenBankingGetBalancesOutput\n\t},\n\tpolicy: { auth: \"user\" }\n});\nconst OpenBankingRefreshBalances = defineCommand({\n\tmeta: {\n\t\tname: \"openbanking.balances.refresh\",\n\t\tversion: 1,\n\t\tdescription: \"Refresh balances for a bank account via the configured open banking provider.\",\n\t\tgoal: \"Ensure canonical balance records reflect the latest values from Powens.\",\n\t\tcontext: \"Triggered by scheduled workflows before generating summaries or forecasting cashflow.\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\n\t\t\t\"open-banking\",\n\t\t\t\"powens\",\n\t\t\t\"balances\"\n\t\t],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: OpenBankingRefreshBalancesInput,\n\t\toutput: OpenBankingRefreshBalancesOutput\n\t},\n\tpolicy: { auth: \"admin\" },\n\ttelemetry: {\n\t\tsuccess: {\n\t\t\tevent: { name: OPENBANKING_TELEMETRY_EVENTS.balancesRefreshed },\n\t\t\tproperties: ({ input, output }) => {\n\t\t\t\tconst payload = input;\n\t\t\t\tconst result = output;\n\t\t\t\treturn {\n\t\t\t\t\ttenantId: payload?.tenantId,\n\t\t\t\t\taccountId: payload?.accountId,\n\t\t\t\t\trefreshedAt: result?.refreshedAt,\n\t\t\t\t\tbalanceCount: Array.isArray(result?.balances) ? result?.balances.length : void 0\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\tfailure: {\n\t\t\tevent: { name: OPENBANKING_TELEMETRY_EVENTS.balancesRefreshFailed },\n\t\t\tproperties: ({ input, error }) => {\n\t\t\t\tconst payload = input;\n\t\t\t\treturn {\n\t\t\t\t\ttenantId: payload?.tenantId,\n\t\t\t\t\taccountId: payload?.accountId,\n\t\t\t\t\terror: error instanceof Error ? error.message : String(error ?? \"unknown\")\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n});\nconst openBankingBalanceContracts = {\n\tOpenBankingGetBalances,\n\tOpenBankingRefreshBalances\n};\nfunction registerOpenBankingBalanceContracts(registry) {\n\treturn registry.register(OpenBankingGetBalances).register(OpenBankingRefreshBalances);\n}\n\n//#endregion\nexport { OpenBankingGetBalances, OpenBankingRefreshBalances, openBankingBalanceContracts, registerOpenBankingBalanceContracts };\n//# sourceMappingURL=balances.js.map"],"mappings":";;;;;;AAMA,MAAM,8BAA8B,IAAI,GAAG;CAC1C,MAAM;CACN,aAAa;CACb,QAAQ;EACP,UAAU;GACT,MAAM,GAAG,IAAI;GACb,YAAY;GACZ;EACD,WAAW;GACV,MAAM,GAAG,IAAI;GACb,YAAY;GACZ;EACD,cAAc;GACb,MAAM,GAAG,iBAAiB;GAC1B,SAAS;GACT,YAAY;GACZ;EACD;CACD,CAAC;AACF,MAAM,+BAA+B,IAAI,GAAG;CAC3C,MAAM;CACN,aAAa;CACb,QAAQ;EACP,UAAU;GACT,MAAM;GACN,YAAY;GACZ,SAAS;GACT;EACD,MAAM;GACL,MAAM,GAAG,UAAU;GACnB,YAAY;GACZ;EACD;CACD,CAAC;AACF,MAAM,kCAAkC,IAAI,GAAG;CAC9C,MAAM;CACN,aAAa;CACb,QAAQ;EACP,UAAU;GACT,MAAM,GAAG,IAAI;GACb,YAAY;GACZ;EACD,WAAW;GACV,MAAM,GAAG,IAAI;GACb,YAAY;GACZ;EACD,cAAc;GACb,MAAM,GAAG,IAAI;GACb,YAAY;GACZ;EACD,cAAc;GACb,MAAM,GAAG,iBAAiB;GAC1B,SAAS;GACT,YAAY;GACZ;EACD,cAAc;GACb,MAAM,GAAG,SAAS;GAClB,YAAY;GACZ;EACD;CACD,CAAC;AACF,MAAM,mCAAmC,IAAI,GAAG;CAC/C,MAAM;CACN,aAAa;CACb,QAAQ;EACP,UAAU;GACT,MAAM;GACN,YAAY;GACZ,SAAS;GACT;EACD,aAAa;GACZ,MAAM,GAAG,UAAU;GACnB,YAAY;GACZ;EACD,QAAQ;GACP,MAAM,GAAG,iBAAiB;GAC1B,SAAS;GACT,YAAY;GACZ;EACD;CACD,CAAC;AACF,MAAM,yBAAyB,YAAY;CAC1C,MAAM;EACL,MAAM;EACN,SAAS;EACT,aAAa;EACb,MAAM;EACN,SAAS;EACT,QAAQ,CAAC,mBAAmB;EAC5B,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW;EACX;CACD,IAAI;EACH,OAAO;EACP,QAAQ;EACR;CACD,QAAQ,EAAE,MAAM,QAAQ;CACxB,CAAC;AACF,MAAM,6BAA6B,cAAc;CAChD,MAAM;EACL,MAAM;EACN,SAAS;EACT,aAAa;EACb,MAAM;EACN,SAAS;EACT,QAAQ,CAAC,mBAAmB;EAC5B,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW;EACX;CACD,IAAI;EACH,OAAO;EACP,QAAQ;EACR;CACD,QAAQ,EAAE,MAAM,SAAS;CACzB,WAAW;EACV,SAAS;GACR,OAAO,EAAE,MAAM,6BAA6B,mBAAmB;GAC/D,aAAa,EAAE,OAAO,aAAa;IAClC,MAAM,UAAU;IAChB,MAAM,SAAS;AACf,WAAO;KACN,UAAU,SAAS;KACnB,WAAW,SAAS;KACpB,aAAa,QAAQ;KACrB,cAAc,MAAM,QAAQ,QAAQ,SAAS,GAAG,QAAQ,SAAS,SAAS,KAAK;KAC/E;;GAEF;EACD,SAAS;GACR,OAAO,EAAE,MAAM,6BAA6B,uBAAuB;GACnE,aAAa,EAAE,OAAO,YAAY;IACjC,MAAM,UAAU;AAChB,WAAO;KACN,UAAU,SAAS;KACnB,WAAW,SAAS;KACpB,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,SAAS,UAAU;KAC1E;;GAEF;EACD;CACD,CAAC"}
@@ -1,58 +1,56 @@
1
1
  import { defineCommand, defineQuery } from "../../../spec.js";
2
- import { SchemaModel } from "../../../schema/dist/SchemaModel.js";
3
- import { ScalarTypeEnum } from "../../../schema/dist/ScalarTypeEnum.js";
4
- import "../../../schema/dist/index.js";
2
+ import { E5, x8 } from "../../../schema/dist/index.js";
5
3
  import { BankTransactionRecord } from "../models.js";
6
4
  import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
7
5
 
8
6
  //#region ../../libs/contracts/dist/integrations/openbanking/contracts/transactions.js
9
- const OpenBankingListTransactionsInput = new SchemaModel({
7
+ const OpenBankingListTransactionsInput = new x8({
10
8
  name: "OpenBankingListTransactionsInput",
11
9
  description: "Parameters for listing bank transactions from the canonical ledger.",
12
10
  fields: {
13
11
  tenantId: {
14
- type: ScalarTypeEnum.ID(),
12
+ type: E5.ID(),
15
13
  isOptional: false
16
14
  },
17
15
  accountId: {
18
- type: ScalarTypeEnum.ID(),
16
+ type: E5.ID(),
19
17
  isOptional: false
20
18
  },
21
19
  from: {
22
- type: ScalarTypeEnum.DateTime(),
20
+ type: E5.DateTime(),
23
21
  isOptional: true
24
22
  },
25
23
  to: {
26
- type: ScalarTypeEnum.DateTime(),
24
+ type: E5.DateTime(),
27
25
  isOptional: true
28
26
  },
29
27
  cursor: {
30
- type: ScalarTypeEnum.String_unsecure(),
28
+ type: E5.String_unsecure(),
31
29
  isOptional: true
32
30
  },
33
31
  pageSize: {
34
- type: ScalarTypeEnum.Int_unsecure(),
32
+ type: E5.Int_unsecure(),
35
33
  isOptional: true
36
34
  },
37
35
  direction: {
38
- type: ScalarTypeEnum.String_unsecure(),
36
+ type: E5.String_unsecure(),
39
37
  isOptional: true
40
38
  },
41
39
  minimumAmount: {
42
- type: ScalarTypeEnum.Float_unsecure(),
40
+ type: E5.Float_unsecure(),
43
41
  isOptional: true
44
42
  },
45
43
  maximumAmount: {
46
- type: ScalarTypeEnum.Float_unsecure(),
44
+ type: E5.Float_unsecure(),
47
45
  isOptional: true
48
46
  },
49
47
  category: {
50
- type: ScalarTypeEnum.String_unsecure(),
48
+ type: E5.String_unsecure(),
51
49
  isOptional: true
52
50
  }
53
51
  }
54
52
  });
55
- const OpenBankingListTransactionsOutput = new SchemaModel({
53
+ const OpenBankingListTransactionsOutput = new x8({
56
54
  name: "OpenBankingListTransactionsOutput",
57
55
  description: "Paginated list of transactions for a bank account.",
58
56
  fields: {
@@ -62,75 +60,75 @@ const OpenBankingListTransactionsOutput = new SchemaModel({
62
60
  isArray: true
63
61
  },
64
62
  nextCursor: {
65
- type: ScalarTypeEnum.String_unsecure(),
63
+ type: E5.String_unsecure(),
66
64
  isOptional: true
67
65
  },
68
66
  hasMore: {
69
- type: ScalarTypeEnum.Boolean(),
67
+ type: E5.Boolean(),
70
68
  isOptional: true
71
69
  }
72
70
  }
73
71
  });
74
- const OpenBankingSyncTransactionsInput = new SchemaModel({
72
+ const OpenBankingSyncTransactionsInput = new x8({
75
73
  name: "OpenBankingSyncTransactionsInput",
76
74
  description: "Command payload to synchronise transactions from the open banking provider into the canonical ledger.",
77
75
  fields: {
78
76
  tenantId: {
79
- type: ScalarTypeEnum.ID(),
77
+ type: E5.ID(),
80
78
  isOptional: false
81
79
  },
82
80
  accountId: {
83
- type: ScalarTypeEnum.ID(),
81
+ type: E5.ID(),
84
82
  isOptional: false
85
83
  },
86
84
  from: {
87
- type: ScalarTypeEnum.DateTime(),
85
+ type: E5.DateTime(),
88
86
  isOptional: true
89
87
  },
90
88
  to: {
91
- type: ScalarTypeEnum.DateTime(),
89
+ type: E5.DateTime(),
92
90
  isOptional: true
93
91
  },
94
92
  connectionId: {
95
- type: ScalarTypeEnum.ID(),
93
+ type: E5.ID(),
96
94
  isOptional: true
97
95
  },
98
96
  includePending: {
99
- type: ScalarTypeEnum.Boolean(),
97
+ type: E5.Boolean(),
100
98
  isOptional: true
101
99
  },
102
100
  backfillDays: {
103
- type: ScalarTypeEnum.Int_unsecure(),
101
+ type: E5.Int_unsecure(),
104
102
  isOptional: true
105
103
  }
106
104
  }
107
105
  });
108
- const OpenBankingSyncTransactionsOutput = new SchemaModel({
106
+ const OpenBankingSyncTransactionsOutput = new x8({
109
107
  name: "OpenBankingSyncTransactionsOutput",
110
108
  description: "Result of a transaction synchronisation run.",
111
109
  fields: {
112
110
  synced: {
113
- type: ScalarTypeEnum.Int_unsecure(),
111
+ type: E5.Int_unsecure(),
114
112
  isOptional: false
115
113
  },
116
114
  failed: {
117
- type: ScalarTypeEnum.Int_unsecure(),
115
+ type: E5.Int_unsecure(),
118
116
  isOptional: false
119
117
  },
120
118
  earliestSyncedAt: {
121
- type: ScalarTypeEnum.DateTime(),
119
+ type: E5.DateTime(),
122
120
  isOptional: true
123
121
  },
124
122
  latestSyncedAt: {
125
- type: ScalarTypeEnum.DateTime(),
123
+ type: E5.DateTime(),
126
124
  isOptional: true
127
125
  },
128
126
  nextSinceToken: {
129
- type: ScalarTypeEnum.String_unsecure(),
127
+ type: E5.String_unsecure(),
130
128
  isOptional: true
131
129
  },
132
130
  errors: {
133
- type: ScalarTypeEnum.String_unsecure(),
131
+ type: E5.String_unsecure(),
134
132
  isArray: true,
135
133
  isOptional: true
136
134
  }
@@ -207,4 +205,5 @@ const OpenBankingSyncTransactions = defineCommand({
207
205
  }
208
206
  });
209
207
 
210
- //#endregion
208
+ //#endregion
209
+ //# sourceMappingURL=transactions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/integrations/openbanking/contracts/transactions.js"],"sourcesContent":["import { E5, x8 } from \"../../../schema/dist/index.js\";\nimport { defineCommand, defineQuery } from \"../../../spec.js\";\nimport { BankTransactionRecord } from \"../models.js\";\nimport { OPENBANKING_TELEMETRY_EVENTS } from \"../telemetry.js\";\n\n//#region src/integrations/openbanking/contracts/transactions.ts\nconst OpenBankingListTransactionsInput = new x8({\n\tname: \"OpenBankingListTransactionsInput\",\n\tdescription: \"Parameters for listing bank transactions from the canonical ledger.\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tfrom: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tto: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcursor: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tpageSize: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tdirection: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tminimumAmount: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tmaximumAmount: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcategory: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingListTransactionsOutput = new x8({\n\tname: \"OpenBankingListTransactionsOutput\",\n\tdescription: \"Paginated list of transactions for a bank account.\",\n\tfields: {\n\t\ttransactions: {\n\t\t\ttype: BankTransactionRecord,\n\t\t\tisOptional: false,\n\t\t\tisArray: true\n\t\t},\n\t\tnextCursor: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\thasMore: {\n\t\t\ttype: E5.Boolean(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingSyncTransactionsInput = new x8({\n\tname: \"OpenBankingSyncTransactionsInput\",\n\tdescription: \"Command payload to synchronise transactions from the open banking provider into the canonical ledger.\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tfrom: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tto: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: true\n\t\t},\n\t\tincludePending: {\n\t\t\ttype: E5.Boolean(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbackfillDays: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingSyncTransactionsOutput = new x8({\n\tname: \"OpenBankingSyncTransactionsOutput\",\n\tdescription: \"Result of a transaction synchronisation run.\",\n\tfields: {\n\t\tsynced: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tfailed: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tearliestSyncedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tlatestSyncedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tnextSinceToken: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\terrors: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisArray: true,\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst OpenBankingListTransactions = defineQuery({\n\tmeta: {\n\t\tname: \"openbanking.transactions.list\",\n\t\tversion: 1,\n\t\tdescription: \"List bank transactions that have been normalised into the canonical ledger.\",\n\t\tgoal: \"Allow downstream analytics and UI surfaces to page through canonical bank transactions.\",\n\t\tcontext: \"Used by Pocket Family Office dashboards, reconciliation workflows, and analytics data views.\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\n\t\t\t\"open-banking\",\n\t\t\t\"powens\",\n\t\t\t\"transactions\"\n\t\t],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: OpenBankingListTransactionsInput,\n\t\toutput: OpenBankingListTransactionsOutput\n\t},\n\tpolicy: { auth: \"user\" }\n});\nconst OpenBankingSyncTransactions = defineCommand({\n\tmeta: {\n\t\tname: \"openbanking.transactions.sync\",\n\t\tversion: 1,\n\t\tdescription: \"Synchronise transactions for a bank account by calling the configured open banking provider.\",\n\t\tgoal: \"Ensure the canonical transaction ledger stays aligned with the external provider.\",\n\t\tcontext: \"Triggered by scheduled workflows or on-demand actions when activity is expected on an account.\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\n\t\t\t\"open-banking\",\n\t\t\t\"powens\",\n\t\t\t\"transactions\"\n\t\t],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: OpenBankingSyncTransactionsInput,\n\t\toutput: OpenBankingSyncTransactionsOutput\n\t},\n\tpolicy: { auth: \"admin\" },\n\ttelemetry: {\n\t\tsuccess: {\n\t\t\tevent: { name: OPENBANKING_TELEMETRY_EVENTS.transactionsSynced },\n\t\t\tproperties: ({ input, output }) => {\n\t\t\t\tconst payload = input;\n\t\t\t\tconst result = output;\n\t\t\t\treturn {\n\t\t\t\t\ttenantId: payload?.tenantId,\n\t\t\t\t\taccountId: payload?.accountId,\n\t\t\t\t\tsynced: result?.synced,\n\t\t\t\t\tfailed: result?.failed,\n\t\t\t\t\tearliestSyncedAt: result?.earliestSyncedAt,\n\t\t\t\t\tlatestSyncedAt: result?.latestSyncedAt\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\tfailure: {\n\t\t\tevent: { name: OPENBANKING_TELEMETRY_EVENTS.transactionsSyncFailed },\n\t\t\tproperties: ({ input, error }) => {\n\t\t\t\tconst payload = input;\n\t\t\t\treturn {\n\t\t\t\t\ttenantId: payload?.tenantId,\n\t\t\t\t\taccountId: payload?.accountId,\n\t\t\t\t\terror: error instanceof Error ? error.message : String(error ?? \"unknown\")\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n});\nconst openBankingTransactionContracts = {\n\tOpenBankingListTransactions,\n\tOpenBankingSyncTransactions\n};\nfunction registerOpenBankingTransactionContracts(registry) {\n\treturn registry.register(OpenBankingListTransactions).register(OpenBankingSyncTransactions);\n}\n\n//#endregion\nexport { OpenBankingListTransactions, OpenBankingSyncTransactions, openBankingTransactionContracts, registerOpenBankingTransactionContracts };\n//# sourceMappingURL=transactions.js.map"],"mappings":"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"}
@@ -1,242 +1,241 @@
1
- import { SchemaModel } from "../../schema/dist/SchemaModel.js";
2
- import { ScalarTypeEnum } from "../../schema/dist/ScalarTypeEnum.js";
3
- import "../../schema/dist/index.js";
1
+ import { E5, x8 } from "../../schema/dist/index.js";
4
2
 
5
3
  //#region ../../libs/contracts/dist/integrations/openbanking/models.js
6
- const BankAccountRecord = new SchemaModel({
4
+ const BankAccountRecord = new x8({
7
5
  name: "BankAccountRecord",
8
6
  description: "Canonical representation of a bank account synced from an open banking provider.",
9
7
  fields: {
10
8
  id: {
11
- type: ScalarTypeEnum.ID(),
9
+ type: E5.ID(),
12
10
  isOptional: false
13
11
  },
14
12
  tenantId: {
15
- type: ScalarTypeEnum.ID(),
13
+ type: E5.ID(),
16
14
  isOptional: false
17
15
  },
18
16
  userId: {
19
- type: ScalarTypeEnum.ID(),
17
+ type: E5.ID(),
20
18
  isOptional: false
21
19
  },
22
20
  connectionId: {
23
- type: ScalarTypeEnum.ID(),
21
+ type: E5.ID(),
24
22
  isOptional: false
25
23
  },
26
24
  externalId: {
27
- type: ScalarTypeEnum.NonEmptyString(),
25
+ type: E5.NonEmptyString(),
28
26
  isOptional: false
29
27
  },
30
28
  institutionId: {
31
- type: ScalarTypeEnum.NonEmptyString(),
29
+ type: E5.NonEmptyString(),
32
30
  isOptional: false
33
31
  },
34
32
  institutionName: {
35
- type: ScalarTypeEnum.NonEmptyString(),
33
+ type: E5.NonEmptyString(),
36
34
  isOptional: false
37
35
  },
38
36
  institutionLogoUrl: {
39
- type: ScalarTypeEnum.URL(),
37
+ type: E5.URL(),
40
38
  isOptional: true
41
39
  },
42
40
  iban: {
43
- type: ScalarTypeEnum.String_unsecure(),
41
+ type: E5.String_unsecure(),
44
42
  isOptional: true
45
43
  },
46
44
  bic: {
47
- type: ScalarTypeEnum.String_unsecure(),
45
+ type: E5.String_unsecure(),
48
46
  isOptional: true
49
47
  },
50
48
  accountType: {
51
- type: ScalarTypeEnum.NonEmptyString(),
49
+ type: E5.NonEmptyString(),
52
50
  isOptional: false
53
51
  },
54
52
  currency: {
55
- type: ScalarTypeEnum.Currency(),
53
+ type: E5.Currency(),
56
54
  isOptional: false
57
55
  },
58
56
  displayName: {
59
- type: ScalarTypeEnum.NonEmptyString(),
57
+ type: E5.NonEmptyString(),
60
58
  isOptional: false
61
59
  },
62
60
  accountNumberMasked: {
63
- type: ScalarTypeEnum.String_unsecure(),
61
+ type: E5.String_unsecure(),
64
62
  isOptional: true
65
63
  },
66
64
  productCode: {
67
- type: ScalarTypeEnum.String_unsecure(),
65
+ type: E5.String_unsecure(),
68
66
  isOptional: true
69
67
  },
70
68
  balance: {
71
- type: ScalarTypeEnum.Float_unsecure(),
69
+ type: E5.Float_unsecure(),
72
70
  isOptional: true
73
71
  },
74
72
  availableBalance: {
75
- type: ScalarTypeEnum.Float_unsecure(),
73
+ type: E5.Float_unsecure(),
76
74
  isOptional: true
77
75
  },
78
76
  lastSyncedAt: {
79
- type: ScalarTypeEnum.DateTime(),
77
+ type: E5.DateTime(),
80
78
  isOptional: false
81
79
  },
82
80
  createdAt: {
83
- type: ScalarTypeEnum.DateTime(),
81
+ type: E5.DateTime(),
84
82
  isOptional: false
85
83
  },
86
84
  updatedAt: {
87
- type: ScalarTypeEnum.DateTime(),
85
+ type: E5.DateTime(),
88
86
  isOptional: false
89
87
  },
90
88
  metadata: {
91
- type: ScalarTypeEnum.JSONObject(),
89
+ type: E5.JSONObject(),
92
90
  isOptional: true
93
91
  }
94
92
  }
95
93
  });
96
- const BankTransactionRecord = new SchemaModel({
94
+ const BankTransactionRecord = new x8({
97
95
  name: "BankTransactionRecord",
98
96
  description: "Canonical transaction entry mapped from Powens into the open banking ledger.",
99
97
  fields: {
100
98
  id: {
101
- type: ScalarTypeEnum.ID(),
99
+ type: E5.ID(),
102
100
  isOptional: false
103
101
  },
104
102
  accountId: {
105
- type: ScalarTypeEnum.ID(),
103
+ type: E5.ID(),
106
104
  isOptional: false
107
105
  },
108
106
  tenantId: {
109
- type: ScalarTypeEnum.ID(),
107
+ type: E5.ID(),
110
108
  isOptional: false
111
109
  },
112
110
  connectionId: {
113
- type: ScalarTypeEnum.ID(),
111
+ type: E5.ID(),
114
112
  isOptional: false
115
113
  },
116
114
  externalId: {
117
- type: ScalarTypeEnum.NonEmptyString(),
115
+ type: E5.NonEmptyString(),
118
116
  isOptional: false
119
117
  },
120
118
  amount: {
121
- type: ScalarTypeEnum.Float_unsecure(),
119
+ type: E5.Float_unsecure(),
122
120
  isOptional: false
123
121
  },
124
122
  currency: {
125
- type: ScalarTypeEnum.Currency(),
123
+ type: E5.Currency(),
126
124
  isOptional: false
127
125
  },
128
126
  date: {
129
- type: ScalarTypeEnum.DateTime(),
127
+ type: E5.DateTime(),
130
128
  isOptional: false
131
129
  },
132
130
  bookingDate: {
133
- type: ScalarTypeEnum.DateTime(),
131
+ type: E5.DateTime(),
134
132
  isOptional: true
135
133
  },
136
134
  valueDate: {
137
- type: ScalarTypeEnum.DateTime(),
135
+ type: E5.DateTime(),
138
136
  isOptional: true
139
137
  },
140
138
  description: {
141
- type: ScalarTypeEnum.String_unsecure(),
139
+ type: E5.String_unsecure(),
142
140
  isOptional: true
143
141
  },
144
142
  counterpartyName: {
145
- type: ScalarTypeEnum.String_unsecure(),
143
+ type: E5.String_unsecure(),
146
144
  isOptional: true
147
145
  },
148
146
  counterpartyAccount: {
149
- type: ScalarTypeEnum.String_unsecure(),
147
+ type: E5.String_unsecure(),
150
148
  isOptional: true
151
149
  },
152
150
  merchantCategoryCode: {
153
- type: ScalarTypeEnum.String_unsecure(),
151
+ type: E5.String_unsecure(),
154
152
  isOptional: true
155
153
  },
156
154
  rawCategory: {
157
- type: ScalarTypeEnum.String_unsecure(),
155
+ type: E5.String_unsecure(),
158
156
  isOptional: true
159
157
  },
160
158
  standardizedCategory: {
161
- type: ScalarTypeEnum.String_unsecure(),
159
+ type: E5.String_unsecure(),
162
160
  isOptional: true
163
161
  },
164
162
  transactionType: {
165
- type: ScalarTypeEnum.NonEmptyString(),
163
+ type: E5.NonEmptyString(),
166
164
  isOptional: false
167
165
  },
168
166
  status: {
169
- type: ScalarTypeEnum.NonEmptyString(),
167
+ type: E5.NonEmptyString(),
170
168
  isOptional: false
171
169
  },
172
170
  runningBalance: {
173
- type: ScalarTypeEnum.Float_unsecure(),
171
+ type: E5.Float_unsecure(),
174
172
  isOptional: true
175
173
  },
176
174
  metadata: {
177
- type: ScalarTypeEnum.JSONObject(),
175
+ type: E5.JSONObject(),
178
176
  isOptional: true
179
177
  },
180
178
  createdAt: {
181
- type: ScalarTypeEnum.DateTime(),
179
+ type: E5.DateTime(),
182
180
  isOptional: false
183
181
  },
184
182
  updatedAt: {
185
- type: ScalarTypeEnum.DateTime(),
183
+ type: E5.DateTime(),
186
184
  isOptional: false
187
185
  }
188
186
  }
189
187
  });
190
- const AccountBalanceRecord = new SchemaModel({
188
+ const AccountBalanceRecord = new x8({
191
189
  name: "AccountBalanceRecord",
192
190
  description: "Canonical balance snapshot computed from Powens balance payloads.",
193
191
  fields: {
194
192
  id: {
195
- type: ScalarTypeEnum.ID(),
193
+ type: E5.ID(),
196
194
  isOptional: false
197
195
  },
198
196
  accountId: {
199
- type: ScalarTypeEnum.ID(),
197
+ type: E5.ID(),
200
198
  isOptional: false
201
199
  },
202
200
  tenantId: {
203
- type: ScalarTypeEnum.ID(),
201
+ type: E5.ID(),
204
202
  isOptional: false
205
203
  },
206
204
  connectionId: {
207
- type: ScalarTypeEnum.ID(),
205
+ type: E5.ID(),
208
206
  isOptional: false
209
207
  },
210
208
  balanceType: {
211
- type: ScalarTypeEnum.NonEmptyString(),
209
+ type: E5.NonEmptyString(),
212
210
  isOptional: false
213
211
  },
214
212
  currentBalance: {
215
- type: ScalarTypeEnum.Float_unsecure(),
213
+ type: E5.Float_unsecure(),
216
214
  isOptional: false
217
215
  },
218
216
  availableBalance: {
219
- type: ScalarTypeEnum.Float_unsecure(),
217
+ type: E5.Float_unsecure(),
220
218
  isOptional: true
221
219
  },
222
220
  currency: {
223
- type: ScalarTypeEnum.Currency(),
221
+ type: E5.Currency(),
224
222
  isOptional: false
225
223
  },
226
224
  lastUpdatedAt: {
227
- type: ScalarTypeEnum.DateTime(),
225
+ type: E5.DateTime(),
228
226
  isOptional: false
229
227
  },
230
228
  createdAt: {
231
- type: ScalarTypeEnum.DateTime(),
229
+ type: E5.DateTime(),
232
230
  isOptional: false
233
231
  },
234
232
  metadata: {
235
- type: ScalarTypeEnum.JSONObject(),
233
+ type: E5.JSONObject(),
236
234
  isOptional: true
237
235
  }
238
236
  }
239
237
  });
240
238
 
241
239
  //#endregion
242
- export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
240
+ export { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };
241
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/openbanking/models.js"],"sourcesContent":["import { E5, x8 } from \"../../schema/dist/index.js\";\n\n//#region src/integrations/openbanking/models.ts\nconst BankAccountRecord = new x8({\n\tname: \"BankAccountRecord\",\n\tdescription: \"Canonical representation of a bank account synced from an open banking provider.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tuserId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\texternalId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionName: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tinstitutionLogoUrl: {\n\t\t\ttype: E5.URL(),\n\t\t\tisOptional: true\n\t\t},\n\t\tiban: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbic: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\taccountType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tdisplayName: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountNumberMasked: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tproductCode: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tbalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tavailableBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tlastSyncedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tupdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst BankTransactionRecord = new x8({\n\tname: \"BankTransactionRecord\",\n\tdescription: \"Canonical transaction entry mapped from Powens into the open banking ledger.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\texternalId: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tamount: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tdate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tbookingDate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tvalueDate: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tdescription: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcounterpartyName: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcounterpartyAccount: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tmerchantCategoryCode: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\trawCategory: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tstandardizedCategory: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\ttransactionType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tstatus: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\trunningBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tupdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t}\n\t}\n});\nconst AccountBalanceRecord = new x8({\n\tname: \"AccountBalanceRecord\",\n\tdescription: \"Canonical balance snapshot computed from Powens balance payloads.\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\taccountId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconnectionId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tbalanceType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcurrentBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tavailableBalance: {\n\t\t\ttype: E5.Float_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcurrency: {\n\t\t\ttype: E5.Currency(),\n\t\t\tisOptional: false\n\t\t},\n\t\tlastUpdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: false\n\t\t},\n\t\tmetadata: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\n\n//#endregion\nexport { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord };\n//# sourceMappingURL=models.js.map"],"mappings":"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"}
@@ -10,4 +10,5 @@ const OPENBANKING_TELEMETRY_EVENTS = {
10
10
  };
11
11
 
12
12
  //#endregion
13
- export { OPENBANKING_TELEMETRY_EVENTS };
13
+ export { OPENBANKING_TELEMETRY_EVENTS };
14
+ //# sourceMappingURL=telemetry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/openbanking/telemetry.js"],"sourcesContent":["//#region src/integrations/openbanking/telemetry.ts\nconst OPENBANKING_PII_FIELDS = [\n\t\"iban\",\n\t\"bic\",\n\t\"accountNumberMasked\",\n\t\"accountNumber\",\n\t\"counterpartyName\",\n\t\"counterpartyAccount\",\n\t\"description\",\n\t\"merchantName\",\n\t\"merchantCategoryCode\",\n\t\"reference\"\n];\nconst OPENBANKING_TELEMETRY_EVENTS = {\n\taccountsSynced: \"openbanking.accounts.synced\",\n\taccountsSyncFailed: \"openbanking.accounts.sync_failed\",\n\ttransactionsSynced: \"openbanking.transactions.synced\",\n\ttransactionsSyncFailed: \"openbanking.transactions.sync_failed\",\n\tbalancesRefreshed: \"openbanking.balances.refreshed\",\n\tbalancesRefreshFailed: \"openbanking.balances.refresh_failed\",\n\toverviewGenerated: \"openbanking.overview.generated\"\n};\nfunction redactOpenBankingTelemetryPayload(payload) {\n\tconst redacted = {};\n\tfor (const [key, value] of Object.entries(payload)) if (OPENBANKING_PII_FIELDS.includes(key)) redacted[key] = maskValue(value);\n\telse if (Array.isArray(value)) redacted[key] = value.map((item) => typeof item === \"object\" && item !== null ? redactOpenBankingTelemetryPayload(item) : item);\n\telse if (typeof value === \"object\" && value !== null) redacted[key] = redactOpenBankingTelemetryPayload(value);\n\telse redacted[key] = value;\n\treturn redacted;\n}\nfunction maskValue(value) {\n\tif (value == null) return \"\";\n\tconst str = String(value);\n\tif (str.length <= 4) return \"*\".repeat(str.length);\n\treturn `${\"*\".repeat(Math.max(str.length - 4, 0))}${str.slice(-4)}`;\n}\n\n//#endregion\nexport { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, redactOpenBankingTelemetryPayload };\n//# sourceMappingURL=telemetry.js.map"],"mappings":";AAaA,MAAM,+BAA+B;CACpC,gBAAgB;CAChB,oBAAoB;CACpB,oBAAoB;CACpB,wBAAwB;CACxB,mBAAmB;CACnB,uBAAuB;CACvB,mBAAmB;CACnB"}
@@ -49,4 +49,5 @@ const elevenLabsIntegrationSpec = {
49
49
  byokSetup: { setupInstructions: "Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope." }
50
50
  };
51
51
 
52
- //#endregion
52
+ //#endregion
53
+ //# sourceMappingURL=elevenlabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elevenlabs.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/elevenlabs.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/elevenlabs.ts\nconst elevenLabsIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"ai-voice.elevenlabs\",\n\t\tversion: 1,\n\t\tcategory: \"ai-voice\",\n\t\tdisplayName: \"ElevenLabs Voice\",\n\t\ttitle: \"ElevenLabs Text-to-Speech\",\n\t\tdescription: \"ElevenLabs integration for neural voice synthesis and voice catalog access.\",\n\t\tdomain: \"ai\",\n\t\towners: [\"platform.ai\"],\n\t\ttags: [\"voice\", \"tts\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"ai.voice.synthesis\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: { defaultVoiceId: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"Optional default voice identifier for synthesis requests.\"\n\t\t\t} }\n\t\t},\n\t\texample: { defaultVoiceId: \"pNInz6obpgDQGcFmaJgB\" }\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"apiKey\"],\n\t\t\tproperties: { apiKey: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"ElevenLabs API key with text-to-speech permissions.\"\n\t\t\t} }\n\t\t},\n\t\texample: { apiKey: \"eleven-***\" }\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://elevenlabs.io/docs/api-reference/text-to-speech\",\n\tconstraints: { rateLimit: { rpm: 120 } },\n\tbyokSetup: { setupInstructions: \"Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope.\" }\n};\nfunction registerElevenLabsIntegration(registry) {\n\treturn registry.register(elevenLabsIntegrationSpec);\n}\n\n//#endregion\nexport { elevenLabsIntegrationSpec, registerElevenLabsIntegration };\n//# sourceMappingURL=elevenlabs.js.map"],"mappings":";;;AAGA,MAAM,4BAA4B;CACjC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,cAAc;EACvB,MAAM,CAAC,SAAS,MAAM;EACtB,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY,EAAE,gBAAgB;IAC7B,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,gBAAgB,wBAAwB;EACnD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,SAAS;GACpB,YAAY,EAAE,QAAQ;IACrB,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,QAAQ,cAAc;EACjC;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE;CACxC,WAAW,EAAE,mBAAmB,+FAA+F;CAC/H"}
@@ -72,4 +72,5 @@ const gcsStorageIntegrationSpec = {
72
72
  byokSetup: { setupInstructions: "Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store." }
73
73
  };
74
74
 
75
- //#endregion
75
+ //#endregion
76
+ //# sourceMappingURL=gcs-storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gcs-storage.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/gcs-storage.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/gcs-storage.ts\nconst gcsStorageIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"storage.gcs\",\n\t\tversion: 1,\n\t\tcategory: \"storage\",\n\t\tdisplayName: \"Google Cloud Storage\",\n\t\ttitle: \"Google Cloud Storage Buckets\",\n\t\tdescription: \"Google Cloud Storage integration for object storage and retrieval.\",\n\t\tdomain: \"infrastructure\",\n\t\towners: [\"platform.infrastructure\"],\n\t\ttags: [\n\t\t\t\"storage\",\n\t\t\t\"gcs\",\n\t\t\t\"google-cloud\"\n\t\t],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"storage.objects\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"bucket\"],\n\t\t\tproperties: {\n\t\t\t\tbucket: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Primary bucket name used for storing objects.\"\n\t\t\t\t},\n\t\t\t\tprefix: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Optional prefix applied to object keys.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tbucket: \"pfo-tenant-assets\",\n\t\t\tprefix: \"documents/\"\n\t\t}\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: {\n\t\t\t\ttype: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account type field from Google credentials JSON (if provided).\"\n\t\t\t\t},\n\t\t\t\tclient_email: { type: \"string\" },\n\t\t\t\tprivate_key: { type: \"string\" },\n\t\t\t\tproject_id: { type: \"string\" }\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\ttype: \"service_account\",\n\t\t\tclient_email: \"svc-account@example.iam.gserviceaccount.com\",\n\t\t\tprivate_key: \"-----BEGIN PRIVATE KEY-----...\",\n\t\t\tproject_id: \"example-project\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"ping\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://cloud.google.com/storage/docs/apis\",\n\tconstraints: { quotas: { storageGb: 5120 } },\n\tbyokSetup: { setupInstructions: \"Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store.\" }\n};\nfunction registerGcsStorageIntegration(registry) {\n\treturn registry.register(gcsStorageIntegrationSpec);\n}\n\n//#endregion\nexport { gcsStorageIntegrationSpec, registerGcsStorageIntegration };\n//# sourceMappingURL=gcs-storage.js.map"],"mappings":";;;AAGA,MAAM,4BAA4B;CACjC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,0BAA0B;EACnC,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,SAAS;GACpB,YAAY;IACX,QAAQ;KACP,MAAM;KACN,aAAa;KACb;IACD,QAAQ;KACP,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,QAAQ;GACR,QAAQ;GACR;EACD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY;IACX,MAAM;KACL,MAAM;KACN,aAAa;KACb;IACD,cAAc,EAAE,MAAM,UAAU;IAChC,aAAa,EAAE,MAAM,UAAU;IAC/B,YAAY,EAAE,MAAM,UAAU;IAC9B;GACD;EACD,SAAS;GACR,MAAM;GACN,cAAc;GACd,aAAa;GACb,YAAY;GACZ;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,QAAQ,EAAE,WAAW,MAAM,EAAE;CAC5C,WAAW,EAAE,mBAAmB,6HAA6H;CAC7J"}
@@ -84,4 +84,5 @@ const gmailIntegrationSpec = {
84
84
  byokSetup: { setupInstructions: "Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token." }
85
85
  };
86
86
 
87
- //#endregion
87
+ //#endregion
88
+ //# sourceMappingURL=gmail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gmail.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/gmail.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/gmail.ts\nconst gmailIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"email.gmail\",\n\t\tversion: 1,\n\t\tcategory: \"email\",\n\t\tdisplayName: \"Gmail API\",\n\t\ttitle: \"Google Gmail API\",\n\t\tdescription: \"Gmail integration supporting inbound thread ingestion and outbound transactional email.\",\n\t\tdomain: \"communications\",\n\t\towners: [\"platform.messaging\"],\n\t\ttags: [\"email\", \"gmail\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"email.inbound\",\n\t\tversion: 1\n\t}, {\n\t\tkey: \"email.outbound\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: {\n\t\t\t\tlabelIds: {\n\t\t\t\t\ttype: \"array\",\n\t\t\t\t\titems: { type: \"string\" },\n\t\t\t\t\tdescription: \"Optional list of label IDs to scope inbound sync.\"\n\t\t\t\t},\n\t\t\t\tincludeSpamTrash: {\n\t\t\t\t\ttype: \"boolean\",\n\t\t\t\t\tdescription: \"Whether to include spam or trash messages during sync.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tlabelIds: [\"INBOX\"],\n\t\t\tincludeSpamTrash: false\n\t\t}\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\n\t\t\t\t\"clientId\",\n\t\t\t\t\"clientSecret\",\n\t\t\t\t\"refreshToken\"\n\t\t\t],\n\t\t\tproperties: {\n\t\t\t\tclientId: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth client ID for the Google Cloud project.\"\n\t\t\t\t},\n\t\t\t\tclientSecret: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth client secret for the Google Cloud project.\"\n\t\t\t\t},\n\t\t\t\trefreshToken: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"OAuth refresh token for delegated Gmail access.\"\n\t\t\t\t},\n\t\t\t\tredirectUri: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Optional redirect URI used when issuing the refresh token.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tclientId: \"xxx.apps.googleusercontent.com\",\n\t\t\tclientSecret: \"secret\",\n\t\t\trefreshToken: \"refresh-token\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://developers.google.com/gmail/api\",\n\tconstraints: { rateLimit: { rpm: 600 } },\n\tbyokSetup: { setupInstructions: \"Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token.\" }\n};\nfunction registerGmailIntegration(registry) {\n\treturn registry.register(gmailIntegrationSpec);\n}\n\n//#endregion\nexport { gmailIntegrationSpec, registerGmailIntegration };\n//# sourceMappingURL=gmail.js.map"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC5B,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,qBAAqB;EAC9B,MAAM,CAAC,SAAS,QAAQ;EACxB,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,EAAE;EACF,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY;IACX,UAAU;KACT,MAAM;KACN,OAAO,EAAE,MAAM,UAAU;KACzB,aAAa;KACb;IACD,kBAAkB;KACjB,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,UAAU,CAAC,QAAQ;GACnB,kBAAkB;GAClB;EACD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU;IACT;IACA;IACA;IACA;GACD,YAAY;IACX,UAAU;KACT,MAAM;KACN,aAAa;KACb;IACD,cAAc;KACb,MAAM;KACN,aAAa;KACb;IACD,cAAc;KACb,MAAM;KACN,aAAa;KACb;IACD,aAAa;KACZ,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,UAAU;GACV,cAAc;GACd,cAAc;GACd;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE;CACxC,WAAW,EAAE,mBAAmB,sJAAsJ;CACtL"}
@@ -63,4 +63,5 @@ const googleCalendarIntegrationSpec = {
63
63
  byokSetup: { setupInstructions: "Create a Google service account with Calendar access and share the target calendars with the service account email." }
64
64
  };
65
65
 
66
- //#endregion
66
+ //#endregion
67
+ //# sourceMappingURL=google-calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-calendar.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/google-calendar.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/google-calendar.ts\nconst googleCalendarIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"calendar.google\",\n\t\tversion: 1,\n\t\tcategory: \"calendar\",\n\t\tdisplayName: \"Google Calendar\",\n\t\ttitle: \"Google Calendar API\",\n\t\tdescription: \"Google Calendar integration for event creation, updates, and scheduling automations.\",\n\t\tdomain: \"productivity\",\n\t\towners: [\"platform.messaging\"],\n\t\ttags: [\"calendar\", \"google\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"calendar.events\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: { calendarId: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"Default calendar identifier (defaults to primary).\"\n\t\t\t} }\n\t\t},\n\t\texample: { calendarId: \"primary\" }\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"clientEmail\", \"privateKey\"],\n\t\t\tproperties: {\n\t\t\t\tclientEmail: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account client email.\"\n\t\t\t\t},\n\t\t\t\tprivateKey: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Service account private key.\"\n\t\t\t\t},\n\t\t\t\tprojectId: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Google Cloud project ID.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tclientEmail: \"svc-calendar@example.iam.gserviceaccount.com\",\n\t\t\tprivateKey: \"-----BEGIN PRIVATE KEY-----...\",\n\t\t\tprojectId: \"calendar-project\"\n\t\t}\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 4e3\n\t},\n\tdocsUrl: \"https://developers.google.com/calendar/api\",\n\tconstraints: {},\n\tbyokSetup: { setupInstructions: \"Create a Google service account with Calendar access and share the target calendars with the service account email.\" }\n};\nfunction registerGoogleCalendarIntegration(registry) {\n\treturn registry.register(googleCalendarIntegrationSpec);\n}\n\n//#endregion\nexport { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration };\n//# sourceMappingURL=google-calendar.js.map"],"mappings":";;;AAGA,MAAM,gCAAgC;CACrC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,qBAAqB;EAC9B,MAAM,CAAC,YAAY,SAAS;EAC5B,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY,EAAE,YAAY;IACzB,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,YAAY,WAAW;EAClC;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,eAAe,aAAa;GACvC,YAAY;IACX,aAAa;KACZ,MAAM;KACN,aAAa;KACb;IACD,YAAY;KACX,MAAM;KACN,aAAa;KACb;IACD,WAAW;KACV,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,aAAa;GACb,YAAY;GACZ,WAAW;GACX;EACD;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE;CACf,WAAW,EAAE,mBAAmB,uHAAuH;CACvJ"}
@@ -65,4 +65,5 @@ const mistralIntegrationSpec = {
65
65
  byokSetup: { setupInstructions: "Generate an API key within the Mistral console and ensure the selected models are enabled for the account." }
66
66
  };
67
67
 
68
- //#endregion
68
+ //#endregion
69
+ //# sourceMappingURL=mistral.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mistral.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/integrations/providers/mistral.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/integrations/providers/mistral.ts\nconst mistralIntegrationSpec = {\n\tmeta: {\n\t\tkey: \"ai-llm.mistral\",\n\t\tversion: 1,\n\t\tcategory: \"ai-llm\",\n\t\tdisplayName: \"Mistral AI\",\n\t\ttitle: \"Mistral Large Language Model\",\n\t\tdescription: \"Mistral integration providing chat completions and embedding generation.\",\n\t\tdomain: \"ai\",\n\t\towners: [\"platform.ai\"],\n\t\ttags: [\n\t\t\t\"ai\",\n\t\t\t\"llm\",\n\t\t\t\"embeddings\"\n\t\t],\n\t\tstability: StabilityEnum.Experimental\n\t},\n\tsupportedModes: [\"managed\", \"byok\"],\n\tcapabilities: { provides: [{\n\t\tkey: \"ai.chat\",\n\t\tversion: 1\n\t}, {\n\t\tkey: \"ai.embeddings\",\n\t\tversion: 1\n\t}] },\n\tconfigSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\tproperties: {\n\t\t\t\tmodel: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Default chat completion model (e.g., mistral-large-latest).\"\n\t\t\t\t},\n\t\t\t\tembeddingModel: {\n\t\t\t\t\ttype: \"string\",\n\t\t\t\t\tdescription: \"Embedding model identifier.\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\texample: {\n\t\t\tmodel: \"mistral-large-latest\",\n\t\t\tembeddingModel: \"mistral-embed\"\n\t\t}\n\t},\n\tsecretSchema: {\n\t\tschema: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\"apiKey\"],\n\t\t\tproperties: { apiKey: {\n\t\t\t\ttype: \"string\",\n\t\t\t\tdescription: \"Mistral API key with access to chat and embeddings endpoints.\"\n\t\t\t} }\n\t\t},\n\t\texample: { apiKey: \"mistral-***\" }\n\t},\n\thealthCheck: {\n\t\tmethod: \"custom\",\n\t\ttimeoutMs: 5e3\n\t},\n\tdocsUrl: \"https://docs.mistral.ai/platform/endpoints\",\n\tconstraints: { rateLimit: { rpm: 600 } },\n\tbyokSetup: { setupInstructions: \"Generate an API key within the Mistral console and ensure the selected models are enabled for the account.\" }\n};\nfunction registerMistralIntegration(registry) {\n\treturn registry.register(mistralIntegrationSpec);\n}\n\n//#endregion\nexport { mistralIntegrationSpec, registerMistralIntegration };\n//# sourceMappingURL=mistral.js.map"],"mappings":";;;AAGA,MAAM,yBAAyB;CAC9B,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,cAAc;EACvB,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW,cAAc;EACzB;CACD,gBAAgB,CAAC,WAAW,OAAO;CACnC,cAAc,EAAE,UAAU,CAAC;EAC1B,KAAK;EACL,SAAS;EACT,EAAE;EACF,KAAK;EACL,SAAS;EACT,CAAC,EAAE;CACJ,cAAc;EACb,QAAQ;GACP,MAAM;GACN,YAAY;IACX,OAAO;KACN,MAAM;KACN,aAAa;KACb;IACD,gBAAgB;KACf,MAAM;KACN,aAAa;KACb;IACD;GACD;EACD,SAAS;GACR,OAAO;GACP,gBAAgB;GAChB;EACD;CACD,cAAc;EACb,QAAQ;GACP,MAAM;GACN,UAAU,CAAC,SAAS;GACpB,YAAY,EAAE,QAAQ;IACrB,MAAM;IACN,aAAa;IACb,EAAE;GACH;EACD,SAAS,EAAE,QAAQ,eAAe;EAClC;CACD,aAAa;EACZ,QAAQ;EACR,WAAW;EACX;CACD,SAAS;CACT,aAAa,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE;CACxC,WAAW,EAAE,mBAAmB,8GAA8G;CAC9I"}
@@ -65,4 +65,5 @@ const postmarkIntegrationSpec = {
65
65
  byokSetup: { setupInstructions: "Create a Postmark server token with outbound send permissions and configure allowed from addresses." }
66
66
  };
67
67
 
68
- //#endregion
68
+ //#endregion
69
+ //# sourceMappingURL=postmark.js.map