import { CrudClient } from "../infra/crud-client"
import type { ApiClientOptions } from "../infra/client"
import type { ApiPath } from "../infra/types"

export const SHOP_RECOMMENDATION_ROUTES = {
    INDEX: "/api/shop-recommendations",
    BY_ID: "/api/shop-recommendations/{id}",
} as const satisfies Record<string, ApiPath>

export class ShopRecommendationsClient extends CrudClient<
    typeof SHOP_RECOMMENDATION_ROUTES.INDEX,
    typeof SHOP_RECOMMENDATION_ROUTES.BY_ID
> {
    constructor(baseUrl?: string, defaultOptions?: ApiClientOptions) {
        super(baseUrl, defaultOptions, SHOP_RECOMMENDATION_ROUTES.INDEX, SHOP_RECOMMENDATION_ROUTES.BY_ID)
    }
}
