Carlos R. L. Rodrigues
b6521e4c1a
feat(medusa): order changes endpoint ( #8728 )
...
What:
- `admin/orders/:id/changes` endpoint to get order changes related to the order
- added `*_by` attributes missing
2024-08-29 14:20:12 +00:00
Adrien de Peretti
5294ce8654
chore(medusa): Re enable plugin loading ( #8843 )
...
* chore(medusa): Re enable plugin loading
* finalise
2024-08-28 15:38:51 +02:00
Oli Juhl
c2e7940f61
fix: Validate boolean query params ( #8834 )
2024-08-28 13:14:15 +02:00
Oli Juhl
dbe931ab00
feat(js-sdk): Add API key ( #8838 )
...
* feat(js-sdk): Add API key
* address PR comments
* Allow params to create + update
2024-08-28 13:07:06 +02:00
Shahed Nasser
8f8e2f5a65
fix(medusa): use correct request type for create cart API route ( #8820 )
2024-08-28 12:16:30 +03:00
Harminder Virk
69c5d122b1
feature: add db:setup command ( #8830 )
2024-08-28 13:08:48 +05:30
Oli Juhl
c11ef01c15
feat: Separate registration from authentication in auth domain ( #8683 )
...
* wip
* feat: Introduce register
* fix: user command
* fix: Invite HTTP tests
* fix: Auth tests
* fix: Invite modules tests
2024-08-27 13:44:52 +02:00
Harminder Virk
2a5ee970e6
feat: move migrations commands to the new db namespace ( #8810 )
2024-08-27 16:40:00 +05:30
Oli Juhl and Carlos R. L. Rodrigues
2bacf86d3c
chore: Remove prepublishOnly script ( #8699 )
...
* wip
* wip
* verbose logging
* remove prepublish scripts
* chore: add back prepublish scripts
* wip
* remove prepublishOnly script
* chore: Clean up rest of build scripts
* add back build script
* feedback
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-27 10:31:38 +02:00
Harminder Virk
98b4c76ece
feature: add sync links command ( #8775 )
2024-08-27 13:43:54 +05:30
Carlos R. L. Rodrigues
3b4eea08ef
chore: peer dependency version ( #8771 )
...
* fix peer dependency version
* dotenv
* commands
* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. Rodrigues
afd25846f0
chore: dependencies reorg ( #8744 )
2024-08-26 09:37:05 +00:00
Harminder Virk
7c2cfc132a
feature: add db:create command ( #8760 )
2024-08-26 15:04:52 +05:30
Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Carlos R. L. Rodrigues
cad6dae231
fix(core-flows): allow backorder ( #8721 )
2024-08-22 13:28:22 +02:00
Riqwan Thamir
335061d8cd
feat(medusa,types,core-flows): apply created_by values - claims, exchanges, returns, fulfillment ( #8712 )
...
what:
- Applies created_by values - claims, exchanges, returns, fulfillment
RESOLVES CC-96
2024-08-21 18:15:55 +00:00
Carlos R. L. Rodrigues
27a2dcb10d
feat(core-flows): order edit request ( #8705 )
2024-08-21 13:59:33 -03:00
Riqwan Thamir and Carlos R. L. Rodrigues
8bd284779e
feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid ( #8679 )
...
* feat(core-flows): create or update payment collections in RMA flows
* chore: change ui to pick payment link from unpaid payment collection
* Apply suggestions from code review
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* chore: fix mathbn
* feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid
* chore: add captured bt
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-20 22:58:28 +02:00
Riqwan Thamir and Carlos R. L. Rodrigues
430d9a38c4
feat(core-flows): create or update payment collections in RMA flows ( #8676 )
...
* feat(core-flows): create or update payment collections in RMA flows
* chore: change ui to pick payment link from unpaid payment collection
* Apply suggestions from code review
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* chore: fix mathbn
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-20 18:40:58 +02:00
Riqwan Thamir
fa44e3f5a8
feat(dashboard,core-flows,js-sdk,types,link-modules,payment): ability to copy payment link ( #8630 )
...
what:
- enables a button to create a payment link when a payment delta is present
- api to delete order payment collection
- adds a pending amount to payment collections
Note: Not the happiest with the decision on when to create a payment collection and when not to. The code should programatically create or delete payment collections currently to generate the right collection for the payment delta. Adding a more specific flow to create and manage a payment collection will help reduce this burden from the code path and onto CX/merchant.
Another issue I found is that the payment collection status doesn't get updated when payment is complete as it still gets stuck to "authorized" state
https://github.com/user-attachments/assets/037a10f9-3621-43c2-94ba-1ada4b0a041b
2024-08-20 10:30:17 +00:00
Carlos R. L. Rodrigues
1be9373290
chore(core-flows): order update item quantity ( #8659 )
2024-08-19 18:14:57 +00:00
Stevche Radevski
0f240137e9
fix: Remove the endpoint to create a user ( #8629 )
2024-08-16 16:12:32 +02:00
Riqwan Thamir
adcd25650c
feat(medusa,core-flows,types): API to create payment collections for order ( #8617 )
...
what:
- adds an API to create a payment collection for order
2024-08-16 08:16:40 +00:00
Riqwan Thamir
82c147b91e
feat(dashboard,core-flows,js-sdk,types,medusa): Add exchange UI + fixes ( #8606 )
...
what:
- adds exchange UI
- fixes bugs on core-flows and endpoints
- random set of tiny fixes
https://github.com/user-attachments/assets/b163b9c1-4475-4936-ae98-20795760cc55
2024-08-15 17:54:51 +00:00
Carlos R. L. Rodrigues
c92aa3e397
feat(core-flow): order edit endpoints ( #8596 )
...
* The relevant part of this PR is only at folder `packages/medusa/src/api/admin/order-edits/`
All the other changes are Types
Missing:
* `/store` endpoints to confirm/decline the order change
* http tests of the full flow
2024-08-15 16:59:36 +00:00
Riqwan Thamir
4cb28531e5
feat(core-flows,dashboard): add fixes to allow only outbound or inbound claims ( #8590 )
...
what:
- allows completing claim with only inbound items
- allows completing claim with only outbound items
- validates against creating claims when an active change order is present
2024-08-14 21:09:05 +00:00
Shahed Nasser
1c8aeb9735
chore(medusa,types): [14/14] Add request types to API routes ( #8576 )
...
* chore(medusa,types): [14/14] Add request types to API routes
* more types
2024-08-13 12:57:13 +03:00
Shahed Nasser
5ff5159cee
chore(medusa,types): [13] Add request types to API routes ( #8575 )
2024-08-13 12:56:54 +03:00
Shahed Nasser
369d7b54d2
chore(medusa,types): [12] Add request types to API routes ( #8574 )
2024-08-13 12:56:35 +03:00
Shahed Nasser
82de6572f9
chore(medusa,types): [11] Add request types to API routes ( #8572 )
2024-08-13 12:56:18 +03:00
Shahed Nasser
fc439a32f1
chore(medusa,types): [8] Add request types to API routes ( #8565 )
2024-08-13 10:10:10 +03:00
Shahed Nasser
571a3d1671
chore(medusa,types): [7] Add request types to API routes ( #8564 )
...
Add request types as type arguments in API routes. This also includes adding / rearranging types under the `types` package.
PR 7/n
2024-08-13 07:00:36 +00:00
Shahed Nasser
b78e286224
chore(medusa,types): [10] Add request types to API routes ( #8567 )
2024-08-13 09:38:56 +03:00
Shahed Nasser
61cbc8c0be
chore(medusa,types): [9] Add request types to API routes ( #8566 )
2024-08-13 09:38:33 +03:00
Shahed Nasser
6d210c67b1
chore(medusa,types): [6] Add request types to API routes ( #8563 )
...
* chore(medusa,types): [6] Add request types to API routes
* more types
2024-08-13 09:37:36 +03:00
Shahed Nasser
eb331a4bca
chore(medusa,types): [5] Add request types to API routes ( #8562 )
...
* chore(medusa,types): [5] Add request types to API routes
* more types
2024-08-13 09:37:24 +03:00
Shahed Nasser
078c2df773
chore(medusa,types): [4] Add request types to API routes ( #8561 )
2024-08-13 09:37:11 +03:00
Shahed Nasser
578e5182dd
chore(medusa,types): [3] Add request types to API routes ( #8560 )
...
* chore(medusa,types): [3] Add request types to API routes
* more types
2024-08-13 09:36:56 +03:00
Shahed Nasser
e5e8489cc0
chore(medusa,types): [2] Add request types to API routes ( #8559 )
...
* chore(medusa,types): [2] Add request types to API routes
* fix up base currency
2024-08-13 09:36:41 +03:00
Shahed Nasser
24985cf89d
chore(medusa,types): [1] Add request types to API routes ( #8558 )
...
Add request types as type arguments in API routes. This also includes adding / rearranging types under the `types` package.
PR 1/n
2024-08-12 11:27:00 +00:00
Carlos R. L. Rodrigues
6ffe85aa3d
chore(core-flows): favor runAsStep ( #8540 )
2024-08-12 06:21:11 -03:00
Carlos R. L. Rodrigues
c9c1a5b41c
chore: rm pg dependency ( #8526 )
2024-08-08 17:22:57 +00:00
Riqwan Thamir
a7cace90e0
feat(medusa): filter shipping options by location ( #8511 )
...
what:
- filters shipping options by location ID
RESOLVES CC-328
2024-08-08 14:40:02 +00: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
3f5ddc5bce
chore: normalize packages version ( #8492 )
2024-08-08 13:52:05 +00:00
Riqwan Thamir
85ed025705
feat(dashboard,js-sdk,medusa): add ability to add outbound items to claim ( #8502 )
...
what:
- user can add/remove/update outbound items to a claim
- adds API to query variants
Note: There are several paths that are not implemented yet correctly, but have some code lying around. Those will be tackled in the followup PRs
https://github.com/user-attachments/assets/cadb3f7a-982f-44c7-8d7e-9f4f26949f4f
RESOLVES CC-330
RESOLVES CC-296
2024-08-08 12:20:13 +00:00
Harminder Virk
f831deaf74
cleanup: use WithAdditionalData helper everywhere ( #8499 )
2024-08-08 16:55:15 +05:30
Harminder Virk
08764e3965
feature: add workflows hooks to the order module ( #8496 )
2024-08-08 16:25:11 +05:30
d50161fa32
feat(adshboard,types,medusa): enable adding notes/return reason to inbound claims ( #8488 )
...
* wip: setup UI
* wip: rendering modal, adding claim items, create checks
* fix: make form work after merge
* fix: continuation of claim edit
* chore: ability to add and remove items to claim inbound
* chore: minor fixes
* chore: add toast messages on actions
* feat(adshboard,types,medusa): enable adding notes/return reason to inbound items
* chore: fix types in a bunch of places
* chore: add conditional for actions
* Update packages/admin-next/dashboard/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: fPolic <mainacc.polic@gmail.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-08-07 19:32:07 +02:00
Riqwan Thamir and fPolic
eb590417be
feat(core-flows,dashboard,medusa): ability to add and remove items to claim inbound ( #8480 )
...
* wip: setup UI
* wip: rendering modal, adding claim items, create checks
* fix: make form work after merge
* fix: continuation of claim edit
* chore: ability to add and remove items to claim inbound
* chore: minor fixes
---------
Co-authored-by: fPolic <mainacc.polic@gmail.com >
2024-08-07 15:27:04 +02:00