@dailydotdev/schema 0.3.1 → 0.3.2

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.
@@ -1,4 +1,4 @@
1
- import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Timestamp } from '@bufbuild/protobuf';
2
2
  import { Briefing } from '../feed/briefing/briefing_pb.cjs';
3
3
  import { Screening } from '../daily-api/opportunity-match_pb.cjs';
4
4
  import { Opportunity, SeniorityLevel, EmploymentType } from '../daily-api/opportunity_pb.cjs';
@@ -39,6 +39,31 @@ declare enum ContextBuildingStrategy {
39
39
  */
40
40
  StuffDocumentFirst = 0
41
41
  }
42
+ /**
43
+ * @generated from enum bragi.pipelines.ChannelHighlightSignificance
44
+ */
45
+ declare enum ChannelHighlightSignificance {
46
+ /**
47
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_UNSPECIFIED = 0;
48
+ */
49
+ UNSPECIFIED = 0,
50
+ /**
51
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_BREAKING = 1;
52
+ */
53
+ BREAKING = 1,
54
+ /**
55
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_MAJOR = 2;
56
+ */
57
+ MAJOR = 2,
58
+ /**
59
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_NOTABLE = 3;
60
+ */
61
+ NOTABLE = 3,
62
+ /**
63
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_ROUTINE = 4;
64
+ */
65
+ ROUTINE = 4
66
+ }
42
67
  /**
43
68
  * @generated from enum bragi.pipelines.FeedbackPlatform
44
69
  */
@@ -884,6 +909,245 @@ declare class GenerateCollectionResponse extends Message<GenerateCollectionRespo
884
909
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCollectionResponse;
885
910
  static equals(a: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined, b: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined): boolean;
886
911
  }
912
+ /**
913
+ * @generated from message bragi.pipelines.ChannelHighlightCurrentItem
914
+ */
915
+ declare class ChannelHighlightCurrentItem extends Message<ChannelHighlightCurrentItem> {
916
+ /**
917
+ * Post ID of the currently highlighted item
918
+ *
919
+ * @generated from field: string post_id = 1;
920
+ */
921
+ postId: string;
922
+ /**
923
+ * Current headline shown in the highlights rail
924
+ *
925
+ * @generated from field: string headline = 2;
926
+ */
927
+ headline: string;
928
+ /**
929
+ * When the item entered the highlights rail
930
+ *
931
+ * @generated from field: optional google.protobuf.Timestamp highlighted_at = 3;
932
+ */
933
+ highlightedAt?: Timestamp;
934
+ /**
935
+ * Editorial significance assigned to the current highlight
936
+ *
937
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 4;
938
+ */
939
+ significance: ChannelHighlightSignificance;
940
+ constructor(data?: PartialMessage<ChannelHighlightCurrentItem>);
941
+ static readonly runtime: typeof proto3;
942
+ static readonly typeName = "bragi.pipelines.ChannelHighlightCurrentItem";
943
+ static readonly fields: FieldList;
944
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightCurrentItem;
945
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightCurrentItem;
946
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightCurrentItem;
947
+ static equals(a: ChannelHighlightCurrentItem | PlainMessage<ChannelHighlightCurrentItem> | undefined, b: ChannelHighlightCurrentItem | PlainMessage<ChannelHighlightCurrentItem> | undefined): boolean;
948
+ }
949
+ /**
950
+ * @generated from message bragi.pipelines.ChannelHighlightCandidateItem
951
+ */
952
+ declare class ChannelHighlightCandidateItem extends Message<ChannelHighlightCandidateItem> {
953
+ /**
954
+ * Canonical post ID to evaluate
955
+ *
956
+ * @generated from field: string post_id = 1;
957
+ */
958
+ postId: string;
959
+ /**
960
+ * Post title
961
+ *
962
+ * @generated from field: string title = 2;
963
+ */
964
+ title: string;
965
+ /**
966
+ * Post summary (TLDR)
967
+ *
968
+ * @generated from field: optional string summary = 3;
969
+ */
970
+ summary?: string;
971
+ /**
972
+ * Post creation time
973
+ *
974
+ * @generated from field: optional google.protobuf.Timestamp created_at = 4;
975
+ */
976
+ createdAt?: Timestamp;
977
+ /**
978
+ * Upvote count
979
+ *
980
+ * @generated from field: int32 upvotes = 5;
981
+ */
982
+ upvotes: number;
983
+ /**
984
+ * Comment count
985
+ *
986
+ * @generated from field: int32 comments = 6;
987
+ */
988
+ comments: number;
989
+ /**
990
+ * View count
991
+ *
992
+ * @generated from field: int32 views = 7;
993
+ */
994
+ views: number;
995
+ /**
996
+ * Content curation labels from enrichment
997
+ *
998
+ * @generated from field: repeated string content_curation = 8;
999
+ */
1000
+ contentCuration: string[];
1001
+ /**
1002
+ * Scope: broad-overview, focused, highly-specific
1003
+ *
1004
+ * @generated from field: string specificity = 9;
1005
+ */
1006
+ specificity: string;
1007
+ /**
1008
+ * Purpose: learning, solving, informing, deciding, promoting
1009
+ *
1010
+ * @generated from field: string intent = 10;
1011
+ */
1012
+ intent: string;
1013
+ /**
1014
+ * Depth: thin, adequate, thorough
1015
+ *
1016
+ * @generated from field: string substance_depth = 11;
1017
+ */
1018
+ substanceDepth: string;
1019
+ /**
1020
+ * Alignment: undersells, matches, oversells
1021
+ *
1022
+ * @generated from field: string title_content_alignment = 12;
1023
+ */
1024
+ titleContentAlignment: string;
1025
+ /**
1026
+ * Promotional score [0..1]
1027
+ *
1028
+ * @generated from field: float self_promotion_score = 13;
1029
+ */
1030
+ selfPromotionScore: number;
1031
+ /**
1032
+ * Clickbait probability [0..1]
1033
+ *
1034
+ * @generated from field: optional float clickbait_probability = 14;
1035
+ */
1036
+ clickbaitProbability?: number;
1037
+ /**
1038
+ * Number of related posts represented by this candidate (for example, collection size)
1039
+ *
1040
+ * @generated from field: int32 related_items_count = 15;
1041
+ */
1042
+ relatedItemsCount: number;
1043
+ constructor(data?: PartialMessage<ChannelHighlightCandidateItem>);
1044
+ static readonly runtime: typeof proto3;
1045
+ static readonly typeName = "bragi.pipelines.ChannelHighlightCandidateItem";
1046
+ static readonly fields: FieldList;
1047
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightCandidateItem;
1048
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightCandidateItem;
1049
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightCandidateItem;
1050
+ static equals(a: ChannelHighlightCandidateItem | PlainMessage<ChannelHighlightCandidateItem> | undefined, b: ChannelHighlightCandidateItem | PlainMessage<ChannelHighlightCandidateItem> | undefined): boolean;
1051
+ }
1052
+ /**
1053
+ * @generated from message bragi.pipelines.EvaluateChannelHighlightsRequest
1054
+ */
1055
+ declare class EvaluateChannelHighlightsRequest extends Message<EvaluateChannelHighlightsRequest> {
1056
+ /**
1057
+ * Channel being evaluated
1058
+ *
1059
+ * @generated from field: string channel = 1;
1060
+ */
1061
+ channel: string;
1062
+ /**
1063
+ * Audience description for editorial judgment
1064
+ *
1065
+ * @generated from field: string target_audience = 2;
1066
+ */
1067
+ targetAudience: string;
1068
+ /**
1069
+ * Maximum number of highlights the rail can contain
1070
+ *
1071
+ * @generated from field: int32 max_items = 3;
1072
+ */
1073
+ maxItems: number;
1074
+ /**
1075
+ * Current highlights rail
1076
+ *
1077
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightCurrentItem current_highlights = 4;
1078
+ */
1079
+ currentHighlights: ChannelHighlightCurrentItem[];
1080
+ /**
1081
+ * New canonical posts to evaluate
1082
+ *
1083
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightCandidateItem new_candidates = 5;
1084
+ */
1085
+ newCandidates: ChannelHighlightCandidateItem[];
1086
+ constructor(data?: PartialMessage<EvaluateChannelHighlightsRequest>);
1087
+ static readonly runtime: typeof proto3;
1088
+ static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsRequest";
1089
+ static readonly fields: FieldList;
1090
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EvaluateChannelHighlightsRequest;
1091
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsRequest;
1092
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsRequest;
1093
+ static equals(a: EvaluateChannelHighlightsRequest | PlainMessage<EvaluateChannelHighlightsRequest> | undefined, b: EvaluateChannelHighlightsRequest | PlainMessage<EvaluateChannelHighlightsRequest> | undefined): boolean;
1094
+ }
1095
+ /**
1096
+ * @generated from message bragi.pipelines.ChannelHighlightResultItem
1097
+ */
1098
+ declare class ChannelHighlightResultItem extends Message<ChannelHighlightResultItem> {
1099
+ /**
1100
+ * Canonical post ID selected for highlights
1101
+ *
1102
+ * @generated from field: string post_id = 1;
1103
+ */
1104
+ postId: string;
1105
+ /**
1106
+ * Generated headline for the highlight
1107
+ *
1108
+ * @generated from field: string headline = 2;
1109
+ */
1110
+ headline: string;
1111
+ /**
1112
+ * Editorial significance label
1113
+ *
1114
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 3;
1115
+ */
1116
+ significance: ChannelHighlightSignificance;
1117
+ /**
1118
+ * Short editorial reason
1119
+ *
1120
+ * @generated from field: string reason = 4;
1121
+ */
1122
+ reason: string;
1123
+ constructor(data?: PartialMessage<ChannelHighlightResultItem>);
1124
+ static readonly runtime: typeof proto3;
1125
+ static readonly typeName = "bragi.pipelines.ChannelHighlightResultItem";
1126
+ static readonly fields: FieldList;
1127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightResultItem;
1128
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1130
+ static equals(a: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined, b: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined): boolean;
1131
+ }
1132
+ /**
1133
+ * @generated from message bragi.pipelines.EvaluateChannelHighlightsResponse
1134
+ */
1135
+ declare class EvaluateChannelHighlightsResponse extends Message<EvaluateChannelHighlightsResponse> {
1136
+ /**
1137
+ * New highlights to include
1138
+ *
1139
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightResultItem highlights = 1;
1140
+ */
1141
+ highlights: ChannelHighlightResultItem[];
1142
+ constructor(data?: PartialMessage<EvaluateChannelHighlightsResponse>);
1143
+ static readonly runtime: typeof proto3;
1144
+ static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsResponse";
1145
+ static readonly fields: FieldList;
1146
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EvaluateChannelHighlightsResponse;
1147
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsResponse;
1148
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsResponse;
1149
+ static equals(a: EvaluateChannelHighlightsResponse | PlainMessage<EvaluateChannelHighlightsResponse> | undefined, b: EvaluateChannelHighlightsResponse | PlainMessage<EvaluateChannelHighlightsResponse> | undefined): boolean;
1150
+ }
887
1151
  /**
888
1152
  * @generated from message bragi.pipelines.AnalyzeImageRequest
889
1153
  */
@@ -3288,4 +3552,4 @@ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollec
3288
3552
  static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
3289
3553
  }
3290
3554
 
3291
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
3555
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
@@ -1,4 +1,4 @@
1
- import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Timestamp } from '@bufbuild/protobuf';
2
2
  import { Briefing } from '../feed/briefing/briefing_pb.js';
3
3
  import { Screening } from '../daily-api/opportunity-match_pb.js';
4
4
  import { Opportunity, SeniorityLevel, EmploymentType } from '../daily-api/opportunity_pb.js';
@@ -39,6 +39,31 @@ declare enum ContextBuildingStrategy {
39
39
  */
40
40
  StuffDocumentFirst = 0
41
41
  }
42
+ /**
43
+ * @generated from enum bragi.pipelines.ChannelHighlightSignificance
44
+ */
45
+ declare enum ChannelHighlightSignificance {
46
+ /**
47
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_UNSPECIFIED = 0;
48
+ */
49
+ UNSPECIFIED = 0,
50
+ /**
51
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_BREAKING = 1;
52
+ */
53
+ BREAKING = 1,
54
+ /**
55
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_MAJOR = 2;
56
+ */
57
+ MAJOR = 2,
58
+ /**
59
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_NOTABLE = 3;
60
+ */
61
+ NOTABLE = 3,
62
+ /**
63
+ * @generated from enum value: CHANNEL_HIGHLIGHT_SIGNIFICANCE_ROUTINE = 4;
64
+ */
65
+ ROUTINE = 4
66
+ }
42
67
  /**
43
68
  * @generated from enum bragi.pipelines.FeedbackPlatform
44
69
  */
@@ -884,6 +909,245 @@ declare class GenerateCollectionResponse extends Message<GenerateCollectionRespo
884
909
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCollectionResponse;
885
910
  static equals(a: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined, b: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined): boolean;
886
911
  }
912
+ /**
913
+ * @generated from message bragi.pipelines.ChannelHighlightCurrentItem
914
+ */
915
+ declare class ChannelHighlightCurrentItem extends Message<ChannelHighlightCurrentItem> {
916
+ /**
917
+ * Post ID of the currently highlighted item
918
+ *
919
+ * @generated from field: string post_id = 1;
920
+ */
921
+ postId: string;
922
+ /**
923
+ * Current headline shown in the highlights rail
924
+ *
925
+ * @generated from field: string headline = 2;
926
+ */
927
+ headline: string;
928
+ /**
929
+ * When the item entered the highlights rail
930
+ *
931
+ * @generated from field: optional google.protobuf.Timestamp highlighted_at = 3;
932
+ */
933
+ highlightedAt?: Timestamp;
934
+ /**
935
+ * Editorial significance assigned to the current highlight
936
+ *
937
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 4;
938
+ */
939
+ significance: ChannelHighlightSignificance;
940
+ constructor(data?: PartialMessage<ChannelHighlightCurrentItem>);
941
+ static readonly runtime: typeof proto3;
942
+ static readonly typeName = "bragi.pipelines.ChannelHighlightCurrentItem";
943
+ static readonly fields: FieldList;
944
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightCurrentItem;
945
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightCurrentItem;
946
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightCurrentItem;
947
+ static equals(a: ChannelHighlightCurrentItem | PlainMessage<ChannelHighlightCurrentItem> | undefined, b: ChannelHighlightCurrentItem | PlainMessage<ChannelHighlightCurrentItem> | undefined): boolean;
948
+ }
949
+ /**
950
+ * @generated from message bragi.pipelines.ChannelHighlightCandidateItem
951
+ */
952
+ declare class ChannelHighlightCandidateItem extends Message<ChannelHighlightCandidateItem> {
953
+ /**
954
+ * Canonical post ID to evaluate
955
+ *
956
+ * @generated from field: string post_id = 1;
957
+ */
958
+ postId: string;
959
+ /**
960
+ * Post title
961
+ *
962
+ * @generated from field: string title = 2;
963
+ */
964
+ title: string;
965
+ /**
966
+ * Post summary (TLDR)
967
+ *
968
+ * @generated from field: optional string summary = 3;
969
+ */
970
+ summary?: string;
971
+ /**
972
+ * Post creation time
973
+ *
974
+ * @generated from field: optional google.protobuf.Timestamp created_at = 4;
975
+ */
976
+ createdAt?: Timestamp;
977
+ /**
978
+ * Upvote count
979
+ *
980
+ * @generated from field: int32 upvotes = 5;
981
+ */
982
+ upvotes: number;
983
+ /**
984
+ * Comment count
985
+ *
986
+ * @generated from field: int32 comments = 6;
987
+ */
988
+ comments: number;
989
+ /**
990
+ * View count
991
+ *
992
+ * @generated from field: int32 views = 7;
993
+ */
994
+ views: number;
995
+ /**
996
+ * Content curation labels from enrichment
997
+ *
998
+ * @generated from field: repeated string content_curation = 8;
999
+ */
1000
+ contentCuration: string[];
1001
+ /**
1002
+ * Scope: broad-overview, focused, highly-specific
1003
+ *
1004
+ * @generated from field: string specificity = 9;
1005
+ */
1006
+ specificity: string;
1007
+ /**
1008
+ * Purpose: learning, solving, informing, deciding, promoting
1009
+ *
1010
+ * @generated from field: string intent = 10;
1011
+ */
1012
+ intent: string;
1013
+ /**
1014
+ * Depth: thin, adequate, thorough
1015
+ *
1016
+ * @generated from field: string substance_depth = 11;
1017
+ */
1018
+ substanceDepth: string;
1019
+ /**
1020
+ * Alignment: undersells, matches, oversells
1021
+ *
1022
+ * @generated from field: string title_content_alignment = 12;
1023
+ */
1024
+ titleContentAlignment: string;
1025
+ /**
1026
+ * Promotional score [0..1]
1027
+ *
1028
+ * @generated from field: float self_promotion_score = 13;
1029
+ */
1030
+ selfPromotionScore: number;
1031
+ /**
1032
+ * Clickbait probability [0..1]
1033
+ *
1034
+ * @generated from field: optional float clickbait_probability = 14;
1035
+ */
1036
+ clickbaitProbability?: number;
1037
+ /**
1038
+ * Number of related posts represented by this candidate (for example, collection size)
1039
+ *
1040
+ * @generated from field: int32 related_items_count = 15;
1041
+ */
1042
+ relatedItemsCount: number;
1043
+ constructor(data?: PartialMessage<ChannelHighlightCandidateItem>);
1044
+ static readonly runtime: typeof proto3;
1045
+ static readonly typeName = "bragi.pipelines.ChannelHighlightCandidateItem";
1046
+ static readonly fields: FieldList;
1047
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightCandidateItem;
1048
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightCandidateItem;
1049
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightCandidateItem;
1050
+ static equals(a: ChannelHighlightCandidateItem | PlainMessage<ChannelHighlightCandidateItem> | undefined, b: ChannelHighlightCandidateItem | PlainMessage<ChannelHighlightCandidateItem> | undefined): boolean;
1051
+ }
1052
+ /**
1053
+ * @generated from message bragi.pipelines.EvaluateChannelHighlightsRequest
1054
+ */
1055
+ declare class EvaluateChannelHighlightsRequest extends Message<EvaluateChannelHighlightsRequest> {
1056
+ /**
1057
+ * Channel being evaluated
1058
+ *
1059
+ * @generated from field: string channel = 1;
1060
+ */
1061
+ channel: string;
1062
+ /**
1063
+ * Audience description for editorial judgment
1064
+ *
1065
+ * @generated from field: string target_audience = 2;
1066
+ */
1067
+ targetAudience: string;
1068
+ /**
1069
+ * Maximum number of highlights the rail can contain
1070
+ *
1071
+ * @generated from field: int32 max_items = 3;
1072
+ */
1073
+ maxItems: number;
1074
+ /**
1075
+ * Current highlights rail
1076
+ *
1077
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightCurrentItem current_highlights = 4;
1078
+ */
1079
+ currentHighlights: ChannelHighlightCurrentItem[];
1080
+ /**
1081
+ * New canonical posts to evaluate
1082
+ *
1083
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightCandidateItem new_candidates = 5;
1084
+ */
1085
+ newCandidates: ChannelHighlightCandidateItem[];
1086
+ constructor(data?: PartialMessage<EvaluateChannelHighlightsRequest>);
1087
+ static readonly runtime: typeof proto3;
1088
+ static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsRequest";
1089
+ static readonly fields: FieldList;
1090
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EvaluateChannelHighlightsRequest;
1091
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsRequest;
1092
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsRequest;
1093
+ static equals(a: EvaluateChannelHighlightsRequest | PlainMessage<EvaluateChannelHighlightsRequest> | undefined, b: EvaluateChannelHighlightsRequest | PlainMessage<EvaluateChannelHighlightsRequest> | undefined): boolean;
1094
+ }
1095
+ /**
1096
+ * @generated from message bragi.pipelines.ChannelHighlightResultItem
1097
+ */
1098
+ declare class ChannelHighlightResultItem extends Message<ChannelHighlightResultItem> {
1099
+ /**
1100
+ * Canonical post ID selected for highlights
1101
+ *
1102
+ * @generated from field: string post_id = 1;
1103
+ */
1104
+ postId: string;
1105
+ /**
1106
+ * Generated headline for the highlight
1107
+ *
1108
+ * @generated from field: string headline = 2;
1109
+ */
1110
+ headline: string;
1111
+ /**
1112
+ * Editorial significance label
1113
+ *
1114
+ * @generated from field: bragi.pipelines.ChannelHighlightSignificance significance = 3;
1115
+ */
1116
+ significance: ChannelHighlightSignificance;
1117
+ /**
1118
+ * Short editorial reason
1119
+ *
1120
+ * @generated from field: string reason = 4;
1121
+ */
1122
+ reason: string;
1123
+ constructor(data?: PartialMessage<ChannelHighlightResultItem>);
1124
+ static readonly runtime: typeof proto3;
1125
+ static readonly typeName = "bragi.pipelines.ChannelHighlightResultItem";
1126
+ static readonly fields: FieldList;
1127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChannelHighlightResultItem;
1128
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChannelHighlightResultItem;
1130
+ static equals(a: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined, b: ChannelHighlightResultItem | PlainMessage<ChannelHighlightResultItem> | undefined): boolean;
1131
+ }
1132
+ /**
1133
+ * @generated from message bragi.pipelines.EvaluateChannelHighlightsResponse
1134
+ */
1135
+ declare class EvaluateChannelHighlightsResponse extends Message<EvaluateChannelHighlightsResponse> {
1136
+ /**
1137
+ * New highlights to include
1138
+ *
1139
+ * @generated from field: repeated bragi.pipelines.ChannelHighlightResultItem highlights = 1;
1140
+ */
1141
+ highlights: ChannelHighlightResultItem[];
1142
+ constructor(data?: PartialMessage<EvaluateChannelHighlightsResponse>);
1143
+ static readonly runtime: typeof proto3;
1144
+ static readonly typeName = "bragi.pipelines.EvaluateChannelHighlightsResponse";
1145
+ static readonly fields: FieldList;
1146
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EvaluateChannelHighlightsResponse;
1147
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsResponse;
1148
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EvaluateChannelHighlightsResponse;
1149
+ static equals(a: EvaluateChannelHighlightsResponse | PlainMessage<EvaluateChannelHighlightsResponse> | undefined, b: EvaluateChannelHighlightsResponse | PlainMessage<EvaluateChannelHighlightsResponse> | undefined): boolean;
1150
+ }
887
1151
  /**
888
1152
  * @generated from message bragi.pipelines.AnalyzeImageRequest
889
1153
  */
@@ -3288,4 +3552,4 @@ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollec
3288
3552
  static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
3289
3553
  }
3290
3554
 
3291
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
3555
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };