Carlos R. L. Rodrigues
d8e3e04895
feat(core-flows): order events ( #9702 )
2024-10-21 15:26:44 -03:00
Carlos R. L. Rodrigues
6fa98b6a4d
chore(orchestration): modules method context ( #9669 )
...
** What **
* Test to check if the MedusaContext is being injected when calling a Module's method
2024-10-18 21:08:06 +00:00
Carlos R. L. Rodrigues
d3c1580c06
fix(orchestration): local workflow proxy ( #9664 )
2024-10-18 13:30:16 +00:00
Carlos R. L. Rodrigues
2a98be6b65
feat(medusa): ordem items endpoint ( #9646 )
2024-10-18 05:59:24 -03:00
Carlos R. L. Rodrigues
902ac12f73
chore: remove internal module resources option ( #9582 )
...
What:
* removes resouces type "shared" or "isolated" from internal modules.
* modules can have an isolated database connection by providing a database config as part of their options on `medusa-config`
CLOSES: FRMW-2593
2024-10-17 21:31:46 +00:00
Carlos R. L. Rodrigues and Adrien de Peretti
e9a06f4b4d
fea(providers): locking postgres ( #9545 )
...
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-10-17 13:11:39 +00:00
Carlos R. L. Rodrigues
f7fbc2f97c
feat(core-flows): cart events ( #9585 )
2024-10-16 14:27:24 -03:00
Carlos R. L. Rodrigues
6a6c193042
chore(medusa): default endpoints size limit ( #9616 )
2024-10-16 14:27:01 -03:00
Carlos R. L. Rodrigues
eb364834de
fix(types): logger ( #9581 )
2024-10-16 06:29:49 -03:00
Carlos R. L. Rodrigues
4a03bdbb86
feat(providers): locking redis ( #9544 )
2024-10-15 12:40:24 -03:00
Carlos R. L. Rodrigues
c8b375ae2d
feat(locking): Locking module ( #9524 )
...
**What**
- Locking Module to manage concurrency
- Default `in-memory` provider
2024-10-11 16:30:06 +00:00
Carlos R. L. Rodrigues and Frane Polić
4daf57dc1f
fix(order): undo order change ( #9497 )
...
FIXES: CC-573
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-10-09 11:50:50 +00:00
Carlos R. L. Rodrigues
8fbef8a667
fix(order): searchable fields ( #9493 )
...
FIXES: TRI-353
2024-10-07 17:45:20 +00:00
Carlos R. L. Rodrigues
f9e8403d29
fix(orchestrator, workflows-sdk): skip async step ( #9482 )
2024-10-07 07:35:30 -03:00
Carlos R. L. Rodrigues
cc77ca1413
chore(types): index module type ( #9473 )
2024-10-04 16:54:43 +00:00
Carlos R. L. Rodrigues
d06ea6985d
fix: add order to pagination types ( #9471 )
2024-10-04 12:57:44 +00:00
Carlos R. L. Rodrigues
8155c4e9ee
fix(workflows-sdk): when then return value ( #9427 )
2024-10-02 07:40:39 -03:00
Carlos R. L. Rodrigues
d00afb76a6
chore(types): is_return on shipping options ( #9352 )
2024-09-27 12:54:11 +00:00
Carlos R. L. Rodrigues and Frane Polić
19bc8d7f61
fix(core-flows): shipping options for cart ( #9343 )
...
FIXES: CC-536
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-09-27 12:32:32 +00:00
Carlos R. L. Rodrigues and Adrien de Peretti
ef15c60386
chore(modules-sdk): load modules in sequence ( #9327 )
...
What:
- The time taken to load in sequence is the same as in parallel, and it doesn't create multiple db queries simultaneously when starting each module.
- Rework modules bootstrap (now all dependencies are available from the constructor and cross deps are allowed without any topological sort needed. It also allow improvements in the future)
- First load all modules
- then resolve and register instances
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-09-26 16:33:35 +00:00
Carlos R. L. Rodrigues
11d8264062
fix(modules-sdk): default db options ( #9313 )
2024-09-25 19:44:12 -03:00
Carlos R. L. Rodrigues
b4b1a48987
feat(utils): define read only link ( #9254 )
2024-09-24 12:00:38 -03:00
Carlos R. L. Rodrigues
e54b339324
fix(core-flows): line item type collection ( #9251 )
2024-09-24 08:00:18 +00:00
Carlos R. L. Rodrigues
1215a7c094
chore(orchestrator): remote joiner using entitymap ( #9205 )
2024-09-20 05:30:08 -03:00
Carlos R. L. Rodrigues
3cfcd075ae
chore(link-modules): fulfillment order fieldAlias ( #9185 )
2024-09-18 14:21:43 -03:00
Carlos R. L. Rodrigues
adbeb9cc1d
fix(workflow-engine-*): pass container to flow ( #9180 )
2024-09-18 08:44:11 -03:00
Carlos R. L. Rodrigues
d6ff526820
fix(link-modules): table name ( #9151 )
...
FIXES: FRMW-2706
2024-09-16 19:08:42 +00:00
Carlos R. L. Rodrigues
ef8dc4087e
feat: run nested async workflows ( #9119 )
2024-09-16 13:06:45 +00:00
Carlos R. L. Rodrigues and Adrien de Peretti
8829f89402
chore: query graph api ( #9125 )
...
CLOSES: FRMW-2704
**What**
Re-structure the Query graph API as well as introduce dynamic typing from schemas on the filters and better handling of relation treatment for fields/filters inference
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-09-16 11:32:44 +00:00
Carlos R. L. Rodrigues
950cf9af79
chore: remove container registration name ( #9137 )
2024-09-16 06:22:24 -03:00
Carlos R. L. Rodrigues
e9280fb254
fix: product options event names ( #9108 )
2024-09-11 15:50:59 +00:00
Carlos R. L. Rodrigues
9a7daca21e
feat(core-flows): product type, option and tag events ( #9105 )
2024-09-11 12:32:01 -03:00
Carlos R. L. Rodrigues
fdd0543011
chore: joiner config entity property ( #9084 )
2024-09-11 06:25:25 -03:00
Carlos R. L. Rodrigues
afb83b2408
fix(orchestration): filter out undefined items ( #9046 )
2024-09-08 07:58:48 -03:00
Carlos R. L. Rodrigues
fde2a9b9be
feat(product): product option value methods ( #9004 )
2024-09-05 11:03:29 +00:00
Carlos R. L. Rodrigues
2a055b71ef
feat(core-flows): custom price flag for order line items and shipping methods ( #8969 )
...
CLOSES: CC-402
2024-09-04 20:30:59 +00:00
Carlos R. L. Rodrigues
fb832072a4
fix(utils): graphql enum options ( #8985 )
2024-09-04 10:40:31 +00:00
Carlos R. L. Rodrigues
5a097d8954
feat(utils): dml to graphql ( #8951 )
2024-09-04 06:15:07 -03:00
Carlos R. L. Rodrigues
4ffb49efd0
chore(cart): completed at ( #8921 )
2024-08-31 12:42:58 -03:00
Carlos R. L. Rodrigues
89c6ef8fc9
chore(core-flows): added workflow events ( #8915 )
...
* chore(core-flows): added workflow events
* remove from parallelize
* check array
2024-08-30 16:32:08 -03:00
Carlos R. L. Rodrigues
891037081d
chore(core-flows): apply taxes to items and shipping on RMA flows ( #8858 )
...
** What
Apply taxes to order line items and shipping methods
2024-08-29 17:33:39 +00:00
Carlos R. L. Rodrigues
90a6f61c62
fix(order): populate version entities ( #8884 )
2024-08-29 13:22:24 -03:00
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
Carlos R. L. Rodrigues
6cfe9bd874
fix(orchestration): remote joiner alias conflict ( #8844 )
2024-08-28 11:34:22 -03:00
Carlos R. L. Rodrigues
8dea3e44c6
fix(order): order change references ( #8845 )
2024-08-28 08:57:44 -03:00
Carlos R. L. Rodrigues
ff6fcfb139
fix(core-flows,order): return damaged items ( #8818 )
2024-08-27 11:21:10 -03:00
Carlos R. L. Rodrigues
571f0c7629
chore(core-flows): product events ( #8769 )
2024-08-26 18:38:30 -03:00
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
Carlos R. L. Rodrigues
12670683af
fix(payment-stripe): fix rounding ( #8753 )
2024-08-25 10:44:51 +02:00
Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Carlos R. L. Rodrigues
9931b69a2a
chore(core-flows): test allow backorder ( #8725 )
2024-08-22 11:47:31 +00: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
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
Carlos R. L. Rodrigues
99eca64c20
chore(order): preview removed items ( #8680 )
2024-08-20 14:53:39 -03:00
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
dd82a56ec5
fix(payment-stripe): fix smallest unit calculation ( #8663 )
2024-08-19 19:19:49 +02: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
Carlos R. L. Rodrigues
be942ff15c
fix(order): update order summary when transactions change ( #8633 )
2024-08-16 19:40:44 +00:00
Carlos R. L. Rodrigues
5200e816c9
fix(order): order summary on order creation ( #8624 )
2024-08-16 07:52:24 -03:00
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