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:
Zakaria El Asri
2021-12-16 16:14:58 +01:00
committed by GitHub
co-authored by Sebastian Rindom Oliver Windall Juhl
parent b9d6f95dbd
commit 31fad7439c
5 changed files with 65 additions and 1 deletions
@@ -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: