@dailydotdev/schema 0.3.20 → 0.3.21

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.
@@ -5192,5 +5192,208 @@ declare class ClassifyUserSpamResponse extends Message<ClassifyUserSpamResponse>
5192
5192
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
5193
5193
  static equals(a: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined, b: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined): boolean;
5194
5194
  }
5195
+ /**
5196
+ * The author of a post or comment, as context for spam classification
5197
+ *
5198
+ * @generated from message bragi.pipelines.SpamAuthor
5199
+ */
5200
+ declare class SpamAuthor extends Message<SpamAuthor> {
5201
+ /**
5202
+ * Username
5203
+ *
5204
+ * @generated from field: string username = 1;
5205
+ */
5206
+ username: string;
5207
+ /**
5208
+ * Display name
5209
+ *
5210
+ * @generated from field: optional string name = 2;
5211
+ */
5212
+ name?: string;
5213
+ /**
5214
+ * Profile bio
5215
+ *
5216
+ * @generated from field: optional string bio = 3;
5217
+ */
5218
+ bio?: string;
5219
+ constructor(data?: PartialMessage<SpamAuthor>);
5220
+ static readonly runtime: typeof proto3;
5221
+ static readonly typeName = "bragi.pipelines.SpamAuthor";
5222
+ static readonly fields: FieldList;
5223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpamAuthor;
5224
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpamAuthor;
5225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpamAuthor;
5226
+ static equals(a: SpamAuthor | PlainMessage<SpamAuthor> | undefined, b: SpamAuthor | PlainMessage<SpamAuthor> | undefined): boolean;
5227
+ }
5228
+ /**
5229
+ * A user-written post to screen for spam at creation or edit
5230
+ *
5231
+ * @generated from message bragi.pipelines.ClassifyPostSpamRequest
5232
+ */
5233
+ declare class ClassifyPostSpamRequest extends Message<ClassifyPostSpamRequest> {
5234
+ /**
5235
+ * Post title; for a share, the author's commentary
5236
+ *
5237
+ * @generated from field: optional string title = 1;
5238
+ */
5239
+ title?: string;
5240
+ /**
5241
+ * Post body in markdown (freeform posts)
5242
+ *
5243
+ * @generated from field: optional string content = 2;
5244
+ */
5245
+ content?: string;
5246
+ /**
5247
+ * URL of the shared link (share posts)
5248
+ *
5249
+ * @generated from field: optional string shared_url = 3;
5250
+ */
5251
+ sharedUrl?: string;
5252
+ /**
5253
+ * Title of the shared link (share posts)
5254
+ *
5255
+ * @generated from field: optional string shared_title = 4;
5256
+ */
5257
+ sharedTitle?: string;
5258
+ /**
5259
+ * Squad the post was published in; unset when published on the author's own profile
5260
+ *
5261
+ * @generated from field: optional string squad_name = 5;
5262
+ */
5263
+ squadName?: string;
5264
+ /**
5265
+ * Who published the post
5266
+ *
5267
+ * @generated from field: bragi.pipelines.SpamAuthor author = 6;
5268
+ */
5269
+ author?: SpamAuthor;
5270
+ constructor(data?: PartialMessage<ClassifyPostSpamRequest>);
5271
+ static readonly runtime: typeof proto3;
5272
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamRequest";
5273
+ static readonly fields: FieldList;
5274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamRequest;
5275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5276
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5277
+ static equals(a: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined, b: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined): boolean;
5278
+ }
5279
+ /**
5280
+ * @generated from message bragi.pipelines.ClassifyPostSpamResponse
5281
+ */
5282
+ declare class ClassifyPostSpamResponse extends Message<ClassifyPostSpamResponse> {
5283
+ /**
5284
+ * Operation id
5285
+ *
5286
+ * @generated from field: string id = 1;
5287
+ */
5288
+ id: string;
5289
+ /**
5290
+ * True when the post should be hidden
5291
+ *
5292
+ * @generated from field: bool is_spam = 2;
5293
+ */
5294
+ isSpam: boolean;
5295
+ /**
5296
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5297
+ *
5298
+ * @generated from field: float spam_probability = 3;
5299
+ */
5300
+ spamProbability: number;
5301
+ /**
5302
+ * Most likely purpose: knowledge_sharing, developer_project, personal, business_marketing, seo_content, illicit_promo, unclear
5303
+ *
5304
+ * @generated from field: string category = 4;
5305
+ */
5306
+ category: string;
5307
+ constructor(data?: PartialMessage<ClassifyPostSpamResponse>);
5308
+ static readonly runtime: typeof proto3;
5309
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamResponse";
5310
+ static readonly fields: FieldList;
5311
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamResponse;
5312
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5314
+ static equals(a: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined, b: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined): boolean;
5315
+ }
5316
+ /**
5317
+ * A comment to screen for spam at creation or edit
5318
+ *
5319
+ * @generated from message bragi.pipelines.ClassifyCommentSpamRequest
5320
+ */
5321
+ declare class ClassifyCommentSpamRequest extends Message<ClassifyCommentSpamRequest> {
5322
+ /**
5323
+ * Comment body in markdown
5324
+ *
5325
+ * @generated from field: string content = 1;
5326
+ */
5327
+ content: string;
5328
+ /**
5329
+ * Title of the post being commented on (for a share, the shared link's title)
5330
+ *
5331
+ * @generated from field: optional string post_title = 2;
5332
+ */
5333
+ postTitle?: string;
5334
+ /**
5335
+ * The comment being replied to, if any
5336
+ *
5337
+ * @generated from field: optional string parent_content = 3;
5338
+ */
5339
+ parentContent?: string;
5340
+ /**
5341
+ * True when the commenter also wrote the post
5342
+ *
5343
+ * @generated from field: bool is_post_author = 4;
5344
+ */
5345
+ isPostAuthor: boolean;
5346
+ /**
5347
+ * Who wrote the comment
5348
+ *
5349
+ * @generated from field: bragi.pipelines.SpamAuthor author = 5;
5350
+ */
5351
+ author?: SpamAuthor;
5352
+ constructor(data?: PartialMessage<ClassifyCommentSpamRequest>);
5353
+ static readonly runtime: typeof proto3;
5354
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamRequest";
5355
+ static readonly fields: FieldList;
5356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamRequest;
5357
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5359
+ static equals(a: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined, b: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined): boolean;
5360
+ }
5361
+ /**
5362
+ * @generated from message bragi.pipelines.ClassifyCommentSpamResponse
5363
+ */
5364
+ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamResponse> {
5365
+ /**
5366
+ * Operation id
5367
+ *
5368
+ * @generated from field: string id = 1;
5369
+ */
5370
+ id: string;
5371
+ /**
5372
+ * True when the comment should be hidden
5373
+ *
5374
+ * @generated from field: bool is_spam = 2;
5375
+ */
5376
+ isSpam: boolean;
5377
+ /**
5378
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5379
+ *
5380
+ * @generated from field: float spam_probability = 3;
5381
+ */
5382
+ spamProbability: number;
5383
+ /**
5384
+ * Most likely purpose: discussion, resource_share, reaction, promotion, link_drop, illicit_promo, unclear
5385
+ *
5386
+ * @generated from field: string category = 4;
5387
+ */
5388
+ category: string;
5389
+ constructor(data?: PartialMessage<ClassifyCommentSpamResponse>);
5390
+ static readonly runtime: typeof proto3;
5391
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamResponse";
5392
+ static readonly fields: FieldList;
5393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamResponse;
5394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5396
+ static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5397
+ }
5195
5398
 
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 };
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 };
@@ -5192,5 +5192,208 @@ declare class ClassifyUserSpamResponse extends Message<ClassifyUserSpamResponse>
5192
5192
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
5193
5193
  static equals(a: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined, b: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined): boolean;
5194
5194
  }
5195
+ /**
5196
+ * The author of a post or comment, as context for spam classification
5197
+ *
5198
+ * @generated from message bragi.pipelines.SpamAuthor
5199
+ */
5200
+ declare class SpamAuthor extends Message<SpamAuthor> {
5201
+ /**
5202
+ * Username
5203
+ *
5204
+ * @generated from field: string username = 1;
5205
+ */
5206
+ username: string;
5207
+ /**
5208
+ * Display name
5209
+ *
5210
+ * @generated from field: optional string name = 2;
5211
+ */
5212
+ name?: string;
5213
+ /**
5214
+ * Profile bio
5215
+ *
5216
+ * @generated from field: optional string bio = 3;
5217
+ */
5218
+ bio?: string;
5219
+ constructor(data?: PartialMessage<SpamAuthor>);
5220
+ static readonly runtime: typeof proto3;
5221
+ static readonly typeName = "bragi.pipelines.SpamAuthor";
5222
+ static readonly fields: FieldList;
5223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpamAuthor;
5224
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpamAuthor;
5225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpamAuthor;
5226
+ static equals(a: SpamAuthor | PlainMessage<SpamAuthor> | undefined, b: SpamAuthor | PlainMessage<SpamAuthor> | undefined): boolean;
5227
+ }
5228
+ /**
5229
+ * A user-written post to screen for spam at creation or edit
5230
+ *
5231
+ * @generated from message bragi.pipelines.ClassifyPostSpamRequest
5232
+ */
5233
+ declare class ClassifyPostSpamRequest extends Message<ClassifyPostSpamRequest> {
5234
+ /**
5235
+ * Post title; for a share, the author's commentary
5236
+ *
5237
+ * @generated from field: optional string title = 1;
5238
+ */
5239
+ title?: string;
5240
+ /**
5241
+ * Post body in markdown (freeform posts)
5242
+ *
5243
+ * @generated from field: optional string content = 2;
5244
+ */
5245
+ content?: string;
5246
+ /**
5247
+ * URL of the shared link (share posts)
5248
+ *
5249
+ * @generated from field: optional string shared_url = 3;
5250
+ */
5251
+ sharedUrl?: string;
5252
+ /**
5253
+ * Title of the shared link (share posts)
5254
+ *
5255
+ * @generated from field: optional string shared_title = 4;
5256
+ */
5257
+ sharedTitle?: string;
5258
+ /**
5259
+ * Squad the post was published in; unset when published on the author's own profile
5260
+ *
5261
+ * @generated from field: optional string squad_name = 5;
5262
+ */
5263
+ squadName?: string;
5264
+ /**
5265
+ * Who published the post
5266
+ *
5267
+ * @generated from field: bragi.pipelines.SpamAuthor author = 6;
5268
+ */
5269
+ author?: SpamAuthor;
5270
+ constructor(data?: PartialMessage<ClassifyPostSpamRequest>);
5271
+ static readonly runtime: typeof proto3;
5272
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamRequest";
5273
+ static readonly fields: FieldList;
5274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamRequest;
5275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5276
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
5277
+ static equals(a: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined, b: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined): boolean;
5278
+ }
5279
+ /**
5280
+ * @generated from message bragi.pipelines.ClassifyPostSpamResponse
5281
+ */
5282
+ declare class ClassifyPostSpamResponse extends Message<ClassifyPostSpamResponse> {
5283
+ /**
5284
+ * Operation id
5285
+ *
5286
+ * @generated from field: string id = 1;
5287
+ */
5288
+ id: string;
5289
+ /**
5290
+ * True when the post should be hidden
5291
+ *
5292
+ * @generated from field: bool is_spam = 2;
5293
+ */
5294
+ isSpam: boolean;
5295
+ /**
5296
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5297
+ *
5298
+ * @generated from field: float spam_probability = 3;
5299
+ */
5300
+ spamProbability: number;
5301
+ /**
5302
+ * Most likely purpose: knowledge_sharing, developer_project, personal, business_marketing, seo_content, illicit_promo, unclear
5303
+ *
5304
+ * @generated from field: string category = 4;
5305
+ */
5306
+ category: string;
5307
+ constructor(data?: PartialMessage<ClassifyPostSpamResponse>);
5308
+ static readonly runtime: typeof proto3;
5309
+ static readonly typeName = "bragi.pipelines.ClassifyPostSpamResponse";
5310
+ static readonly fields: FieldList;
5311
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamResponse;
5312
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
5314
+ static equals(a: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined, b: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined): boolean;
5315
+ }
5316
+ /**
5317
+ * A comment to screen for spam at creation or edit
5318
+ *
5319
+ * @generated from message bragi.pipelines.ClassifyCommentSpamRequest
5320
+ */
5321
+ declare class ClassifyCommentSpamRequest extends Message<ClassifyCommentSpamRequest> {
5322
+ /**
5323
+ * Comment body in markdown
5324
+ *
5325
+ * @generated from field: string content = 1;
5326
+ */
5327
+ content: string;
5328
+ /**
5329
+ * Title of the post being commented on (for a share, the shared link's title)
5330
+ *
5331
+ * @generated from field: optional string post_title = 2;
5332
+ */
5333
+ postTitle?: string;
5334
+ /**
5335
+ * The comment being replied to, if any
5336
+ *
5337
+ * @generated from field: optional string parent_content = 3;
5338
+ */
5339
+ parentContent?: string;
5340
+ /**
5341
+ * True when the commenter also wrote the post
5342
+ *
5343
+ * @generated from field: bool is_post_author = 4;
5344
+ */
5345
+ isPostAuthor: boolean;
5346
+ /**
5347
+ * Who wrote the comment
5348
+ *
5349
+ * @generated from field: bragi.pipelines.SpamAuthor author = 5;
5350
+ */
5351
+ author?: SpamAuthor;
5352
+ constructor(data?: PartialMessage<ClassifyCommentSpamRequest>);
5353
+ static readonly runtime: typeof proto3;
5354
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamRequest";
5355
+ static readonly fields: FieldList;
5356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamRequest;
5357
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
5359
+ static equals(a: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined, b: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined): boolean;
5360
+ }
5361
+ /**
5362
+ * @generated from message bragi.pipelines.ClassifyCommentSpamResponse
5363
+ */
5364
+ declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamResponse> {
5365
+ /**
5366
+ * Operation id
5367
+ *
5368
+ * @generated from field: string id = 1;
5369
+ */
5370
+ id: string;
5371
+ /**
5372
+ * True when the comment should be hidden
5373
+ *
5374
+ * @generated from field: bool is_spam = 2;
5375
+ */
5376
+ isSpam: boolean;
5377
+ /**
5378
+ * Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
5379
+ *
5380
+ * @generated from field: float spam_probability = 3;
5381
+ */
5382
+ spamProbability: number;
5383
+ /**
5384
+ * Most likely purpose: discussion, resource_share, reaction, promotion, link_drop, illicit_promo, unclear
5385
+ *
5386
+ * @generated from field: string category = 4;
5387
+ */
5388
+ category: string;
5389
+ constructor(data?: PartialMessage<ClassifyCommentSpamResponse>);
5390
+ static readonly runtime: typeof proto3;
5391
+ static readonly typeName = "bragi.pipelines.ClassifyCommentSpamResponse";
5392
+ static readonly fields: FieldList;
5393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamResponse;
5394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
5396
+ static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
5397
+ }
5195
5398
 
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 };
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 };