Shahed Nasser
876a14eb98
chore(js-sdk): fix TSDocs of draft orders in JS SDK ( #12270 )
2025-04-23 12:48:13 +03:00
Frane Polić
01542f6973
feat(core-flows, js-sdk, medusa): draft order shipping removal ( #12124 )
...
**What**
- allow removal of a shipping method
---
CLOSES CMRC-1013
2025-04-16 06:10:24 +00:00
Shahed Nasser
90f9149735
chore: fixes to JS SDK TSDocs ( #12159 )
2025-04-11 16:41:52 +03:00
Shahed Nasser
83d29c2e79
chore(js-sdk, types): add TSDocs for plugin methods in JS SDK ( #12106 )
...
* chore(js-sdk, types): add TSDocs for plugin methods in JS SDK
* tsdocs for draft orders
2025-04-07 18:11:33 +03:00
Kasper Fabricius Kristensen
f441362f4a
feat(medusa,core-flows,types,js-sdk): Draft Order workflows and API endpoints ( #11805 )
2025-04-02 10:23:33 +02:00
Shahed Nasser
0cc306bf56
fix(js-sdk, types): fixes types and deprecate duplicate methods ( #11975 )
2025-03-25 16:37:30 +01:00
Shahed Nasser
768ea91e1b
chore(js-sdk,types): add missing examples for JS SDK methods ( #11934 )
...
* chore(js-sdk,types): add TSDocs for calculate method
* added tsdocs for promotions
* finished adding examples
* fixes
* remove unused import
2025-03-25 14:55:54 +02:00
Shahed Nasser
c6f2f444ed
fix(js-sdk): fix the return type of the promotion.listRules method ( #11937 )
2025-03-24 07:35:15 +01:00
Shahed Nasser
053326950d
fix(js-sdk): fix the API route used in fulfillment.cancel method ( #11936 )
2025-03-21 15:08:44 +00:00
Riqwan Thamir
c3440e5e38
feat(medusa,types): add enabled plugins route ( #11876 )
2025-03-17 20:11:46 +01:00
Riqwan Thamir
5ab15a2988
feat(dashboard,js-sdk,admin-shared): add customer addresses + layout change ( #11871 )
...
what:
- changes customer layout from 1 layout to 2
- adds ability to create and delete customer addresses
- adds 2 customer widget locations
- adds is_giftcard=false by default to products list
<img width="1663" alt="Screenshot 2025-03-08 at 21 34 02" src="https://github.com/user-attachments/assets/e66f05da-718c-4c25-81ce-67ba0a814ca3 " />
2025-03-17 16:16:27 +00:00
Riqwan Thamir
cb6249320e
fix(types,order,medusa): Create credit lines + hooks ( #11569 )
...
what:
- api/workflows to create credit lines
- hooks to enable extending credit lines
2025-03-17 15:20:59 +00:00
Shahed Nasser
3256a1f740
chore(js-sdk): fix tsdocs for properties and methods ( #11748 )
2025-03-06 09:12:05 +02:00
Frane Polić
bdf9723239
fix(dashboard): filter outbound shipping options in RMA ( #11629 )
...
**What**
- filter out return shipping options for Claims/Exchanges
- fix the incorrect display of "missing inventory" warning
---
CLOSES CMRC-946
CLOSES CMRC-947
2025-02-28 14:55:35 +00:00
Kasper Fabricius Kristensen
f00e6bf660
fix(js-sdk): Export Draft Order methods ( #11572 )
2025-02-24 10:30:07 +01:00
Kasper Fabricius Kristensen
3b4997840e
fix(medusa,js-sdk,types): Add basic draft order operations to js-sdk ( #11514 )
...
**What**
- Exposes `sdk.admin.draftOrder.create/update/retrieve/list` functions from the js-sdk
- Implements the necessary types in the types package.
- Adds missing endpoints to admin API.
2025-02-20 16:05:21 +00:00
Shahed Nasser
e3b93c679f
chore(core-flows): update TSDocs of createProductsWorkflow ( #11439 )
...
* chore(core-flows): update TSDocs of createProductsWorkflow
* update example in js sdk
2025-02-13 15:30:56 +02:00
Oli Juhl
ae3292c98b
chore(js-sdk): Remove create user method from SDK ( #11186 )
...
Endpoint doesn't exist. Admin users can only be created through invites at the HTTP level.
2025-01-28 12:11:58 +00:00
Kasper Fabricius Kristensen
d4e042e9ad
fix(dashboard,js-sdk,types): Remove redundant body for markAsDelivered ( #10964 )
...
Resolves CMRC-623
2025-01-20 17:17:48 +00:00
Kasper Fabricius Kristensen
bc22b81cdf
feat(inventory,dashboard,types,core-flows,js-sdk,medusa): Improve inventory UX ( #10630 )
...
* feat(dashboard): Add UI for bulk editing inventory stock (#10556 )
* progress
* cleanup types
* add changeset
* fix 0 values
* format schema
* add delete event and allow copy/pasting enabled for some fields
* add response types
* add tests
* work on fixing setValue behaviour
* cleanup toggle logic
* add loading state
* format schema
* add support for bidirectional actions in DataGrid and update Checkbox and RadioGroup
* update lock
* lint
* fix 404
* address feedback
* update cursor on bidirectional select
2025-01-12 19:07:14 -05:00
Shahed Nasser
688e1e60a5
chore(js-sdk): add tags to js-sdk ( #10739 )
2024-12-26 11:18:02 +02:00
Frane Polić
bde4b82194
feat(core-flows,dashboard,js-sdk,medusa,types): support Fulfillment Options ( #10622 )
...
**What**
- add a list point for fetching fulfillment options for a provider
- add FO support on SO create & update on dashboard
- pass `cart` and `stockLocation` to `validateFufillmentData` context
---
CLOSES CMRC-789
CLOSES CMRC-790
2024-12-18 09:16:26 +00:00
Frane Polić
340769595a
feat(admin, js-sdk, types): update order forms ( #10418 )
...
* feat: edit shipping, billing and email forms
* feat: timeline history, update change model, update tests
* fix: address comments
* fix: invalidation, translation schema, update label
* fix: old/new
2024-12-04 14:56:40 +01:00
Frane Polić
1bf60c7a7d
feat(dashboard, js-sdk): customer page transfer order + cancel request in timeline ( #10250 )
...
**What**
- request order transfer from admin customers details page
- cancel transfer request from order timeline
---
CLOSES CMRC-730
2024-11-26 11:42:47 +00:00
Frane Polić
44265a928d
feat(dashboard): transfer order admin ( #10189 )
...
**What**
- request order transfer from order details page
- timeline events
---
CLOSES CMRC-706
CLOSES CMRC-707
2024-11-22 08:29:12 +00:00
Shahed Nasser
b43febda54
chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n] ( #10028 )
...
* chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n]
* fix error
* remove type changes
2024-11-19 19:15:44 +02:00
Shahed Nasser
43a44cf426
chore(js-sdk,types): add tsdocs for admin JS SDK methods [4/n] ( #9745 )
...
Add TSDocs to admin JS SDK from notification to payment
[4/n]
2024-10-28 04:42:17 +00:00
Shahed Nasser
f40ea9cfbf
chore(js-sdk,types): add tsdocs for admin JS SDK methods [5/n] ( #9788 )
...
* chore(js-sdk,types): add tsdocs for admin JS SDK methods [5/n]
* add api route link
2024-10-25 13:02:17 +03:00
Frane Polić
259d050e53
feat: customer bulk endpoint form managing customer groups ( #9761 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-10-25 11:55:57 +02:00
Shahed Nasser
92bbd7953b
chore: update links to v2 docs in source code and comments ( #9732 )
2024-10-24 15:18:38 +03:00
Shahed Nasser
669adbcdc9
fix(js-sdk): remove list and retrieve methods of paymentCollection ( #9746 )
...
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
2024-10-24 12:27:57 +02:00
Shahed Nasser
14efb2a420
chore(js-sdk,types): add tsdocs for admin JS SDK methods [3/n] ( #9712 )
2024-10-22 18:08:33 +03:00
Shahed Nasser
3df7ebe3d1
chore(js-sdk,types): add tsdocs for admin JS SDK methods [2/n] ( #9696 )
...
Add TSDocs to admin JS SDK from customer groups to fulfillment providers
[2/n]
2024-10-22 11:53:09 +00:00
Shahed Nasser
5ea3100c10
chore(js-sdk,types): add tsdocs for admin JS SDK methods [1/n] ( #9667 )
...
Add TSDocs to admin JS SDK from API keys to currencies
[1/n]
2024-10-22 11:19:04 +00:00
Shahed Nasser
a0668adefa
fix(dashboard,js-sdk): remove methods / hooks to non existing exchange routes ( #9697 )
...
Remove the following exchange methods (and hooks from dashboard) which point to routes that don't exist:
- `delete`
- `addItems`
- `updateItem`
- `removeItem`
2024-10-21 14:00:30 +00:00
Frane Polić
24a1b81fb2
fix(dashboard, js-sdk): undefined RMA activity items ( #9649 )
...
**What**
- fix for showing removed items in rma flows
---
DEPENDS ON https://github.com/medusajs/medusa/pull/9646
FIXES CC-597
2024-10-20 12:56:08 +00:00
Shahed Nasser
2ea766daf5
fix(dashboard,js-sdk): remove method and hook for deleting claim ( #9668 )
2024-10-18 19:43:53 +03:00
Shahed Nasser
ab113cdc38
chore(js-sdk): add ignore tsdoc tag to client and constructor of inner classes ( #9635 )
2024-10-17 19:31:51 +03:00
J Kendal
0dd3d9b1c4
fix: js-sdk compilation error ( #9523 )
2024-10-10 13:48:47 +02:00
Harminder Virk
48e00169d2
breaking: move shared HTTP utils to the framework ( #9402 )
...
Fixes: FRMW-2728, FRMW-2729
After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path.
- applyParamsAsFilters
- clearFiltersByKey
- applyDefaultFilters
- setContext
- getQueryConfig
- httpCompression
- maybeApplyLinkFilter
- refetchEntities
- unlessPath
- validateBody
- validateQuery
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-10-03 09:42:00 +00:00
Sebastian Rindom
852df3f764
fix(medusa,dashboard): don't send price updates for deleted regions/currencies ( #9361 )
...
**What**
- Fixes an issue where the admin dashboard would send region prices for deleted regions.
- Also, includes the implementation for `GET /admin/shipping-options/:id` and its corresponding SDK function.
**Why**
- When a region price for a deleted region was sent to the backend it would result in the insert hitting a not null constraint on the currency_code for prices. To avoid this the dashboard should not send region prices for deleted regions.
**Additional context**
- Prices for deleted regions should ideally not be returned when fetching shipping option prices. However, we don't yet have a mechanism for cleaning up region prices after a region is deleted.
Fixes CC-540
2024-09-30 11:51:55 +00:00
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30
Riqwan Thamir
3e97a64b21
feat(core-flows,medusa,utils,types): adds delivered_quantity to order ( #9130 )
...
what:
- adds delivered_quantity to order
https://github.com/user-attachments/assets/709b1727-08ed-4a88-ae29-38f13540e301
2024-09-16 09:59:01 +00:00
Riqwan Thamir
64d5b74c12
feat(api-key,js-sdk,dashboard): allow deleting api keys only once its revoked ( #9118 )
...
what:
- module only deletes api keys once its revoked
- disables ui elements
https://github.com/user-attachments/assets/437821ae-497e-4b59-b02c-4a6ff36e6a30
RESOLVES CC-106
RESOLVES CC-105
RESOLVES CC-104
2024-09-12 10:16:15 +00:00
Shahed Nasser
123118ac8e
fix(js-sdk): fix invite resend request being sent as GET instead of POST ( #8960 )
...
`/admin/invites/:id/resend` is a POST API route, but the JS SDK's `resend` method was sending a GET request.
2024-09-03 10:36:11 +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
Oli Juhl
e360a495b7
chore: Replace Error with FetchError ( #8885 )
2024-08-30 11:08:36 +02: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
Oli Juhl
9cf1a5d709
chore: Remove last trace of client in dashboard ( #8873 )
2024-08-29 17:48:01 +02:00
Oli Juhl
00bd9271e3
chore: Workflow execution JS-SDK ( #8851 )
2024-08-29 11:22:43 +00:00