Oli Juhl
b7e6b1461b
feat: Returns order previews ( #8135 )
...
* work on order previews
* fix create return shipping flow
* fix http tests
* fix tests
2024-07-16 11:07:04 +01:00
Adrien de Peretti
8a68919ed3
chore: Allow to fetch remote link using the service name or the alias from the use remote link step ( #8140 )
...
* chore: Allow to fetch remote link using the service name or the alias from the use remote link step
* revert package.json
* fix packages
2024-07-16 11:03:41 +02: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
Oli Juhl
00c7900337
feat: Admin Returns API ( #8117 )
...
* feat: Add request item + add shipping APIs
* wip
* finalize workflow
* move steps
* add returns to js-sdk
* few chores
* fix test
* fix another test :)
2024-07-15 15:57:06 +02:00
Adrien de Peretti
53ddea717c
fix: workflow return type inf missing type ( #8133 )
2024-07-15 14:40:03 +03:00
Carlos R. L. Rodrigues
8d530aa7f2
Chore(core-flows,order): exchange/claim add item ( #8126 )
2024-07-15 08:08:43 -03:00
Harminder Virk
5bb870948a
fix: defineMikroOrmCliConfig helper to provide default db credentials ( #8131 )
2024-07-15 15:49:00 +05:30
shij
ba58842d81
fix(payment, stripe) stripe payment cannot be captured ( #8075 )
2024-07-13 10:45:03 -03:00
Oli Juhl
7e82f981f9
feat: Add return shipping method workflow ( #8106 )
2024-07-13 13:09:07 +02:00
Carlos R. L. Rodrigues
3d7d629e75
chore(pricing): big number support ( #8113 )
2024-07-12 19:27:28 +00: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
Adrien de Peretti
136da3f3ce
fix: Handle multiple id prop generation ( #8097 )
...
* fix: Handle multiple id prop generation
* throw on duplicate id + cleanup
* fix mistakenly removed files
* fix
* fix
* passzord string
* passzord string
2024-07-12 16:41:19 +02:00
Adrien de Peretti
f6e86f1b99
chore: temporarely disabling link revert ( #8105 )
2024-07-12 15:05:56 +02:00
Adrien de Peretti
104b00d4e9
feat(migrations): CLI generate command ( #8103 )
2024-07-12 13:12:49 +02:00
Riqwan Thamir
04819107dd
feat(core-flows,types): add workflow to request item return ( #8098 )
2024-07-11 19:45:40 +02:00
Shahed Nasser
85c15dbb25
fix(utils): error message when isQueryable is possibly not enabled. ( #8096 )
2024-07-11 18:54:43 +02:00
Adrien de Peretti
79ec2bcfe2
fix: Migration generator and generated migrations ( #8090 )
2024-07-11 18:21:09 +02:00
Shahed Nasser
66acb3023e
fix(migrations): small fix to the text ( #8091 )
...
Small fix to the migrations text.
2024-07-11 13:16:11 +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
Harminder Virk
e489b0c037
fix: gracefully handle migrations that cannot be reverted ( #8087 )
2024-07-11 17:40:34 +05:30
Harminder Virk
45c573b03a
Feat: Improvements to the migrations CLI and workflow ( #8060 )
2024-07-11 16:52:34 +05:30
Riqwan Thamir
8a548cbc2f
feat(core-flows,types): add workflow to update order change actions ( #8080 )
2024-07-11 11:04:41 +02:00
Adrien de Peretti
1789b8e315
chore: properly infer return type from model config ( #8079 )
2024-07-11 10:36:07 +02:00
Carlos R. L. Rodrigues
f460348280
fix(utils): define link alias + pluralize ( #8070 )
...
What:
* Fix alias of models that have "compound names": eg "related_product"
* `deleteCascade` option
* Package to pluralize english words correctly
2024-07-10 22:37:14 +00:00
Frane Polić
b289510b46
fix(dashboard, medusa): mark shipped flow ( #8065 )
...
* fix: mark shipped routing
* fix: naming
2024-07-10 19:37:12 +02:00
Adrien de Peretti
e778870c68
chore: Ensure the events are emitted with the same shape all accross ( #8063 )
...
* chore: Ensure the events are emitted with the same shape all accross
* fixes:
* rm unsues type
* types
* fix tests
2024-07-10 19:34:28 +02:00
Riqwan Thamir
95f29358d1
feat(core-flows, types): workflow to delete order change actions ( #8064 )
...
* chore: workflow to delete order change actions
* chore: fix soft delete signature
2024-07-10 18:31:12 +02:00
Carlos R. L. Rodrigues
de36e2b36e
chore: rename return flow ( #8050 )
2024-07-10 08:09:10 -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
Kasper Fabricius Kristensen
046a34bdfc
feat(dashboard,types,js-sdk,ui): Tax Regions UI ( #7935 )
2024-07-10 09:26:43 +00:00
Carlos R. L. Rodrigues
90a34afe87
fix(core-flows): order partial fulfillment ( #8047 )
2024-07-09 13:46:45 -03: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
Stevche Radevski
101ebbe0f0
fix: Have shipping options open by default ( #8040 )
...
CLOSES CORE-2455
2024-07-09 13:59:45 +00:00
Stevche Radevski
00a6e512dc
feat: Add support in BE for setting tax inclusivity on currency ( #8037 )
2024-07-09 15:22:24 +02: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
Harminder Virk
9516890bb3
fix: attempt to fix flaky migration tests ( #8034 )
2024-07-09 17:13:45 +05:30
Stevche Radevski
1c3ef13371
feat: Add necessary middlewares for tax inclusive pricing ( #7827 )
...
We are adding tax inclusive pricing calculation when listing products.
Two things to keep in mind:
- `region_id` will be required if you request calculated prices.
- We won't accept `currency_code` anymore, as that will come from the region info (since ultimately a cart and its currency are tied to a region)
REF CORE-2376
DEPENDS ON #8003
2024-07-09 09:37:13 +00:00
Stevche Radevski
db6969578f
feat: Plug tax inclusivity in cart and order workflows ( #8013 )
2024-07-09 11:10:42 +02:00
Stevche Radevski
cbf2fcd559
Feat: Add tax inclusivity to admin ( #8003 )
...
* feat: Add price preference to sdk
* feat: Plug tax inclusivity settings for region in UI
* feat: Add price inclusivity indicator to variant and shipping price table columns
* fix: Rename price title to correct variable name
* feat: Add support for tax inclusive crud on region
* fix: Use the region endpoint for updating tax inclusivity
* chore: Factor out price columns from hooks
2024-07-09 09:26:20 +02:00
Harminder Virk
4b391fc3cf
Initial implementation with just the generate method ( #7973 )
2024-07-09 12:32:02 +05:30
Adrien de Peretti
10848c8bf2
chore: rename source to linkable in defineLink options ( #8016 )
...
* chore: rename source to linkable in defineLink options
* rm unused const
2024-07-08 16:44:03 +02:00
Adrien de Peretti
fc7f5ff71a
fix: Modules providers loading mechanism to infer the source dir ( #8015 )
...
* fix: Modules providers loading mechanism to infer the source dir
* finalize
2024-07-08 14:11:45 +02:00
Adrien de Peretti
b450628481
fix: error 4082 when using defineLink ( #8014 )
2024-07-08 12:05:44 +02: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
b24c8503d5
feat: Add types to the workflow conditional ( #7979 )
...
**What**
Add typing to the when conditional workflow step
FIXES CORE-2494
2024-07-05 14:43:16 +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
Adrien de Peretti
1393f51046
fix: Improve get caller file path util ( #7974 )
...
* fix: Improve get caller file path util
* improve compatibility
* update comment
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-07-05 12:54:27 +02:00
Carlos R. L. Rodrigues
9badad24aa
feat(workflows-sdk): conditional step ( #7912 )
...
* chore: move ModuleRegistrationName to utils
* chore(workflows-sdk): conditional step
* type
* when condition
2024-07-05 10:54:18 +02:00
Stevche Radevski
3e86cb6ac3
feat: Add HTTP endpoints and workflows for price preference management ( #7960 )
...
REF CORE-2376
Remaining pieces are adding UI to manage the flag, showing the flag in price editor, plugging it in cart calculations, and https://github.com/medusajs/medusa/pull/7827
2024-07-05 08:47:01 +00:00