@dailydotdev/schema 0.3.21 → 0.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1544,6 +1544,46 @@ declare class ChannelHighlightResultItem extends Message<ChannelHighlightResultI
1544
1544
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1545
1545
  static equals(a: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined, b: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined): boolean;
1546
1546
  }
1547
+ /**
1548
+ * Raise the significance of a highlight already on the rail. Emitted when dedup drops a
1549
+ * candidate as a duplicate of that rail item and pass 1 rated the candidate higher.
1550
+ *
1551
+ * @generated from message bragi.pipelines.ChannelHighlightUpgrade
1552
+ */
1553
+ declare class ChannelHighlightUpgrade extends Message<ChannelHighlightUpgrade> {
1554
+ /**
1555
+ * Post ID of the current highlight to upgrade
1556
+ *
1557
+ * @generated from field: string post_id = 1;
1558
+ */
1559
+ postId: string;
1560
+ /**
1561
+ * New significance, always stronger than the current one
1562
+ *
1563
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 2;
1564
+ */
1565
+ significance: ChannelHighlightSignificance;
1566
+ /**
1567
+ * Candidate post whose rating justified the upgrade
1568
+ *
1569
+ * @generated from field: string source_post_id = 3;
1570
+ */
1571
+ sourcePostId: string;
1572
+ /**
1573
+ * Short editorial reason from the candidate's evaluation
1574
+ *
1575
+ * @generated from field: string reason = 4;
1576
+ */
1577
+ reason: string;
1578
+ constructor(data?: PartialMessage<ChannelHighlightUpgrade>);
1579
+ static readonly runtime: typeof proto3;
1580
+ static readonly typeName = "bragi.pipelines.ChannelHighlightUpgrade";
1581
+ static readonly fields: FieldList;
1582
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightUpgrade;
1583
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightUpgrade;
1584
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightUpgrade;
1585
+ static equals(a: ChannelHighlightUpgrade | PlainMessage<ChannelHighlightUpgrade> | undefined, b: ChannelHighlightUpgrade | PlainMessage<ChannelHighlightUpgrade> | undefined): boolean;
1586
+ }
1547
1587
  /**
1548
1588
  * @generated from message bragi.pipelines.EvaluateChannelHighlightsResponse
1549
1589
  */
@@ -1554,6 +1594,12 @@ declare class EvaluateChannelHighlightsResponse extends Message<EvaluateChannelH
1554
1594
  * @generated from field: repeated bragi.pipelines.ChannelHighlightResultItem highlights = 1;
1555
1595
  */
1556
1596
  highlights: ChannelHighlightResultItem[];
1597
+ /**
1598
+ * Significance upgrades for current highlights
1599
+ *
1600
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightUpgrade upgrades = 2;
1601
+ */
1602
+ upgrades: ChannelHighlightUpgrade[];
1557
1603
  constructor(data?: PartialMessage<EvaluateChannelHighlightsResponse>);
1558
1604
  static readonly runtime: typeof proto3;
1559
1605
  static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsResponse";
@@ -5395,5 +5441,159 @@ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamRes
5395
5441
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5396
5442
  static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5397
5443
  }
5444
+ /**
5445
+ * An account in a referral batch: the referrer or one of their referred signups
5446
+ *
5447
+ * @generated from message bragi.pipelines.ReferralAccount
5448
+ */
5449
+ declare class ReferralAccount extends Message<ReferralAccount> {
5450
+ /**
5451
+ * Username, unset when not picked yet
5452
+ *
5453
+ * @generated from field: optional string username = 1;
5454
+ */
5455
+ username?: string;
5456
+ /**
5457
+ * Display name
5458
+ *
5459
+ * @generated from field: optional string name = 2;
5460
+ */
5461
+ name?: string;
5462
+ /**
5463
+ * Domain part of the email only, never the full address
5464
+ *
5465
+ * @generated from field: optional string email_domain = 3;
5466
+ */
5467
+ emailDomain?: string;
5468
+ /**
5469
+ * Signup time, unix seconds
5470
+ *
5471
+ * @generated from field: int64 created_at = 4;
5472
+ */
5473
+ createdAt: any;
5474
+ /**
5475
+ * ISO country code of the signup IP (GeoIP)
5476
+ *
5477
+ * @generated from field: optional string country = 5;
5478
+ */
5479
+ country?: string;
5480
+ /**
5481
+ * City of the signup IP (GeoIP)
5482
+ *
5483
+ * @generated from field: optional string city = 6;
5484
+ */
5485
+ city?: string;
5486
+ constructor(data?: PartialMessage<ReferralAccount>);
5487
+ static readonly runtime: typeof proto3;
5488
+ static readonly typeName = "bragi.pipelines.ReferralAccount";
5489
+ static readonly fields: FieldList;
5490
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReferralAccount;
5491
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReferralAccount;
5492
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReferralAccount;
5493
+ static equals(a: ReferralAccount | PlainMessage<ReferralAccount> | undefined, b: ReferralAccount | PlainMessage<ReferralAccount> | undefined): boolean;
5494
+ }
5495
+ /**
5496
+ * A signup that came through the referrer's invite link
5497
+ *
5498
+ * @generated from message bragi.pipelines.ReferralFriend
5499
+ */
5500
+ declare class ReferralFriend extends Message<ReferralFriend> {
5501
+ /**
5502
+ * The referred user
5503
+ *
5504
+ * @generated from field: bragi.pipelines.ReferralAccount account = 1;
5505
+ */
5506
+ account?: ReferralAccount;
5507
+ /**
5508
+ * Invite campaign, e.g. generic, squad
5509
+ *
5510
+ * @generated from field: optional string referral_origin = 2;
5511
+ */
5512
+ referralOrigin?: string;
5513
+ /**
5514
+ * Signed up from the referrer's signup IP; unset when the referrer's signup IP is unknown
5515
+ *
5516
+ * @generated from field: optional bool same_ip_as_referrer = 3;
5517
+ */
5518
+ sameIpAsReferrer?: boolean;
5519
+ /**
5520
+ * Shares a signup IP with another friend in the batch
5521
+ *
5522
+ * @generated from field: bool same_ip_as_other_friend = 4;
5523
+ */
5524
+ sameIpAsOtherFriend: boolean;
5525
+ /**
5526
+ * Shares an exact browser user agent with another friend in the batch
5527
+ *
5528
+ * @generated from field: bool same_user_agent_as_other_friend = 5;
5529
+ */
5530
+ sameUserAgentAsOtherFriend: boolean;
5531
+ constructor(data?: PartialMessage<ReferralFriend>);
5532
+ static readonly runtime: typeof proto3;
5533
+ static readonly typeName = "bragi.pipelines.ReferralFriend";
5534
+ static readonly fields: FieldList;
5535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReferralFriend;
5536
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReferralFriend;
5537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReferralFriend;
5538
+ static equals(a: ReferralFriend | PlainMessage<ReferralFriend> | undefined, b: ReferralFriend | PlainMessage<ReferralFriend> | undefined): boolean;
5539
+ }
5540
+ /**
5541
+ * A referrer and the signups they brought in, screened before granting a referral reward
5542
+ *
5543
+ * @generated from message bragi.pipelines.ClassifyReferralAbuseRequest
5544
+ */
5545
+ declare class ClassifyReferralAbuseRequest extends Message<ClassifyReferralAbuseRequest> {
5546
+ /**
5547
+ * Who earns the reward
5548
+ *
5549
+ * @generated from field: bragi.pipelines.ReferralAccount referrer = 1;
5550
+ */
5551
+ referrer?: ReferralAccount;
5552
+ /**
5553
+ * Referred signups, oldest first; the last one just signed up
5554
+ *
5555
+ * @generated from field: repeated bragi.pipelines.ReferralFriend friends = 2;
5556
+ */
5557
+ friends: ReferralFriend[];
5558
+ constructor(data?: PartialMessage<ClassifyReferralAbuseRequest>);
5559
+ static readonly runtime: typeof proto3;
5560
+ static readonly typeName = "bragi.pipelines.ClassifyReferralAbuseRequest";
5561
+ static readonly fields: FieldList;
5562
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyReferralAbuseRequest;
5563
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseRequest;
5564
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseRequest;
5565
+ static equals(a: ClassifyReferralAbuseRequest | PlainMessage<ClassifyReferralAbuseRequest> | undefined, b: ClassifyReferralAbuseRequest | PlainMessage<ClassifyReferralAbuseRequest> | undefined): boolean;
5566
+ }
5567
+ /**
5568
+ * @generated from message bragi.pipelines.ClassifyReferralAbuseResponse
5569
+ */
5570
+ declare class ClassifyReferralAbuseResponse extends Message<ClassifyReferralAbuseResponse> {
5571
+ /**
5572
+ * Operation id
5573
+ *
5574
+ * @generated from field: string id = 1;
5575
+ */
5576
+ id: string;
5577
+ /**
5578
+ * True when the reward should be held for review
5579
+ *
5580
+ * @generated from field: bool is_abuse = 2;
5581
+ */
5582
+ isAbuse: boolean;
5583
+ /**
5584
+ * Ranking signal in [0..1] for logging and threshold tuning; is_abuse is the decision
5585
+ *
5586
+ * @generated from field: float abuse_probability = 3;
5587
+ */
5588
+ abuseProbability: number;
5589
+ constructor(data?: PartialMessage<ClassifyReferralAbuseResponse>);
5590
+ static readonly runtime: typeof proto3;
5591
+ static readonly typeName = "bragi.pipelines.ClassifyReferralAbuseResponse";
5592
+ static readonly fields: FieldList;
5593
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyReferralAbuseResponse;
5594
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseResponse;
5595
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseResponse;
5596
+ static equals(a: ClassifyReferralAbuseResponse | PlainMessage<ClassifyReferralAbuseResponse> | undefined, b: ClassifyReferralAbuseResponse | PlainMessage<ClassifyReferralAbuseResponse> | undefined): boolean;
5597
+ }
5398
5598
 
5399
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AssessmentStatus, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyCommentSpamRequest, ClassifyCommentSpamResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyPostSpamRequest, ClassifyPostSpamResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClassifyUserSpamRequest, ClassifyUserSpamResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContentIntent, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, SpamAuthor, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
5599
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AssessmentStatus, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ChannelHighlightUpgrade, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyCommentSpamRequest, ClassifyCommentSpamResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyPostSpamRequest, ClassifyPostSpamResponse, ClassifyReferralAbuseRequest, ClassifyReferralAbuseResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClassifyUserSpamRequest, ClassifyUserSpamResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContentIntent, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, ReferralAccount, ReferralFriend, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, SpamAuthor, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
@@ -1544,6 +1544,46 @@ declare class ChannelHighlightResultItem extends Message<ChannelHighlightResultI
1544
1544
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1545
1545
  static equals(a: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined, b: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined): boolean;
1546
1546
  }
1547
+ /**
1548
+ * Raise the significance of a highlight already on the rail. Emitted when dedup drops a
1549
+ * candidate as a duplicate of that rail item and pass 1 rated the candidate higher.
1550
+ *
1551
+ * @generated from message bragi.pipelines.ChannelHighlightUpgrade
1552
+ */
1553
+ declare class ChannelHighlightUpgrade extends Message<ChannelHighlightUpgrade> {
1554
+ /**
1555
+ * Post ID of the current highlight to upgrade
1556
+ *
1557
+ * @generated from field: string post_id = 1;
1558
+ */
1559
+ postId: string;
1560
+ /**
1561
+ * New significance, always stronger than the current one
1562
+ *
1563
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 2;
1564
+ */
1565
+ significance: ChannelHighlightSignificance;
1566
+ /**
1567
+ * Candidate post whose rating justified the upgrade
1568
+ *
1569
+ * @generated from field: string source_post_id = 3;
1570
+ */
1571
+ sourcePostId: string;
1572
+ /**
1573
+ * Short editorial reason from the candidate's evaluation
1574
+ *
1575
+ * @generated from field: string reason = 4;
1576
+ */
1577
+ reason: string;
1578
+ constructor(data?: PartialMessage<ChannelHighlightUpgrade>);
1579
+ static readonly runtime: typeof proto3;
1580
+ static readonly typeName = "bragi.pipelines.ChannelHighlightUpgrade";
1581
+ static readonly fields: FieldList;
1582
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightUpgrade;
1583
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightUpgrade;
1584
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightUpgrade;
1585
+ static equals(a: ChannelHighlightUpgrade | PlainMessage<ChannelHighlightUpgrade> | undefined, b: ChannelHighlightUpgrade | PlainMessage<ChannelHighlightUpgrade> | undefined): boolean;
1586
+ }
1547
1587
  /**
1548
1588
  * @generated from message bragi.pipelines.EvaluateChannelHighlightsResponse
1549
1589
  */
@@ -1554,6 +1594,12 @@ declare class EvaluateChannelHighlightsResponse extends Message<EvaluateChannelH
1554
1594
  * @generated from field: repeated bragi.pipelines.ChannelHighlightResultItem highlights = 1;
1555
1595
  */
1556
1596
  highlights: ChannelHighlightResultItem[];
1597
+ /**
1598
+ * Significance upgrades for current highlights
1599
+ *
1600
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightUpgrade upgrades = 2;
1601
+ */
1602
+ upgrades: ChannelHighlightUpgrade[];
1557
1603
  constructor(data?: PartialMessage<EvaluateChannelHighlightsResponse>);
1558
1604
  static readonly runtime: typeof proto3;
1559
1605
  static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsResponse";
@@ -5395,5 +5441,159 @@ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamRes
5395
5441
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5396
5442
  static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5397
5443
  }
5444
+ /**
5445
+ * An account in a referral batch: the referrer or one of their referred signups
5446
+ *
5447
+ * @generated from message bragi.pipelines.ReferralAccount
5448
+ */
5449
+ declare class ReferralAccount extends Message<ReferralAccount> {
5450
+ /**
5451
+ * Username, unset when not picked yet
5452
+ *
5453
+ * @generated from field: optional string username = 1;
5454
+ */
5455
+ username?: string;
5456
+ /**
5457
+ * Display name
5458
+ *
5459
+ * @generated from field: optional string name = 2;
5460
+ */
5461
+ name?: string;
5462
+ /**
5463
+ * Domain part of the email only, never the full address
5464
+ *
5465
+ * @generated from field: optional string email_domain = 3;
5466
+ */
5467
+ emailDomain?: string;
5468
+ /**
5469
+ * Signup time, unix seconds
5470
+ *
5471
+ * @generated from field: int64 created_at = 4;
5472
+ */
5473
+ createdAt: any;
5474
+ /**
5475
+ * ISO country code of the signup IP (GeoIP)
5476
+ *
5477
+ * @generated from field: optional string country = 5;
5478
+ */
5479
+ country?: string;
5480
+ /**
5481
+ * City of the signup IP (GeoIP)
5482
+ *
5483
+ * @generated from field: optional string city = 6;
5484
+ */
5485
+ city?: string;
5486
+ constructor(data?: PartialMessage<ReferralAccount>);
5487
+ static readonly runtime: typeof proto3;
5488
+ static readonly typeName = "bragi.pipelines.ReferralAccount";
5489
+ static readonly fields: FieldList;
5490
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReferralAccount;
5491
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReferralAccount;
5492
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReferralAccount;
5493
+ static equals(a: ReferralAccount | PlainMessage<ReferralAccount> | undefined, b: ReferralAccount | PlainMessage<ReferralAccount> | undefined): boolean;
5494
+ }
5495
+ /**
5496
+ * A signup that came through the referrer's invite link
5497
+ *
5498
+ * @generated from message bragi.pipelines.ReferralFriend
5499
+ */
5500
+ declare class ReferralFriend extends Message<ReferralFriend> {
5501
+ /**
5502
+ * The referred user
5503
+ *
5504
+ * @generated from field: bragi.pipelines.ReferralAccount account = 1;
5505
+ */
5506
+ account?: ReferralAccount;
5507
+ /**
5508
+ * Invite campaign, e.g. generic, squad
5509
+ *
5510
+ * @generated from field: optional string referral_origin = 2;
5511
+ */
5512
+ referralOrigin?: string;
5513
+ /**
5514
+ * Signed up from the referrer's signup IP; unset when the referrer's signup IP is unknown
5515
+ *
5516
+ * @generated from field: optional bool same_ip_as_referrer = 3;
5517
+ */
5518
+ sameIpAsReferrer?: boolean;
5519
+ /**
5520
+ * Shares a signup IP with another friend in the batch
5521
+ *
5522
+ * @generated from field: bool same_ip_as_other_friend = 4;
5523
+ */
5524
+ sameIpAsOtherFriend: boolean;
5525
+ /**
5526
+ * Shares an exact browser user agent with another friend in the batch
5527
+ *
5528
+ * @generated from field: bool same_user_agent_as_other_friend = 5;
5529
+ */
5530
+ sameUserAgentAsOtherFriend: boolean;
5531
+ constructor(data?: PartialMessage<ReferralFriend>);
5532
+ static readonly runtime: typeof proto3;
5533
+ static readonly typeName = "bragi.pipelines.ReferralFriend";
5534
+ static readonly fields: FieldList;
5535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReferralFriend;
5536
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReferralFriend;
5537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReferralFriend;
5538
+ static equals(a: ReferralFriend | PlainMessage<ReferralFriend> | undefined, b: ReferralFriend | PlainMessage<ReferralFriend> | undefined): boolean;
5539
+ }
5540
+ /**
5541
+ * A referrer and the signups they brought in, screened before granting a referral reward
5542
+ *
5543
+ * @generated from message bragi.pipelines.ClassifyReferralAbuseRequest
5544
+ */
5545
+ declare class ClassifyReferralAbuseRequest extends Message<ClassifyReferralAbuseRequest> {
5546
+ /**
5547
+ * Who earns the reward
5548
+ *
5549
+ * @generated from field: bragi.pipelines.ReferralAccount referrer = 1;
5550
+ */
5551
+ referrer?: ReferralAccount;
5552
+ /**
5553
+ * Referred signups, oldest first; the last one just signed up
5554
+ *
5555
+ * @generated from field: repeated bragi.pipelines.ReferralFriend friends = 2;
5556
+ */
5557
+ friends: ReferralFriend[];
5558
+ constructor(data?: PartialMessage<ClassifyReferralAbuseRequest>);
5559
+ static readonly runtime: typeof proto3;
5560
+ static readonly typeName = "bragi.pipelines.ClassifyReferralAbuseRequest";
5561
+ static readonly fields: FieldList;
5562
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyReferralAbuseRequest;
5563
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseRequest;
5564
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseRequest;
5565
+ static equals(a: ClassifyReferralAbuseRequest | PlainMessage<ClassifyReferralAbuseRequest> | undefined, b: ClassifyReferralAbuseRequest | PlainMessage<ClassifyReferralAbuseRequest> | undefined): boolean;
5566
+ }
5567
+ /**
5568
+ * @generated from message bragi.pipelines.ClassifyReferralAbuseResponse
5569
+ */
5570
+ declare class ClassifyReferralAbuseResponse extends Message<ClassifyReferralAbuseResponse> {
5571
+ /**
5572
+ * Operation id
5573
+ *
5574
+ * @generated from field: string id = 1;
5575
+ */
5576
+ id: string;
5577
+ /**
5578
+ * True when the reward should be held for review
5579
+ *
5580
+ * @generated from field: bool is_abuse = 2;
5581
+ */
5582
+ isAbuse: boolean;
5583
+ /**
5584
+ * Ranking signal in [0..1] for logging and threshold tuning; is_abuse is the decision
5585
+ *
5586
+ * @generated from field: float abuse_probability = 3;
5587
+ */
5588
+ abuseProbability: number;
5589
+ constructor(data?: PartialMessage<ClassifyReferralAbuseResponse>);
5590
+ static readonly runtime: typeof proto3;
5591
+ static readonly typeName = "bragi.pipelines.ClassifyReferralAbuseResponse";
5592
+ static readonly fields: FieldList;
5593
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyReferralAbuseResponse;
5594
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseResponse;
5595
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyReferralAbuseResponse;
5596
+ static equals(a: ClassifyReferralAbuseResponse | PlainMessage<ClassifyReferralAbuseResponse> | undefined, b: ClassifyReferralAbuseResponse | PlainMessage<ClassifyReferralAbuseResponse> | undefined): boolean;
5597
+ }
5398
5598
 
5399
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AssessmentStatus, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyCommentSpamRequest, ClassifyCommentSpamResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyPostSpamRequest, ClassifyPostSpamResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClassifyUserSpamRequest, ClassifyUserSpamResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContentIntent, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, SpamAuthor, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
5599
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AssessmentStatus, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ChannelHighlightUpgrade, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyCommentSpamRequest, ClassifyCommentSpamResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyPostSpamRequest, ClassifyPostSpamResponse, ClassifyReferralAbuseRequest, ClassifyReferralAbuseResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClassifyUserSpamRequest, ClassifyUserSpamResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContentIntent, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, ReferralAccount, ReferralFriend, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, SpamAuthor, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };