Philip Korsholm
b164977a19
Feat: Medusa react price list ( #1258 )
...
* export everything from price lists in core
* medusa-js price list
* feat: add product list for price lists
* feat: add product list for price lists
* add price list to admin module
* add price list hooks initial
* refactor: product list controller
* fix: add integration test for price list products
* update types
* add tests for price lists
* update medusa react tests
* update update request for price lists
* Apply suggestions from code review
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* rename methods
* pr feedback
* list products from price list
* fix errors after merge
* update medusa react with medusa-js method name changes
* redo changes
* update hook names
* fix: routes in msw handler
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Zakaria El Asri <zakaria.elas@gmail.com >
2022-04-03 20:48:49 +02:00
Frane Polić
b7f699654b
feat: customer group customers client endpoints ( #1221 )
...
* feat: add `listCustomers` (by group) to `medusa-js`
* feat: add `useAdminCustomerGroupCustomers` hook
* fix: remove log
* fix: import/export
* fix: change query keys
* wip: sublist query keys
* fix: revert query factory changes
* fix: add query as a param when building the "detail" key
* fix: revert keys logic, use special case
* fix: query path, change batch keys
* change admin customer groups cache key generation
* spread query params
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-23 20:07:13 +01:00
Frane Polić
218b20b26d
fix: CustomerGroups missing features in the clients ( #1159 )
...
* feat: support for query params in customer groups retrieve method
* feat: add `useAdminDeleteCustomerGroup`hook
* fix: formatting
* fix: pass `query` object in `useAdminCustomerGroup` hook
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-10 13:10:18 +01:00
Frane Polić
daf49bcaf3
feat: customer groups react hooks ( #1153 )
...
* fix: msw handlers for medusa-react storybook
* feat: add customer groups query hooks
* feat: add create/update customer groups hooks
* feat: add customer group batch hooks
* feat: add test files, fix import
* add customer groups fixture
* add customer gorup mock endpoints
* add test cases
* add hook comments
* fix: typos
* fix: comments refactor
* fix: comment
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-07 12:52:48 +01:00
olivermrbl
6c010c019f
chore(release): Publish
...
- @medusajs/medusa-cli@1.2.1
- medusa-fulfillment-webshipper@1.2.1
- medusa-interfaces@1.2.1
- @medusajs/medusa-js@1.1.1
- medusa-payment-klarna@1.2.1
- medusa-payment-paypal@1.1.1
- medusa-plugin-algolia@0.1.1
- medusa-plugin-brightpearl@1.2.1
- medusa-plugin-meilisearch@0.1.1
- medusa-plugin-segment@1.2.1
- medusa-plugin-sendgrid@1.2.1
- medusa-plugin-slack-notification@1.2.1
- medusa-react@0.2.1
- medusa-source-shopify@1.1.1
- @medusajs/medusa@1.2.1
2022-02-28 16:57:42 +01:00
olivermrbl
806c42650c
chore(release): Publish
...
- @medusajs/medusa-cli@1.2.0
- medusa-fulfillment-webshipper@1.2.0
- medusa-interfaces@1.2.0
- @medusajs/medusa-js@1.1.0
- medusa-payment-klarna@1.2.0
- medusa-payment-paypal@1.1.0
- medusa-plugin-algolia@0.1.0
- medusa-plugin-brightpearl@1.2.0
- medusa-plugin-meilisearch@0.1.0
- medusa-plugin-segment@1.2.0
- medusa-plugin-sendgrid@1.2.0
- medusa-plugin-slack-notification@1.2.0
- medusa-react@0.2.0
- medusa-source-shopify@1.1.0
- @medusajs/medusa@1.2.0
2022-02-25 18:53:50 +01:00
Sebastian Rindom
47588e7a8d
feat: new tax api ( #979 )
...
* feat: add tax calculation strategy (#885 )
* feat: add tax calculation strategy
* fix: adds strategy loader
* fix: eslint ignore
* chore: cleanup
* fix: allow plugin overwrites
* fix: allow plugin overwrites
* fix: fake region
* Update packages/medusa/src/loaders/strategies.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* feat: adds tax related db entities + tax provider (#896 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: pr comments
* fix: unit test
* feat: totals service to ts (#911 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: adds TotalsServiceProps
* feat: adds integration tests for automatic tax calculation + shipping tax rates (#945 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: jsdoc types
* Feat/manual taxes (#950 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: object -> cartOrOrder
* fix: rounding
* Feat/complete order w tax lines (#951 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* fix: adds cart order type gaurds
* Docs/tax api (#954 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* docs: documents tax related methods and types
* fix: require either item_id or shipping_method_id
* feat: product type tax rate (#969 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* docs: documents tax related methods and types
* fix: require either item_id or shipping_method_id
* feat: adds returns tests for new tax system
* feat: adds return lines + integration tests for swaps
* feat: return integration tests
* feat: adds product type tax rates
* feat: add tax management endpoints
* fix: create single migration
* fix: adds tax rates to js client
* fix: strats
* Fix/plugin tests (#998 )
* plugin testing setup
* fix: test sendgrid plugin
* fix: test sendgrid plugin
* chore: clean
* chore: clean
* fix: clean up tests
* fix: remove dirty import
* fix: sendgrid + brightpearl
* fix: plugin integration tests
* fix: klarna
* fix: shipping method tax
* fix: remove taxrates
* fix: unit tests
* fix: integration
* fix: integration
* fix: plugins tests
* fix: ignore plugins
* fix: tests
* fix: taxes (#1017 )
* fix: taxes
* fix: taxes
* fix: faulty ref
* fix: create tax-lines with claim items
* fix: snapshot tax-liens
* fix: allows integration test teardown to force deleting tables
* fix: tests
* fix: merge
* fix: adds tax-rates to client
* fix: adds tax-rates to medusa-react
* fix: tests
* fix: tests
* fix: add product types
* fix: adds tax provider endpoint + cascaded deletes on tax rate relations
* fix: move errors to service layer
* fix: cleanup api
* fix: unit tests
* fix: error handler in base-service
* fix: Add order region to swap on createFulfillment (#1110 )
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2022-02-25 18:53:49 +01:00
Rishi Kumar Ray
07a13f6faf
Mark draft order endpoint wrong in medusa-js ( #1046 )
2022-02-25 18:53:49 +01:00
Oliver Windall Juhl
7a3a1837a1
fix: use /admin/returns/:id/receive for swap returns ( #1041 )
2022-02-25 18:53:49 +01:00
Mithushan Jalangan
821ad18eb7
chore: change @medusajs/medusa-react to medusa-react ( #1083 )
...
Co-authored-by: octalpixel <mithushan>
2022-02-18 10:43:06 +01:00
Sebastian Rindom
38762961e6
chore(release): Publish
...
- gatsby-source-medusa@0.0.49
- medusa-interfaces@1.1.34
- @medusajs/medusa-js@1.0.12
- medusa-payment-klarna@1.1.41
- medusa-payment-paypal@1.0.40
- medusa-plugin-algolia@0.0.8
- medusa-plugin-brightpearl@1.1.45
- medusa-plugin-mailchimp@1.1.39
- medusa-plugin-meilisearch@0.0.14
- medusa-plugin-restock-notification@0.0.32
- medusa-plugin-segment@1.1.42
- medusa-react@0.1.5
- medusa-source-shopify@1.0.5
- @medusajs/medusa@1.1.64
2022-02-06 19:29:53 +01:00
Sebastian Rindom
fc3fbc897f
fix: release
2022-02-06 19:29:31 +01:00
Sebastian Rindom
cd1f5afa5a
chore(release): Publish
...
- gatsby-source-medusa@0.0.48
- medusa-interfaces@1.1.33
- @medusajs/medusa-js@1.0.11
- medusa-payment-klarna@1.1.40
- medusa-payment-paypal@1.0.39
- medusa-plugin-algolia@0.0.7
- medusa-plugin-brightpearl@1.1.44
- medusa-plugin-mailchimp@1.1.38
- medusa-plugin-meilisearch@0.0.13
- medusa-plugin-restock-notification@0.0.31
- medusa-plugin-segment@1.1.41
- medusa-react@0.1.4
- medusa-source-shopify@1.0.4
- @medusajs/medusa@1.1.63
2022-02-06 19:28:19 +01:00
Sebastian Rindom
3bf32e5dc9
fix: adds order by functionality to products ( #1021 )
...
* fix: adds order by functionality to products
* feat: adds product tags list
* fix: adds client and react support for product tags
* fix: unit test
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa/src/services/product-tag.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2022-02-03 19:03:15 +01:00
Zakaria El Asri
2e384842d5
feat: medusa-react admin hooks ( #978 )
...
* add: medusa admin hooks + tests
* fix: remove unneeded props
* fix: deps
* fix: deps
* fix: deps
* fix: failing tests
* fix: failing tests
* fix: query key
* add: yarn workspaces
* fix: linting medusa-react
* fix: add prepare script
* fix: buildOptions
* fix: useAdminShippingOptions query
* fix: use qs instead for query params (#1019 )
* fix: formatting
* debug: ci pipeline
* debug: log node_modules structure
* debug: use lerna bootstrap
* debug: update node version
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: add explicit build step
* fix: jsdoc
* debug: run build step
* debug: fix build errors
* debug: add build step to integration tests
* fix: failing test
* cleanup
Co-authored-by: Sebastian Rindom <seb@medusajs.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-02 17:10:56 +01:00
olivermrbl
c16df9383c
chore(release): Publish
...
- create-medusa-app@0.0.6
- gatsby-source-medusa@0.0.47
- @medusajs/medusa-cli@1.1.27
- medusa-file-minio@1.0.4
- medusa-file-s3@1.0.12
- medusa-file-spaces@1.1.37
- @medusajs/medusa-js@1.0.10
- medusa-payment-adyen@1.1.39
- medusa-payment-klarna@1.1.39
- medusa-payment-manual@1.0.16
- medusa-payment-paypal@1.0.38
- medusa-payment-stripe@1.1.38
- medusa-plugin-add-ons@1.1.37
- medusa-plugin-brightpearl@1.1.43
- medusa-plugin-contentful@1.1.40
- medusa-plugin-economic@1.1.37
- medusa-plugin-mailchimp@1.1.37
- medusa-plugin-permissions@1.1.37
- medusa-plugin-restock-notification@0.0.30
- medusa-plugin-segment@1.1.40
- medusa-plugin-sendgrid@1.1.38
- medusa-plugin-slack-notification@1.1.37
- medusa-plugin-twilio-sms@1.1.37
- medusa-plugin-wishlist@1.1.37
- medusa-react@0.1.3
- medusa-source-shopify@1.0.3
- medusa-test-utils@1.1.37
- @medusajs/medusa@1.1.62
2022-01-11 16:54:08 +01:00
olivermrbl
ec0f2df285
chore(release): Publish
...
- gatsby-source-medusa@0.0.46
- @medusajs/medusa-cli@1.1.26
- medusa-file-minio@1.0.3
- medusa-file-s3@1.0.11
- medusa-file-spaces@1.1.36
- @medusajs/medusa-js@1.0.9
- medusa-payment-adyen@1.1.38
- medusa-payment-klarna@1.1.38
- medusa-payment-manual@1.0.15
- medusa-payment-paypal@1.0.37
- medusa-payment-stripe@1.1.37
- medusa-plugin-add-ons@1.1.36
- medusa-plugin-brightpearl@1.1.42
- medusa-plugin-contentful@1.1.39
- medusa-plugin-economic@1.1.36
- medusa-plugin-mailchimp@1.1.36
- medusa-plugin-permissions@1.1.36
- medusa-plugin-restock-notification@0.0.29
- medusa-plugin-segment@1.1.39
- medusa-plugin-sendgrid@1.1.37
- medusa-plugin-slack-notification@1.1.36
- medusa-plugin-twilio-sms@1.1.36
- medusa-plugin-wishlist@1.1.36
- medusa-react@0.1.2
- medusa-source-shopify@1.0.2
- medusa-test-utils@1.1.36
- @medusajs/medusa@1.1.61
2021-12-29 13:02:39 +01:00
olivermrbl
abcf43b21c
chore: release assist
2021-12-17 15:42:38 +01:00
olivermrbl
3bbd1e8507
chore: release assist
2021-12-17 15:39:27 +01:00
olivermrbl
81a7ff73d0
chore(release): Publish
...
- gatsby-source-medusa@0.0.45
- @medusajs/medusa-cli@1.1.25
- medusa-file-minio@1.0.2
- medusa-file-s3@1.0.10
- medusa-file-spaces@1.1.35
- @medusajs/medusa-js@1.0.8
- medusa-payment-adyen@1.1.37
- medusa-payment-klarna@1.1.37
- medusa-payment-manual@1.0.14
- medusa-payment-paypal@1.0.36
- medusa-payment-stripe@1.1.36
- medusa-plugin-add-ons@1.1.35
- medusa-plugin-brightpearl@1.1.41
- medusa-plugin-contentful@1.1.38
- medusa-plugin-economic@1.1.35
- medusa-plugin-mailchimp@1.1.35
- medusa-plugin-permissions@1.1.35
- medusa-plugin-restock-notification@0.0.28
- medusa-plugin-segment@1.1.38
- medusa-plugin-sendgrid@1.1.36
- medusa-plugin-slack-notification@1.1.35
- medusa-plugin-twilio-sms@1.1.35
- medusa-plugin-wishlist@1.1.35
- medusa-react@0.1.1
- medusa-source-shopify@1.0.1
- medusa-test-utils@1.1.35
- @medusajs/medusa@1.1.60
2021-12-17 14:24:00 +01:00
Zakaria El Asri
0acc462e1e
feat: medusa-js admin return reasons ( #931 )
...
* add: return-reasons admin endpoint to medusa-js
* fix types
* fix jsdoc
* fix typo jsdoc collection
Co-authored-by: Sebastian Rindom <seb@medusajs.com >
2021-12-16 14:34:14 +01:00
Zakaria El Asri
d0d8dd7bf6
feat: add medusa-react ( #913 )
2021-12-14 19:09:36 +01:00