feat: add store admin endpoints to medusa-js (#938)

* add: store admin endpoint to medusa-js

* add: resource to admin class

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2021-12-16 16:14:58 +01:00
1 parent b9d6f95dbd
commit 31fad7439c
5 files changed
+65 -1

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ export * from "./routes/admin/orders"
export * from "./routes/admin/variants"
export * from "./routes/admin/return-reasons"
export * from "./routes/admin/swaps"
export * from "./routes/admin/store"
export * from "./routes/admin/returns"
export * from "./routes/admin/shipping-options"
export * from "./routes/admin/regions"
@@ -32,3 +32,5 @@ export type AdminStoresRes = {
export type AdminPaymentProvidersList = {
payment_providers: PaymentProvider[]
}
export * from "./update-store"
@@ -3,7 +3,7 @@ import { StoreService } from "../../../../services"
/**
* @oas [delete] /store/currencies/{code}
* operationId: "DeleteStoreCurrenciesCode"
* summary: "Remvoe a Currency Code"
* summary: "Remove a Currency Code"
* description: "Removes a Currency Code from the available currencies."
* x-authenticated: true
* parameters: