16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
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)
|
|
} |