@contractspec/integration.providers-impls 2.10.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 (57) hide show
  1. package/README.md +7 -1
  2. package/dist/impls/async-event-queue.d.ts +8 -0
  3. package/dist/impls/async-event-queue.js +47 -0
  4. package/dist/impls/health/base-health-provider.d.ts +64 -13
  5. package/dist/impls/health/base-health-provider.js +506 -156
  6. package/dist/impls/health/hybrid-health-providers.d.ts +34 -0
  7. package/dist/impls/health/hybrid-health-providers.js +1088 -0
  8. package/dist/impls/health/official-health-providers.d.ts +78 -0
  9. package/dist/impls/health/official-health-providers.js +968 -0
  10. package/dist/impls/health/provider-normalizers.d.ts +28 -0
  11. package/dist/impls/health/provider-normalizers.js +287 -0
  12. package/dist/impls/health/providers.d.ts +2 -39
  13. package/dist/impls/health/providers.js +895 -184
  14. package/dist/impls/health-provider-factory.js +1009 -196
  15. package/dist/impls/index.d.ts +6 -0
  16. package/dist/impls/index.js +1950 -278
  17. package/dist/impls/messaging-github.d.ts +17 -0
  18. package/dist/impls/messaging-github.js +110 -0
  19. package/dist/impls/messaging-slack.d.ts +14 -0
  20. package/dist/impls/messaging-slack.js +80 -0
  21. package/dist/impls/messaging-whatsapp-meta.d.ts +13 -0
  22. package/dist/impls/messaging-whatsapp-meta.js +52 -0
  23. package/dist/impls/messaging-whatsapp-twilio.d.ts +13 -0
  24. package/dist/impls/messaging-whatsapp-twilio.js +82 -0
  25. package/dist/impls/mistral-conversational.d.ts +23 -0
  26. package/dist/impls/mistral-conversational.js +476 -0
  27. package/dist/impls/mistral-conversational.session.d.ts +32 -0
  28. package/dist/impls/mistral-conversational.session.js +206 -0
  29. package/dist/impls/mistral-stt.d.ts +17 -0
  30. package/dist/impls/mistral-stt.js +167 -0
  31. package/dist/impls/provider-factory.d.ts +5 -1
  32. package/dist/impls/provider-factory.js +1943 -277
  33. package/dist/impls/stripe-payments.js +1 -1
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +1953 -278
  36. package/dist/messaging.d.ts +1 -0
  37. package/dist/messaging.js +3 -0
  38. package/dist/node/impls/async-event-queue.js +46 -0
  39. package/dist/node/impls/health/base-health-provider.js +506 -156
  40. package/dist/node/impls/health/hybrid-health-providers.js +1087 -0
  41. package/dist/node/impls/health/official-health-providers.js +967 -0
  42. package/dist/node/impls/health/provider-normalizers.js +286 -0
  43. package/dist/node/impls/health/providers.js +895 -184
  44. package/dist/node/impls/health-provider-factory.js +1009 -196
  45. package/dist/node/impls/index.js +1950 -278
  46. package/dist/node/impls/messaging-github.js +109 -0
  47. package/dist/node/impls/messaging-slack.js +79 -0
  48. package/dist/node/impls/messaging-whatsapp-meta.js +51 -0
  49. package/dist/node/impls/messaging-whatsapp-twilio.js +81 -0
  50. package/dist/node/impls/mistral-conversational.js +475 -0
  51. package/dist/node/impls/mistral-conversational.session.js +205 -0
  52. package/dist/node/impls/mistral-stt.js +166 -0
  53. package/dist/node/impls/provider-factory.js +1943 -277
  54. package/dist/node/impls/stripe-payments.js +1 -1
  55. package/dist/node/index.js +1953 -278
  56. package/dist/node/messaging.js +2 -0
  57. package/package.json +156 -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.10.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.10.0",
36
- "@contractspec/lib.contracts-integrations": "2.10.0",
37
- "@contractspec/integration.runtime": "2.10.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
  ".": {
@@ -108,6 +108,12 @@
108
108
  "node": "./dist/node/impls/index.js",
109
109
  "default": "./dist/impls/index.js"
110
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
+ },
111
117
  "./impls/elevenlabs-voice": {
112
118
  "types": "./dist/impls/elevenlabs-voice.d.ts",
113
119
  "bun": "./dist/impls/elevenlabs-voice.js",
@@ -234,6 +240,24 @@
234
240
  "node": "./dist/node/impls/health/base-health-provider.js",
235
241
  "default": "./dist/impls/health/base-health-provider.js"
236
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
+ },
237
261
  "./impls/health/providers": {
238
262
  "types": "./dist/impls/health/providers.d.ts",
239
263
  "bun": "./dist/impls/health/providers.js",
@@ -258,6 +282,42 @@
258
282
  "node": "./dist/node/impls/linear.js",
259
283
  "default": "./dist/impls/linear.js"
260
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
+ },
261
321
  "./impls/mistral-embedding": {
262
322
  "types": "./dist/impls/mistral-embedding.d.ts",
263
323
  "bun": "./dist/impls/mistral-embedding.js",
@@ -270,6 +330,12 @@
270
330
  "node": "./dist/node/impls/mistral-llm.js",
271
331
  "default": "./dist/impls/mistral-llm.js"
272
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
+ },
273
339
  "./impls/notion": {
274
340
  "types": "./dist/impls/notion.d.ts",
275
341
  "bun": "./dist/impls/notion.js",
@@ -366,6 +432,12 @@
366
432
  "node": "./dist/node/meeting-recorder.js",
367
433
  "default": "./dist/meeting-recorder.js"
368
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
+ },
369
441
  "./openbanking": {
370
442
  "types": "./dist/openbanking.d.ts",
371
443
  "bun": "./dist/openbanking.js",
@@ -472,6 +544,12 @@
472
544
  "node": "./dist/node/impls/index.js",
473
545
  "default": "./dist/impls/index.js"
474
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
+ },
475
553
  "./impls/elevenlabs-voice": {
476
554
  "types": "./dist/impls/elevenlabs-voice.d.ts",
477
555
  "bun": "./dist/impls/elevenlabs-voice.js",
@@ -598,6 +676,24 @@
598
676
  "node": "./dist/node/impls/health/base-health-provider.js",
599
677
  "default": "./dist/impls/health/base-health-provider.js"
600
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
+ },
601
697
  "./impls/health/providers": {
602
698
  "types": "./dist/impls/health/providers.d.ts",
603
699
  "bun": "./dist/impls/health/providers.js",
@@ -622,6 +718,42 @@
622
718
  "node": "./dist/node/impls/linear.js",
623
719
  "default": "./dist/impls/linear.js"
624
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
+ },
625
757
  "./impls/mistral-embedding": {
626
758
  "types": "./dist/impls/mistral-embedding.d.ts",
627
759
  "bun": "./dist/impls/mistral-embedding.js",
@@ -634,6 +766,12 @@
634
766
  "node": "./dist/node/impls/mistral-llm.js",
635
767
  "default": "./dist/impls/mistral-llm.js"
636
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
+ },
637
775
  "./impls/notion": {
638
776
  "types": "./dist/impls/notion.d.ts",
639
777
  "bun": "./dist/impls/notion.js",
@@ -730,6 +868,12 @@
730
868
  "node": "./dist/node/meeting-recorder.js",
731
869
  "default": "./dist/meeting-recorder.js"
732
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
+ },
733
877
  "./openbanking": {
734
878
  "types": "./dist/openbanking.d.ts",
735
879
  "bun": "./dist/openbanking.js",