mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: show partner campaign links with bonuses on referral page
Display campaigns assigned to the partner with shareable deep links, copy button, and bonus type badges (balance/subscription/tariff).
This commit is contained in:
@@ -16,10 +16,23 @@ export interface PartnerApplicationInfo {
|
||||
processed_at: string | null;
|
||||
}
|
||||
|
||||
export interface PartnerCampaignInfo {
|
||||
id: number;
|
||||
name: string;
|
||||
start_parameter: string;
|
||||
bonus_type: string;
|
||||
balance_bonus_kopeks: number;
|
||||
subscription_duration_days: number | null;
|
||||
subscription_traffic_gb: number | null;
|
||||
deep_link: string | null;
|
||||
web_link: string | null;
|
||||
}
|
||||
|
||||
export interface PartnerStatusResponse {
|
||||
partner_status: string;
|
||||
commission_percent: number | null;
|
||||
latest_application: PartnerApplicationInfo | null;
|
||||
campaigns: PartnerCampaignInfo[];
|
||||
}
|
||||
|
||||
export interface PartnerApplicationRequest {
|
||||
|
||||
Reference in New Issue
Block a user