Commit Graph

6526 Commits

Author SHA1 Message Date
Shahed Nasser
ba653692e1 oas: [6/n] Improve admin OAS (#8901) 2024-09-02 09:39:27 +03:00
Shahed Nasser
1f2ee24e1d oas: [7/n] Improve admin OAS (#8902) 2024-09-02 09:39:14 +03:00
Shahed Nasser
0d24262bbe docs: fix missing auth tag in api reference (#8903) 2024-09-01 11:42:27 +02:00
Oli Juhl
cbb0a6adc7 fix: Customer registration (#8896)
* fix: Customer registration

* update test

* one mroe test

* chore: add transformation
2024-09-01 11:41:39 +02:00
Adrien de Peretti
99461e24ab feat(notification): Handle long running transaction and add status support (#8900)
RESOLVES FRMW-2110
RESOLVES FRMW-2095

**What**
- Fix notification module to not retain transactions open while sending notification
- Add support for notification status [success, pending, failure]
2024-09-01 08:01:47 +00:00
Frane Polić
dbb10ff051 feat(dashboard): order edits in timeline (#8899)
**What**
- add order edit confirmed/created events in the timeline
- add order change endpoint clients
- panel for active edit and pending edit
- few fixes around the edit domain
2024-09-01 07:49:14 +00:00
Shahed Nasser
7e92aa412c chore(framework): add a note for admin path configuration + add troubleshooting guide (#8905)
- add a note in the `path` configuration regarding same path as docker image
- Add a section in the troubleshooting guide for the same reason
2024-09-01 07:46:32 +00: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
Shahed Nasser
c8f951dd89 docs: fixes and improvements to auth flow documentation (#8909) 2024-08-30 20:14:16 +03:00
Oli Juhl
4350fe5368 chore: Remove @medusajs/medusa usage + local types from dashboard (#8883)
Closes CC-403
2024-08-30 15:37:44 +00:00
Adrien de Peretti
3da01035f3 fix: Shipping profile deletion with options (#8910)
* fix(fulfillment): Prevent deletion of profiles associated to options

* add tests

* typo

* address feedback
2024-08-30 17:04:29 +02:00
Shahed Nasser
dea5af085a docs-util: fix clean script removing Auth tags (#8911)
* docs-util: fix clean script removing Auth tags

* fix removal of response types other than json
2024-08-30 17:02:02 +03:00
Attila Turcsan
b9eac4402b Update page.mdx (#8908)
Fix API route path in the example.
2024-08-30 13:11:32 +00:00
Frane Polić
48d4a97ad2 fix(dashboard): rma shipping floats (#8892) 2024-08-30 09:31:28 +00:00
Oli Juhl
e360a495b7 chore: Replace Error with FetchError (#8885) 2024-08-30 11:08:36 +02:00
Shahed Nasser
8c82207a41 docs: replace usages of migrations and links commands (#8894) 2024-08-30 11:48:49 +03:00
Harminder Virk
9b6c2e5efa fix: ignore metadata when computing relationships from payload (#8895) 2024-08-30 13:32:25 +05:30
Shahed Nasser
170429a9b3 chore(types, medusa): [1/n] add missing query type arguments (#8877)
Add missing type arguments in listing requests.

1/n
2024-08-30 07:35:18 +00:00
Shahed Nasser
bab6ad4c55 oas: [3/n] Improve admin OAS (#8875)
Improve the OAS of admin API routes [3/n]
2024-08-30 07:20:20 +00:00
Shahed Nasser
80fd20b21e chore(types, medusa): [2/n] add missing query type arguments (#8879)
Add missing type arguments in listing requests.

2/n
2024-08-30 07:18:14 +00:00
Shahed Nasser
0ee5c2d501 fix(dashboard, js-sdk, types, medusa): separate between delete response with and without parent (#8852)
- Separate the previous `DeleteResponse` to `DeleteResponse` and `DeleteResponseWithParent`, as not every API route's delete response returns a parent. This ensures more accurate types shown in OAS / documentation.
- Use `DeleteResponse` or `DeleteResponseWithParent` in response API routes based on what they return
- Remove direct usage of `DeleteResponse` in API route, and instead create a type in the `type` package specific for the route / domain.
- Use the new types in the `js-sdk` and `dashboard`.
2024-08-30 07:15:02 +00:00
Shahed Nasser
9f495fd853 chore(types, medusa): [3/3] add missing query type arguments (#8880)
Add missing type arguments in listing requests.

3/3
2024-08-30 07:07:18 +00:00
Oli Juhl
e0cb5ff0aa fix(dashboard): Fetch tags + types in product forms (#8887) 2024-08-30 08:35:46 +02:00
github-actions[bot]
184ce379a6 chore(docs): Generated References (automated) (#8889)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-30 08:35:16 +02:00
github-actions[bot]
524be62312 chore(docs): Generated API Reference (v2) (#8890)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-30 08:35:10 +02: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
Shahed Nasser
8cf47516c1 docs: use new x-sidebar-summary for sidebar items in api-reference if available (#8865)
Use the new `x-sidebar-summary` OAS attribute when adding operations to the sidebar, if available.
2024-08-29 17:14:10 +00:00
Shahed Nasser
44d4af3a3f oas: [1/n] Improve admin OAS (#8850) 2024-08-29 20:07:33 +03:00
Shahed Nasser
75c5853163 oas: [2/n] Improve admin OAS (#8866) 2024-08-29 20:07:17 +03:00
Shahed Nasser
fbd93ab67c docs: fix tag filters in search (#8862) 2024-08-29 20:05:58 +03:00
github-actions[bot]
bb8878f4ef chore(docs): Generated API Reference (v2) (#8731)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-29 18:57:39 +02:00
Shahed Nasser
870a863503 docs: fix overflowing card description hidden (#8871) 2024-08-29 19:48:48 +03:00
Frane Polić
f2496ef783 feat(dashboard): refactor dismissed quantity (#8842)
**What**
- refactor Receive return flow to use dismissed quantity instead of written off quantity 
- fix a few more edge cases

---

FIXES CC-392
2024-08-29 16:47:07 +00:00
Shahed Nasser
074b4ae0da docs-util: include types in workflows.ts in generated references (#8882) 2024-08-29 18:42:26 +02:00
Carlos R. L. Rodrigues
90a6f61c62 fix(order): populate version entities (#8884) 2024-08-29 13:22:24 -03:00
Oli Juhl
9cf1a5d709 chore: Remove last trace of client in dashboard (#8873) 2024-08-29 17:48:01 +02:00
Adrien de Peretti
bd20d66968 fix(link-module): Migration planner not closing connection correctly (#8881)
RESOLVES CC-405

**What**
Fixing mikro orm connection not closed during sync-links
2024-08-29 15:10:13 +00: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
Riqwan Thamir
2a6c6fe590 feat(dashboard,types): split damaged activity from received (#8859)
what:

- split damaged activity from received
- adds a popover to view return details

<img width="1661" alt="Screenshot 2024-08-28 at 23 23 10" src="https://github.com/user-attachments/assets/064e982c-f850-452d-a60d-e5c267d0075a">

RESOLVES CC-363
2024-08-29 14:04:00 +00:00
github-actions[bot]
4e6e81f445 chore(docs): Updated API Reference (v2) (#8870)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-08-29 13:05:50 +00:00
Shahed Nasser
9290ce88bf docs-util: fixes in schema factory + other improvements (#8874)
- Split schema factory for request / response / common types
- Fix overlapping types "string" and "regexp" to be just one string type
- If `oneOf` or `allOf` OAS schemas have one item, just use that item's type.
2024-08-29 12:35:45 +00:00
Oli Juhl
00bd9271e3 chore: Workflow execution JS-SDK (#8851) 2024-08-29 11:22:43 +00:00
Frane Polić
e396c01260 fix(dashboard): RMAs shipping pricing (#8848)
* wip: allow unsetting price

* fix: use non return shipping for outbound

* fix: claims shipping

* fix: refactor

* fix: checks

* feat: polish
2024-08-29 11:54:29 +02:00
Oli Juhl
e652d03b98 chore: Replace reservation customer group client with JS-SDK + clean up (#8857) 2024-08-29 11:51:23 +02:00
github-actions[bot]
37ebc97d82 chore(docs): Generated References (#8860)
Generated the following references:
- `fulfillment_models`
- `modules`
- `notification`
- `order`
- `order_models`
- `types`
2024-08-29 09:46:46 +00:00
Shahed Nasser
84fb9d55f3 docs: incorrect link fixes (#8868)
Few link fixes

Closes #8856
2024-08-29 09:44:55 +00:00
Shahed Nasser
ddddd4303c docs: add restaurant-delivery marketplace recipe (#8817)
Add recipe for restaurant-delivery marketplace recipe inspired by Medusa Eats

Closes DOCS-921

Preview: https://resources-docs-git-docs-restaurant-delivery-recipe-medusajs.vercel.app/v2/resources/recipes/marketplace/examples/restaurant-delivery
2024-08-29 09:33:31 +00:00
Shahed Nasser
25134d2307 docs-util: improvements and fixes to OAS generation (#8855)
- Add to knowledge base summaries for delete-related properties
- Fix long curl examples overflowing the line
- Fix singular / plural usage in some knowledge base descriptions / summaries
- Fix some workflows not picked up
- Remove query params for routes that don't use them.
2024-08-29 08:40:55 +00:00
Kasper Fabricius Kristensen
16d8fb1d20 fix(dashboard): Pass query params to list SC request (#8863)
Resolves CC-331
2024-08-29 08:35:39 +00:00