Philip Korsholm
dfa3502e41
Feat: Price selection implementation ( #1158 )
...
* init
* added buld id validation to repo
* admin done
* updated price reqs
* initial price selection strategy
* update customer seeder
* format models
* price selection strategy
* price selection testing
* update price selection tests
* update price selection strategy
* remove console.warn
* update price selection strat
* remove console.log
* fix unit tests
* update product snapshot integration tests
* fix failing unit tests
* update variant test snapshots
* intial implementation of PriceList
* integration tests for price lists
* updated admin/product integration tests
* update updateVariantPrices method
* remove comment from error handler
* add integration test for batch deleting prices associated with price list
* make update to prices through variant service limited to default prices
* update store/products.js snapshot
* add api unit tests and update product integration tests to validate that prices from Price List are ignored
* fix product test
* requested changes
* cascade
* ensure delete variant cascades to MoneyAmount
* addresses PR feedback
* removed unused endpoint
* update mock
* fix failing store integration tests
* remove medusajs ressource
* re add env.template
* price selection strategy methods
* fix integration tests
* update unit tests
* update jsdoc
* update price selection strategy parameter
* fix unit tests
* pr feedback
Co-authored-by: Kasper <kasper@medusajs.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2022-03-21 19:03:42 +01:00
Kasper Fabricius Kristensen
5300926db8
feat: Implement PriceList and extend MoneyAmount ( #1152 )
...
* init
* added buld id validation to repo
* admin done
* updated price reqs
* intial implementation of PriceList
* integration tests for price lists
* updated admin/product integration tests
* update updateVariantPrices method
* remove comment from error handler
* add integration test for batch deleting prices associated with price list
* make update to prices through variant service limited to default prices
* update store/products.js snapshot
* add api unit tests and update product integration tests to validate that prices from Price List are ignored
* fix product test
* requested changes
* cascade
* ensure delete variant cascades to MoneyAmount
* addresses PR feedback
* removed unused endpoint
* update mock
* fix failing store integration tests
* remove medusajs ressource
* re add env.template
* Update integration-tests/api/__tests__/admin/price-list.js
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
* Update integration-tests/api/__tests__/admin/price-list.js
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
* fix: update snapshots
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2022-03-18 15:18:50 +01:00
Sebastian Rindom
23f8399c16
fix(gatsby-source-medusa): adds support for incremental sourcing of medusa data ( #1217 )
2022-03-18 15:00:36 +01:00
Sebastian Rindom
3cd4108915
fix: adds date filters on store collection + region list api ( #1216 )
2022-03-18 11:02:40 +01:00
Sebastian Rindom
36bfdfe6e1
fix(medusa-plugin-contentful): add type and collection entity synchronisation ( #1191 )
...
* fix: adds optional type and collection entries on products
* fix: type upsert in product
* fix: type upsert in product
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/medusa-plugin-contentful/src/services/contentful.js
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-03-17 23:29:26 +01:00
Sebastian Rindom
e3655b53f7
fix: storefront product filtering ( #1189 )
...
* fix: allow multiple ids in list + expand, fields param
* fix: add filtering by title
* fix: adds integration test
* fix: adds integration test of product variant filtering
* fix: integration tests
* fix: unit tests
* fix: refactor query param parsing
2022-03-17 23:28:15 +01:00
Kasper Fabricius Kristensen
4be991c156
fix: source-shopify tests ( #1192 )
2022-03-15 20:12:52 +01:00
Kasper Fabricius Kristensen
eb8e247e7d
fix: source shopify handle duplicate unique values and more efficient updates ( #1154 )
...
* fix: added functionality to handle duplicate sku, ean, upc, and barcodes on product variants
* handle unique variant values
* save
* clear ignored keys in redis
* fixed plugin to handle duplicates and use last build time to make queries more effective
* v1.1.1-canary.0
* removed console log
* v1.1.1-canary.1
* reduce amounts of calls to shopify api
* v1.1.1-canary.2
* added README and support for SmartCollections
* v1.1.1-canary.4
* v1.1.1-canary.5
* v1.1.1-canary.5
* fix dropped products in smart collections
* cleanup
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-03-10 13:10:57 +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
Philip Korsholm
dacc9c6c4b
Feat: Add groups to list customer ( #1113 )
...
* add controllers directory and loaders
* update integration tests
* start groups
* move controllers to pure functions
* group filtering for customers
* print errors
* remove verbose flag
* controller refactor
* update imports
* Feat/list customers by customer group (#1114 )
* move controllers to pure functions
* add customer group test
* add api for list customer group customers
* remove unused imports
* controller refactor
* update imports
* Update packages/medusa/src/api/routes/admin/customer-groups/get-customer-group-customers.ts
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* fix: dedupe
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-03-10 13:05:46 +01:00
Zakaria El Asri
8e7de6dd36
fix: make sure @medusajs/medusa is loaded correctly regardless of integration test suite being run ( #1166 )
2022-03-09 17:20:18 +01:00
Kasper Fabricius Kristensen
4e7435e4d7
fix: default POST request payloads to an empty object ( #1141 )
...
* defaulted carts.create payload to an empty object
* fix linting
* requested changes
2022-03-09 17:19:38 +01:00
Philip Korsholm
5f5a2af30b
Feat: Add customer search controller ( #1111 )
...
* add controllers directory and loaders
* move controllers to pure functions
* controller refactor
* update imports
2022-03-09 10:55:05 +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
Kasper Fabricius Kristensen
a6f352d9f1
fixed type of value and valid_for in AdminPostDiscountsDiscountReq ( #1128 )
...
* fixed type of value in update/rule
* update type of valid_for
2022-03-06 20:44:11 +01:00
olivermrbl
6b34a9adab
Merge branch 'master' into develop
2022-03-04 16:56:58 +01:00
Frane Polić
93426bfc02
feat: customer groups client endpoints ( #1147 )
...
* feat: WIP add customer group endpoints, fix generated type exports from api
* fix: export api types, add `list`method
* fix: export customer groups types from the `medusa-js` package
* fix: cleanup type exports from customer groups api
* feat: add customer group batch methods
* fix: refactor comments
* fix: address PR comments
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-03 03:52:40 +01:00
Frane Polić
a514d84ccf
feat: list customer groups ( #1099 )
2022-03-02 11:38:44 +01:00
Michał
e844f4a5b7
fix: exists flag on /store/auth/:email endpoint ( #1122 )
2022-03-02 10:18:11 +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
Oliver Windall Juhl
549ad3b907
fix: Add tax repo to withTransaction in region service ( #1126 )
2022-02-28 11:21:49 +01:00
Philip Korsholm
4b4463f0e2
Feat: Bulk add customers to customer group ( #1095 )
...
* fix babel transform-runtime regenerator required for migrations
* add customer group model
* add migration for customer group
* add customer group model export
* add customer group repository
* add customer group service
* add CustomerGroupRepository to "withTransaction" in CustomerGroupService
* remove unnecessary argument to runtime plugin
* service export ordering
* add create customer group endpoint
* add customergroup to route index in admin
* add customer group service
* add customer groups test
* cleanup
* add customers batch initial
* batch creation of customer groups
* integration testing batch creation
* integration tests
* chaining existing customers creation in repo
* remove commented test
* update unit tests to reflect change in idempotent behavior
* ensure that exceptions are expected
* update idempotency behavior
* update formatting
* update format
* Update packages/medusa/src/repositories/customer-group.ts
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* pr feedback
* add In import
* add seperate model dto
* add integration test
* error handling in repository
* remove unused import
* jsdoc
* Update packages/medusa/src/api/routes/admin/customer-groups/add-customers-batch.ts
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Update packages/medusa/src/api/routes/admin/customer-groups/add-customers-batch.ts
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* pr review comments
* rename variable
* fix: adds atomic phase clean up callback
* fix: call error handler in new transaction block too
* restore
* error handling
* fix: error handler in no isolation case
* add integration test for missing group on update
* final adjustments to test
* fix pr feedback
* cleanup core for pr
* remove console.log
* remove customergroupservice test from customers
* Apply suggestions from code review
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* add end bracket to customer tests
* remove comments
* change model decorator
* fix integration test merge
* onDelete cascade instead of cascade:true
* remove verbose flag
* fix: dedupe type
* add save to customer groups
* customer model delete cascade
* add await to asyncronous save operations
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-28 10:03:26 +01:00
olivermrbl
562a1b427a
fix: merge conflicts
2022-02-25 18:55:44 +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
olivermrbl
a3ecf1b41f
chore: install docs deps
2022-02-25 18:53:50 +01:00
Zakaria El Asri
2cfe56ad0d
fix: make plugin tests run with integration test suites ( #1101 )
...
* fix: make plugin tests run with integration test suites"
* add: plugins to test pipeline
* add: run integration tests on different jobs + fix failing test command
* fix: typo
* fix: pipeline
2022-02-25 18:53:50 +01:00
Philip Korsholm
4d1c8e1ec5
Feat: bulk delete customers from customer group ( #1097 )
...
* integration testing
* customer seeder
* initial bulk removal
* integraiton testing of deletes
* delete fix
* not found test
* remove unused code
* Apply suggestions from code review
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* update integration tests
* pr review fixes
* update migration
* formatting
* integration tests for deletion
* pr feedback
* fix failing integration tests
* remove integration tests before merging
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-25 18:53:49 +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
Frane Polić
d80eaa172d
feat: customer group update ( #1098 )
2022-02-25 18:53:49 +01:00
Sebastian Rindom
f983cfada6
fix: atomic phase error handler ( #1104 )
...
* fix: adds atomic phase clean up callback
* fix: call error handler in new transaction block too
* fix: error handler in no isolation case
2022-02-25 18:53:49 +01:00
Philip Korsholm
44fb9531d2
Feat: Delete customer group ( #1102 )
2022-02-25 18:53:49 +01:00
Niel Swart
a9f516ead2
Changed medusa-client default request payload to null ( #1044 )
2022-02-25 18:53:49 +01:00
Zakaria El Asri
59d5d8a185
fix: variant price update ( #1093 )
...
* fix: variant prices update + integration tests
* add: unit tests
* fix: rename variable
* add: integration tests
* fix: integration tests
* fix: test name
* fix: move db logic to repo layer + create upsert method
* fix: linting
2022-02-25 18:53:49 +01:00
Frane Polić
378c11dcf8
Update packages/medusa/src/api/routes/admin/customer-groups/get-customer-group.ts
...
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-25 18:53:49 +01:00
fPolic
9d6489d7e2
fix: export params type
2022-02-25 18:53:49 +01:00
Frane Polić
00a0f51d8c
Update packages/medusa/src/api/routes/admin/customer-groups/get-customer-group.ts
...
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-25 18:53:49 +01:00
fPolic
aa8bbfdd58
fix: unit test case for CustomerGroupServiceMock.retrieve
2022-02-25 18:53:49 +01:00
fPolic
c75a0cd733
fix: typo in an assertion
2022-02-25 18:53:49 +01:00
fPolic
bf3e04f41a
feat: add extend param for customer groups
2022-02-25 18:53:49 +01:00
fPolic
93d8e8036e
fix: integration test case
2022-02-25 18:53:49 +01:00
fPolic
6df5d9b0c6
test for the 404 case
2022-02-25 18:53:49 +01:00
fPolic
de06b47b15
feat: GET customer group endpoint
2022-02-25 18:53:49 +01:00
Kasper Fabricius Kristensen
508dc33dd3
updated invite.created event with user_email so it can be used to send an email invitation ( #1069 )
2022-02-25 18:53:49 +01:00
Kasper Fabricius Kristensen
91263fbc8e
fix: reset user password subscription in sendgrid plugin ( #1072 )
...
* fixed reset password subscription
* cleanup
2022-02-25 18:53:49 +01:00
Frane Polić
73359a632b
feat: update customer groups ( #1075 )
...
* update customer service prep
* expand on the update customer groups test case
* add the test case for customer group update
* docs for `groups` prop on update customer endpoint
* refactor, update comments
* expend on integration tests, add customer mock with a group
* refactor to use `customerGroupService.list` method
* update units
* remove `updateCustomerGroups`
* fix rebase conflict
* fix customer seed data, add JoinTable on groups
* group retrieval using the expand param
* fix: use `buildQuery_`
* fix: validation for `groups`, enable `expand`param on update customer endpoint
* fix: remove fileds form the `FilterableCustomerGroupProps`
* fix: spearate body/query validation
Co-authored-by: fPolic <frane@medusajs.com >
2022-02-25 18:53:49 +01:00
Zakaria El Asri
a81def2f75
fix: allow offset and limit in products free text search ( #1082 )
2022-02-25 18:53:49 +01:00
Philip Korsholm
3b878bc5dd
Feat: Create customer group ( #1074 )
...
* fix babel transform-runtime regenerator required for migrations
* add customer group model
* add migration for customer group
* add customer group model export
* add customer group repository
* add customer group service
* add CustomerGroupRepository to "withTransaction" in CustomerGroupService
* remove unnecessary argument to runtime plugin
* service export ordering
* add create customer group endpoint
* add customergroup to route index in admin
* add customer group service
* add customer groups test
* cleanup
* duplicate error handling
* ducplicate name integration test
* add jsdoc
* customergroup not customer
* pr feedback
* pipeline test
* fix weird merge
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-25 18:53:49 +01:00
Adrien de Peretti
8a2e4f74ff
Feat(medusajs) Allow to pass custom headers ( #1009 )
...
* Feat(medusajs) Allow to pass custom headers
* fix: axios exprexted output
* fix: integration test cart
* refactor: Update types object > Record<string, any>
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-25 18:53:49 +01:00
Kasper Fabricius Kristensen
1f2ee04abe
fix: export request types from add and remove product endpoints ( #1078 )
2022-02-25 18:53:49 +01:00
Oliver Windall Juhl
7c31acb064
Add expand to /admin/customers/:id ( #1070 )
...
* fix: 1055 add expand to /admin/customers/:id
* fix tests
* fix tests
2022-02-25 18:53:49 +01:00