@contractspec/integration.providers-impls 2.9.0 → 3.0.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 (61) hide show
  1. package/README.md +59 -0
  2. package/dist/health.d.ts +1 -0
  3. package/dist/health.js +3 -0
  4. package/dist/impls/async-event-queue.d.ts +8 -0
  5. package/dist/impls/async-event-queue.js +47 -0
  6. package/dist/impls/health/base-health-provider.d.ts +98 -0
  7. package/dist/impls/health/base-health-provider.js +616 -0
  8. package/dist/impls/health/hybrid-health-providers.d.ts +34 -0
  9. package/dist/impls/health/hybrid-health-providers.js +1088 -0
  10. package/dist/impls/health/official-health-providers.d.ts +78 -0
  11. package/dist/impls/health/official-health-providers.js +968 -0
  12. package/dist/impls/health/provider-normalizers.d.ts +28 -0
  13. package/dist/impls/health/provider-normalizers.js +287 -0
  14. package/dist/impls/health/providers.d.ts +2 -0
  15. package/dist/impls/health/providers.js +1094 -0
  16. package/dist/impls/health-provider-factory.d.ts +3 -0
  17. package/dist/impls/health-provider-factory.js +1308 -0
  18. package/dist/impls/index.d.ts +8 -0
  19. package/dist/impls/index.js +2356 -176
  20. package/dist/impls/messaging-github.d.ts +17 -0
  21. package/dist/impls/messaging-github.js +110 -0
  22. package/dist/impls/messaging-slack.d.ts +14 -0
  23. package/dist/impls/messaging-slack.js +80 -0
  24. package/dist/impls/messaging-whatsapp-meta.d.ts +13 -0
  25. package/dist/impls/messaging-whatsapp-meta.js +52 -0
  26. package/dist/impls/messaging-whatsapp-twilio.d.ts +13 -0
  27. package/dist/impls/messaging-whatsapp-twilio.js +82 -0
  28. package/dist/impls/mistral-conversational.d.ts +23 -0
  29. package/dist/impls/mistral-conversational.js +476 -0
  30. package/dist/impls/mistral-conversational.session.d.ts +32 -0
  31. package/dist/impls/mistral-conversational.session.js +206 -0
  32. package/dist/impls/mistral-stt.d.ts +17 -0
  33. package/dist/impls/mistral-stt.js +167 -0
  34. package/dist/impls/provider-factory.d.ts +7 -1
  35. package/dist/impls/provider-factory.js +2338 -176
  36. package/dist/impls/stripe-payments.js +1 -1
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.js +2360 -174
  39. package/dist/messaging.d.ts +1 -0
  40. package/dist/messaging.js +3 -0
  41. package/dist/node/health.js +2 -0
  42. package/dist/node/impls/async-event-queue.js +46 -0
  43. package/dist/node/impls/health/base-health-provider.js +615 -0
  44. package/dist/node/impls/health/hybrid-health-providers.js +1087 -0
  45. package/dist/node/impls/health/official-health-providers.js +967 -0
  46. package/dist/node/impls/health/provider-normalizers.js +286 -0
  47. package/dist/node/impls/health/providers.js +1093 -0
  48. package/dist/node/impls/health-provider-factory.js +1307 -0
  49. package/dist/node/impls/index.js +2356 -176
  50. package/dist/node/impls/messaging-github.js +109 -0
  51. package/dist/node/impls/messaging-slack.js +79 -0
  52. package/dist/node/impls/messaging-whatsapp-meta.js +51 -0
  53. package/dist/node/impls/messaging-whatsapp-twilio.js +81 -0
  54. package/dist/node/impls/mistral-conversational.js +475 -0
  55. package/dist/node/impls/mistral-conversational.session.js +205 -0
  56. package/dist/node/impls/mistral-stt.js +166 -0
  57. package/dist/node/impls/provider-factory.js +2338 -176
  58. package/dist/node/impls/stripe-payments.js +1 -1
  59. package/dist/node/index.js +2360 -174
  60. package/dist/node/messaging.js +2 -0
  61. package/package.json +204 -12
@@ -0,0 +1,2 @@
1
+ // src/messaging.ts
2
+ export * from "@contractspec/lib.contracts-integrations";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/integration.providers-impls",
3
- "version": "2.9.0",
3
+ "version": "3.0.0",
4
4
  "description": "Integration provider implementations for email, payments, storage, and more",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -32,16 +32,16 @@
32
32
  "typecheck": "tsc --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@contractspec/lib.contracts-spec": "2.9.0",
36
- "@contractspec/lib.contracts-integrations": "2.9.0",
37
- "@contractspec/integration.runtime": "2.9.0",
35
+ "@contractspec/lib.contracts-spec": "3.0.0",
36
+ "@contractspec/lib.contracts-integrations": "3.0.0",
37
+ "@contractspec/integration.runtime": "3.0.0",
38
38
  "@elevenlabs/elevenlabs-js": "^2.36.0",
39
- "@fal-ai/client": "^1.9.3",
39
+ "@fal-ai/client": "^1.9.4",
40
40
  "@google-cloud/storage": "^7.19.0",
41
- "@linear/sdk": "^75.0.0",
42
- "@mistralai/mistralai": "^1.14.0",
43
- "@notionhq/client": "^5.9.0",
44
- "posthog-node": "^5.25.0",
41
+ "@linear/sdk": "^76.0.0",
42
+ "@mistralai/mistralai": "^1.14.1",
43
+ "@notionhq/client": "^5.11.0",
44
+ "posthog-node": "^5.26.0",
45
45
  "@qdrant/js-client-rest": "^1.17.0",
46
46
  "@confiture-ai/gradium-sdk-js": "^0.1.1",
47
47
  "drizzle-orm": "^0.45.1",
@@ -49,15 +49,15 @@
49
49
  "googleapis": "^171.4.0",
50
50
  "postgres": "^3.4.8",
51
51
  "postmark": "^4.0.7",
52
- "stripe": "^20.3.1",
52
+ "stripe": "^20.4.0",
53
53
  "twilio": "^5.12.2",
54
54
  "zod": "^4.3.5"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/bun": "1.3.9",
58
- "@contractspec/tool.typescript": "2.9.0",
58
+ "@contractspec/tool.typescript": "3.0.0",
59
59
  "typescript": "^5.9.3",
60
- "@contractspec/tool.bun": "2.9.0"
60
+ "@contractspec/tool.bun": "3.0.0"
61
61
  },
62
62
  "exports": {
63
63
  ".": {
@@ -96,12 +96,24 @@
96
96
  "node": "./dist/node/embedding.js",
97
97
  "default": "./dist/embedding.js"
98
98
  },
99
+ "./health": {
100
+ "types": "./dist/health.d.ts",
101
+ "bun": "./dist/health.js",
102
+ "node": "./dist/node/health.js",
103
+ "default": "./dist/health.js"
104
+ },
99
105
  "./impls": {
100
106
  "types": "./dist/impls/index.d.ts",
101
107
  "bun": "./dist/impls/index.js",
102
108
  "node": "./dist/node/impls/index.js",
103
109
  "default": "./dist/impls/index.js"
104
110
  },
111
+ "./impls/async-event-queue": {
112
+ "types": "./dist/impls/async-event-queue.d.ts",
113
+ "bun": "./dist/impls/async-event-queue.js",
114
+ "node": "./dist/node/impls/async-event-queue.js",
115
+ "default": "./dist/impls/async-event-queue.js"
116
+ },
105
117
  "./impls/elevenlabs-voice": {
106
118
  "types": "./dist/impls/elevenlabs-voice.d.ts",
107
119
  "bun": "./dist/impls/elevenlabs-voice.js",
@@ -216,6 +228,42 @@
216
228
  "node": "./dist/node/impls/granola-meeting-recorder.types.js",
217
229
  "default": "./dist/impls/granola-meeting-recorder.types.js"
218
230
  },
231
+ "./impls/health-provider-factory": {
232
+ "types": "./dist/impls/health-provider-factory.d.ts",
233
+ "bun": "./dist/impls/health-provider-factory.js",
234
+ "node": "./dist/node/impls/health-provider-factory.js",
235
+ "default": "./dist/impls/health-provider-factory.js"
236
+ },
237
+ "./impls/health/base-health-provider": {
238
+ "types": "./dist/impls/health/base-health-provider.d.ts",
239
+ "bun": "./dist/impls/health/base-health-provider.js",
240
+ "node": "./dist/node/impls/health/base-health-provider.js",
241
+ "default": "./dist/impls/health/base-health-provider.js"
242
+ },
243
+ "./impls/health/hybrid-health-providers": {
244
+ "types": "./dist/impls/health/hybrid-health-providers.d.ts",
245
+ "bun": "./dist/impls/health/hybrid-health-providers.js",
246
+ "node": "./dist/node/impls/health/hybrid-health-providers.js",
247
+ "default": "./dist/impls/health/hybrid-health-providers.js"
248
+ },
249
+ "./impls/health/official-health-providers": {
250
+ "types": "./dist/impls/health/official-health-providers.d.ts",
251
+ "bun": "./dist/impls/health/official-health-providers.js",
252
+ "node": "./dist/node/impls/health/official-health-providers.js",
253
+ "default": "./dist/impls/health/official-health-providers.js"
254
+ },
255
+ "./impls/health/provider-normalizers": {
256
+ "types": "./dist/impls/health/provider-normalizers.d.ts",
257
+ "bun": "./dist/impls/health/provider-normalizers.js",
258
+ "node": "./dist/node/impls/health/provider-normalizers.js",
259
+ "default": "./dist/impls/health/provider-normalizers.js"
260
+ },
261
+ "./impls/health/providers": {
262
+ "types": "./dist/impls/health/providers.d.ts",
263
+ "bun": "./dist/impls/health/providers.js",
264
+ "node": "./dist/node/impls/health/providers.js",
265
+ "default": "./dist/impls/health/providers.js"
266
+ },
219
267
  "./impls/index": {
220
268
  "types": "./dist/impls/index.d.ts",
221
269
  "bun": "./dist/impls/index.js",
@@ -234,6 +282,42 @@
234
282
  "node": "./dist/node/impls/linear.js",
235
283
  "default": "./dist/impls/linear.js"
236
284
  },
285
+ "./impls/messaging-github": {
286
+ "types": "./dist/impls/messaging-github.d.ts",
287
+ "bun": "./dist/impls/messaging-github.js",
288
+ "node": "./dist/node/impls/messaging-github.js",
289
+ "default": "./dist/impls/messaging-github.js"
290
+ },
291
+ "./impls/messaging-slack": {
292
+ "types": "./dist/impls/messaging-slack.d.ts",
293
+ "bun": "./dist/impls/messaging-slack.js",
294
+ "node": "./dist/node/impls/messaging-slack.js",
295
+ "default": "./dist/impls/messaging-slack.js"
296
+ },
297
+ "./impls/messaging-whatsapp-meta": {
298
+ "types": "./dist/impls/messaging-whatsapp-meta.d.ts",
299
+ "bun": "./dist/impls/messaging-whatsapp-meta.js",
300
+ "node": "./dist/node/impls/messaging-whatsapp-meta.js",
301
+ "default": "./dist/impls/messaging-whatsapp-meta.js"
302
+ },
303
+ "./impls/messaging-whatsapp-twilio": {
304
+ "types": "./dist/impls/messaging-whatsapp-twilio.d.ts",
305
+ "bun": "./dist/impls/messaging-whatsapp-twilio.js",
306
+ "node": "./dist/node/impls/messaging-whatsapp-twilio.js",
307
+ "default": "./dist/impls/messaging-whatsapp-twilio.js"
308
+ },
309
+ "./impls/mistral-conversational": {
310
+ "types": "./dist/impls/mistral-conversational.d.ts",
311
+ "bun": "./dist/impls/mistral-conversational.js",
312
+ "node": "./dist/node/impls/mistral-conversational.js",
313
+ "default": "./dist/impls/mistral-conversational.js"
314
+ },
315
+ "./impls/mistral-conversational.session": {
316
+ "types": "./dist/impls/mistral-conversational.session.d.ts",
317
+ "bun": "./dist/impls/mistral-conversational.session.js",
318
+ "node": "./dist/node/impls/mistral-conversational.session.js",
319
+ "default": "./dist/impls/mistral-conversational.session.js"
320
+ },
237
321
  "./impls/mistral-embedding": {
238
322
  "types": "./dist/impls/mistral-embedding.d.ts",
239
323
  "bun": "./dist/impls/mistral-embedding.js",
@@ -246,6 +330,12 @@
246
330
  "node": "./dist/node/impls/mistral-llm.js",
247
331
  "default": "./dist/impls/mistral-llm.js"
248
332
  },
333
+ "./impls/mistral-stt": {
334
+ "types": "./dist/impls/mistral-stt.d.ts",
335
+ "bun": "./dist/impls/mistral-stt.js",
336
+ "node": "./dist/node/impls/mistral-stt.js",
337
+ "default": "./dist/impls/mistral-stt.js"
338
+ },
249
339
  "./impls/notion": {
250
340
  "types": "./dist/impls/notion.d.ts",
251
341
  "bun": "./dist/impls/notion.js",
@@ -342,6 +432,12 @@
342
432
  "node": "./dist/node/meeting-recorder.js",
343
433
  "default": "./dist/meeting-recorder.js"
344
434
  },
435
+ "./messaging": {
436
+ "types": "./dist/messaging.d.ts",
437
+ "bun": "./dist/messaging.js",
438
+ "node": "./dist/node/messaging.js",
439
+ "default": "./dist/messaging.js"
440
+ },
345
441
  "./openbanking": {
346
442
  "types": "./dist/openbanking.d.ts",
347
443
  "bun": "./dist/openbanking.js",
@@ -436,12 +532,24 @@
436
532
  "node": "./dist/node/embedding.js",
437
533
  "default": "./dist/embedding.js"
438
534
  },
535
+ "./health": {
536
+ "types": "./dist/health.d.ts",
537
+ "bun": "./dist/health.js",
538
+ "node": "./dist/node/health.js",
539
+ "default": "./dist/health.js"
540
+ },
439
541
  "./impls": {
440
542
  "types": "./dist/impls/index.d.ts",
441
543
  "bun": "./dist/impls/index.js",
442
544
  "node": "./dist/node/impls/index.js",
443
545
  "default": "./dist/impls/index.js"
444
546
  },
547
+ "./impls/async-event-queue": {
548
+ "types": "./dist/impls/async-event-queue.d.ts",
549
+ "bun": "./dist/impls/async-event-queue.js",
550
+ "node": "./dist/node/impls/async-event-queue.js",
551
+ "default": "./dist/impls/async-event-queue.js"
552
+ },
445
553
  "./impls/elevenlabs-voice": {
446
554
  "types": "./dist/impls/elevenlabs-voice.d.ts",
447
555
  "bun": "./dist/impls/elevenlabs-voice.js",
@@ -556,6 +664,42 @@
556
664
  "node": "./dist/node/impls/granola-meeting-recorder.types.js",
557
665
  "default": "./dist/impls/granola-meeting-recorder.types.js"
558
666
  },
667
+ "./impls/health-provider-factory": {
668
+ "types": "./dist/impls/health-provider-factory.d.ts",
669
+ "bun": "./dist/impls/health-provider-factory.js",
670
+ "node": "./dist/node/impls/health-provider-factory.js",
671
+ "default": "./dist/impls/health-provider-factory.js"
672
+ },
673
+ "./impls/health/base-health-provider": {
674
+ "types": "./dist/impls/health/base-health-provider.d.ts",
675
+ "bun": "./dist/impls/health/base-health-provider.js",
676
+ "node": "./dist/node/impls/health/base-health-provider.js",
677
+ "default": "./dist/impls/health/base-health-provider.js"
678
+ },
679
+ "./impls/health/hybrid-health-providers": {
680
+ "types": "./dist/impls/health/hybrid-health-providers.d.ts",
681
+ "bun": "./dist/impls/health/hybrid-health-providers.js",
682
+ "node": "./dist/node/impls/health/hybrid-health-providers.js",
683
+ "default": "./dist/impls/health/hybrid-health-providers.js"
684
+ },
685
+ "./impls/health/official-health-providers": {
686
+ "types": "./dist/impls/health/official-health-providers.d.ts",
687
+ "bun": "./dist/impls/health/official-health-providers.js",
688
+ "node": "./dist/node/impls/health/official-health-providers.js",
689
+ "default": "./dist/impls/health/official-health-providers.js"
690
+ },
691
+ "./impls/health/provider-normalizers": {
692
+ "types": "./dist/impls/health/provider-normalizers.d.ts",
693
+ "bun": "./dist/impls/health/provider-normalizers.js",
694
+ "node": "./dist/node/impls/health/provider-normalizers.js",
695
+ "default": "./dist/impls/health/provider-normalizers.js"
696
+ },
697
+ "./impls/health/providers": {
698
+ "types": "./dist/impls/health/providers.d.ts",
699
+ "bun": "./dist/impls/health/providers.js",
700
+ "node": "./dist/node/impls/health/providers.js",
701
+ "default": "./dist/impls/health/providers.js"
702
+ },
559
703
  "./impls/index": {
560
704
  "types": "./dist/impls/index.d.ts",
561
705
  "bun": "./dist/impls/index.js",
@@ -574,6 +718,42 @@
574
718
  "node": "./dist/node/impls/linear.js",
575
719
  "default": "./dist/impls/linear.js"
576
720
  },
721
+ "./impls/messaging-github": {
722
+ "types": "./dist/impls/messaging-github.d.ts",
723
+ "bun": "./dist/impls/messaging-github.js",
724
+ "node": "./dist/node/impls/messaging-github.js",
725
+ "default": "./dist/impls/messaging-github.js"
726
+ },
727
+ "./impls/messaging-slack": {
728
+ "types": "./dist/impls/messaging-slack.d.ts",
729
+ "bun": "./dist/impls/messaging-slack.js",
730
+ "node": "./dist/node/impls/messaging-slack.js",
731
+ "default": "./dist/impls/messaging-slack.js"
732
+ },
733
+ "./impls/messaging-whatsapp-meta": {
734
+ "types": "./dist/impls/messaging-whatsapp-meta.d.ts",
735
+ "bun": "./dist/impls/messaging-whatsapp-meta.js",
736
+ "node": "./dist/node/impls/messaging-whatsapp-meta.js",
737
+ "default": "./dist/impls/messaging-whatsapp-meta.js"
738
+ },
739
+ "./impls/messaging-whatsapp-twilio": {
740
+ "types": "./dist/impls/messaging-whatsapp-twilio.d.ts",
741
+ "bun": "./dist/impls/messaging-whatsapp-twilio.js",
742
+ "node": "./dist/node/impls/messaging-whatsapp-twilio.js",
743
+ "default": "./dist/impls/messaging-whatsapp-twilio.js"
744
+ },
745
+ "./impls/mistral-conversational": {
746
+ "types": "./dist/impls/mistral-conversational.d.ts",
747
+ "bun": "./dist/impls/mistral-conversational.js",
748
+ "node": "./dist/node/impls/mistral-conversational.js",
749
+ "default": "./dist/impls/mistral-conversational.js"
750
+ },
751
+ "./impls/mistral-conversational.session": {
752
+ "types": "./dist/impls/mistral-conversational.session.d.ts",
753
+ "bun": "./dist/impls/mistral-conversational.session.js",
754
+ "node": "./dist/node/impls/mistral-conversational.session.js",
755
+ "default": "./dist/impls/mistral-conversational.session.js"
756
+ },
577
757
  "./impls/mistral-embedding": {
578
758
  "types": "./dist/impls/mistral-embedding.d.ts",
579
759
  "bun": "./dist/impls/mistral-embedding.js",
@@ -586,6 +766,12 @@
586
766
  "node": "./dist/node/impls/mistral-llm.js",
587
767
  "default": "./dist/impls/mistral-llm.js"
588
768
  },
769
+ "./impls/mistral-stt": {
770
+ "types": "./dist/impls/mistral-stt.d.ts",
771
+ "bun": "./dist/impls/mistral-stt.js",
772
+ "node": "./dist/node/impls/mistral-stt.js",
773
+ "default": "./dist/impls/mistral-stt.js"
774
+ },
589
775
  "./impls/notion": {
590
776
  "types": "./dist/impls/notion.d.ts",
591
777
  "bun": "./dist/impls/notion.js",
@@ -682,6 +868,12 @@
682
868
  "node": "./dist/node/meeting-recorder.js",
683
869
  "default": "./dist/meeting-recorder.js"
684
870
  },
871
+ "./messaging": {
872
+ "types": "./dist/messaging.d.ts",
873
+ "bun": "./dist/messaging.js",
874
+ "node": "./dist/node/messaging.js",
875
+ "default": "./dist/messaging.js"
876
+ },
685
877
  "./openbanking": {
686
878
  "types": "./dist/openbanking.d.ts",
687
879
  "bun": "./dist/openbanking.js",