init project portal web
This commit is contained in:
16
lib/price-plan-detail/data/repository/index.ts
Normal file
16
lib/price-plan-detail/data/repository/index.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { apiClient } from "@/services/api/api-client";
|
||||
|
||||
export interface RatePlanPayload {
|
||||
offerVerId: string
|
||||
offerType: string
|
||||
reId: string
|
||||
ratePlanName: string
|
||||
ratePlanCode?: string
|
||||
remarks?: string
|
||||
ratePlanType: string
|
||||
}
|
||||
|
||||
export const pricePlanDetailRepository = {
|
||||
getUsageEventList: async () => await apiClient("/api/priceplan-detail/usage-event", "POST"),
|
||||
createRatePlan: async (payload: RatePlanPayload) => await apiClient("/api/rate-plan/create", "POST", payload)
|
||||
}
|
||||
Reference in New Issue
Block a user