Carlos R. L. Rodrigues
bc0c65c6b3
feat(modules-sdk): define link ( #7743 )
2024-06-17 09:28:42 -03:00
Stevche Radevski
78768574af
chore: Remove generated client types folder ( #7633 )
...
* chore: Remove generated client types folder
* chore: Remove typescript-codegen package and client commands for oas
2024-06-06 16:14:35 +02:00
olivermrbl
361474ad99
chore: Add google auth package to changeset
2024-05-28 15:42:09 +02:00
Shahed Nasser
b5b41c7a33
chore: remove duplicate package in changeset ( #7472 )
...
Remove `@medusajs/ui` from the preview changeset because it's added twice which causing an error in the release pipeline
2024-05-27 14:29:03 +02:00
Kasper Fabricius Kristensen
ab2e8fcd45
feat(dashboard,ui,types,admin-shared): Add more extension zones + pass data to widgets ( #7465 )
2024-05-27 12:47:12 +02:00
Adrien de Peretti
b8bc3ed16f
chore: Start cleaning up medusa-core-utils ( #7450 )
...
**What**
- remove medusa-core-utils
- dispatch the utils where they belongs
- update usage
**NOTE**
I have been wondering if the graceful class should go into the utils package or medusa package, I ve put it in the medusa package as it seems to be the best place I can see for now and is tight to the server as well. Also, I wanted to avoid the utils package to depends on http and net dependencies, happy to change that if you feel like it
2024-05-27 08:00:15 +00:00
Oli Juhl
3b93bc9f55
chore: Remove babel package from changeset ( #7462 )
2024-05-26 21:17:56 +02:00
Shahed Nasser
bfa1dc27cb
chore: add auth-emailpass package to changeset ( #7437 )
2024-05-24 07:02:14 +00:00
Kasper Fabricius Kristensen
4a10821bfe
fix(admin-next): add admin packages to changeset ( #7426 )
2024-05-23 15:16:19 +02:00
Frane Polić
b7df447682
fix(core-flows): set SalesChannels on Product update ( #7272 )
2024-05-21 21:48:34 +02:00
Stevche Radevski
025536e2a5
feat(sdk): Replace region calls with the SDK in admin, apply typings … ( #7371 )
2024-05-20 14:47:31 +00:00
Frane Polić
521b4e7926
feat(dashboard): order fulfillment UI ( #7262 )
...
* feat: initial impl. of Unfulfilled section and create flow
* feat: create fulfillment
* feat: order <> fulfillment link, fulfillment section
* feat: accept order_id when creating fulfillment
* feat: finish create and cancel
* fix: integration test
* refactor: real Order<>Fulfillment link instead readonly, add link step to the workflow
* fix: revert `order_id` definitions
* chore: add changeset
* fix: build
* fix: address comments
* fix: fetch inventory and location levels for fulfilled variant
* fix: loading inventory details
* add isList to order fulfillment link
* fix: duplicate declaration
* fix: type
* refactor: link orders step, fix client
* fix: move translations to the new file
* fix: pass order id in test
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2024-05-20 13:41:09 +02:00
olivermrbl
0d0c0b4329
chore: Update preview release changeset
2024-05-19 14:16:26 +02:00
Stevche Radevski
00a37cede1
feat: Add support for authentication to the sdk, and plug it in the admin ( #7349 )
...
* feat: Add support for authentication to the sdk, and plug it in the admin
* fix: await fetch before returning in sdk
2024-05-17 14:37:38 +02:00
Oli Juhl
2e42e053d4
chore: Publish preview release + deploy staging every 3 hours ( #7341 )
...
* wip
* Wrap up
* Update .github/workflows/trigger-staging-deployment.yml
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* enable schedule
---------
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2024-05-16 12:36:30 +02:00
Stevche Radevski
845eda4643
feat: Create the Medusa API SDK as js-sdk package ( #7276 )
2024-05-16 12:30:32 +02:00
Kasper Fabricius Kristensen
490586f566
feat(medusa,dashboard,admin-sdk): Run admin dashboard from Medusa instance ( #7330 )
2024-05-15 19:52:09 +02:00
Oli Juhl
774696845c
chore: Update perfect-fishes-listen.md ( #7339 )
2024-05-15 16:24:15 +02:00
Shahed Nasser
8b2429d24f
chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default ( #7304 )
...
* chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default
* fixes to changeset
* fix public url path
2024-05-13 17:01:38 +03:00
Stevche Radevski
79758c46b6
feat: Add support for sendgrid and logger notification providers ( #7290 )
...
* feat: Add support for sendgrid and logger notification providers
* fix: changes based on PR review
2024-05-11 17:40:03 +02:00
Adrien de Peretti
e5904f8c75
fix(medusa): Missing middlewares export ( #7289 )
2024-05-10 15:43:43 +00:00
Riqwan Thamir
7e43aabda0
chore(medusa): strict zod versions in workspace ( #7296 )
2024-05-10 17:16:16 +02:00
Adrien de Peretti
45e2228a07
chore(utils): Provide a mikro orm base entity ( #7286 )
...
**What**
Provide a new mikro orm base entity in order to abstract away the on init and on create which include the id auto generation if not provided. The main goal is to reduce complexity in entity definition
2024-05-10 09:27:33 +00:00
Stevche Radevski
144e09e852
feat: Add the basic implementation of notification module ( #7282 )
...
* feat: Add the basic implementation of notification module
* fix: Minor fixes and introduction of idempotency key
* fix: Changes based on PR review
2024-05-10 11:22:03 +02:00
Riqwan Thamir
ea872cbda9
chore: cleanup admin function ( #7285 )
2024-05-10 08:13:14 +00:00
Riqwan Thamir
9a14aeebcf
feat(core-flows,types,medusa): API to add promotions to campaign ( #7277 )
...
what:
- adds an API to add promotions to campaign
- reworks module to perform atomic actions
2024-05-10 07:53:56 +00:00
Riqwan Thamir
6da2964998
feat(dashboard,core,medusa,promotion): add campaigns UI ( #7269 )
...
* feat(dashboard,core,medusa,promotion): add campaigns UI
* chore: add without campaign choice to promotion ui
* chore: fix builds and types
* chore: fix design issues
* chore: address pr reviews
2024-05-09 10:00:28 +02:00
Shahed Nasser
c71a06c87f
fix(medusa): import and use RequestQueryFields from types package ( #7275 )
...
Noticed that `RequestQueryFields` is defined in both the `medusa` and `types` package. Within the `medusa` package sometimes it uses the local type definition or the definition in `types`.
This PR removes the type definition of `RequestQueryFields` in `medusa` and uses that in `types` instead.
2024-05-08 12:55:29 +00:00
Shahed Nasser
67944dcc92
fix(medusa): Fix request type in upload route ( #7271 )
...
The `/admin/uploads` route uses an incorrect input type `CreateProductDTO`. This PR fixes it to the type defined in `validators.ts`.
2024-05-08 10:47:35 +00:00
Adrien de Peretti
71f4f46cb9
chore(medusa): cleanup medusa package ( #7206 )
2024-05-07 12:48:49 +02:00
Frane Polić
39c3f6d92a
feat(dashboard): basic Order UI ( #7225 )
...
**WHAT**
- rudimentary list and details pages
- fix Order<>Promotion link
- fix Order<>SalesChannel link
**NOTE**
- displaying basic info since we don't have Fulfillments & Payments linked ATM
- `disaply_id` needs to be added to order
- `tax_rate` needs to be added to order
---
https://github.com/medusajs/medusa/assets/16856471/cd4e98c7-345e-4193-8c1e-ad4ed1584993
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-05-07 07:28:42 +00:00
Riqwan Thamir
0430e63b0b
feat(core-flows,typers,utils,medusa): add payment auth step to complete cart workflow - [complete cart part 3] ( #7248 )
...
* chore: authorize payment sessions for cart
* chore: add spec for cart returns
* fix: Correctly select fields for cart
* chore: fix specs + address comments
---------
Co-authored-by: Stevche Radevski <sradevski@live.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-05-06 23:34:56 +02:00
Carlos R. L. Rodrigues
5228b14ca9
feat(medusa): complete cart create reservation ( #7250 )
2024-05-06 14:36:55 -03:00
Adrien de Peretti
a736e728b8
fix: package.json run test integration in packages ( #7249 )
2024-05-06 19:25:37 +02:00
Shahed Nasser
e7a3528367
fix(create-medusa-app): don't open browser to admin if v2 option is passed ( #7253 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-05-06 18:35:32 +02:00
Shahed Nasser
651b953db7
fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization ( #7245 )
...
* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization
* revert change to workspaces
* change oas in workspaces
* revert change in test script
2024-05-06 16:15:38 +03:00
Carlos R. L. Rodrigues
5443c69794
feat(link-module): Order Product link ( #7243 )
2024-05-05 17:26:16 +00:00
Carlos R. L. Rodrigues
c32a31e139
feat(inventory): check stock to create reservation ( #7209 )
2024-05-05 10:24:52 +02:00
Adrien de Peretti
520867b074
feat(fulfillment, core-flows): Apply correct address and context + cleanup ( #7230 )
...
The tests will be added in subsequent requests where the worklows are being worked on
2024-05-03 15:44:22 +00:00
Shahed Nasser
5bc780a646
feat(medusa-cli): added v2 flag ( #7211 )
2024-05-03 08:43:54 +02:00
Riqwan Thamir
f129415650
feat(medusa,core-flows): complete cart [part-1] ( #7201 )
...
what:
- adds a very basic complete cart endpoint that creates an order
- the complete cart workflow currently does the following:
- create tax lines
- create order
2024-05-02 22:24:50 +00:00
Adrien de Peretti
7a351eef09
feat(workflows-sdk): Execute workflows as step in other workflows ( #7183 )
2024-05-02 11:29:28 -03:00
Carlos R. L. Rodrigues
9d3f495314
feat(fulfillment): shipping options context field ( #7169 )
2024-05-02 09:59:14 -03:00
Adrien de Peretti
25b0ccc60a
fix(fulfillment): Update shipping options rules ( #7204 )
...
**What**
Fix the update shipping options to apply the rules update properly and remove unused code
2024-05-02 12:30:13 +00:00
github-actions[bot]
2c807df99d
chore: Version Packages ( #6839 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-01 09:48:24 +02:00
Oli Juhl
bb37e139aa
chore: change minor bumps to patch ( #7177 )
2024-04-30 19:05:04 +02:00
Adrien de Peretti
e26cda4b6a
feat(medusa, core-flows, types): Allow to update the rules from a shipping options ( #7175 )
...
**What**
Add support for the following operations
- update rules from the update shipping options end point
- update rules from the batch update end point
Also added some improvements, that can be revisited later
- Add a rule value normalizer, jsonb will transform the input value to a [primitive](https://www.postgresql.org/docs/current/datatype-json.html#JSON-TYPE-MAPPING-TABLE ) when possible meaning that passing `"true"` will result in storing `true` and not the string. The normalizer takes care of that
2024-04-30 16:45:17 +00:00
Carlos R. L. Rodrigues
3affcc2525
chore(orchestration): replace workflow definition in v1 ( #7181 )
2024-04-30 13:19:58 -03:00
Riqwan Thamir
efa3308d78
feat(medusa): add middleware filters + scope products ( #7178 )
...
* chore: add middleware filters + scope products
* chore: fix spec + add changeset
* chore: add internal category to list test
2024-04-30 16:59:43 +02:00
Carlos R. L. Rodrigues
1eeb1e9de3
fix(modules-sdk): load custom modules options ( #7176 )
2024-04-30 09:05:55 -03:00