Shahed Nasser
688e1e60a5
chore(js-sdk): add tags to js-sdk ( #10739 )
2024-12-26 11:18:02 +02:00
Shahed Nasser
13ddf27c68
fix(medusa,types,js-sdk): fix request query parameter types for store product routes ( #10707 )
...
* fix(medusa,types): fix request query parameter types for store product routes
* fix test errors
2024-12-23 18:10:08 +02:00
olivermrbl
348f866ffe
chore: Version packages
2024-12-20 11:25:36 +01: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
olivermrbl
a391a29aa8
chore: Version packages
2024-12-17 14:41:05 +01:00
olivermrbl
0e342b491d
chore: Version packages
2024-12-10 14:01:50 +01:00
Stevche Radevski
bed00e154d
feat(js-sdk): Make credentials configurable in SDK ( #10464 )
2024-12-06 15:39:35 +08:00
Salvador Girones Gil
a7ad809520
fix(core/js-sdk) Add the credentials field in the fetch() only if supported ( #10446 )
...
fixes https://github.com/medusajs/nextjs-starter-medusa/issues/421
The root cause of the issue is that credentials is not supported by CloudFlare workers.
2024-12-05 14:10:40 +00:00
olivermrbl
4723acd949
chore: Version packages
2024-12-04 18:36:57 +01: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
olivermrbl
e9c1b1127e
chore: Version packages
2024-11-27 15:40:07 +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
olivermrbl
ccf4e801f3
chore: Version packages
2024-11-25 12:14:36 +01:00
olivermrbl
4245312d8d
chore: Version packages
2024-11-25 09:57:00 +01:00
Frane Polić
b12408dbd8
feat(medusa,core-flows,types,js-sdk): decline / cancel order transfer ( #10202 )
...
**What**
- **core-flows**:
- cancel transfer
- decline transfer
- **API**:
- admin cancel transfer
- store decline transfer
- store cancel transfer
- **js-sdk**:
- add methods for store endpoints
---
CLOSES CMRC-726
2024-11-25 07:44:31 +00:00
Kasper Fabricius Kristensen
d6ff8d7aa1
fix(js-sdk): Preserve path in baseUrl ( #10222 )
...
**What**
- Currently the `js-sdk` will discard the path in the `baseUrl` and only use the `origin`. As an example passing a `baseUrl` of `"http://localhost:9000/custom/path "`, will result in only `"http://localhost:9000 "` being used.
- This PR preserves the path, so using `sdk.admin.products()` will make a request to `"http://localhost:9000/custom/path/admin/products `. For an explanation of when this might be useful see this issue: https://github.com/medusajs/medusa/issues/10190#issuecomment-2492974845
Resolves CMRC-740
2024-11-22 14:52:54 +00:00
Oli Juhl
1efe4e9e33
fix: Update js-sdk with token ( #10211 )
2024-11-22 09:32:48 +01: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
Riqwan Thamir
6680f69588
fix: move transfer cart under cart ( #10175 )
...
made a whoopsie!
2024-11-20 11:12:49 +00:00
Riqwan Thamir
495c381709
feat(types, js-sdk): add updateCustomer to js-sdk ( #10158 )
...
what:
- adds new `POST /store/cart/:id/customer` endpoint to js sdk
2024-11-19 18:32:49 +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
olivermrbl
d5605656ae
chore: Version packages
2024-11-12 10:10:07 +01:00
olivermrbl
ecece05b72
chore: Version packages
2024-11-11 10:58:20 +01:00
Frane Polić
576da17da3
fix(dashboard): user invite search ( #9973 )
...
**What**
- fix prefix for table search which caused the other table rendered on the page to fire query
- additionally, fix a typo in js SDK and only format the file
---
FIXES SUP-112
CLOSES https://github.com/medusajs/medusa/issues/9968
2024-11-07 19:13:28 +00:00
olivermrbl
8feb589659
chore: Release
2024-11-06 21:47:01 +01:00
Stevche Radevski
30edc8fa40
fix: Support relative path in SDK ( #9942 )
2024-11-06 09:45:59 +01: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
olivermrbl
4ccab16336
chore: Version packages
2024-10-25 17:19:36 +02: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
olivermrbl
2fbebb60e3
chore: Release
2024-10-22 20:43:47 +02:00
Oli Juhl
c3418a2b93
chore: Prepare versions + changeset ( #9707 )
...
* chore: Prepare version + changeset
* chore: Bump dependencies
* chore: Update lock-file
2024-10-22 20:31:33 +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
Stevche Radevski
abe003a5d6
fix: Don't store token in SDK by default ( #9704 )
2024-10-22 10:42:55 +02: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
Shahed Nasser
fa15db4538
chore(types,js-sdk,medusa): Add TSDocs for store and auth's JS SDK + small type fixes ( #9657 )
...
* added jsdocs
* more tsdocs
* added for cart completion
* finish up the store tsdocs
2024-10-21 11:03:33 +03: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
Frane Polić
0a2ecdc889
feat(dashboard, js-sdk): reset password UI ( #9451 )
...
**What**
- add password reset flow on Admin
---
https://github.com/user-attachments/assets/3438ace2-c661-4121-a580-794a69ad4518
---
CLOSES CC-568
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-10-04 09:10:26 +00: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
Stevche Radevski
86badc6804
fix: Export all classes and types from the SDK ( #9422 )
2024-10-02 10:40:26 +02: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
Stevche Radevski
262aa4291a
fix: Bind abort controller to abort in sdk ( #9341 )
2024-09-27 08:57:30 +02:00
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30