feat(medusa-plugin-mailchimp): Migrate to TS + add update endpoint (#4040)

* - Refactored the .js files to .ts files
- Added typing
- Used 'WrapHandler' util instead of specific middleware in plugin
- Added additional PUT method to the /mailchimp/subscribe endpoint.
- Updated documentation where relevant.

* Added changeset

* Updated yarn.lock

* Used camelcase for method args in services/mailchimp.ts

---------

Co-authored-by: Tom Rupke <tom@adapptive.nl>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Tomek Pur
2023-05-23 13:33:56 +02:00
committed by GitHub
co-authored by Tom Rupke Oliver Windall Juhl
parent 5c01b4e6b6
commit ddc90db530
19 changed files with 401 additions and 158 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"medusa-plugin-mailchimp": patch
---
feat(medusa-plugin-mailchimp): Added PUT method for the /mailchimp/subscribe endpoint.