import '@/types/Constant/Usage';

export const TIKTOK_USAGE_TYPE = {
  productClone: 'productClone',
  downloadVideo: 'downloadVideo',
};

/** @type {TiktokUsageLimits} */
export const TIKTOK_USAGE_LIMITS = {
  productClone: {
    Free: {
      dailyLimit: 2,
      waitFor: 300,
      totalMax: 20,
    },
    Vip: {
      dailyLimit: 10,
      waitFor: 0,
    },
    VipPlus: {
      dailyLimit: 100,
      waitFor: 0,
    },
  },
  downloadVideo: {
    Free: {
      dailyLimit: 20,
      waitFor: 0,
    },
    Vip: {
      dailyLimit: Infinity,
      waitFor: 0,
    },
    VipPlus: {
      dailyLimit: Infinity,
      waitFor: 0,
    },
  },
};

export const TIKTOK_URLS = {
  SELLER_PRINT_PDF: 'https://seller-vn.tiktok.com/easesafe/oec_fulfillment_doc_tts/object/*',
};
