import api from 'src/config/api';
import {
  type BubbalooCountResponse,
  type BubbleCode,
} from 'src/types/bubbaloo';

export const getBubbalooCount = (bubbleCode: BubbleCode) =>
  api.get<BubbalooCountResponse>('bubbaloo/', {
    params: { bubbleCode },
  });
