import { CrudClient } from "../infra/crud-client" import type { ApiClientOptions } from "../infra/client" import type { ApiPath } from "../infra/types" export const SERVICE_GROUP_SERVICE_ROUTES = { INDEX: "/api/service-group-services", BY_ID: "/api/service-group-services/{id}", } as const satisfies Record export class ServiceGroupServicesClient extends CrudClient< typeof SERVICE_GROUP_SERVICE_ROUTES.INDEX, typeof SERVICE_GROUP_SERVICE_ROUTES.BY_ID > { constructor(baseUrl?: string, defaultOptions?: ApiClientOptions) { super(baseUrl, defaultOptions, SERVICE_GROUP_SERVICE_ROUTES.INDEX, SERVICE_GROUP_SERVICE_ROUTES.BY_ID) } }