Commit Graph

1506 Commits

Author SHA1 Message Date
Sebastian Rindom ed04132533 fix(medusa): migrate cart service to typescript (#884)
* fix: migrate cart service to typescript

* fix: jsdoc inventory service

* fix: revert route unit test change

* fix: typo

* fix: revert integration test packages

* fix: cleanup

* fix: tests

* fix: integration tests

* fix: create props type guards

* fix: move total field to common types
2021-12-07 19:26:00 +01:00
Niketan Gulekar 03ffab5d61 Documentation for File Service (#894) 2021-12-07 19:21:23 +01:00
Zakaria El Asri e8b6d2139d fix: return reasons type (#893) 2021-12-07 17:23:32 +01:00
Oliver Windall Juhl 6579c13111 feat: Admin shipping options routes to Typescript (#891) 2021-12-07 17:07:23 +01:00
Zakaria El Asri 487356a96f fix: medusa-js complete cart types + oas comments (#889) 2021-12-07 11:02:53 +01:00
Derek Wene 4e7a92c1b6 Fix draft order line items (#873) 2021-12-07 11:02:35 +01:00
Zakaria El Asri e0064026ed fix: update payment session route (#887) 2021-12-07 10:11:03 +01:00
Zakaria El Asri efadffe37a fix: refresh payment session oas comment (#888) 2021-12-07 10:10:07 +01:00
Derek Wene 89472b7d88 fix(medusa): order tax_rate type (#879)
* fix(order): tax_rate column should be numeric, not integer, since region.tax_rate uses numeric

* chore: cleanup

* fix(tax_rate): use REAL database numeric type for tax_rate column on order and region
2021-12-06 09:58:04 +01:00
Philip Korsholm 80089d04d8 Fix: get fulfillment options (#852) 2021-12-03 13:19:25 +01:00
Joey Eamigh 64b93b5953 adding proper support for the spaces_url param (#876) 2021-12-03 09:44:57 +01:00
Kennan Seno 0523d9478f Update doc and website references to new domain (#856) 2021-12-01 18:11:34 +01:00
Zakaria El Asri 74bc9c618f fix: create cart with items (#851)
* fix: create cart with items

* remove: verbose mode

* fix: unit test
2021-12-01 10:53:01 +01:00
Zakaria El Asri 032fcb97ca fix: fine-tuning (#847)
fix: checkout guide markdown + punctuation
fix: remove @docusaurus/theme-search-algolia from project root package.json
fix: use 400 font-weight for paragraphs as opposed to current 450
2021-11-26 14:41:01 +01:00
Sebastian Rindom 7f7682ef01 chore: remove gitignored files 2021-11-23 09:54:59 +01:00
Sebastian Rindom 0846222d19 chore: merge master 2021-11-23 09:53:59 +01:00
Sebastian Rindom 4fcf9c1ee5 chore(release): Publish
- medusa-core-utils@1.1.30
 - medusa-file-s3@1.0.8
 - medusa-file-spaces@1.1.33
 - medusa-fulfillment-manual@1.1.30
 - medusa-fulfillment-webshipper@1.1.34
 - medusa-interfaces@1.1.31
 - @medusajs/medusa-js@1.0.5
 - medusa-payment-adyen@1.1.35
 - medusa-payment-klarna@1.1.35
 - medusa-payment-manual@1.0.12
 - medusa-payment-paypal@1.0.34
 - medusa-payment-stripe@1.1.34
 - medusa-plugin-add-ons@1.1.33
 - medusa-plugin-algolia@0.0.5
 - medusa-plugin-brightpearl@1.1.39
 - medusa-plugin-contentful@1.1.36
 - medusa-plugin-economic@1.1.33
 - medusa-plugin-mailchimp@1.1.33
 - medusa-plugin-meilisearch@0.0.11
 - medusa-plugin-permissions@1.1.33
 - medusa-plugin-restock-notification@0.0.26
 - medusa-plugin-segment@1.1.36
 - medusa-plugin-sendgrid@1.1.34
 - medusa-plugin-slack-notification@1.1.33
 - medusa-plugin-twilio-sms@1.1.33
 - medusa-plugin-wishlist@1.1.33
 - medusa-test-utils@1.1.33
 - @medusajs/medusa@1.1.57
2021-11-23 09:49:33 +01:00
Sebastian Rindom 38b0e295b2 fix: bumps class-transformer to 0.5.1 (#837)
* fix: bumps class transformer to 0.5.1

* fix(medusa): bumps class transformer to 0.5.1
2021-11-23 09:47:16 +01:00
Oliver Windall Juhl ab84aca9cb chore: Add medusa-js README (#828) 2021-11-23 09:14:02 +01:00
Dmitriy Fishman f43908c4fb Update fulfillment-api.md (#834) 2021-11-23 09:13:13 +01:00
Zakaria El Asri ded496cee5 fix: medusa-js fine-tuning (#836) 2021-11-22 23:30:36 +01:00
olivermrbl 948f8b2593 chore: release assist 2021-11-22 17:18:27 +01:00
Oliver Juhl 7770046479 chore(release): Publish
- medusa-core-utils@1.1.29
 - medusa-file-s3@1.0.7
 - medusa-file-spaces@1.1.32
 - medusa-fulfillment-manual@1.1.29
 - medusa-fulfillment-webshipper@1.1.33
 - medusa-interfaces@1.1.30
 - @medusajs/medusa-js@1.0.4
 - medusa-payment-adyen@1.1.34
 - medusa-payment-klarna@1.1.34
 - medusa-payment-manual@1.0.11
 - medusa-payment-paypal@1.0.33
 - medusa-payment-stripe@1.1.33
 - medusa-plugin-add-ons@1.1.32
 - medusa-plugin-algolia@0.0.4
 - medusa-plugin-brightpearl@1.1.38
 - medusa-plugin-contentful@1.1.35
 - medusa-plugin-economic@1.1.32
 - medusa-plugin-mailchimp@1.1.32
 - medusa-plugin-meilisearch@0.0.10
 - medusa-plugin-permissions@1.1.32
 - medusa-plugin-restock-notification@0.0.25
 - medusa-plugin-segment@1.1.35
 - medusa-plugin-sendgrid@1.1.33
 - medusa-plugin-slack-notification@1.1.32
 - medusa-plugin-twilio-sms@1.1.32
 - medusa-plugin-wishlist@1.1.32
 - medusa-test-utils@1.1.32
 - @medusajs/medusa@1.1.56
2021-11-22 17:10:54 +01:00
Oliver Windall Juhl 0380cdf0b2 docs: Adds new index page and design tweaks (#833) 2021-11-22 17:01:18 +01:00
olivermrbl b7329e9083 Merge branch 'develop' of https://github.com/medusajs/medusa into develop 2021-11-22 13:41:20 +01:00
olivermrbl 72c5030da3 Merge branch 'master' into develop 2021-11-22 13:40:55 +01:00
Oliver Windall Juhl f387b4919f fix: Addresses breaking change from library class-transformer (#835)
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com>
2021-11-22 13:39:38 +01:00
Sebastian Rindom 8f0879a785 Merge remote-tracking branch 'origin/master' into develop 2021-11-20 16:00:44 +01:00
Sebastian Rindom 59761163c2 chore: merge release 2021-11-20 15:59:31 +01:00
Derek Wene ebb7c0aa53 Fix: admin api create customer (#826) 2021-11-20 11:50:28 +01:00
Sebastian Rindom 11e1808bc7 chore(release): Publish
- @medusajs/medusa-js@1.0.3
 - @medusajs/medusa@1.1.55
2021-11-19 10:51:04 +01:00
Sebastian Rindom 5fa4848b17 fix: release 2021-11-19 10:50:47 +01:00
Sebastian Rindom 322466bc99 chore(release): Publish
- medusa-core-utils@1.1.28
 - medusa-file-s3@1.0.6
 - medusa-file-spaces@1.1.31
 - medusa-fulfillment-manual@1.1.28
 - medusa-fulfillment-webshipper@1.1.32
 - medusa-interfaces@1.1.29
 - @medusajs/medusa-js@1.0.2
 - medusa-payment-adyen@1.1.33
 - medusa-payment-klarna@1.1.33
 - medusa-payment-manual@1.0.10
 - medusa-payment-paypal@1.0.32
 - medusa-payment-stripe@1.1.32
 - medusa-plugin-add-ons@1.1.31
 - medusa-plugin-algolia@0.0.3
 - medusa-plugin-brightpearl@1.1.37
 - medusa-plugin-contentful@1.1.34
 - medusa-plugin-economic@1.1.31
 - medusa-plugin-mailchimp@1.1.31
 - medusa-plugin-meilisearch@0.0.9
 - medusa-plugin-permissions@1.1.31
 - medusa-plugin-restock-notification@0.0.24
 - medusa-plugin-segment@1.1.34
 - medusa-plugin-sendgrid@1.1.32
 - medusa-plugin-slack-notification@1.1.31
 - medusa-plugin-twilio-sms@1.1.31
 - medusa-plugin-wishlist@1.1.31
 - medusa-test-utils@1.1.31
 - @medusajs/medusa@1.1.54
2021-11-19 10:30:35 +01:00
Sebastian Rindom 7017015f1c chore: release assist 2021-11-19 10:29:58 +01:00
Sebastian Rindom aa460f6359 chore: release assist 2021-11-19 10:29:02 +01:00
Sebastian Rindom a69b1e85be chore(release): Publish
- medusa-core-utils@1.1.27
 - medusa-file-s3@1.0.5
 - medusa-file-spaces@1.1.30
 - medusa-fulfillment-manual@1.1.27
 - medusa-fulfillment-webshipper@1.1.31
 - medusa-interfaces@1.1.28
 - @medusajs/medusa-js@1.0.1
 - medusa-payment-adyen@1.1.32
 - medusa-payment-klarna@1.1.32
 - medusa-payment-manual@1.0.9
 - medusa-payment-paypal@1.0.31
 - medusa-payment-stripe@1.1.31
 - medusa-plugin-add-ons@1.1.30
 - medusa-plugin-algolia@0.0.2
 - medusa-plugin-brightpearl@1.1.36
 - medusa-plugin-contentful@1.1.33
 - medusa-plugin-economic@1.1.30
 - medusa-plugin-mailchimp@1.1.30
 - medusa-plugin-meilisearch@0.0.8
 - medusa-plugin-permissions@1.1.30
 - medusa-plugin-restock-notification@0.0.23
 - medusa-plugin-segment@1.1.33
 - medusa-plugin-sendgrid@1.1.31
 - medusa-plugin-slack-notification@1.1.30
 - medusa-plugin-twilio-sms@1.1.30
 - medusa-plugin-wishlist@1.1.30
 - medusa-test-utils@1.1.30
 - @medusajs/medusa@1.1.53
2021-11-19 10:26:29 +01:00
Philip Korsholm f162b4a2a1 Feat/api reference curl examples (#720)
* curl reference initial

* add tooltips to curl command

* refactor copy component

* move copy to copy component

* formatting

* always include required fields

* add example values

* format svg

* fix property extraction

* explainer comment
2021-11-19 10:18:16 +01:00
Derek Wene 2d9879ea09 feat: admin api - allow customers to be created and updated with metadata (#824)
* feat: admin api - allow customers to be created and updated with metadata

* feat: add integration test for metadata
2021-11-18 18:50:36 +01:00
Oliver Windall Juhl 373532ecbc feat: Typescript for API layer (#817)
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com>
Co-authored-by: Sebastian Rindom <seb@medusa-commerce.com>
2021-11-18 15:19:17 +01:00
Zakaria El Asri 55e200bf68 add: upgrade oas-normalize and use promise-based api (#806) 2021-11-16 18:12:15 +01:00
Rolwin Reevan Monteiro 8ce9b20222 feat: Algolia plugin for medusa (#718)
Co-authored-by: Rolwin Monterio <rolwin@yellow.ai>
Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-11-12 14:10:00 +01:00
Sebastian Rindom 8ff4571665 Update 1-creating-your-medusa-server.md (#779) 2021-11-11 21:31:41 +01:00
Sebastian Rindom 7586618d44 chore(release): Publish
- babel-preset-medusa-package@1.1.18
 - @medusajs/medusa-cli@1.1.23
 - medusa-dev-cli@0.0.23
 - medusa-payment-paypal@1.0.31
 - medusa-plugin-restock-notification@0.0.23
 - medusa-telemetry@0.0.10
 - @medusajs/medusa@1.1.54
2021-11-11 13:26:55 +01:00
Philip Korsholm 0bffa673b0 babel preset with typescript (#771) 2021-11-11 13:26:19 +01:00
Oliver Windall Juhl 1e50aee4fe feat: Allow retrieval of soft-deleted products (#723) 2021-11-10 22:23:56 +01:00
Oliver Windall Juhl 6f4e128944 hotfix: Search service interfaces should import base from folder (#766) 2021-11-10 21:57:13 +01:00
Ajordat caf4357c4d fix: make packages/medusa/src/services/payment-provider.js pass eslint (#549)
* fix: make packages/medusa/src/services/payment-provider.js pass eslint

* Linted files line-item, payment-provider and shipping-option.

* Update README.md (#692)

* fix: make packages/medusa/src/services/payment-provider.js pass eslint

* Linted files line-item, payment-provider and shipping-option.

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2021-11-10 17:37:23 +01:00
Sebastian Rindom b30a2af94d fix: account for lowest currency unit in paypal (#761)
* fix: account for lowest currency unit in paypal

* fix: currency rounding
2021-11-10 17:19:35 +01:00
Sebastian Rindom 3ea6aea5be fix: updates documentation and fixes script blockers (#765) 2021-11-10 09:18:16 +01:00
Sebastian Rindom 75c74656fb chore(release): Publish
- @medusajs/medusa@1.1.53
2021-11-09 12:28:07 +01:00