@dailydotdev/schema 0.3.20 → 0.3.22

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";
@@ -5192,5 +5238,208 @@ declare class ClassifyUserSpamResponse extends Message<ClassifyUserSpamResponse>
5192
5238
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
5193
5239
  static equals(a: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined, b: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined): boolean;
5194
5240
  }
5241
+ /**
5242
+ * The author of a post or comment, as context for spam classification
5243
+ *
5244
+ * @generated from message bragi.pipelines.SpamAuthor
5245
+ */
5246
+ declare class SpamAuthor extends Message<SpamAuthor> {
5247
+ /**
5248
+ * Username
5249
+ *
5250
+ * @generated from field: string username = 1;
5251
+ */
5252
+ username: string;
5253
+ /**
5254
+ * Display name
5255
+ *
5256
+ * @generated from field: optional string name = 2;
5257
+ */
5258
+ name?: string;
5259
+ /**
5260
+ * Profile bio
5261
+ *
5262
+ * @generated from field: optional string bio = 3;
5263
+ */
5264
+ bio?: string;
5265
+ constructor(data?: PartialMessage<SpamAuthor>);
5266
+ static readonly runtime: typeof proto3;
5267
+ static readonly typeName = "bragi.pipelines.SpamAuthor";
5268
+ static readonly fields: FieldList;
5269
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpamAuthor;
5270
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpamAuthor;
5271
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpamAuthor;
5272
+ static equals(a: SpamAuthor | PlainMessage<SpamAuthor> | undefined, b: SpamAuthor | PlainMessage<SpamAuthor> | undefined): boolean;
5273
+ }
5274
+ /**
5275
+ * A user-written post to screen for spam at creation or edit
5276
+ *
5277
+ * @generated from message bragi.pipelines.ClassifyPostSpamRequest
5278
+ */
5279
+ declare class ClassifyPostSpamRequest extends Message<ClassifyPostSpamRequest> {
5280
+ /**
5281
+ * Post title; for a share, the author's commentary
5282
+ *
5283
+ * @generated from field: optional string title = 1;
5284
+ */
5285
+ title?: string;
5286
+ /**
5287
+ * Post body in markdown (freeform posts)
5288
+ *
5289
+ * @generated from field: optional string content = 2;
5290
+ */
5291
+ content?: string;
5292
+ /**
5293
+ * URL of the shared link (share posts)
5294
+ *
5295
+ * @generated from field: optional string shared_url = 3;
5296
+ */
5297
+ sharedUrl?: string;
5298
+ /**
5299
+ * Title of the shared link (share posts)
5300
+ *
5301
+ * @generated from field: optional string shared_title = 4;
5302
+ */
5303
+ sharedTitle?: string;
5304
+ /**
5305
+ * Squad the post was published in; unset when published on the author's own profile
5306
+ *
5307
+ * @generated from field: optional string squad_name = 5;
5308
+ */
5309
+ squadName?: string;
5310
+ /**
5311
+ * Who published the post
5312
+ *
5313
+ * @generated from field: bragi.pipelines.SpamAuthor author = 6;
5314
+ */
5315
+ author?: SpamAuthor;
5316
+ constructor(data?: PartialMessage<ClassifyPostSpamRequest>);
5317
+ static readonly runtime: typeof proto3;
5318
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamRequest";
5319
+ static readonly fields: FieldList;
5320
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamRequest;
5321
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5322
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5323
+ static equals(a: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined, b: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined): boolean;
5324
+ }
5325
+ /**
5326
+ * @generated from message bragi.pipelines.ClassifyPostSpamResponse
5327
+ */
5328
+ declare class ClassifyPostSpamResponse extends Message<ClassifyPostSpamResponse> {
5329
+ /**
5330
+ * Operation id
5331
+ *
5332
+ * @generated from field: string id = 1;
5333
+ */
5334
+ id: string;
5335
+ /**
5336
+ * True when the post should be hidden
5337
+ *
5338
+ * @generated from field: bool is_spam = 2;
5339
+ */
5340
+ isSpam: boolean;
5341
+ /**
5342
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5343
+ *
5344
+ * @generated from field: float spam_probability = 3;
5345
+ */
5346
+ spamProbability: number;
5347
+ /**
5348
+ * Most likely purpose: knowledge_sharing, developer_project, personal, business_marketing, seo_content, illicit_promo, unclear
5349
+ *
5350
+ * @generated from field: string category = 4;
5351
+ */
5352
+ category: string;
5353
+ constructor(data?: PartialMessage<ClassifyPostSpamResponse>);
5354
+ static readonly runtime: typeof proto3;
5355
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamResponse";
5356
+ static readonly fields: FieldList;
5357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamResponse;
5358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5359
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5360
+ static equals(a: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined, b: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined): boolean;
5361
+ }
5362
+ /**
5363
+ * A comment to screen for spam at creation or edit
5364
+ *
5365
+ * @generated from message bragi.pipelines.ClassifyCommentSpamRequest
5366
+ */
5367
+ declare class ClassifyCommentSpamRequest extends Message<ClassifyCommentSpamRequest> {
5368
+ /**
5369
+ * Comment body in markdown
5370
+ *
5371
+ * @generated from field: string content = 1;
5372
+ */
5373
+ content: string;
5374
+ /**
5375
+ * Title of the post being commented on (for a share, the shared link's title)
5376
+ *
5377
+ * @generated from field: optional string post_title = 2;
5378
+ */
5379
+ postTitle?: string;
5380
+ /**
5381
+ * The comment being replied to, if any
5382
+ *
5383
+ * @generated from field: optional string parent_content = 3;
5384
+ */
5385
+ parentContent?: string;
5386
+ /**
5387
+ * True when the commenter also wrote the post
5388
+ *
5389
+ * @generated from field: bool is_post_author = 4;
5390
+ */
5391
+ isPostAuthor: boolean;
5392
+ /**
5393
+ * Who wrote the comment
5394
+ *
5395
+ * @generated from field: bragi.pipelines.SpamAuthor author = 5;
5396
+ */
5397
+ author?: SpamAuthor;
5398
+ constructor(data?: PartialMessage<ClassifyCommentSpamRequest>);
5399
+ static readonly runtime: typeof proto3;
5400
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamRequest";
5401
+ static readonly fields: FieldList;
5402
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamRequest;
5403
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5404
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5405
+ static equals(a: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined, b: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined): boolean;
5406
+ }
5407
+ /**
5408
+ * @generated from message bragi.pipelines.ClassifyCommentSpamResponse
5409
+ */
5410
+ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamResponse> {
5411
+ /**
5412
+ * Operation id
5413
+ *
5414
+ * @generated from field: string id = 1;
5415
+ */
5416
+ id: string;
5417
+ /**
5418
+ * True when the comment should be hidden
5419
+ *
5420
+ * @generated from field: bool is_spam = 2;
5421
+ */
5422
+ isSpam: boolean;
5423
+ /**
5424
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5425
+ *
5426
+ * @generated from field: float spam_probability = 3;
5427
+ */
5428
+ spamProbability: number;
5429
+ /**
5430
+ * Most likely purpose: discussion, resource_share, reaction, promotion, link_drop, illicit_promo, unclear
5431
+ *
5432
+ * @generated from field: string category = 4;
5433
+ */
5434
+ category: string;
5435
+ constructor(data?: PartialMessage<ClassifyCommentSpamResponse>);
5436
+ static readonly runtime: typeof proto3;
5437
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamResponse";
5438
+ static readonly fields: FieldList;
5439
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamResponse;
5440
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5441
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5442
+ static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5443
+ }
5195
5444
 
5196
- 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, ClassifyGearRequest, ClassifyGearResponse, 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, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
5445
+ 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, 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 };
@@ -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";
@@ -5192,5 +5238,208 @@ declare class ClassifyUserSpamResponse extends Message<ClassifyUserSpamResponse>
5192
5238
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
5193
5239
  static equals(a: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined, b: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined): boolean;
5194
5240
  }
5241
+ /**
5242
+ * The author of a post or comment, as context for spam classification
5243
+ *
5244
+ * @generated from message bragi.pipelines.SpamAuthor
5245
+ */
5246
+ declare class SpamAuthor extends Message<SpamAuthor> {
5247
+ /**
5248
+ * Username
5249
+ *
5250
+ * @generated from field: string username = 1;
5251
+ */
5252
+ username: string;
5253
+ /**
5254
+ * Display name
5255
+ *
5256
+ * @generated from field: optional string name = 2;
5257
+ */
5258
+ name?: string;
5259
+ /**
5260
+ * Profile bio
5261
+ *
5262
+ * @generated from field: optional string bio = 3;
5263
+ */
5264
+ bio?: string;
5265
+ constructor(data?: PartialMessage<SpamAuthor>);
5266
+ static readonly runtime: typeof proto3;
5267
+ static readonly typeName = "bragi.pipelines.SpamAuthor";
5268
+ static readonly fields: FieldList;
5269
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpamAuthor;
5270
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpamAuthor;
5271
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpamAuthor;
5272
+ static equals(a: SpamAuthor | PlainMessage<SpamAuthor> | undefined, b: SpamAuthor | PlainMessage<SpamAuthor> | undefined): boolean;
5273
+ }
5274
+ /**
5275
+ * A user-written post to screen for spam at creation or edit
5276
+ *
5277
+ * @generated from message bragi.pipelines.ClassifyPostSpamRequest
5278
+ */
5279
+ declare class ClassifyPostSpamRequest extends Message<ClassifyPostSpamRequest> {
5280
+ /**
5281
+ * Post title; for a share, the author's commentary
5282
+ *
5283
+ * @generated from field: optional string title = 1;
5284
+ */
5285
+ title?: string;
5286
+ /**
5287
+ * Post body in markdown (freeform posts)
5288
+ *
5289
+ * @generated from field: optional string content = 2;
5290
+ */
5291
+ content?: string;
5292
+ /**
5293
+ * URL of the shared link (share posts)
5294
+ *
5295
+ * @generated from field: optional string shared_url = 3;
5296
+ */
5297
+ sharedUrl?: string;
5298
+ /**
5299
+ * Title of the shared link (share posts)
5300
+ *
5301
+ * @generated from field: optional string shared_title = 4;
5302
+ */
5303
+ sharedTitle?: string;
5304
+ /**
5305
+ * Squad the post was published in; unset when published on the author's own profile
5306
+ *
5307
+ * @generated from field: optional string squad_name = 5;
5308
+ */
5309
+ squadName?: string;
5310
+ /**
5311
+ * Who published the post
5312
+ *
5313
+ * @generated from field: bragi.pipelines.SpamAuthor author = 6;
5314
+ */
5315
+ author?: SpamAuthor;
5316
+ constructor(data?: PartialMessage<ClassifyPostSpamRequest>);
5317
+ static readonly runtime: typeof proto3;
5318
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamRequest";
5319
+ static readonly fields: FieldList;
5320
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamRequest;
5321
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5322
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5323
+ static equals(a: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined, b: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined): boolean;
5324
+ }
5325
+ /**
5326
+ * @generated from message bragi.pipelines.ClassifyPostSpamResponse
5327
+ */
5328
+ declare class ClassifyPostSpamResponse extends Message<ClassifyPostSpamResponse> {
5329
+ /**
5330
+ * Operation id
5331
+ *
5332
+ * @generated from field: string id = 1;
5333
+ */
5334
+ id: string;
5335
+ /**
5336
+ * True when the post should be hidden
5337
+ *
5338
+ * @generated from field: bool is_spam = 2;
5339
+ */
5340
+ isSpam: boolean;
5341
+ /**
5342
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5343
+ *
5344
+ * @generated from field: float spam_probability = 3;
5345
+ */
5346
+ spamProbability: number;
5347
+ /**
5348
+ * Most likely purpose: knowledge_sharing, developer_project, personal, business_marketing, seo_content, illicit_promo, unclear
5349
+ *
5350
+ * @generated from field: string category = 4;
5351
+ */
5352
+ category: string;
5353
+ constructor(data?: PartialMessage<ClassifyPostSpamResponse>);
5354
+ static readonly runtime: typeof proto3;
5355
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamResponse";
5356
+ static readonly fields: FieldList;
5357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamResponse;
5358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5359
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5360
+ static equals(a: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined, b: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined): boolean;
5361
+ }
5362
+ /**
5363
+ * A comment to screen for spam at creation or edit
5364
+ *
5365
+ * @generated from message bragi.pipelines.ClassifyCommentSpamRequest
5366
+ */
5367
+ declare class ClassifyCommentSpamRequest extends Message<ClassifyCommentSpamRequest> {
5368
+ /**
5369
+ * Comment body in markdown
5370
+ *
5371
+ * @generated from field: string content = 1;
5372
+ */
5373
+ content: string;
5374
+ /**
5375
+ * Title of the post being commented on (for a share, the shared link's title)
5376
+ *
5377
+ * @generated from field: optional string post_title = 2;
5378
+ */
5379
+ postTitle?: string;
5380
+ /**
5381
+ * The comment being replied to, if any
5382
+ *
5383
+ * @generated from field: optional string parent_content = 3;
5384
+ */
5385
+ parentContent?: string;
5386
+ /**
5387
+ * True when the commenter also wrote the post
5388
+ *
5389
+ * @generated from field: bool is_post_author = 4;
5390
+ */
5391
+ isPostAuthor: boolean;
5392
+ /**
5393
+ * Who wrote the comment
5394
+ *
5395
+ * @generated from field: bragi.pipelines.SpamAuthor author = 5;
5396
+ */
5397
+ author?: SpamAuthor;
5398
+ constructor(data?: PartialMessage<ClassifyCommentSpamRequest>);
5399
+ static readonly runtime: typeof proto3;
5400
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamRequest";
5401
+ static readonly fields: FieldList;
5402
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamRequest;
5403
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5404
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5405
+ static equals(a: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined, b: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined): boolean;
5406
+ }
5407
+ /**
5408
+ * @generated from message bragi.pipelines.ClassifyCommentSpamResponse
5409
+ */
5410
+ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamResponse> {
5411
+ /**
5412
+ * Operation id
5413
+ *
5414
+ * @generated from field: string id = 1;
5415
+ */
5416
+ id: string;
5417
+ /**
5418
+ * True when the comment should be hidden
5419
+ *
5420
+ * @generated from field: bool is_spam = 2;
5421
+ */
5422
+ isSpam: boolean;
5423
+ /**
5424
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5425
+ *
5426
+ * @generated from field: float spam_probability = 3;
5427
+ */
5428
+ spamProbability: number;
5429
+ /**
5430
+ * Most likely purpose: discussion, resource_share, reaction, promotion, link_drop, illicit_promo, unclear
5431
+ *
5432
+ * @generated from field: string category = 4;
5433
+ */
5434
+ category: string;
5435
+ constructor(data?: PartialMessage<ClassifyCommentSpamResponse>);
5436
+ static readonly runtime: typeof proto3;
5437
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamResponse";
5438
+ static readonly fields: FieldList;
5439
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamResponse;
5440
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5441
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5442
+ static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5443
+ }
5195
5444
 
5196
- 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, ClassifyGearRequest, ClassifyGearResponse, 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, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
5445
+ 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, 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 };