@contractspec/integration.providers-impls 1.57.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/dist/analytics.d.ts +1 -8
  2. package/dist/analytics.d.ts.map +1 -1
  3. package/dist/analytics.js +3 -3
  4. package/dist/calendar.d.ts +1 -8
  5. package/dist/calendar.d.ts.map +1 -1
  6. package/dist/calendar.js +3 -3
  7. package/dist/database.d.ts +1 -8
  8. package/dist/database.d.ts.map +1 -1
  9. package/dist/database.js +3 -3
  10. package/dist/email.d.ts +1 -8
  11. package/dist/email.d.ts.map +1 -1
  12. package/dist/email.js +3 -3
  13. package/dist/embedding.d.ts +1 -8
  14. package/dist/embedding.d.ts.map +1 -1
  15. package/dist/embedding.js +3 -3
  16. package/dist/impls/elevenlabs-voice.d.ts +14 -18
  17. package/dist/impls/elevenlabs-voice.d.ts.map +1 -1
  18. package/dist/impls/elevenlabs-voice.js +98 -88
  19. package/dist/impls/fal-voice.d.ts +22 -26
  20. package/dist/impls/fal-voice.d.ts.map +1 -1
  21. package/dist/impls/fal-voice.js +103 -78
  22. package/dist/impls/fathom-meeting-recorder.d.ts +35 -39
  23. package/dist/impls/fathom-meeting-recorder.d.ts.map +1 -1
  24. package/dist/impls/fathom-meeting-recorder.js +285 -142
  25. package/dist/impls/fathom-meeting-recorder.mapper.d.ts +4 -8
  26. package/dist/impls/fathom-meeting-recorder.mapper.d.ts.map +1 -1
  27. package/dist/impls/fathom-meeting-recorder.mapper.js +102 -38
  28. package/dist/impls/fathom-meeting-recorder.types.d.ts +16 -20
  29. package/dist/impls/fathom-meeting-recorder.types.d.ts.map +1 -1
  30. package/dist/impls/fathom-meeting-recorder.types.js +1 -0
  31. package/dist/impls/fathom-meeting-recorder.utils.d.ts +10 -14
  32. package/dist/impls/fathom-meeting-recorder.utils.d.ts.map +1 -1
  33. package/dist/impls/fathom-meeting-recorder.utils.js +58 -41
  34. package/dist/impls/fathom-meeting-recorder.webhooks.d.ts +3 -7
  35. package/dist/impls/fathom-meeting-recorder.webhooks.d.ts.map +1 -1
  36. package/dist/impls/fathom-meeting-recorder.webhooks.js +25 -20
  37. package/dist/impls/fireflies-meeting-recorder.d.ts +21 -25
  38. package/dist/impls/fireflies-meeting-recorder.d.ts.map +1 -1
  39. package/dist/impls/fireflies-meeting-recorder.js +272 -149
  40. package/dist/impls/fireflies-meeting-recorder.queries.d.ts +3 -6
  41. package/dist/impls/fireflies-meeting-recorder.queries.d.ts.map +1 -1
  42. package/dist/impls/fireflies-meeting-recorder.queries.js +10 -8
  43. package/dist/impls/fireflies-meeting-recorder.types.d.ts +26 -29
  44. package/dist/impls/fireflies-meeting-recorder.types.d.ts.map +1 -1
  45. package/dist/impls/fireflies-meeting-recorder.types.js +1 -0
  46. package/dist/impls/fireflies-meeting-recorder.utils.d.ts +4 -7
  47. package/dist/impls/fireflies-meeting-recorder.utils.d.ts.map +1 -1
  48. package/dist/impls/fireflies-meeting-recorder.utils.js +34 -27
  49. package/dist/impls/gcs-storage.d.ts +18 -22
  50. package/dist/impls/gcs-storage.d.ts.map +1 -1
  51. package/dist/impls/gcs-storage.js +92 -84
  52. package/dist/impls/gmail-inbound.d.ts +20 -24
  53. package/dist/impls/gmail-inbound.d.ts.map +1 -1
  54. package/dist/impls/gmail-inbound.js +212 -185
  55. package/dist/impls/gmail-outbound.d.ts +12 -16
  56. package/dist/impls/gmail-outbound.d.ts.map +1 -1
  57. package/dist/impls/gmail-outbound.js +126 -92
  58. package/dist/impls/google-calendar.d.ts +17 -21
  59. package/dist/impls/google-calendar.d.ts.map +1 -1
  60. package/dist/impls/google-calendar.js +182 -145
  61. package/dist/impls/gradium-voice.d.ts +20 -22
  62. package/dist/impls/gradium-voice.d.ts.map +1 -1
  63. package/dist/impls/gradium-voice.js +85 -74
  64. package/dist/impls/granola-meeting-recorder.d.ts +31 -24
  65. package/dist/impls/granola-meeting-recorder.d.ts.map +1 -1
  66. package/dist/impls/granola-meeting-recorder.js +511 -143
  67. package/dist/impls/granola-meeting-recorder.mcp.d.ts +25 -0
  68. package/dist/impls/granola-meeting-recorder.mcp.d.ts.map +1 -0
  69. package/dist/impls/granola-meeting-recorder.mcp.js +279 -0
  70. package/dist/impls/granola-meeting-recorder.types.d.ts +60 -49
  71. package/dist/impls/granola-meeting-recorder.types.d.ts.map +1 -1
  72. package/dist/impls/granola-meeting-recorder.types.js +1 -0
  73. package/dist/impls/index.d.ts +28 -28
  74. package/dist/impls/index.d.ts.map +1 -0
  75. package/dist/impls/index.js +4659 -29
  76. package/dist/impls/jira.d.ts +18 -22
  77. package/dist/impls/jira.d.ts.map +1 -1
  78. package/dist/impls/jira.js +112 -101
  79. package/dist/impls/linear.d.ts +17 -21
  80. package/dist/impls/linear.d.ts.map +1 -1
  81. package/dist/impls/linear.js +78 -69
  82. package/dist/impls/mistral-embedding.d.ts +17 -21
  83. package/dist/impls/mistral-embedding.d.ts.map +1 -1
  84. package/dist/impls/mistral-embedding.js +41 -39
  85. package/dist/impls/mistral-llm.d.ts +25 -29
  86. package/dist/impls/mistral-llm.d.ts.map +1 -1
  87. package/dist/impls/mistral-llm.js +266 -244
  88. package/dist/impls/notion.d.ts +20 -24
  89. package/dist/impls/notion.d.ts.map +1 -1
  90. package/dist/impls/notion.js +145 -110
  91. package/dist/impls/posthog-reader.d.ts +18 -22
  92. package/dist/impls/posthog-reader.d.ts.map +1 -1
  93. package/dist/impls/posthog-reader.js +148 -129
  94. package/dist/impls/posthog-utils.d.ts +4 -7
  95. package/dist/impls/posthog-utils.d.ts.map +1 -1
  96. package/dist/impls/posthog-utils.js +31 -22
  97. package/dist/impls/posthog.d.ts +33 -37
  98. package/dist/impls/posthog.d.ts.map +1 -1
  99. package/dist/impls/posthog.js +320 -119
  100. package/dist/impls/postmark-email.d.ts +13 -17
  101. package/dist/impls/postmark-email.d.ts.map +1 -1
  102. package/dist/impls/postmark-email.js +55 -50
  103. package/dist/impls/powens-client.d.ts +111 -114
  104. package/dist/impls/powens-client.d.ts.map +1 -1
  105. package/dist/impls/powens-client.js +194 -170
  106. package/dist/impls/powens-openbanking.d.ts +22 -26
  107. package/dist/impls/powens-openbanking.d.ts.map +1 -1
  108. package/dist/impls/powens-openbanking.js +425 -217
  109. package/dist/impls/provider-factory.d.ts +29 -33
  110. package/dist/impls/provider-factory.d.ts.map +1 -1
  111. package/dist/impls/provider-factory.js +4072 -275
  112. package/dist/impls/qdrant-vector.d.ts +18 -22
  113. package/dist/impls/qdrant-vector.d.ts.map +1 -1
  114. package/dist/impls/qdrant-vector.js +76 -69
  115. package/dist/impls/stripe-payments.d.ts +22 -26
  116. package/dist/impls/stripe-payments.d.ts.map +1 -1
  117. package/dist/impls/stripe-payments.js +219 -193
  118. package/dist/impls/supabase-psql.d.ts +21 -25
  119. package/dist/impls/supabase-psql.d.ts.map +1 -1
  120. package/dist/impls/supabase-psql.js +138 -98
  121. package/dist/impls/supabase-vector.d.ts +29 -33
  122. package/dist/impls/supabase-vector.d.ts.map +1 -1
  123. package/dist/impls/supabase-vector.js +278 -103
  124. package/dist/impls/tldv-meeting-recorder.d.ts +18 -22
  125. package/dist/impls/tldv-meeting-recorder.d.ts.map +1 -1
  126. package/dist/impls/tldv-meeting-recorder.js +142 -127
  127. package/dist/impls/twilio-sms.d.ts +14 -17
  128. package/dist/impls/twilio-sms.d.ts.map +1 -1
  129. package/dist/impls/twilio-sms.js +62 -55
  130. package/dist/index.d.ts +15 -64
  131. package/dist/index.d.ts.map +1 -1
  132. package/dist/index.js +4700 -107
  133. package/dist/llm.d.ts +1 -8
  134. package/dist/llm.d.ts.map +1 -1
  135. package/dist/llm.js +3 -3
  136. package/dist/meeting-recorder.d.ts +1 -8
  137. package/dist/meeting-recorder.d.ts.map +1 -1
  138. package/dist/meeting-recorder.js +3 -3
  139. package/dist/node/analytics.js +2 -0
  140. package/dist/node/calendar.js +2 -0
  141. package/dist/node/database.js +2 -0
  142. package/dist/node/email.js +2 -0
  143. package/dist/node/embedding.js +2 -0
  144. package/dist/node/impls/elevenlabs-voice.js +102 -0
  145. package/dist/node/impls/fal-voice.js +112 -0
  146. package/dist/node/impls/fathom-meeting-recorder.js +287 -0
  147. package/dist/node/impls/fathom-meeting-recorder.mapper.js +105 -0
  148. package/dist/node/impls/fathom-meeting-recorder.types.js +0 -0
  149. package/dist/node/impls/fathom-meeting-recorder.utils.js +72 -0
  150. package/dist/node/impls/fathom-meeting-recorder.webhooks.js +29 -0
  151. package/dist/node/impls/fireflies-meeting-recorder.js +274 -0
  152. package/dist/node/impls/fireflies-meeting-recorder.queries.js +85 -0
  153. package/dist/node/impls/fireflies-meeting-recorder.types.js +0 -0
  154. package/dist/node/impls/fireflies-meeting-recorder.utils.js +42 -0
  155. package/dist/node/impls/gcs-storage.js +97 -0
  156. package/dist/node/impls/gmail-inbound.js +227 -0
  157. package/dist/node/impls/gmail-outbound.js +139 -0
  158. package/dist/node/impls/google-calendar.js +191 -0
  159. package/dist/node/impls/gradium-voice.js +90 -0
  160. package/dist/node/impls/granola-meeting-recorder.js +512 -0
  161. package/dist/node/impls/granola-meeting-recorder.mcp.js +278 -0
  162. package/dist/node/impls/granola-meeting-recorder.types.js +0 -0
  163. package/dist/node/impls/index.js +4658 -0
  164. package/dist/node/impls/jira.js +124 -0
  165. package/dist/node/impls/linear.js +83 -0
  166. package/dist/node/impls/mistral-embedding.js +43 -0
  167. package/dist/node/impls/mistral-llm.js +269 -0
  168. package/dist/node/impls/notion.js +160 -0
  169. package/dist/node/impls/posthog-reader.js +159 -0
  170. package/dist/node/impls/posthog-utils.js +38 -0
  171. package/dist/node/impls/posthog.js +322 -0
  172. package/dist/node/impls/postmark-email.js +60 -0
  173. package/dist/node/impls/powens-client.js +195 -0
  174. package/dist/node/impls/powens-openbanking.js +426 -0
  175. package/dist/node/impls/provider-factory.js +4080 -0
  176. package/dist/node/impls/qdrant-vector.js +78 -0
  177. package/dist/node/impls/stripe-payments.js +228 -0
  178. package/dist/node/impls/supabase-psql.js +150 -0
  179. package/dist/node/impls/supabase-vector.js +323 -0
  180. package/dist/node/impls/tldv-meeting-recorder.js +145 -0
  181. package/dist/node/impls/twilio-sms.js +65 -0
  182. package/dist/node/index.js +4699 -0
  183. package/dist/node/llm.js +2 -0
  184. package/dist/node/meeting-recorder.js +2 -0
  185. package/dist/node/openbanking.js +2 -0
  186. package/dist/node/payments.js +2 -0
  187. package/dist/node/project-management.js +2 -0
  188. package/dist/node/runtime.js +0 -0
  189. package/dist/node/secrets/provider.js +11 -0
  190. package/dist/node/sms.js +2 -0
  191. package/dist/node/storage.js +2 -0
  192. package/dist/node/vector-store.js +2 -0
  193. package/dist/node/voice.js +2 -0
  194. package/dist/openbanking.d.ts +1 -8
  195. package/dist/openbanking.d.ts.map +1 -1
  196. package/dist/openbanking.js +3 -3
  197. package/dist/payments.d.ts +1 -8
  198. package/dist/payments.d.ts.map +1 -1
  199. package/dist/payments.js +3 -3
  200. package/dist/project-management.d.ts +1 -8
  201. package/dist/project-management.d.ts.map +1 -1
  202. package/dist/project-management.js +3 -3
  203. package/dist/runtime.d.ts +2 -2
  204. package/dist/runtime.d.ts.map +1 -0
  205. package/dist/runtime.js +1 -0
  206. package/dist/secrets/provider.d.ts +3 -2
  207. package/dist/secrets/provider.d.ts.map +1 -0
  208. package/dist/secrets/provider.js +12 -3
  209. package/dist/sms.d.ts +1 -8
  210. package/dist/sms.d.ts.map +1 -1
  211. package/dist/sms.js +3 -3
  212. package/dist/storage.d.ts +1 -8
  213. package/dist/storage.d.ts.map +1 -1
  214. package/dist/storage.js +3 -3
  215. package/dist/vector-store.d.ts +1 -8
  216. package/dist/vector-store.d.ts.map +1 -1
  217. package/dist/vector-store.js +3 -3
  218. package/dist/voice.d.ts +1 -8
  219. package/dist/voice.d.ts.map +1 -1
  220. package/dist/voice.js +3 -3
  221. package/package.json +405 -114
  222. package/dist/_virtual/_rolldown/runtime.js +0 -36
  223. package/dist/impls/elevenlabs-voice.js.map +0 -1
  224. package/dist/impls/fal-voice.js.map +0 -1
  225. package/dist/impls/fathom-meeting-recorder.js.map +0 -1
  226. package/dist/impls/fathom-meeting-recorder.mapper.js.map +0 -1
  227. package/dist/impls/fathom-meeting-recorder.utils.js.map +0 -1
  228. package/dist/impls/fathom-meeting-recorder.webhooks.js.map +0 -1
  229. package/dist/impls/fireflies-meeting-recorder.js.map +0 -1
  230. package/dist/impls/fireflies-meeting-recorder.queries.js.map +0 -1
  231. package/dist/impls/fireflies-meeting-recorder.utils.js.map +0 -1
  232. package/dist/impls/gcs-storage.js.map +0 -1
  233. package/dist/impls/gmail-inbound.js.map +0 -1
  234. package/dist/impls/gmail-outbound.js.map +0 -1
  235. package/dist/impls/google-calendar.js.map +0 -1
  236. package/dist/impls/gradium-voice.js.map +0 -1
  237. package/dist/impls/granola-meeting-recorder.js.map +0 -1
  238. package/dist/impls/jira.js.map +0 -1
  239. package/dist/impls/linear.js.map +0 -1
  240. package/dist/impls/mistral-embedding.js.map +0 -1
  241. package/dist/impls/mistral-llm.js.map +0 -1
  242. package/dist/impls/notion.js.map +0 -1
  243. package/dist/impls/posthog-reader.js.map +0 -1
  244. package/dist/impls/posthog-utils.js.map +0 -1
  245. package/dist/impls/posthog.js.map +0 -1
  246. package/dist/impls/postmark-email.js.map +0 -1
  247. package/dist/impls/powens-client.js.map +0 -1
  248. package/dist/impls/powens-openbanking.js.map +0 -1
  249. package/dist/impls/provider-factory.js.map +0 -1
  250. package/dist/impls/qdrant-vector.js.map +0 -1
  251. package/dist/impls/stripe-payments.js.map +0 -1
  252. package/dist/impls/supabase-psql.js.map +0 -1
  253. package/dist/impls/supabase-vector.js.map +0 -1
  254. package/dist/impls/tldv-meeting-recorder.js.map +0 -1
  255. package/dist/impls/twilio-sms.js.map +0 -1
  256. package/dist/index.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/integration.providers-impls",
3
- "version": "1.57.0",
3
+ "version": "1.59.0",
4
4
  "description": "Integration provider implementations for email, payments, storage, and more",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -19,19 +19,21 @@
19
19
  "scripts": {
20
20
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
21
21
  "publish:pkg:canary": "bun publish:pkg --tag canary",
22
- "build": "bun build:types && bun build:bundle",
23
- "build:bundle": "tsdown",
24
- "build:types": "tsc --noEmit",
25
- "dev": "bun build:bundle --watch",
22
+ "build": "bun run prebuild && bun run build:bundle && bun run build:types",
23
+ "build:bundle": "contractspec-bun-build transpile",
24
+ "build:types": "contractspec-bun-build types",
25
+ "dev": "contractspec-bun-build dev",
26
26
  "clean": "rimraf dist .turbo",
27
27
  "lint": "bun lint:fix",
28
28
  "lint:fix": "eslint src --fix",
29
29
  "lint:check": "eslint src",
30
- "test": "bun test"
30
+ "test": "bun test",
31
+ "prebuild": "contractspec-bun-build prebuild",
32
+ "typecheck": "tsc --noEmit"
31
33
  },
32
34
  "dependencies": {
33
- "@contractspec/lib.contracts": "1.57.0",
34
- "@contractspec/integration.runtime": "1.57.0",
35
+ "@contractspec/lib.contracts": "1.59.0",
36
+ "@contractspec/integration.runtime": "1.59.0",
35
37
  "@elevenlabs/elevenlabs-js": "^2.34.0",
36
38
  "@fal-ai/client": "^1.9.0",
37
39
  "@google-cloud/storage": "^7.19.0",
@@ -52,118 +54,407 @@
52
54
  },
53
55
  "devDependencies": {
54
56
  "@types/bun": "latest",
55
- "@contractspec/tool.tsdown": "1.57.0",
56
- "@contractspec/tool.typescript": "1.57.0",
57
- "tsdown": "^0.20.3",
58
- "typescript": "^5.9.3"
57
+ "@contractspec/tool.typescript": "1.59.0",
58
+ "typescript": "^5.9.3",
59
+ "@contractspec/tool.bun": "1.58.0"
59
60
  },
60
61
  "exports": {
61
- ".": "./dist/index.js",
62
- "./analytics": "./dist/analytics.js",
63
- "./calendar": "./dist/calendar.js",
64
- "./database": "./dist/database.js",
65
- "./email": "./dist/email.js",
66
- "./embedding": "./dist/embedding.js",
67
- "./impls": "./dist/impls/index.js",
68
- "./impls/elevenlabs-voice": "./dist/impls/elevenlabs-voice.js",
69
- "./impls/fal-voice": "./dist/impls/fal-voice.js",
70
- "./impls/fathom-meeting-recorder": "./dist/impls/fathom-meeting-recorder.js",
71
- "./impls/fathom-meeting-recorder.mapper": "./dist/impls/fathom-meeting-recorder.mapper.js",
72
- "./impls/fathom-meeting-recorder.types": "./dist/impls/fathom-meeting-recorder.types.js",
73
- "./impls/fathom-meeting-recorder.utils": "./dist/impls/fathom-meeting-recorder.utils.js",
74
- "./impls/fathom-meeting-recorder.webhooks": "./dist/impls/fathom-meeting-recorder.webhooks.js",
75
- "./impls/fireflies-meeting-recorder": "./dist/impls/fireflies-meeting-recorder.js",
76
- "./impls/fireflies-meeting-recorder.queries": "./dist/impls/fireflies-meeting-recorder.queries.js",
77
- "./impls/fireflies-meeting-recorder.types": "./dist/impls/fireflies-meeting-recorder.types.js",
78
- "./impls/fireflies-meeting-recorder.utils": "./dist/impls/fireflies-meeting-recorder.utils.js",
79
- "./impls/gcs-storage": "./dist/impls/gcs-storage.js",
80
- "./impls/gmail-inbound": "./dist/impls/gmail-inbound.js",
81
- "./impls/gmail-outbound": "./dist/impls/gmail-outbound.js",
82
- "./impls/google-calendar": "./dist/impls/google-calendar.js",
83
- "./impls/gradium-voice": "./dist/impls/gradium-voice.js",
84
- "./impls/granola-meeting-recorder": "./dist/impls/granola-meeting-recorder.js",
85
- "./impls/granola-meeting-recorder.types": "./dist/impls/granola-meeting-recorder.types.js",
86
- "./impls/jira": "./dist/impls/jira.js",
87
- "./impls/linear": "./dist/impls/linear.js",
88
- "./impls/mistral-embedding": "./dist/impls/mistral-embedding.js",
89
- "./impls/mistral-llm": "./dist/impls/mistral-llm.js",
90
- "./impls/notion": "./dist/impls/notion.js",
91
- "./impls/posthog": "./dist/impls/posthog.js",
92
- "./impls/posthog-reader": "./dist/impls/posthog-reader.js",
93
- "./impls/posthog-utils": "./dist/impls/posthog-utils.js",
94
- "./impls/postmark-email": "./dist/impls/postmark-email.js",
95
- "./impls/powens-client": "./dist/impls/powens-client.js",
96
- "./impls/powens-openbanking": "./dist/impls/powens-openbanking.js",
97
- "./impls/provider-factory": "./dist/impls/provider-factory.js",
98
- "./impls/qdrant-vector": "./dist/impls/qdrant-vector.js",
99
- "./impls/stripe-payments": "./dist/impls/stripe-payments.js",
100
- "./impls/supabase-psql": "./dist/impls/supabase-psql.js",
101
- "./impls/supabase-vector": "./dist/impls/supabase-vector.js",
102
- "./impls/tldv-meeting-recorder": "./dist/impls/tldv-meeting-recorder.js",
103
- "./impls/twilio-sms": "./dist/impls/twilio-sms.js",
104
- "./llm": "./dist/llm.js",
105
- "./meeting-recorder": "./dist/meeting-recorder.js",
106
- "./openbanking": "./dist/openbanking.js",
107
- "./payments": "./dist/payments.js",
108
- "./project-management": "./dist/project-management.js",
109
- "./runtime": "./dist/runtime.js",
110
- "./secrets/provider": "./dist/secrets/provider.js",
111
- "./sms": "./dist/sms.js",
112
- "./storage": "./dist/storage.js",
113
- "./vector-store": "./dist/vector-store.js",
114
- "./voice": "./dist/voice.js",
115
- "./*": "./*"
62
+ ".": "./src/index.ts",
63
+ "./analytics": "./src/analytics.ts",
64
+ "./calendar": "./src/calendar.ts",
65
+ "./database": "./src/database.ts",
66
+ "./email": "./src/email.ts",
67
+ "./embedding": "./src/embedding.ts",
68
+ "./impls": "./src/impls/index.ts",
69
+ "./impls/elevenlabs-voice": "./src/impls/elevenlabs-voice.ts",
70
+ "./impls/fal-voice": "./src/impls/fal-voice.ts",
71
+ "./impls/fathom-meeting-recorder": "./src/impls/fathom-meeting-recorder.ts",
72
+ "./impls/fathom-meeting-recorder.mapper": "./src/impls/fathom-meeting-recorder.mapper.ts",
73
+ "./impls/fathom-meeting-recorder.types": "./src/impls/fathom-meeting-recorder.types.ts",
74
+ "./impls/fathom-meeting-recorder.utils": "./src/impls/fathom-meeting-recorder.utils.ts",
75
+ "./impls/fathom-meeting-recorder.webhooks": "./src/impls/fathom-meeting-recorder.webhooks.ts",
76
+ "./impls/fireflies-meeting-recorder": "./src/impls/fireflies-meeting-recorder.ts",
77
+ "./impls/fireflies-meeting-recorder.queries": "./src/impls/fireflies-meeting-recorder.queries.ts",
78
+ "./impls/fireflies-meeting-recorder.types": "./src/impls/fireflies-meeting-recorder.types.ts",
79
+ "./impls/fireflies-meeting-recorder.utils": "./src/impls/fireflies-meeting-recorder.utils.ts",
80
+ "./impls/gcs-storage": "./src/impls/gcs-storage.ts",
81
+ "./impls/gmail-inbound": "./src/impls/gmail-inbound.ts",
82
+ "./impls/gmail-outbound": "./src/impls/gmail-outbound.ts",
83
+ "./impls/google-calendar": "./src/impls/google-calendar.ts",
84
+ "./impls/gradium-voice": "./src/impls/gradium-voice.ts",
85
+ "./impls/granola-meeting-recorder": "./src/impls/granola-meeting-recorder.ts",
86
+ "./impls/granola-meeting-recorder.mcp": "./src/impls/granola-meeting-recorder.mcp.ts",
87
+ "./impls/granola-meeting-recorder.types": "./src/impls/granola-meeting-recorder.types.ts",
88
+ "./impls/index": "./src/impls/index.ts",
89
+ "./impls/jira": "./src/impls/jira.ts",
90
+ "./impls/linear": "./src/impls/linear.ts",
91
+ "./impls/mistral-embedding": "./src/impls/mistral-embedding.ts",
92
+ "./impls/mistral-llm": "./src/impls/mistral-llm.ts",
93
+ "./impls/notion": "./src/impls/notion.ts",
94
+ "./impls/posthog": "./src/impls/posthog.ts",
95
+ "./impls/posthog-reader": "./src/impls/posthog-reader.ts",
96
+ "./impls/posthog-utils": "./src/impls/posthog-utils.ts",
97
+ "./impls/postmark-email": "./src/impls/postmark-email.ts",
98
+ "./impls/powens-client": "./src/impls/powens-client.ts",
99
+ "./impls/powens-openbanking": "./src/impls/powens-openbanking.ts",
100
+ "./impls/provider-factory": "./src/impls/provider-factory.ts",
101
+ "./impls/qdrant-vector": "./src/impls/qdrant-vector.ts",
102
+ "./impls/stripe-payments": "./src/impls/stripe-payments.ts",
103
+ "./impls/supabase-psql": "./src/impls/supabase-psql.ts",
104
+ "./impls/supabase-vector": "./src/impls/supabase-vector.ts",
105
+ "./impls/tldv-meeting-recorder": "./src/impls/tldv-meeting-recorder.ts",
106
+ "./impls/twilio-sms": "./src/impls/twilio-sms.ts",
107
+ "./llm": "./src/llm.ts",
108
+ "./meeting-recorder": "./src/meeting-recorder.ts",
109
+ "./openbanking": "./src/openbanking.ts",
110
+ "./payments": "./src/payments.ts",
111
+ "./project-management": "./src/project-management.ts",
112
+ "./runtime": "./src/runtime.ts",
113
+ "./secrets/provider": "./src/secrets/provider.ts",
114
+ "./sms": "./src/sms.ts",
115
+ "./storage": "./src/storage.ts",
116
+ "./vector-store": "./src/vector-store.ts",
117
+ "./voice": "./src/voice.ts"
116
118
  },
117
119
  "publishConfig": {
118
120
  "access": "public",
119
121
  "exports": {
120
- ".": "./dist/index.js",
121
- "./calendar": "./dist/calendar.js",
122
- "./database": "./dist/database.js",
123
- "./analytics": "./dist/analytics.js",
124
- "./email": "./dist/email.js",
125
- "./embedding": "./dist/embedding.js",
126
- "./impls": "./dist/impls/index.js",
127
- "./impls/elevenlabs-voice": "./dist/impls/elevenlabs-voice.js",
128
- "./impls/fal-voice": "./dist/impls/fal-voice.js",
129
- "./impls/fireflies-meeting-recorder": "./dist/impls/fireflies-meeting-recorder.js",
130
- "./impls/fathom-meeting-recorder": "./dist/impls/fathom-meeting-recorder.js",
131
- "./impls/gcs-storage": "./dist/impls/gcs-storage.js",
132
- "./impls/gmail-inbound": "./dist/impls/gmail-inbound.js",
133
- "./impls/gmail-outbound": "./dist/impls/gmail-outbound.js",
134
- "./impls/google-calendar": "./dist/impls/google-calendar.js",
135
- "./impls/gradium-voice": "./dist/impls/gradium-voice.js",
136
- "./impls/granola-meeting-recorder": "./dist/impls/granola-meeting-recorder.js",
137
- "./impls/linear": "./dist/impls/linear.js",
138
- "./impls/jira": "./dist/impls/jira.js",
139
- "./impls/notion": "./dist/impls/notion.js",
140
- "./impls/mistral-embedding": "./dist/impls/mistral-embedding.js",
141
- "./impls/mistral-llm": "./dist/impls/mistral-llm.js",
142
- "./impls/postmark-email": "./dist/impls/postmark-email.js",
143
- "./impls/posthog": "./dist/impls/posthog.js",
144
- "./impls/posthog-reader": "./dist/impls/posthog-reader.js",
145
- "./impls/posthog-utils": "./dist/impls/posthog-utils.js",
146
- "./impls/powens-client": "./dist/impls/powens-client.js",
147
- "./impls/powens-openbanking": "./dist/impls/powens-openbanking.js",
148
- "./impls/provider-factory": "./dist/impls/provider-factory.js",
149
- "./impls/qdrant-vector": "./dist/impls/qdrant-vector.js",
150
- "./impls/supabase-psql": "./dist/impls/supabase-psql.js",
151
- "./impls/supabase-vector": "./dist/impls/supabase-vector.js",
152
- "./impls/stripe-payments": "./dist/impls/stripe-payments.js",
153
- "./impls/tldv-meeting-recorder": "./dist/impls/tldv-meeting-recorder.js",
154
- "./impls/twilio-sms": "./dist/impls/twilio-sms.js",
155
- "./llm": "./dist/llm.js",
156
- "./meeting-recorder": "./dist/meeting-recorder.js",
157
- "./openbanking": "./dist/openbanking.js",
158
- "./payments": "./dist/payments.js",
159
- "./project-management": "./dist/project-management.js",
160
- "./runtime": "./dist/runtime.js",
161
- "./secrets/provider": "./dist/secrets/provider.js",
162
- "./sms": "./dist/sms.js",
163
- "./storage": "./dist/storage.js",
164
- "./vector-store": "./dist/vector-store.js",
165
- "./voice": "./dist/voice.js",
166
- "./*": "./*"
122
+ ".": {
123
+ "types": "./dist/index.d.ts",
124
+ "bun": "./dist/index.js",
125
+ "node": "./dist/node/index.mjs",
126
+ "default": "./dist/index.js"
127
+ },
128
+ "./analytics": {
129
+ "types": "./dist/analytics.d.ts",
130
+ "bun": "./dist/analytics.js",
131
+ "node": "./dist/node/analytics.mjs",
132
+ "default": "./dist/analytics.js"
133
+ },
134
+ "./calendar": {
135
+ "types": "./dist/calendar.d.ts",
136
+ "bun": "./dist/calendar.js",
137
+ "node": "./dist/node/calendar.mjs",
138
+ "default": "./dist/calendar.js"
139
+ },
140
+ "./database": {
141
+ "types": "./dist/database.d.ts",
142
+ "bun": "./dist/database.js",
143
+ "node": "./dist/node/database.mjs",
144
+ "default": "./dist/database.js"
145
+ },
146
+ "./email": {
147
+ "types": "./dist/email.d.ts",
148
+ "bun": "./dist/email.js",
149
+ "node": "./dist/node/email.mjs",
150
+ "default": "./dist/email.js"
151
+ },
152
+ "./embedding": {
153
+ "types": "./dist/embedding.d.ts",
154
+ "bun": "./dist/embedding.js",
155
+ "node": "./dist/node/embedding.mjs",
156
+ "default": "./dist/embedding.js"
157
+ },
158
+ "./impls": {
159
+ "types": "./dist/impls/index.d.ts",
160
+ "bun": "./dist/impls/index.js",
161
+ "node": "./dist/node/impls/index.mjs",
162
+ "default": "./dist/impls/index.js"
163
+ },
164
+ "./impls/elevenlabs-voice": {
165
+ "types": "./dist/impls/elevenlabs-voice.d.ts",
166
+ "bun": "./dist/impls/elevenlabs-voice.js",
167
+ "node": "./dist/node/impls/elevenlabs-voice.mjs",
168
+ "default": "./dist/impls/elevenlabs-voice.js"
169
+ },
170
+ "./impls/fal-voice": {
171
+ "types": "./dist/impls/fal-voice.d.ts",
172
+ "bun": "./dist/impls/fal-voice.js",
173
+ "node": "./dist/node/impls/fal-voice.mjs",
174
+ "default": "./dist/impls/fal-voice.js"
175
+ },
176
+ "./impls/fathom-meeting-recorder": {
177
+ "types": "./dist/impls/fathom-meeting-recorder.d.ts",
178
+ "bun": "./dist/impls/fathom-meeting-recorder.js",
179
+ "node": "./dist/node/impls/fathom-meeting-recorder.mjs",
180
+ "default": "./dist/impls/fathom-meeting-recorder.js"
181
+ },
182
+ "./impls/fathom-meeting-recorder.mapper": {
183
+ "types": "./dist/impls/fathom-meeting-recorder.mapper.d.ts",
184
+ "bun": "./dist/impls/fathom-meeting-recorder.mapper.js",
185
+ "node": "./dist/node/impls/fathom-meeting-recorder.mapper.mjs",
186
+ "default": "./dist/impls/fathom-meeting-recorder.mapper.js"
187
+ },
188
+ "./impls/fathom-meeting-recorder.types": {
189
+ "types": "./dist/impls/fathom-meeting-recorder.types.d.ts",
190
+ "bun": "./dist/impls/fathom-meeting-recorder.types.js",
191
+ "node": "./dist/node/impls/fathom-meeting-recorder.types.mjs",
192
+ "default": "./dist/impls/fathom-meeting-recorder.types.js"
193
+ },
194
+ "./impls/fathom-meeting-recorder.utils": {
195
+ "types": "./dist/impls/fathom-meeting-recorder.utils.d.ts",
196
+ "bun": "./dist/impls/fathom-meeting-recorder.utils.js",
197
+ "node": "./dist/node/impls/fathom-meeting-recorder.utils.mjs",
198
+ "default": "./dist/impls/fathom-meeting-recorder.utils.js"
199
+ },
200
+ "./impls/fathom-meeting-recorder.webhooks": {
201
+ "types": "./dist/impls/fathom-meeting-recorder.webhooks.d.ts",
202
+ "bun": "./dist/impls/fathom-meeting-recorder.webhooks.js",
203
+ "node": "./dist/node/impls/fathom-meeting-recorder.webhooks.mjs",
204
+ "default": "./dist/impls/fathom-meeting-recorder.webhooks.js"
205
+ },
206
+ "./impls/fireflies-meeting-recorder": {
207
+ "types": "./dist/impls/fireflies-meeting-recorder.d.ts",
208
+ "bun": "./dist/impls/fireflies-meeting-recorder.js",
209
+ "node": "./dist/node/impls/fireflies-meeting-recorder.mjs",
210
+ "default": "./dist/impls/fireflies-meeting-recorder.js"
211
+ },
212
+ "./impls/fireflies-meeting-recorder.queries": {
213
+ "types": "./dist/impls/fireflies-meeting-recorder.queries.d.ts",
214
+ "bun": "./dist/impls/fireflies-meeting-recorder.queries.js",
215
+ "node": "./dist/node/impls/fireflies-meeting-recorder.queries.mjs",
216
+ "default": "./dist/impls/fireflies-meeting-recorder.queries.js"
217
+ },
218
+ "./impls/fireflies-meeting-recorder.types": {
219
+ "types": "./dist/impls/fireflies-meeting-recorder.types.d.ts",
220
+ "bun": "./dist/impls/fireflies-meeting-recorder.types.js",
221
+ "node": "./dist/node/impls/fireflies-meeting-recorder.types.mjs",
222
+ "default": "./dist/impls/fireflies-meeting-recorder.types.js"
223
+ },
224
+ "./impls/fireflies-meeting-recorder.utils": {
225
+ "types": "./dist/impls/fireflies-meeting-recorder.utils.d.ts",
226
+ "bun": "./dist/impls/fireflies-meeting-recorder.utils.js",
227
+ "node": "./dist/node/impls/fireflies-meeting-recorder.utils.mjs",
228
+ "default": "./dist/impls/fireflies-meeting-recorder.utils.js"
229
+ },
230
+ "./impls/gcs-storage": {
231
+ "types": "./dist/impls/gcs-storage.d.ts",
232
+ "bun": "./dist/impls/gcs-storage.js",
233
+ "node": "./dist/node/impls/gcs-storage.mjs",
234
+ "default": "./dist/impls/gcs-storage.js"
235
+ },
236
+ "./impls/gmail-inbound": {
237
+ "types": "./dist/impls/gmail-inbound.d.ts",
238
+ "bun": "./dist/impls/gmail-inbound.js",
239
+ "node": "./dist/node/impls/gmail-inbound.mjs",
240
+ "default": "./dist/impls/gmail-inbound.js"
241
+ },
242
+ "./impls/gmail-outbound": {
243
+ "types": "./dist/impls/gmail-outbound.d.ts",
244
+ "bun": "./dist/impls/gmail-outbound.js",
245
+ "node": "./dist/node/impls/gmail-outbound.mjs",
246
+ "default": "./dist/impls/gmail-outbound.js"
247
+ },
248
+ "./impls/google-calendar": {
249
+ "types": "./dist/impls/google-calendar.d.ts",
250
+ "bun": "./dist/impls/google-calendar.js",
251
+ "node": "./dist/node/impls/google-calendar.mjs",
252
+ "default": "./dist/impls/google-calendar.js"
253
+ },
254
+ "./impls/gradium-voice": {
255
+ "types": "./dist/impls/gradium-voice.d.ts",
256
+ "bun": "./dist/impls/gradium-voice.js",
257
+ "node": "./dist/node/impls/gradium-voice.mjs",
258
+ "default": "./dist/impls/gradium-voice.js"
259
+ },
260
+ "./impls/granola-meeting-recorder": {
261
+ "types": "./dist/impls/granola-meeting-recorder.d.ts",
262
+ "bun": "./dist/impls/granola-meeting-recorder.js",
263
+ "node": "./dist/node/impls/granola-meeting-recorder.mjs",
264
+ "default": "./dist/impls/granola-meeting-recorder.js"
265
+ },
266
+ "./impls/granola-meeting-recorder.mcp": {
267
+ "types": "./dist/impls/granola-meeting-recorder.mcp.d.ts",
268
+ "bun": "./dist/impls/granola-meeting-recorder.mcp.js",
269
+ "node": "./dist/node/impls/granola-meeting-recorder.mcp.mjs",
270
+ "default": "./dist/impls/granola-meeting-recorder.mcp.js"
271
+ },
272
+ "./impls/granola-meeting-recorder.types": {
273
+ "types": "./dist/impls/granola-meeting-recorder.types.d.ts",
274
+ "bun": "./dist/impls/granola-meeting-recorder.types.js",
275
+ "node": "./dist/node/impls/granola-meeting-recorder.types.mjs",
276
+ "default": "./dist/impls/granola-meeting-recorder.types.js"
277
+ },
278
+ "./impls/index": {
279
+ "types": "./dist/impls/index.d.ts",
280
+ "bun": "./dist/impls/index.js",
281
+ "node": "./dist/node/impls/index.mjs",
282
+ "default": "./dist/impls/index.js"
283
+ },
284
+ "./impls/jira": {
285
+ "types": "./dist/impls/jira.d.ts",
286
+ "bun": "./dist/impls/jira.js",
287
+ "node": "./dist/node/impls/jira.mjs",
288
+ "default": "./dist/impls/jira.js"
289
+ },
290
+ "./impls/linear": {
291
+ "types": "./dist/impls/linear.d.ts",
292
+ "bun": "./dist/impls/linear.js",
293
+ "node": "./dist/node/impls/linear.mjs",
294
+ "default": "./dist/impls/linear.js"
295
+ },
296
+ "./impls/mistral-embedding": {
297
+ "types": "./dist/impls/mistral-embedding.d.ts",
298
+ "bun": "./dist/impls/mistral-embedding.js",
299
+ "node": "./dist/node/impls/mistral-embedding.mjs",
300
+ "default": "./dist/impls/mistral-embedding.js"
301
+ },
302
+ "./impls/mistral-llm": {
303
+ "types": "./dist/impls/mistral-llm.d.ts",
304
+ "bun": "./dist/impls/mistral-llm.js",
305
+ "node": "./dist/node/impls/mistral-llm.mjs",
306
+ "default": "./dist/impls/mistral-llm.js"
307
+ },
308
+ "./impls/notion": {
309
+ "types": "./dist/impls/notion.d.ts",
310
+ "bun": "./dist/impls/notion.js",
311
+ "node": "./dist/node/impls/notion.mjs",
312
+ "default": "./dist/impls/notion.js"
313
+ },
314
+ "./impls/posthog": {
315
+ "types": "./dist/impls/posthog.d.ts",
316
+ "bun": "./dist/impls/posthog.js",
317
+ "node": "./dist/node/impls/posthog.mjs",
318
+ "default": "./dist/impls/posthog.js"
319
+ },
320
+ "./impls/posthog-reader": {
321
+ "types": "./dist/impls/posthog-reader.d.ts",
322
+ "bun": "./dist/impls/posthog-reader.js",
323
+ "node": "./dist/node/impls/posthog-reader.mjs",
324
+ "default": "./dist/impls/posthog-reader.js"
325
+ },
326
+ "./impls/posthog-utils": {
327
+ "types": "./dist/impls/posthog-utils.d.ts",
328
+ "bun": "./dist/impls/posthog-utils.js",
329
+ "node": "./dist/node/impls/posthog-utils.mjs",
330
+ "default": "./dist/impls/posthog-utils.js"
331
+ },
332
+ "./impls/postmark-email": {
333
+ "types": "./dist/impls/postmark-email.d.ts",
334
+ "bun": "./dist/impls/postmark-email.js",
335
+ "node": "./dist/node/impls/postmark-email.mjs",
336
+ "default": "./dist/impls/postmark-email.js"
337
+ },
338
+ "./impls/powens-client": {
339
+ "types": "./dist/impls/powens-client.d.ts",
340
+ "bun": "./dist/impls/powens-client.js",
341
+ "node": "./dist/node/impls/powens-client.mjs",
342
+ "default": "./dist/impls/powens-client.js"
343
+ },
344
+ "./impls/powens-openbanking": {
345
+ "types": "./dist/impls/powens-openbanking.d.ts",
346
+ "bun": "./dist/impls/powens-openbanking.js",
347
+ "node": "./dist/node/impls/powens-openbanking.mjs",
348
+ "default": "./dist/impls/powens-openbanking.js"
349
+ },
350
+ "./impls/provider-factory": {
351
+ "types": "./dist/impls/provider-factory.d.ts",
352
+ "bun": "./dist/impls/provider-factory.js",
353
+ "node": "./dist/node/impls/provider-factory.mjs",
354
+ "default": "./dist/impls/provider-factory.js"
355
+ },
356
+ "./impls/qdrant-vector": {
357
+ "types": "./dist/impls/qdrant-vector.d.ts",
358
+ "bun": "./dist/impls/qdrant-vector.js",
359
+ "node": "./dist/node/impls/qdrant-vector.mjs",
360
+ "default": "./dist/impls/qdrant-vector.js"
361
+ },
362
+ "./impls/stripe-payments": {
363
+ "types": "./dist/impls/stripe-payments.d.ts",
364
+ "bun": "./dist/impls/stripe-payments.js",
365
+ "node": "./dist/node/impls/stripe-payments.mjs",
366
+ "default": "./dist/impls/stripe-payments.js"
367
+ },
368
+ "./impls/supabase-psql": {
369
+ "types": "./dist/impls/supabase-psql.d.ts",
370
+ "bun": "./dist/impls/supabase-psql.js",
371
+ "node": "./dist/node/impls/supabase-psql.mjs",
372
+ "default": "./dist/impls/supabase-psql.js"
373
+ },
374
+ "./impls/supabase-vector": {
375
+ "types": "./dist/impls/supabase-vector.d.ts",
376
+ "bun": "./dist/impls/supabase-vector.js",
377
+ "node": "./dist/node/impls/supabase-vector.mjs",
378
+ "default": "./dist/impls/supabase-vector.js"
379
+ },
380
+ "./impls/tldv-meeting-recorder": {
381
+ "types": "./dist/impls/tldv-meeting-recorder.d.ts",
382
+ "bun": "./dist/impls/tldv-meeting-recorder.js",
383
+ "node": "./dist/node/impls/tldv-meeting-recorder.mjs",
384
+ "default": "./dist/impls/tldv-meeting-recorder.js"
385
+ },
386
+ "./impls/twilio-sms": {
387
+ "types": "./dist/impls/twilio-sms.d.ts",
388
+ "bun": "./dist/impls/twilio-sms.js",
389
+ "node": "./dist/node/impls/twilio-sms.mjs",
390
+ "default": "./dist/impls/twilio-sms.js"
391
+ },
392
+ "./llm": {
393
+ "types": "./dist/llm.d.ts",
394
+ "bun": "./dist/llm.js",
395
+ "node": "./dist/node/llm.mjs",
396
+ "default": "./dist/llm.js"
397
+ },
398
+ "./meeting-recorder": {
399
+ "types": "./dist/meeting-recorder.d.ts",
400
+ "bun": "./dist/meeting-recorder.js",
401
+ "node": "./dist/node/meeting-recorder.mjs",
402
+ "default": "./dist/meeting-recorder.js"
403
+ },
404
+ "./openbanking": {
405
+ "types": "./dist/openbanking.d.ts",
406
+ "bun": "./dist/openbanking.js",
407
+ "node": "./dist/node/openbanking.mjs",
408
+ "default": "./dist/openbanking.js"
409
+ },
410
+ "./payments": {
411
+ "types": "./dist/payments.d.ts",
412
+ "bun": "./dist/payments.js",
413
+ "node": "./dist/node/payments.mjs",
414
+ "default": "./dist/payments.js"
415
+ },
416
+ "./project-management": {
417
+ "types": "./dist/project-management.d.ts",
418
+ "bun": "./dist/project-management.js",
419
+ "node": "./dist/node/project-management.mjs",
420
+ "default": "./dist/project-management.js"
421
+ },
422
+ "./runtime": {
423
+ "types": "./dist/runtime.d.ts",
424
+ "bun": "./dist/runtime.js",
425
+ "node": "./dist/node/runtime.mjs",
426
+ "default": "./dist/runtime.js"
427
+ },
428
+ "./secrets/provider": {
429
+ "types": "./dist/secrets/provider.d.ts",
430
+ "bun": "./dist/secrets/provider.js",
431
+ "node": "./dist/node/secrets/provider.mjs",
432
+ "default": "./dist/secrets/provider.js"
433
+ },
434
+ "./sms": {
435
+ "types": "./dist/sms.d.ts",
436
+ "bun": "./dist/sms.js",
437
+ "node": "./dist/node/sms.mjs",
438
+ "default": "./dist/sms.js"
439
+ },
440
+ "./storage": {
441
+ "types": "./dist/storage.d.ts",
442
+ "bun": "./dist/storage.js",
443
+ "node": "./dist/node/storage.mjs",
444
+ "default": "./dist/storage.js"
445
+ },
446
+ "./vector-store": {
447
+ "types": "./dist/vector-store.d.ts",
448
+ "bun": "./dist/vector-store.js",
449
+ "node": "./dist/node/vector-store.mjs",
450
+ "default": "./dist/vector-store.js"
451
+ },
452
+ "./voice": {
453
+ "types": "./dist/voice.d.ts",
454
+ "bun": "./dist/voice.js",
455
+ "node": "./dist/node/voice.mjs",
456
+ "default": "./dist/voice.js"
457
+ }
167
458
  },
168
459
  "registry": "https://registry.npmjs.org/"
169
460
  },
@@ -1,36 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __exportAll = (all, no_symbols) => {
7
- let target = {};
8
- for (var name in all) {
9
- __defProp(target, name, {
10
- get: all[name],
11
- enumerable: true
12
- });
13
- }
14
- if (!no_symbols) {
15
- __defProp(target, Symbol.toStringTag, { value: "Module" });
16
- }
17
- return target;
18
- };
19
- var __copyProps = (to, from, except, desc) => {
20
- if (from && typeof from === "object" || typeof from === "function") {
21
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
- key = keys[i];
23
- if (!__hasOwnProp.call(to, key) && key !== except) {
24
- __defProp(to, key, {
25
- get: ((k) => from[k]).bind(null, key),
26
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
27
- });
28
- }
29
- }
30
- }
31
- return to;
32
- };
33
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
34
-
35
- //#endregion
36
- export { __exportAll, __reExport };
@@ -1 +0,0 @@
1
- {"version":3,"file":"elevenlabs-voice.js","names":[],"sources":["../../src/impls/elevenlabs-voice.ts"],"sourcesContent":["import type { ElevenLabs } from '@elevenlabs/elevenlabs-js';\nimport { ElevenLabsClient } from '@elevenlabs/elevenlabs-js';\n\nimport type {\n Voice,\n VoiceProvider,\n VoiceSynthesisInput,\n VoiceSynthesisResult,\n} from '../voice';\n\nexport interface ElevenLabsVoiceProviderOptions {\n apiKey: string;\n defaultVoiceId?: string;\n modelId?: string;\n client?: ElevenLabsClient;\n}\n\nconst FORMAT_MAP: Record<\n NonNullable<VoiceSynthesisInput['format']>,\n ElevenLabs.TextToSpeechConvertRequestOutputFormat\n> = {\n mp3: 'mp3_44100_128',\n wav: 'pcm_44100',\n ogg: 'mp3_44100_128',\n pcm: 'pcm_16000',\n};\n\nconst SAMPLE_RATE: Partial<\n Record<ElevenLabs.TextToSpeechConvertRequestOutputFormat, number>\n> = {\n mp3_22050_32: 22050,\n mp3_44100_32: 44100,\n mp3_44100_64: 44100,\n mp3_44100_96: 44100,\n mp3_44100_128: 44100,\n mp3_44100_192: 44100,\n pcm_16000: 16000,\n pcm_22050: 22050,\n pcm_24000: 24000,\n pcm_44100: 44100,\n ulaw_8000: 8000,\n};\n\nexport class ElevenLabsVoiceProvider implements VoiceProvider {\n private readonly client: ElevenLabsClient;\n private readonly defaultVoiceId?: string;\n private readonly modelId?: string;\n\n constructor(options: ElevenLabsVoiceProviderOptions) {\n this.client =\n options.client ??\n new ElevenLabsClient({\n apiKey: options.apiKey,\n });\n this.defaultVoiceId = options.defaultVoiceId;\n this.modelId = options.modelId;\n }\n\n async listVoices(): Promise<Voice[]> {\n const response = await this.client.voices.getAll();\n return (response.voices ?? []).map((voice) => ({\n id: voice.voiceId ?? '',\n name: voice.name ?? '',\n description: voice.description ?? undefined,\n language: voice.labels?.language ?? undefined,\n metadata: {\n category: voice.category ?? '',\n ...(voice.previewUrl ? { previewUrl: voice.previewUrl } : {}),\n ...(() => {\n const { language, ...rest } = voice.labels ?? {};\n return rest;\n })(),\n },\n }));\n }\n\n async synthesize(input: VoiceSynthesisInput): Promise<VoiceSynthesisResult> {\n const voiceId = input.voiceId ?? this.defaultVoiceId;\n if (!voiceId) {\n throw new Error('Voice ID is required for ElevenLabs synthesis.');\n }\n\n const formatKey = input.format ?? 'mp3';\n const outputFormat = FORMAT_MAP[formatKey] ?? FORMAT_MAP.mp3;\n const sampleRate =\n input.sampleRateHz ??\n SAMPLE_RATE[outputFormat] ??\n SAMPLE_RATE.mp3_44100_128 ??\n 44100;\n\n const voiceSettings =\n input.stability != null ||\n input.similarityBoost != null ||\n input.style != null\n ? {\n ...(input.stability != null ? { stability: input.stability } : {}),\n ...(input.similarityBoost != null\n ? { similarityBoost: input.similarityBoost }\n : {}),\n ...(input.style != null ? { style: input.style } : {}),\n }\n : undefined;\n\n const stream = await this.client.textToSpeech.convert(voiceId, {\n text: input.text,\n modelId: this.modelId,\n outputFormat,\n voiceSettings,\n });\n\n const audio = await readWebStream(stream);\n\n return {\n audio,\n format: formatKey,\n sampleRateHz: sampleRate,\n durationSeconds: undefined,\n url: undefined,\n };\n }\n}\n\nasync function readWebStream(\n stream: ReadableStream<Uint8Array>\n): Promise<Uint8Array> {\n const reader = stream.getReader();\n const chunks: Uint8Array[] = [];\n\n while (true) {\n const { done, value } = await reader.read();\n if (done) break;\n if (value) {\n chunks.push(value);\n }\n }\n\n const length = chunks.reduce((total, chunk) => total + chunk.length, 0);\n const result = new Uint8Array(length);\n let offset = 0;\n for (const chunk of chunks) {\n result.set(chunk, offset);\n offset += chunk.length;\n }\n return result;\n}\n"],"mappings":";;;AAiBA,MAAM,aAGF;CACF,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACN;AAED,MAAM,cAEF;CACF,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,eAAe;CACf,eAAe;CACf,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACZ;AAED,IAAa,0BAAb,MAA8D;CAC5D,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CAEjB,YAAY,SAAyC;AACnD,OAAK,SACH,QAAQ,UACR,IAAI,iBAAiB,EACnB,QAAQ,QAAQ,QACjB,CAAC;AACJ,OAAK,iBAAiB,QAAQ;AAC9B,OAAK,UAAU,QAAQ;;CAGzB,MAAM,aAA+B;AAEnC,WADiB,MAAM,KAAK,OAAO,OAAO,QAAQ,EACjC,UAAU,EAAE,EAAE,KAAK,WAAW;GAC7C,IAAI,MAAM,WAAW;GACrB,MAAM,MAAM,QAAQ;GACpB,aAAa,MAAM,eAAe;GAClC,UAAU,MAAM,QAAQ,YAAY;GACpC,UAAU;IACR,UAAU,MAAM,YAAY;IAC5B,GAAI,MAAM,aAAa,EAAE,YAAY,MAAM,YAAY,GAAG,EAAE;IAC5D,UAAU;KACR,MAAM,EAAE,UAAU,GAAG,SAAS,MAAM,UAAU,EAAE;AAChD,YAAO;QACL;IACL;GACF,EAAE;;CAGL,MAAM,WAAW,OAA2D;EAC1E,MAAM,UAAU,MAAM,WAAW,KAAK;AACtC,MAAI,CAAC,QACH,OAAM,IAAI,MAAM,iDAAiD;EAGnE,MAAM,YAAY,MAAM,UAAU;EAClC,MAAM,eAAe,WAAW,cAAc,WAAW;EACzD,MAAM,aACJ,MAAM,gBACN,YAAY,iBACZ,YAAY,iBACZ;EAEF,MAAM,gBACJ,MAAM,aAAa,QACnB,MAAM,mBAAmB,QACzB,MAAM,SAAS,OACX;GACE,GAAI,MAAM,aAAa,OAAO,EAAE,WAAW,MAAM,WAAW,GAAG,EAAE;GACjE,GAAI,MAAM,mBAAmB,OACzB,EAAE,iBAAiB,MAAM,iBAAiB,GAC1C,EAAE;GACN,GAAI,MAAM,SAAS,OAAO,EAAE,OAAO,MAAM,OAAO,GAAG,EAAE;GACtD,GACD;AAWN,SAAO;GACL,OAHY,MAAM,cAPL,MAAM,KAAK,OAAO,aAAa,QAAQ,SAAS;IAC7D,MAAM,MAAM;IACZ,SAAS,KAAK;IACd;IACA;IACD,CAAC,CAEuC;GAIvC,QAAQ;GACR,cAAc;GACd,iBAAiB;GACjB,KAAK;GACN;;;AAIL,eAAe,cACb,QACqB;CACrB,MAAM,SAAS,OAAO,WAAW;CACjC,MAAM,SAAuB,EAAE;AAE/B,QAAO,MAAM;EACX,MAAM,EAAE,MAAM,UAAU,MAAM,OAAO,MAAM;AAC3C,MAAI,KAAM;AACV,MAAI,MACF,QAAO,KAAK,MAAM;;CAItB,MAAM,SAAS,OAAO,QAAQ,OAAO,UAAU,QAAQ,MAAM,QAAQ,EAAE;CACvE,MAAM,SAAS,IAAI,WAAW,OAAO;CACrC,IAAI,SAAS;AACb,MAAK,MAAM,SAAS,QAAQ;AAC1B,SAAO,IAAI,OAAO,OAAO;AACzB,YAAU,MAAM;;AAElB,QAAO"}