Philip Korsholm
e4898fb00d
feat(admin-next, inventory-next, medusa, types): Add admin reservations flow ( #7080 )
...
* add reservation endpoints
* add changeset
* initial
* add reservations table
* add edit-item modal
* udpate inventory item attributes
* manage locations skeleton
* add combi batch endpoint
* cleanup
* fix manage locations
* add adjust inventory
* prep for pr
* minor fixes to region domain and api (#7042 )
* initial reservation
* init
* update reservation
* create reservation
* polishing
* minor fix
* prep for pr
* prep for pr
* polishing
* inventory items reservations
* Update packages/admin-next/dashboard/src/v2-routes/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
* fix feedback
* rename to ispending
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-04-25 10:11:29 +02:00
Stevche Radevski
f341265f42
feat: Add s3-compatible plugin for the file module ( #7143 )
2024-04-25 09:06:47 +02:00
Stevche Radevski
614d659a59
feat: Add local file provider and wire everything up in the file module ( #7134 )
2024-04-24 10:59:58 +02:00
Oli Juhl
10e120062b
feat: V2 batch update products in categories ( #7125 )
...
* wip
* wip
* fix: batch category update
* update tet
* fix type
---------
Co-authored-by: Stevche Radevski <sradevski@live.com >
2024-04-23 17:17:25 +02:00
Riqwan Thamir
93ef94cad3
feat(medusa,types): create promotion flows ( #7029 )
...
* chore: create promotion phase
* chore: fix specs + minor ui changes
* chore: minor fixes
* chore: added changeset
* address pr reviews
* chore: fix spec
* Update packages/admin-next/dashboard/src/v2-routes/promotions/common/edit-rules/edit-rules.tsx
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
* chore: fix specs
---------
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-04-23 12:08:39 +02:00
Riqwan Thamir
18f3aacee6
feat(core-flows,medusa,types): fulfillment API: create ( #7101 )
...
what:
- adds fulfillment create API
RESOLVES CORE-1962
2024-04-23 08:35:44 +00:00
Riqwan Thamir
38c971f111
feat(medusa,types): add fulfillment provider list api ( #7124 )
...
* feat(medusa,types): add fulfillment provider list api
* chore: remove timestamps
2024-04-22 19:35:33 +02:00
Stevche Radevski
0df523594f
feat: Convert several batch methods to the standardized format ( #7116 )
2024-04-22 16:35:10 +02:00
Oli Juhl
0eb68541b8
fix: Resume workflow execution ( #7103 )
...
Supercedes #7051 – if OK, I'll move the base of this PR to `develop` and we can run reviews only of this one.
**What**
- Gracefully close BullMQ Worker in Redis Event Bus and Redis Workflow Engine (by @edast, @sradevski)
- Register workflows before MedusaApp is loaded*
- Introduce `onApplicationPrepareShutdown`**
- Refactor plugin resolving for reusability purposes
*We now register workflows before modules are loaded to ensure modules can run workflows as part of bootstrapping. E.g. the Redis Workflow Engine resumes workflows when it starts, which has until this change failed, because the workflows were not registered yet.
**We introduce a new hook to prepare resources for an application shutdown. E.g. closing the BullMQ worker as a preparatory step to closing the BullMQ queue. The worker will continue to process jobs while the queue is still open to receive new jobs (without processing them).
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Darius <618221+edast@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-04-22 12:32:50 +00:00
Oli Juhl
67a21c3e45
feat: Update product category ( #7092 )
...
* feat: Update product category
* Disable V2 FF in product category tes
* clean up
2024-04-22 12:30:27 +02:00
Carlos R. L. Rodrigues
cc557c8752
Feat(orders,utils, cart): orders get endpoints and cart totals ( #7010 )
2024-04-22 09:01:18 +00:00
Stevche Radevski
89143e1032
feat: Add batch method to collection and clean up some batch implementations ( #7102 )
2024-04-22 08:36:22 +00:00
Riqwan Thamir
62b9dcc6c1
feat(core-flows,medusa,types): cancel fulfillments API ( #7095 )
...
what:
- adds POST cancel fulfillments endpoint
RESOLVES CORE-1972
2024-04-18 11:00:01 +00:00
Riqwan Thamir
8d356217bd
feat(medusa,core-flows,types): adds batch operations to price list prices ( #7077 )
...
what:
- adds batch operations to price list prices
RESOLVES CORE-1969
RESOLVES CORE-1970
2024-04-17 15:36:09 +00:00
Frane Polić
0a9b9b073d
feat(dashboard): shipping management ( #6995 )
...
**What**
- shipping flow
- shipping profile pages
- delete fulfillment set endpoint
- delete shipping profile endpoint
2024-04-16 13:42:56 +00:00
Riqwan Thamir
00e6b21bb5
feat(medusa,dashboard,tax): added tax rates and regions UI ( #7026 )
...
whats missing:
- make rules required for overrides
- conditions for other rules
- populating condition reference ids with labels on update
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-04-16 08:26:12 +00:00
Oli Juhl
bc081a7777
feat: Create product category flow ( #7034 )
...
* feat: Create product category
* address PR comments
2024-04-15 17:11:42 +02:00
Stevche Radevski
fd83e75e4b
feat: Add support for batch method for products and product variants ( #7038 )
...
* feat(products): Add batch methods for product and variants
* chore: Rename batch validator and minor changes based on PR review
2024-04-15 16:48:29 +02:00
Adrien de Peretti
c78915c7c5
feat: Add support for shipping options prices update ( #7028 )
2024-04-11 18:34:55 +02:00
Philip Korsholm
ab7ff64c4a
Feat(admin-next, core-flows, link-modules, medusa, types): Inventory end to end flows ( #7020 )
...
* add reservation endpoints
* add changeset
* initial
* add reservations table
* add edit-item modal
* udpate inventory item attributes
* manage locations skeleton
* add combi batch endpoint
* cleanup
* fix manage locations
* add adjust inventory
* prep for pr
* update versions
* fix for pr
* fix for pr
* cleanup
* Update packages/core-flows/src/inventory/workflows/bulk-create-delete-levels.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* Update packages/core-flows/src/inventory/steps/delete-levels-by-item-and-location.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* rm wack import
* fix build
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-04-10 15:17:54 +02:00
Philip Korsholm
f175cac4af
Feat(medusa, core-flows, types): add reservation endpoints ( #7018 )
...
* add reservation endpoints
* add changeset
2024-04-09 18:40:00 +02:00
Shahed Nasser
78f603e4f1
docs: fix typedoc errors and warnings ( #7006 )
...
* docs: fix typedoc errors and warnings
* added missing quotations
2024-04-09 17:56:14 +03:00
Kasper Fabricius Kristensen
596faf2ad3
chore(dashboard): Cleanup Pricing domain ( #7035 )
...
**What**
- Adds missing translations
- Minor cleanup
**Note**
- The domain is still missing features that are supported in V1, but are currently not available in V2. The types are also all wrong, so will need to revisit after the pricing domain is revisited, types have been added, and missing features implemented.
CLOSES CORE-1901
2024-04-09 14:53:09 +00:00
Adrien de Peretti
e1a0960e20
feat: delete shipping options ( #6993 )
2024-04-09 15:30:22 +02:00
Oli Juhl
3882cac622
feat: Admin V2 customer group ( #7000 )
2024-04-09 12:32:27 +02:00
Oli Juhl
dbddfc12ed
feat: Admin Shipping Profiles API ( #7019 )
2024-04-09 11:03:37 +02:00
Stevche Radevski
fbc2959b37
feat: Add support for loading file providers to file module ( #7016 )
2024-04-09 10:03:56 +02:00
Oli Juhl
c03216efbf
fix: Delete service zone ( #7017 )
2024-04-08 20:24:59 +02:00
Oli Juhl
6cc9a5e469
feat: Categories retrieve + list API ( #7009 )
2024-04-08 19:26:34 +02:00
Stevche Radevski
db2f0ef53f
feat: Make tags unique, clean up searchability of product entities ( #7014 )
2024-04-08 17:55:40 +02:00
Stevche Radevski
fa5c9bbe8f
feat: Improve how options are defined and handled for product ( #7007 )
...
* feat: Improve how options are defined and handled for product
* fix: Updating option values supports passing without id
2024-04-08 15:29:41 +02:00
Shahed Nasser
ef39985d66
chore: Added TSDocs for the Fulfillment Module ( #6912 )
...
Added TSDocs for the Fulfillment Module
2024-04-08 08:17:38 +00:00
Riqwan Thamir
5e953f8cf3
chore: add batch update prices for price lists ( #6999 )
2024-04-08 09:23:23 +02:00
Oli Juhl
4f88743591
feat: Admin V2 Customers ( #6998 )
2024-04-07 21:38:50 +02:00
Adrien de Peretti
f132929c7e
feat(*): shipping options update API ( #6987 )
...
**What**
- Update the `updateShippingOptions` module service API to follow the newest convention
- Add upsert support for shipping options
- update shipping options workflow
- update shipping options api end point and validation
- update shipping options all integration tests
FIXES CORE-1926
2024-04-07 16:28:59 +00:00
Oli Juhl
a24d6e6c97
feat: Update service zone ( #6990 )
2024-04-07 17:30:55 +02:00
Carlos R. L. Rodrigues
b6879f017a
feat: Totals calculation ( #6980 )
2024-04-07 16:50:40 +02:00
Oli Juhl
31b07aea3d
feat: Add tax regions table ( #6983 )
2024-04-07 15:02:48 +02:00
Adrien de Peretti
528ef4ca90
fix(modules-sdk): Select all should send undefined instead of an empty array ( #6982 )
2024-04-06 21:37:22 +02:00
Oli Juhl
81ea044f31
feat(medusa, core-flows): Create service zones ( #6979 )
2024-04-06 21:31:23 +02:00
Adrien de Peretti
bc06ad2db4
feat: Clean up shipping options management ( #6977 )
...
**What**
- cleanup existing route on some aspects but not all
- add new create shipping options end point and types
- add set of integration tests
- cleanup existing fulfillment routes
- align existing integration tests
- transform old type to zod types and validators
- fix stock location route
2024-04-06 16:52:05 +00:00
Oli Juhl
5724d80286
feat: Bring back API key sales channel management ( #6976 )
...
- Add API key sales channel management
- Add HTTP responses for API keys and sales channels
- Use HTTP responses in `dashboard` and remove now redundant types
2024-04-06 16:30:27 +00:00
Frane Polić
58c68f6715
feat(dashboard): Admin UI regions v2 ( #6943 )
2024-04-06 17:41:54 +02:00
Carlos R. L. Rodrigues
df0751f122
Feat: draft order api ( #6797 )
2024-04-06 16:35:10 +02:00
Adrien de Peretti
65794f4bb5
feat: Create shipping options workflow ( #6962 )
...
**What**
- Create main workflow
- Update create pricing rule types step to be idempotent
- update remote joiner to support granular isList confguration on field aliases
- Add full workflow integration tests
2024-04-06 11:51:48 +00:00
Riqwan Thamir
5e30b8cce6
feat(dashboard): added details page for promotions + edit sliders ( #6882 )
...
* chore: added details page for promotions
* chore: add edit rules, edit details and edit campaign pages
* chore: change to type button
* chore: connection for rules
* chore: listing rule labels of multiple modules
* chore: add badge summary list
* chore: fix campaigns
2024-04-06 13:20:31 +02:00
Shahed Nasser
cbf2e6300d
chore: added tsdocs to Region Module resources ( #6799 )
...
* chore: added tsdocs to Region Module resources
* typo fix
2024-04-05 19:35:14 +02:00
Oli Juhl
626aa09497
feat: Add create location fulfillment set flow + API ( #6945 )
2024-04-05 19:27:38 +02:00
Carlos R. L. Rodrigues
01487970b2
chore:(product): renaming vars ( #6972 )
...
* feat(product): return parents tree
* query mpath with IN
* more tests
* remove where filters
* revert where
* naming
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-04-05 19:22:55 +02:00
Carlos R. L. Rodrigues
09a2220569
feat(product): return parents tree ( #6944 )
...
*What*
include option `include_ancestors_tree` to list products including the parent tree.
2024-04-05 16:46:55 +00:00