Commit a841e344 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(chore): Campaign type should match engine

1 merge request!387WIP: Boost Campaigns (&24)
Pipeline #68888927 failed with stages
in 7 minutes and 23 seconds
......@@ -3,13 +3,15 @@ export type CampaignDeliveryStatus = 'pending' | 'created' | 'failed' | 'approve
export type Campaign = {
// User provided
name: string,
type: CampaignType,
name: string,
entity_urns: string[],
hashtags: string[],
nsfw: number[],
start: number,
end: number,
budget: number,
budget_type: string,
// Engine
urn?: string,
......@@ -20,15 +22,15 @@ export type Campaign = {
original_campaign?: Campaign,
// Read Only
delivery_status?: CampaignDeliveryStatus,
impressions?: number,
impressions_met?: number,
cpm?: number,
created_timestamp?: number,
reviewed_timestamp?: number,
revoked_timestamp?: number,
rejected_timestamp?: number,
completed_timestamp?: number,
delivery_status?: CampaignDeliveryStatus,
cpm?: number,
};
export type CampaignPayment = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment