Carlos R. L. Rodrigues
ba34c53151
fix(order): summary original_total ( #8616 )
2024-08-15 14:15:05 -03: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
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
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
Carlos R. L. Rodrigues
96bdf3e2c6
chore(core-flows): order transactions ( #8568 )
...
What:
- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +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
Carlos R. L. Rodrigues
91f07e1a59
chore(order): item update quantity ( #8513 )
2024-08-08 14:12:16 -03:00
Carlos R. L. Rodrigues
3f5ddc5bce
chore: normalize packages version ( #8492 )
2024-08-08 13:52:05 +00:00
Carlos R. L. Rodrigues
0b6bcdd538
chore(core-flows): util to format inventory input ( #8483 )
2024-08-07 15:15:17 -03:00
Carlos R. L. Rodrigues
c017be2a54
chore(utils): improve to handle util ( #8487 )
2024-08-07 11:33:19 -03:00
Carlos R. L. Rodrigues
1fb679e785
feat(core-flows): manage inventory reservation of claims and exchanges ( #8448 )
2024-08-07 07:49:58 -03:00
Carlos R. L. Rodrigues
3d7dce2bec
fix(core-flows): copy line items attribute ( #8471 )
...
removing `requires_shipping` from variant won't be part of this PR
2024-08-06 18:58:08 +00:00
Carlos R. L. Rodrigues
f415e6664c
feat(core-flows,order,medusa): exchange endpoints ( #8396 )
2024-08-06 06:28:27 -03:00
Carlos R. L. Rodrigues
5125d1328d
chore(medusa,core-flows): cart payment collection link ( #8457 )
2024-08-06 06:12:21 -03:00
Carlos R. L. Rodrigues
8700896ce6
fix(medusa): plus sign to space ( #8454 )
2024-08-06 08:01:39 +02:00
Carlos R. L. Rodrigues
0ec1d98c33
fix(order): return migration enum ( #8449 )
2024-08-05 11:55:35 +00:00
Carlos R. L. Rodrigues
5cae91040e
chore(core-flows): use create order step on complete cart ( #8397 )
2024-08-02 06:18:39 -03:00
Carlos R. L. Rodrigues
accf884bb1
chore(core-flows): Order Exchange - initial workflows ( #8374 )
...
PR: 1:n
This is the first PR with a initial skeleton for Order exchange workflows.
This is not yet to be considered functional or reflecting the exact behavior of Order Exchanges.
What:
* organize folder structure of order-related steps and workflows
* initial worklows for Order exchange - This first draft is just a copy of Claims behavior
2024-08-01 10:27:06 +00:00
Carlos R. L. Rodrigues
169953ad1e
fix(core-flows): delete receive return action ( #8350 )
2024-07-30 12:48:50 +00:00
Carlos R. L. Rodrigues
48663479a9
chore(core-flows): cancel claims ( #8342 )
...
What:
* `DELETE /admin/claims/:id/request`
* `POST /admin/claims/:id/cancel`
2024-07-30 08:59:02 +00:00
Carlos R. L. Rodrigues
24c105f288
feat(orchestration,workflows-sdk): Skip step ( #8334 )
2024-07-29 14:26:47 -03:00
Carlos R. L. Rodrigues
ed67d44d28
fix(core-flows,order): update action ( #8333 )
2024-07-29 12:51:51 -03:00
Carlos R. L. Rodrigues
42c80e4264
Chore/order claims 2 ( #8312 )
2024-07-29 10:15:35 -03:00
Carlos R. L. Rodrigues
d63ca00214
chore(core-flows): return fulfillment link ( #8304 )
2024-07-27 10:20:48 -03:00
Carlos R. L. Rodrigues
4eb7abbae8
fix(core-flows): update receive returned item ( #8295 )
...
FIXES: TRI-68
2024-07-26 13:11:26 +00:00
Carlos R. L. Rodrigues
ccfbc0accf
chore(core-flows,medusa): order claims ( #8271 )
2024-07-25 06:33:35 -03:00
Carlos R. L. Rodrigues
cae27b08bd
fix(order): remove nested entities ( #8250 )
2024-07-23 18:21:33 +00:00
Carlos R. L. Rodrigues
1aa2d7b611
chore: rm testing path ( #8249 )
2024-07-23 16:58:54 +00:00
Carlos R. L. Rodrigues
7a5349c0ae
chore(core-flows): adjust inventory when return is received ( #8222 )
2024-07-23 13:36:46 -03:00
Carlos R. L. Rodrigues
f38f6d53b4
fix(core-flows): confirm return request ( #8242 )
2024-07-23 13:29:06 -03:00
Carlos R. L. Rodrigues
3772b805ef
fix(core-flows): create return items ( #8227 )
2024-07-22 21:08:34 +02:00
Carlos R. L. Rodrigues
037ddd2cec
fix(medusa): GET return/:id ( #8226 )
2024-07-22 21:08:13 +02:00
Carlos R. L. Rodrigues
fb29b958fa
chore(inventory, core-flows): big number support ( #8204 )
2024-07-22 06:32:25 -03:00
Carlos R. L. Rodrigues
07205e4249
fix(utils): totals calculation ( #8190 )
2024-07-19 06:49:49 -03:00
Carlos R. L. Rodrigues
78b8a3c60f
chore(order): simplify order engine ( #8188 )
...
what:
- remove unused features of order changes calculation engine
2024-07-18 18:02:13 +00:00
Carlos R. L. Rodrigues
535832b692
chore(medusa, core-flows): receive item return request ( #8172 )
...
What:
* `POST /admin/returns/:id/receive-items`
* `POST /admin/returns/:id/receive-items/:action_id`
* `DELETE /admin/returns/:id/receive-items/:action_id`
* `POST /admin/returns/:id/dismiss-items`
* `POST /admin/returns/:id/dismiss-items/:action_id`
* `DELETE /admin/returns/:id/dismiss-items/:action_id`
* `POST /admin/returns/:id/receive/confirm`
CLOSES: CC-190, CC-191, CC-192, CC-193, CC-195, CC-196, CC-197
* Inventory management isn't included yet. Will add it in a next PR
2024-07-18 14:46:34 +00:00
Carlos R. L. Rodrigues
1a472733ae
chore(medusa,core-flows): begin and cancel receive return ( #8171 )
...
What:
* `POST /admin/returns/:id/receive`
* `DELETE /admin/returns/:id/receive`
CLOSES: CC-189
2024-07-18 12:55:04 +00:00
Carlos R. L. Rodrigues
d7e79cfa94
fix(medusa): normalize build path ( #8166 )
2024-07-17 09:10:37 -03:00
Carlos R. L. Rodrigues
1acfdc4ffe
chore(core-flows, medusa): cancel request return ( #8153 )
...
* fix(core-flow): request item return reason
* chore(core-flows): cancel request return
2024-07-17 09:35:46 +01:00
Carlos R. L. Rodrigues
d4fe2daa57
fix(core-flow): request item return reason ( #8152 )
2024-07-17 09:35:33 +01:00
Carlos R. L. Rodrigues
23053afe95
chore(medusa,core-flows): update request return items and shipping ( #8151 )
2024-07-16 15:23:28 -03:00
Carlos R. L. Rodrigues
5813216c88
core(core-flows, medusa): remove request item return ( #8146 )
2024-07-16 11:23:34 -03:00
Carlos R. L. Rodrigues
7123f9ff63
feat(core-flows,medusa,order): remove return shipping ( #8137 )
...
What:
* `DELETE /admin/returs/:id/shipping_methods/:action_id`
FIXES: CC-187
2024-07-16 10:27:16 +00:00
Carlos R. L. Rodrigues
8d530aa7f2
Chore(core-flows,order): exchange/claim add item ( #8126 )
2024-07-15 08:08:43 -03: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
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
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
Carlos R. L. Rodrigues
de36e2b36e
chore: rename return flow ( #8050 )
2024-07-10 08:09:10 -03: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
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
Carlos R. L. Rodrigues
d036130604
fix(cart): add shipping method to cart ( #7945 )
2024-07-04 12:47:39 +00:00
Carlos R. L. Rodrigues
56394fe0d4
fix(order): order list payment and fulfillment status ( #7934 )
2024-07-04 06:37:25 -03:00
Carlos R. L. Rodrigues
a7844efd09
chore: move ModuleRegistrationName to utils ( #7911 )
2024-07-03 06:30:56 -03:00
Carlos R. L. Rodrigues
07715e6b50
chore(order): cancel return ( #7881 )
2024-07-02 06:52:58 -03:00
Carlos R. L. Rodrigues
17e6a83b59
fix(utils): joiner config from medusa project ( #7896 )
2024-07-01 13:48:34 -03:00
Carlos R. L. Rodrigues
9f3998393b
fix(totals): order item totals ( #7867 )
2024-06-28 09:34:25 -03:00
Carlos R. L. Rodrigues
7602fe8b61
chore: totals refundable_total ( #7857 )
2024-06-27 13:56:55 -03:00
Carlos R. L. Rodrigues
61758f374b
chore(medusa): return endpoints ( #7823 )
2024-06-25 13:53:18 +00:00
Carlos R. L. Rodrigues
5600e58b7f
chore(orchestration): idempotent ( #7771 )
2024-06-25 10:34:00 -03:00
Carlos R. L. Rodrigues
cfa983001b
feat(order): create claim and exchange ( #7734 )
2024-06-18 08:08:16 -03:00
Carlos R. L. Rodrigues
d6c6f5998c
chore(orchestration): remote joiner - relationships as map ( #7752 )
2024-06-17 16:11:42 -03:00
Carlos R. L. Rodrigues
12a57836a7
fix(pricing): Only get prices from active price list ( #7753 )
2024-06-17 20:18:08 +02:00
Carlos R. L. Rodrigues
70a72ce2df
chore(payment-stripe): smallest unit ( #7748 )
2024-06-17 13:37:38 -03:00
Carlos R. L. Rodrigues
bc0c65c6b3
feat(modules-sdk): define link ( #7743 )
2024-06-17 09:28:42 -03:00
Carlos R. L. Rodrigues
75811cd4b3
feat(order): Claim and Exchange entities ( #7681 )
2024-06-12 14:49:15 -03:00
Carlos R. L. Rodrigues
37426939da
Feat(order): post purchase support ( #7666 )
2024-06-10 18:44:51 -03:00
Carlos R. L. Rodrigues
56f65f319d
fix(modules-sdk): dependencies ( #7622 )
2024-06-05 11:46:07 -03:00
Carlos R. L. Rodrigues
1ba887f4c9
chore: parallelize steps ( #7605 )
2024-06-04 11:23:53 -03:00
Carlos R. L. Rodrigues
41df24e2dc
chore(workflows-sdk): check exported workflow ( #7592 )
2024-06-04 07:18:40 -03:00
Carlos R. L. Rodrigues
68fb04b849
fix(order): ignore reservation when manage_inventory is false ( #7594 )
2024-06-04 07:08:54 -03:00
Carlos R. L. Rodrigues
122186a78d
chore(order): cancel order ( #7586 )
2024-06-03 12:31:33 -03:00
Carlos R. L. Rodrigues
af0140d317
feat(order): cancel fulfillment ( #7573 )
2024-06-02 09:33:24 -03:00
Carlos R. L. Rodrigues
8a5d9d04a3
chore(payment): provider call outside db transaction ( #7536 )
2024-05-30 07:24:06 -03:00
Carlos R. L. Rodrigues
096372463e
chore(promotion): big number calc ( #7537 )
2024-05-30 07:23:57 -03:00
Carlos R. L. Rodrigues
f1ced57d5f
chore: payment auto capture + remove enum from utils ( #7513 )
...
What:
- handles payments session that are auto captured
- removes all the enums from `@medusajs/types`
- move all `@medusajs/types` to devDependencies
2024-05-29 11:12:59 +00:00
Carlos R. L. Rodrigues
bbca54efa7
chore(order): aggregate statuses ( #7497 )
2024-05-29 07:05:42 -03:00
Carlos R. L. Rodrigues
62ef82f497
feat(order): fulfillment workflow ( #7385 )
...
FIXES: CORE-2162 CORE-2167 CORE-2041
2024-05-27 12:49:33 +00:00
Carlos R. L. Rodrigues
7b0cfe3b77
chore(modules-sdk): throw when failing to load module ( #7431 )
2024-05-23 16:16:36 +00:00
Carlos R. L. Rodrigues
e632b273b7
chore(medusa): upgrade medusa build ( #7425 )
2024-05-23 11:19:44 -03:00
Carlos R. L. Rodrigues
f3d19f5394
fix(workflows-sdk): use loaded modules when container is empty ( #7422 )
2024-05-23 08:26:16 -03:00
Carlos R. L. Rodrigues
e760dbc953
fix(link-modules): fix warn on readonly links ( #7403 )
2024-05-22 13:07:30 +00:00
Carlos R. L. Rodrigues
f57dc98c7a
chore(order): Paid Total and Refunded Total ( #7373 )
2024-05-20 15:48:57 -03:00
Carlos R. L. Rodrigues
48aa09be23
Chore(order): endpoints - Part 1:N ( #7360 )
2024-05-19 14:51:08 -03:00
Carlos R. L. Rodrigues
7c4f4d7388
feat(payment): update payment collection status ( #7335 )
2024-05-15 15:11:40 +00:00
Carlos R. L. Rodrigues
70fd355e46
chore(order): link order and payment collection ( #7334 )
2024-05-14 20:37:27 +00:00
Carlos R. L. Rodrigues
4ef70d37bf
feat(order): receive return and additional calculations ( #7314 )
2024-05-14 08:35:31 -03:00
Carlos R. L. Rodrigues
9dae86daa2
chore: es target 2021 ( #7325 )
2024-05-14 08:07:14 -03:00
Carlos R. L. Rodrigues
e2dfe91071
chore(modules-sdk): Custom Module definition ( #7315 )
2024-05-14 06:59:14 -03:00
Carlos R. L. Rodrigues
6c94d0205c
Feat(order): return reason and transaction methods ( #7303 )
2024-05-13 16:15:25 +00:00
Carlos R. L. Rodrigues
5228b14ca9
feat(medusa): complete cart create reservation ( #7250 )
2024-05-06 14:36:55 -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
aba194de9a
chore: complete cart part 2 ( #7227 )
2024-05-05 10:35:09 -03:00
Carlos R. L. Rodrigues
c32a31e139
feat(inventory): check stock to create reservation ( #7209 )
2024-05-05 10:24:52 +02:00
Carlos R. L. Rodrigues
9d3f495314
feat(fulfillment): shipping options context field ( #7169 )
2024-05-02 09:59:14 -03:00
Carlos R. L. Rodrigues
3affcc2525
chore(orchestration): replace workflow definition in v1 ( #7181 )
2024-04-30 13:19:58 -03:00
Carlos R. L. Rodrigues
1eeb1e9de3
fix(modules-sdk): load custom modules options ( #7176 )
2024-04-30 09:05:55 -03:00