Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Riqwan Thamir
59599ac237
feat(core-flows,dashboard): adds item validations for claims, returns and exchanges ( #8735 )
...
what:
- adds item validations for claims, returns and exchanges
- prevents autofocus on item add
- reset item quantity when error
2024-08-23 09:30:27 +00:00
Frane Polić
49353f8c3c
feat(dashboard): order edit UI ( #8700 )
...
**What**
- order edit create flow
- active order edit panel
**Note**
- basic implementation of the flow, edge cases from the design such as fulfilled quantities validation will be added in a followup
2024-08-23 06:42:06 +00:00
Riqwan Thamir
02c6574e01
fix(admin-next,types): fixes order page from breaking in admin server ( #8730 )
2024-08-23 08:07:04 +02:00
Carlos R. L. Rodrigues
4c43122358
chore(core-flows): order edit - remove item update action ( #8722 )
2024-08-22 11:32:27 +00:00
Carlos R. L. Rodrigues
cad6dae231
fix(core-flows): allow backorder ( #8721 )
2024-08-22 13:28:22 +02:00
Shahed Nasser
bc74e381ad
feat(utils): use dotenv-expand to allow variables within env ( #8720 )
2024-08-22 13:51:36 +03:00
Shahed Nasser
64820cebef
chore(core-flows): move cart and line item flows outside definition ( #8703 )
...
* chore(core-flows): move cart and line item flows outside definition
* remove all references of definition
* export cart and line items
2024-08-22 12:19:37 +03:00
Christian
bb4c58d526
feat: add missing crud to provider identity service ( #8717 )
2024-08-22 09:39:29 +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
24377053f0
fix(types): pluralize ( #8709 )
2024-08-21 14:04:16 -03:00
Carlos R. L. Rodrigues
27a2dcb10d
feat(core-flows): order edit request ( #8705 )
2024-08-21 13:59:33 -03:00
Shahed Nasser
539266559c
chore: update the medusa config TSDocs + options ( #8697 )
2024-08-21 17:46:14 +03:00
Riqwan Thamir
de7848f68d
fix(core-flows): account for unfulfilled items while generating order status ( #8698 )
...
what:
- account for unfulfilled items while generating order status
RESOLVES CC-314
2024-08-21 14:33:43 +00:00
Riqwan Thamir
a7d03ec562
feat(dashboard,core-flows): ability to refund payment post RMA flow ( #8685 )
2024-08-21 09:58:09 +02:00
Christian
c999b414e7
fix: add missing typings to create provider identity ( #8677 )
...
* fix: add missing typings to create provider identity
* add app_metadata to filterable fields for auth identity
2024-08-21 07:29:31 +02:00
Riqwan Thamir
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
Carlos R. L. Rodrigues
99eca64c20
chore(order): preview removed items ( #8680 )
2024-08-20 14:53:39 -03:00
Riqwan Thamir
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
Christian
29830f0077
feat: create auth provider identity ( #8675 )
2024-08-20 16:38:06 +02:00
Harminder Virk
5f310c0a00
breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix ( #8672 )
2024-08-20 17:05:19 +05:30
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
Harminder Virk
69830ca89c
fix: maintain connections pool ( #8670 )
2024-08-20 14:54:52 +05:30
Carlos R. L. Rodrigues
eb0bfe9f33
feat(workflows-sdk): log on error ( #8666 )
2024-08-20 06:23:24 -03:00
Carlos R. L. Rodrigues
1be9373290
chore(core-flows): order update item quantity ( #8659 )
2024-08-19 18:14:57 +00:00
Carlos R. L. Rodrigues
aa6e504771
chore(core-flows): set packed_at when fulfillment is created ( #8665 )
2024-08-19 19:16:48 +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
Carlos R. L. Rodrigues
a45ff1c147
fix(chore-flows): update shipping method price ( #8592 )
2024-08-14 12:53:59 +00:00
Carlos R. L. Rodrigues
3d3fd9e500
fix(core-flows): add order transaction on capture ( #8591 )
2024-08-14 11:16:19 +00:00
Harminder Virk
19d30df624
refactor: Run migrations and links sync after loading the app ( #8582 )
2024-08-14 14:09:24 +05:30
Riqwan Thamir
01c8e4d3c1
fix(core-flows): fixes build fails ( #8584 )
2024-08-13 13:30:18 +00:00
Riqwan Thamir
e823021446
feat(core-flows): introduce a generic create entities step ( #8553 )
2024-08-13 14:50:17 +02:00
Riqwan Thamir
6f50e376a9
fix(core-flows): fixes duplicate fulfillment issue ( #8581 )
...
what:
- fixes a bug where fulfilling an outbound item was throwing an error due to the entire order being processed for fulfillment
RESOLVES CC-298
2024-08-13 10:40:46 +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
Carlos R. L. Rodrigues
1ff988c3f8
feat(core-flows): order edit flows ( #8555 )
...
What:
- Order edit workflows
Tests of the flows will come in a next PR together with http endpoints
2024-08-13 09:47:01 +00:00
Stevche Radevski
a013c4edc5
feat: Move userpass default definition to defineConfig instead of a hard-coded value ( #8557 )
2024-08-13 11:10:23 +02: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