Riqwan Thamir
cb6cc79018
feat(fulfillment,order): add created_by fields to fulfillment, return, claim, exchange ( #8711 )
...
what:
- add created_by fields to fulfillment, return, claim, exchange
2024-08-21 17:59:42 +00:00
Riqwan Thamir
01583baf6d
chore(order): align mikroorm <> order module ( #8710 )
...
what:
- aligns the order module migrations with mikroorm snapshot
2024-08-21 17:37:17 +00:00
Carlos R. L. Rodrigues
99eca64c20
chore(order): preview removed items ( #8680 )
2024-08-20 14:53:39 -03:00
Carlos R. L. Rodrigues
be942ff15c
fix(order): update order summary when transactions change ( #8633 )
2024-08-16 19:40:44 +00:00
Carlos R. L. Rodrigues
5200e816c9
fix(order): order summary on order creation ( #8624 )
2024-08-16 07:52:24 -03:00
Carlos R. L. Rodrigues
ba34c53151
fix(order): summary original_total ( #8616 )
2024-08-15 14:15:05 -03:00
Carlos R. L. Rodrigues
96bdf3e2c6
chore(core-flows): order transactions ( #8568 )
...
What:
- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +00:00
Christian
4eb2e8379f
feat: create return reason ( #8516 )
...
* feat: create and edit return reasons
* add prop to hide data table header
* make return reasons searchable
* hide table header
2024-08-12 07:47:07 +02:00
Carlos R. L. Rodrigues
91f07e1a59
chore(order): item update quantity ( #8513 )
2024-08-08 14:12:16 -03:00
Christian
d4c5f6593d
Feat: admin return reason list ( #8482 )
...
* feat: add missing endpoints to return reason sdk
* add return reason list route
* add return reason query hooks
* fix update return reasons in order modules service
* fix store/return-reasons middleware
* add missing tests for /return-resasons/:id
2024-08-08 16:24:13 +02:00
Carlos R. L. Rodrigues
1fb679e785
feat(core-flows): manage inventory reservation of claims and exchanges ( #8448 )
2024-08-07 07:49:58 -03:00
Oli Juhl
78eb457487
fix(core-flows): Allow return requests with no shipping ( #8472 )
...
Closes CC-265
2024-08-07 07:48:14 +00:00
Carlos R. L. Rodrigues
f415e6664c
feat(core-flows,order,medusa): exchange endpoints ( #8396 )
2024-08-06 06:28:27 -03:00
Carlos R. L. Rodrigues
0ec1d98c33
fix(order): return migration enum ( #8449 )
2024-08-05 11:55:35 +00:00
Oli Juhl
dbd0b18726
feat: Add requested_at + open status to return ( #8391 )
...
* feat: Add requested_at + open status to return
* Update return in confirm claim workflow
* Revert snapshot
* feat: Change OrderChangeType
* fix test
2024-08-01 16:20:45 +02:00
Carlos R. L. Rodrigues
48663479a9
chore(core-flows): cancel claims ( #8342 )
...
What:
* `DELETE /admin/claims/:id/request`
* `POST /admin/claims/:id/cancel`
2024-07-30 08:59:02 +00:00
Carlos R. L. Rodrigues
ed67d44d28
fix(core-flows,order): update action ( #8333 )
2024-07-29 12:51:51 -03:00
Carlos R. L. Rodrigues
42c80e4264
Chore/order claims 2 ( #8312 )
2024-07-29 10:15:35 -03:00
Carlos R. L. Rodrigues
ccfbc0accf
chore(core-flows,medusa): order claims ( #8271 )
2024-07-25 06:33:35 -03:00
Frane Polić
f7d1cd259e
feat(dashboard, order, medusa, types, js-sdk): Request return e2e flow ( #7848 )
2024-07-24 19:19:00 +02:00
Shahed Nasser
a02f6cbca6
fix(types,order): fixes to order module's service and data models ( #8247 )
...
* fix(types,order): fixes to order module's service and data models
* revert change for createLineItemAdjustments
* add missing context parameter
2024-07-24 09:00:21 +02:00
Carlos R. L. Rodrigues
cae27b08bd
fix(order): remove nested entities ( #8250 )
2024-07-23 18:21:33 +00:00
Carlos R. L. Rodrigues
7a5349c0ae
chore(core-flows): adjust inventory when return is received ( #8222 )
2024-07-23 13:36:46 -03:00
Carlos R. L. Rodrigues
f38f6d53b4
fix(core-flows): confirm return request ( #8242 )
2024-07-23 13:29:06 -03:00
Carlos R. L. Rodrigues
07205e4249
fix(utils): totals calculation ( #8190 )
2024-07-19 06:49:49 -03:00
Carlos R. L. Rodrigues
78b8a3c60f
chore(order): simplify order engine ( #8188 )
...
what:
- remove unused features of order changes calculation engine
2024-07-18 18:02:13 +00:00
Carlos R. L. Rodrigues
535832b692
chore(medusa, core-flows): receive item return request ( #8172 )
...
What:
* `POST /admin/returns/:id/receive-items`
* `POST /admin/returns/:id/receive-items/:action_id`
* `DELETE /admin/returns/:id/receive-items/:action_id`
* `POST /admin/returns/:id/dismiss-items`
* `POST /admin/returns/:id/dismiss-items/:action_id`
* `DELETE /admin/returns/:id/dismiss-items/:action_id`
* `POST /admin/returns/:id/receive/confirm`
CLOSES: CC-190, CC-191, CC-192, CC-193, CC-195, CC-196, CC-197
* Inventory management isn't included yet. Will add it in a next PR
2024-07-18 14:46:34 +00:00
Carlos R. L. Rodrigues
1a472733ae
chore(medusa,core-flows): begin and cancel receive return ( #8171 )
...
What:
* `POST /admin/returns/:id/receive`
* `DELETE /admin/returns/:id/receive`
CLOSES: CC-189
2024-07-18 12:55:04 +00:00
Carlos R. L. Rodrigues
1acfdc4ffe
chore(core-flows, medusa): cancel request return ( #8153 )
...
* fix(core-flow): request item return reason
* chore(core-flows): cancel request return
2024-07-17 09:35:46 +01:00
Carlos R. L. Rodrigues
d4fe2daa57
fix(core-flow): request item return reason ( #8152 )
2024-07-17 09:35:33 +01:00
Carlos R. L. Rodrigues
5813216c88
core(core-flows, medusa): remove request item return ( #8146 )
2024-07-16 11:23:34 -03:00
Carlos R. L. Rodrigues
7123f9ff63
feat(core-flows,medusa,order): remove return shipping ( #8137 )
...
What:
* `DELETE /admin/returs/:id/shipping_methods/:action_id`
FIXES: CC-187
2024-07-16 10:27:16 +00:00
Oli Juhl
ffd4b195ee
feat: Add exchange return shipping ( #8108 )
...
* wip
* finalize tests
* feat: Add exchange return shipping
* add shipping to preview
* test input
* move utils and ignore already inserted shipping method
* use custom price
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-07-15 22:04:20 +02:00
Carlos R. L. Rodrigues
8d530aa7f2
Chore(core-flows,order): exchange/claim add item ( #8126 )
2024-07-15 08:08:43 -03:00
Carlos R. L. Rodrigues
4321241553
feat(core-flows): request return on order exchanges and claims ( #8107 )
...
FIXES: CC-92, CC-87
2024-07-12 15:48:24 +00:00
Carlos R. L. Rodrigues
b5c658f071
feat(core-flows): begin returns, claims and exchanges ( #8088 )
...
* chore(order): begin return
* claims and exchanges
2024-07-11 09:53:00 -03:00
Riqwan Thamir
bec2dcd667
feat(core-flows, order): add workflow to create change order actions ( #8056 )
...
what:
- adds workflow to create change order actions
2024-07-10 10:35:03 +00:00
Carlos R. L. Rodrigues
2b2e2fbb3d
chore(order): preview order change ( #8025 )
...
What:
- new method `previewOrderChange`
- Calculate all the actions related to an order change.
- Return the preview of the final Order, with all the calculated values.
- Associate actions with items and shipping_methods they modified.
FIXES: CORE-2509
2024-07-09 14:45:55 +00:00
Riqwan Thamir
566bbd5074
feat(core-flows,types): cancel order changes workflow ( #8035 )
...
what:
- adds cancel order changes workflow
2024-07-09 14:06:33 +00:00
Riqwan Thamir
b6fd82e31e
feat(order,core-flows): added order change create workflow ( #8033 )
...
what:
- adds anorder change create workflow
- remove order change service, brings validation to entry point service
2024-07-09 12:12:05 +00:00
Adrien de Peretti
9750047af1
chore: Rename entity to model ( #7977 )
...
**What**
Start renaming `entity` to `model`
2024-07-08 07:43:49 +00:00
Adrien de Peretti
b368251ca3
chore: Migrate modules to use the Module util ( #7964 )
...
**What**
Apply the `Module` util to each module to handle the export and provide the linkable configuration object.
- Most joiner config that does not have any special config are removed/cleaned up in favor of the autogenerated one or simpler one
- linkable are now available in all modules
- cleaned up the dependencies of the modules
FIXES CORE-2410
2024-07-05 13:00:40 +00:00
Carlos R. L. Rodrigues
56394fe0d4
fix(order): order list payment and fulfillment status ( #7934 )
2024-07-04 06:37:25 -03:00
Adrien de Peretti
617a5972bf
feat: refactor module joiner config and links generation ( #7859 )
...
* feat: refactor module joiner config and links generation
* improve typings
* WIP
* WIP
* WIP
* rename type file
* create link config
* finish typings and add utils
* improve links
* WIP typings
* finalize ExportModule utils
* finalize ExportModule utils
* fix: dml tests
* improve and fixes
* simplify typings with id changes
* add toJSON
* multiple fixes and entity builder fixes
* fix currency searchable
* fix tests
* medusa service refactoring
* cleanup
* cleanup and fixes
* make module name optional
* renaming
---------
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
2024-07-03 13:12:49 +02:00
Carlos R. L. Rodrigues
07715e6b50
chore(order): cancel return ( #7881 )
2024-07-02 06:52:58 -03:00
Shahed Nasser
2833e3c4d0
fix(order): set correct change type for exchanges ( #7870 )
2024-07-01 10:20:58 +03:00
Adrien de Peretti
90e6ca0e9e
chore: Internal medusa service proper typings with DML ( #7792 )
2024-06-21 12:36:54 +02:00
Adrien de Peretti
937a632eb6
chore: make module loaders DML aware and auto generate joiner config ( #7781 )
...
* chore: make module loaders DML aware and auto generate joiner config
* fixes and cleanup
* improve dml entity check
* add unit tests on load resources
* cleanup deps
* cleanup deps
* cleanup Modules
* finalise
* fix modules-sdk jest
* fix modules-sdk jest
* fix import
* fix import
2024-06-20 18:18:07 +02:00
Riqwan Thamir
03924a4ff6
chore: move to swc/jest ( #7739 )
...
* chore: move to swc
* chore: fix tax rate tests
* chore: undo failed test
* chore: fix unit tests script
* chore: use node 20
* Update scripts/run-workspace-unit-tests-in-chunks.sh
2024-06-20 12:59:33 +02:00
Adrien de Peretti
48963f55ef
Chore/rm main entity concept ( #7709 )
...
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-06-19 13:02:16 +00:00