/** * @example * { * id: "id" * } */ export interface UpdateBountiesRequest { /** Bounty ID (`bnty_` tag). */ id: string; /** Scheduled drafts only. Number of submissions that can be accepted (winner slots). */ accepted_submissions_limit?: number | null; /** How many winner slots one worker can win. Defaults to `1`. Wins plus proofs awaiting review never exceed this number, and a worker runs one attempt at a time. Cannot exceed `accepted_submissions_limit`. Editable while the bounty is still open with nothing under review. */ accepted_submissions_per_user_limit?: number | null; /** Replace the countries whose residents can work the bounty, as ISO 3166 alpha-2 codes. Empty means worldwide. */ allowed_country_codes?: string[] | null; /** What the poster wants the work to achieve, declared once here. */ business_goal_type?: UpdateBountiesRequest.BusinessGoalType; /** New full task instructions. */ description?: string; /** Scheduled drafts only. How often the schedule creates a new bounty. */ frequency?: UpdateBountiesRequest.Frequency; /** Scheduled drafts only. Gross bounty-pool amount (USD) escrowed per accepted submission. The escrowed total (this times accepted_submissions_limit) must stay at least $5. */ gross_reward_amount?: number | null; /** Scheduled drafts only. New ISO 8601 time to publish the draft. Must be in the future. */ publish_at?: string | null; /** Scheduled drafts only. IANA timezone for recurring occurrences. */ publish_at_timezone?: string | null; /** New short name of the task. */ title?: string; } export declare namespace UpdateBountiesRequest { /** What the poster wants the work to achieve, declared once here. */ const BusinessGoalType: { readonly Clipping: "clipping"; readonly PostEngagement: "post_engagement"; readonly OwnedAccountGrowth: "owned_account_growth"; readonly UgcContent: "ugc_content"; readonly LocalActivation: "local_activation"; readonly DataCapture: "data_capture"; readonly Other: "other"; }; type BusinessGoalType = (typeof BusinessGoalType)[keyof typeof BusinessGoalType]; /** Scheduled drafts only. How often the schedule creates a new bounty. */ const Frequency: { readonly Once: "once"; readonly Hourly: "hourly"; readonly Daily: "daily"; readonly Weekly: "weekly"; readonly Monthly: "monthly"; }; type Frequency = (typeof Frequency)[keyof typeof Frequency]; }