feat: Update authentication middleware (#6447)
* authentication middleware update * disable customer authentication * call correct feature flag method * fix authentication middleware for store/customers * fix integration tests and add middleware for admin customers * update seeders * customer groups fix * add authentication middleware for all admin endpoints * Feat(medusa, user): require authentication for invite accept (#6448) * initial invite token validation for authentication invocation * remove invite auth * remove unused import * cleanup tests * refactor to auth instead of auth_user * pr feedback * update authenticatedRequest type * update store authenticated endpoints * update routes with type * fix build * fix build * fix build * use auth middleware for api-keys
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import { BaseFilterable } from "../../dal"
|
||||
import { CreateCampaignDTO } from "../mutations"
|
||||
import {
|
||||
ApplicationMethodDTO,
|
||||
CreateApplicationMethodDTO,
|
||||
UpdateApplicationMethodDTO,
|
||||
} from "./application-method"
|
||||
import { CampaignDTO } from "./campaign"
|
||||
import { CreatePromotionRuleDTO, PromotionRuleDTO } from "./promotion-rule"
|
||||
|
||||
import { BaseFilterable } from "../../dal"
|
||||
import { CampaignDTO } from "./campaign"
|
||||
import { CreateCampaignDTO } from "../mutations"
|
||||
|
||||
export type PromotionTypeValues = "standard" | "buyget"
|
||||
|
||||
export interface PromotionDTO {
|
||||
|
||||
Reference in New Issue
Block a user