chore(medusa): add version tag for new routes (#12436)
This commit is contained in:
@@ -11,6 +11,9 @@ import { IWorkflowEngineService } from "@medusajs/framework/types"
|
|||||||
import { Modules, TransactionHandlerType } from "@medusajs/framework/utils"
|
import { Modules, TransactionHandlerType } from "@medusajs/framework/utils"
|
||||||
import { StepResponse } from "@medusajs/framework/workflows-sdk"
|
import { StepResponse } from "@medusajs/framework/workflows-sdk"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @version 2.8.0
|
||||||
|
*/
|
||||||
export const POST = async (
|
export const POST = async (
|
||||||
req: AuthenticatedMedusaRequest,
|
req: AuthenticatedMedusaRequest,
|
||||||
res: MedusaResponse
|
res: MedusaResponse
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ import type { HttpTypes } from "@medusajs/framework/types"
|
|||||||
import { importProductsWorkflow } from "@medusajs/core-flows"
|
import { importProductsWorkflow } from "@medusajs/core-flows"
|
||||||
import type { AdminImportProductsType } from "../validators"
|
import type { AdminImportProductsType } from "../validators"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @version 2.8.0
|
||||||
|
*/
|
||||||
export const POST = async (
|
export const POST = async (
|
||||||
req: AuthenticatedMedusaRequest<AdminImportProductsType>,
|
req: AuthenticatedMedusaRequest<AdminImportProductsType>,
|
||||||
res: MedusaResponse<HttpTypes.AdminImportProductResponse>
|
res: MedusaResponse<HttpTypes.AdminImportProductResponse>
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ import {
|
|||||||
|
|
||||||
import { HttpTypes } from "@medusajs/framework/types"
|
import { HttpTypes } from "@medusajs/framework/types"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @version 2.8.0
|
||||||
|
*/
|
||||||
export const GET = async (
|
export const GET = async (
|
||||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminGetTaxProvidersParams>,
|
req: AuthenticatedMedusaRequest<HttpTypes.AdminGetTaxProvidersParams>,
|
||||||
res: MedusaResponse<HttpTypes.AdminTaxProviderListResponse>
|
res: MedusaResponse<HttpTypes.AdminTaxProviderListResponse>
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ import { createAndCompleteReturnOrderWorkflow } from "@medusajs/core-flows"
|
|||||||
import { MedusaRequest, MedusaResponse } from "@medusajs/framework/http"
|
import { MedusaRequest, MedusaResponse } from "@medusajs/framework/http"
|
||||||
import { HttpTypes } from "@medusajs/framework/types"
|
import { HttpTypes } from "@medusajs/framework/types"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @version 2.8.0
|
||||||
|
*/
|
||||||
export const POST = async (
|
export const POST = async (
|
||||||
req: MedusaRequest<HttpTypes.StoreCreateReturn>,
|
req: MedusaRequest<HttpTypes.StoreCreateReturn>,
|
||||||
res: MedusaResponse<HttpTypes.StoreReturnResponse>
|
res: MedusaResponse<HttpTypes.StoreReturnResponse>
|
||||||
|
|||||||
Reference in New Issue
Block a user