@dailydotdev/schema 0.2.69 → 0.2.70

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,9 +1,9 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } 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
- import { Opportunity } from '../daily-api/opportunity_pb.cjs';
4
+ import { Opportunity, SeniorityLevel, EmploymentType } from '../daily-api/opportunity_pb.cjs';
5
5
  import { UserFeedbackCategory, UserFeedbackClassification } from './feedback_pb.cjs';
6
- import '../daily-api/util_pb.cjs';
6
+ import { LocationType } from '../daily-api/util_pb.cjs';
7
7
 
8
8
  /**
9
9
  * @generated from enum bragi.pipelines.ContentFormat
@@ -159,6 +159,57 @@ declare enum FeedbackUrgency {
159
159
  */
160
160
  CRITICAL = 4
161
161
  }
162
+ /**
163
+ * Standardized reasons for candidate rejection of a job opportunity match
164
+ *
165
+ * @generated from enum bragi.pipelines.RejectionReason
166
+ */
167
+ declare enum RejectionReason {
168
+ /**
169
+ * @generated from enum value: REJECTION_REASON_UNSPECIFIED = 0;
170
+ */
171
+ UNSPECIFIED = 0,
172
+ /**
173
+ * @generated from enum value: REJECTION_REASON_LOCATION = 1;
174
+ */
175
+ LOCATION = 1,
176
+ /**
177
+ * @generated from enum value: REJECTION_REASON_LOCATION_TYPE = 2;
178
+ */
179
+ LOCATION_TYPE = 2,
180
+ /**
181
+ * @generated from enum value: REJECTION_REASON_SALARY = 3;
182
+ */
183
+ SALARY = 3,
184
+ /**
185
+ * @generated from enum value: REJECTION_REASON_SENIORITY = 4;
186
+ */
187
+ SENIORITY = 4,
188
+ /**
189
+ * @generated from enum value: REJECTION_REASON_ROLE_TYPE = 5;
190
+ */
191
+ ROLE_TYPE = 5,
192
+ /**
193
+ * @generated from enum value: REJECTION_REASON_EMPLOYMENT_TYPE = 6;
194
+ */
195
+ EMPLOYMENT_TYPE = 6,
196
+ /**
197
+ * @generated from enum value: REJECTION_REASON_TECH_STACK = 7;
198
+ */
199
+ TECH_STACK = 7,
200
+ /**
201
+ * @generated from enum value: REJECTION_REASON_COMPANY_CULTURE = 8;
202
+ */
203
+ COMPANY_CULTURE = 8,
204
+ /**
205
+ * @generated from enum value: REJECTION_REASON_TIMING = 9;
206
+ */
207
+ TIMING = 9,
208
+ /**
209
+ * @generated from enum value: REJECTION_REASON_OTHER = 10;
210
+ */
211
+ OTHER = 10
212
+ }
162
213
  /**
163
214
  * @generated from message bragi.pipelines.EnrichRequest
164
215
  */
@@ -940,6 +991,12 @@ declare class AudienceFitRequest extends Message<AudienceFitRequest> {
940
991
  * @generated from field: string content = 2;
941
992
  */
942
993
  content: string;
994
+ /**
995
+ * Content type (e.g., "article", "social:twitter", "video:youtube")
996
+ *
997
+ * @generated from field: optional string content_type = 3;
998
+ */
999
+ contentType?: string;
943
1000
  constructor(data?: PartialMessage<AudienceFitRequest>);
944
1001
  static readonly runtime: typeof proto3;
945
1002
  static readonly typeName = "bragi.pipelines.AudienceFitRequest";
@@ -2109,6 +2166,131 @@ declare class ClassifyUserFeedbackResponse extends Message<ClassifyUserFeedbackR
2109
2166
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserFeedbackResponse;
2110
2167
  static equals(a: ClassifyUserFeedbackResponse | PlainMessage<ClassifyUserFeedbackResponse> | undefined, b: ClassifyUserFeedbackResponse | PlainMessage<ClassifyUserFeedbackResponse> | undefined): boolean;
2111
2168
  }
2169
+ /**
2170
+ * @generated from message bragi.pipelines.RejectionReasonDetail
2171
+ */
2172
+ declare class RejectionReasonDetail extends Message<RejectionReasonDetail> {
2173
+ /**
2174
+ * @generated from field: bragi.pipelines.RejectionReason reason = 1;
2175
+ */
2176
+ reason: RejectionReason;
2177
+ /**
2178
+ * [0..1]
2179
+ *
2180
+ * @generated from field: float confidence = 2;
2181
+ */
2182
+ confidence: number;
2183
+ /**
2184
+ * Max 100 chars
2185
+ *
2186
+ * @generated from field: string explanation = 3;
2187
+ */
2188
+ explanation: string;
2189
+ /**
2190
+ * @generated from oneof bragi.pipelines.RejectionReasonDetail.preference
2191
+ */
2192
+ preference: {
2193
+ /**
2194
+ * @generated from field: dailydotdev.api.util.LocationType location_type_preference = 4;
2195
+ */
2196
+ value: LocationType;
2197
+ case: "locationTypePreference";
2198
+ } | {
2199
+ /**
2200
+ * @generated from field: dailydotdev.api.opportunity.SeniorityLevel seniority_preference = 5;
2201
+ */
2202
+ value: SeniorityLevel;
2203
+ case: "seniorityPreference";
2204
+ } | {
2205
+ /**
2206
+ * @generated from field: dailydotdev.api.opportunity.EmploymentType employment_type_preference = 6;
2207
+ */
2208
+ value: EmploymentType;
2209
+ case: "employmentTypePreference";
2210
+ } | {
2211
+ /**
2212
+ * @generated from field: string free_text_preference = 7;
2213
+ */
2214
+ value: string;
2215
+ case: "freeTextPreference";
2216
+ } | {
2217
+ case: undefined;
2218
+ value?: undefined;
2219
+ };
2220
+ constructor(data?: PartialMessage<RejectionReasonDetail>);
2221
+ static readonly runtime: typeof proto3;
2222
+ static readonly typeName = "bragi.pipelines.RejectionReasonDetail";
2223
+ static readonly fields: FieldList;
2224
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RejectionReasonDetail;
2225
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RejectionReasonDetail;
2226
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RejectionReasonDetail;
2227
+ static equals(a: RejectionReasonDetail | PlainMessage<RejectionReasonDetail> | undefined, b: RejectionReasonDetail | PlainMessage<RejectionReasonDetail> | undefined): boolean;
2228
+ }
2229
+ /**
2230
+ * @generated from message bragi.pipelines.RejectionFeedbackClassification
2231
+ */
2232
+ declare class RejectionFeedbackClassification extends Message<RejectionFeedbackClassification> {
2233
+ /**
2234
+ * @generated from field: repeated bragi.pipelines.RejectionReasonDetail reasons = 1;
2235
+ */
2236
+ reasons: RejectionReasonDetail[];
2237
+ /**
2238
+ * Max 150 chars
2239
+ *
2240
+ * @generated from field: string summary = 2;
2241
+ */
2242
+ summary: string;
2243
+ constructor(data?: PartialMessage<RejectionFeedbackClassification>);
2244
+ static readonly runtime: typeof proto3;
2245
+ static readonly typeName = "bragi.pipelines.RejectionFeedbackClassification";
2246
+ static readonly fields: FieldList;
2247
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RejectionFeedbackClassification;
2248
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RejectionFeedbackClassification;
2249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RejectionFeedbackClassification;
2250
+ static equals(a: RejectionFeedbackClassification | PlainMessage<RejectionFeedbackClassification> | undefined, b: RejectionFeedbackClassification | PlainMessage<RejectionFeedbackClassification> | undefined): boolean;
2251
+ }
2252
+ /**
2253
+ * @generated from message bragi.pipelines.ClassifyRejectionFeedbackRequest
2254
+ */
2255
+ declare class ClassifyRejectionFeedbackRequest extends Message<ClassifyRejectionFeedbackRequest> {
2256
+ /**
2257
+ * @generated from field: string feedback = 1;
2258
+ */
2259
+ feedback: string;
2260
+ /**
2261
+ * @generated from field: optional string job_context = 2;
2262
+ */
2263
+ jobContext?: string;
2264
+ constructor(data?: PartialMessage<ClassifyRejectionFeedbackRequest>);
2265
+ static readonly runtime: typeof proto3;
2266
+ static readonly typeName = "bragi.pipelines.ClassifyRejectionFeedbackRequest";
2267
+ static readonly fields: FieldList;
2268
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyRejectionFeedbackRequest;
2269
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackRequest;
2270
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackRequest;
2271
+ static equals(a: ClassifyRejectionFeedbackRequest | PlainMessage<ClassifyRejectionFeedbackRequest> | undefined, b: ClassifyRejectionFeedbackRequest | PlainMessage<ClassifyRejectionFeedbackRequest> | undefined): boolean;
2272
+ }
2273
+ /**
2274
+ * @generated from message bragi.pipelines.ClassifyRejectionFeedbackResponse
2275
+ */
2276
+ declare class ClassifyRejectionFeedbackResponse extends Message<ClassifyRejectionFeedbackResponse> {
2277
+ /**
2278
+ * @generated from field: string id = 1;
2279
+ */
2280
+ id: string;
2281
+ /**
2282
+ * @generated from field: bragi.pipelines.RejectionFeedbackClassification classification = 2;
2283
+ */
2284
+ classification?: RejectionFeedbackClassification;
2285
+ constructor(data?: PartialMessage<ClassifyRejectionFeedbackResponse>);
2286
+ static readonly runtime: typeof proto3;
2287
+ static readonly typeName = "bragi.pipelines.ClassifyRejectionFeedbackResponse";
2288
+ static readonly fields: FieldList;
2289
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyRejectionFeedbackResponse;
2290
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackResponse;
2291
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackResponse;
2292
+ static equals(a: ClassifyRejectionFeedbackResponse | PlainMessage<ClassifyRejectionFeedbackResponse> | undefined, b: ClassifyRejectionFeedbackResponse | PlainMessage<ClassifyRejectionFeedbackResponse> | undefined): boolean;
2293
+ }
2112
2294
  /**
2113
2295
  * Represents a job vacancy found on a company website
2114
2296
  *
@@ -2583,5 +2765,53 @@ declare class GenerateRecruiterEmailResponse extends Message<GenerateRecruiterEm
2583
2765
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRecruiterEmailResponse;
2584
2766
  static equals(a: GenerateRecruiterEmailResponse | PlainMessage<GenerateRecruiterEmailResponse> | undefined, b: GenerateRecruiterEmailResponse | PlainMessage<GenerateRecruiterEmailResponse> | undefined): boolean;
2585
2767
  }
2768
+ /**
2769
+ * Request to validate whether articles belong to the same collection
2770
+ *
2771
+ * @generated from message bragi.pipelines.ValidateCollectionCoherenceRequest
2772
+ */
2773
+ declare class ValidateCollectionCoherenceRequest extends Message<ValidateCollectionCoherenceRequest> {
2774
+ /**
2775
+ * Articles to validate
2776
+ *
2777
+ * @generated from field: repeated bragi.pipelines.CollectionPostInput posts = 1;
2778
+ */
2779
+ posts: CollectionPostInput[];
2780
+ constructor(data?: PartialMessage<ValidateCollectionCoherenceRequest>);
2781
+ static readonly runtime: typeof proto3;
2782
+ static readonly typeName = "bragi.pipelines.ValidateCollectionCoherenceRequest";
2783
+ static readonly fields: FieldList;
2784
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateCollectionCoherenceRequest;
2785
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceRequest;
2786
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceRequest;
2787
+ static equals(a: ValidateCollectionCoherenceRequest | PlainMessage<ValidateCollectionCoherenceRequest> | undefined, b: ValidateCollectionCoherenceRequest | PlainMessage<ValidateCollectionCoherenceRequest> | undefined): boolean;
2788
+ }
2789
+ /**
2790
+ * Response with coherence validation result
2791
+ *
2792
+ * @generated from message bragi.pipelines.ValidateCollectionCoherenceResponse
2793
+ */
2794
+ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollectionCoherenceResponse> {
2795
+ /**
2796
+ * Operation id
2797
+ *
2798
+ * @generated from field: string id = 1;
2799
+ */
2800
+ id: string;
2801
+ /**
2802
+ * Whether the articles are about the same specific event
2803
+ *
2804
+ * @generated from field: bool coherent = 2;
2805
+ */
2806
+ coherent: boolean;
2807
+ constructor(data?: PartialMessage<ValidateCollectionCoherenceResponse>);
2808
+ static readonly runtime: typeof proto3;
2809
+ static readonly typeName = "bragi.pipelines.ValidateCollectionCoherenceResponse";
2810
+ static readonly fields: FieldList;
2811
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateCollectionCoherenceResponse;
2812
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
2813
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
2814
+ static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
2815
+ }
2586
2816
 
2587
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, WarmIntroRequest, WarmIntroResponse };
2817
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, 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, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
@@ -1,9 +1,9 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } 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
- import { Opportunity } from '../daily-api/opportunity_pb.js';
4
+ import { Opportunity, SeniorityLevel, EmploymentType } from '../daily-api/opportunity_pb.js';
5
5
  import { UserFeedbackCategory, UserFeedbackClassification } from './feedback_pb.js';
6
- import '../daily-api/util_pb.js';
6
+ import { LocationType } from '../daily-api/util_pb.js';
7
7
 
8
8
  /**
9
9
  * @generated from enum bragi.pipelines.ContentFormat
@@ -159,6 +159,57 @@ declare enum FeedbackUrgency {
159
159
  */
160
160
  CRITICAL = 4
161
161
  }
162
+ /**
163
+ * Standardized reasons for candidate rejection of a job opportunity match
164
+ *
165
+ * @generated from enum bragi.pipelines.RejectionReason
166
+ */
167
+ declare enum RejectionReason {
168
+ /**
169
+ * @generated from enum value: REJECTION_REASON_UNSPECIFIED = 0;
170
+ */
171
+ UNSPECIFIED = 0,
172
+ /**
173
+ * @generated from enum value: REJECTION_REASON_LOCATION = 1;
174
+ */
175
+ LOCATION = 1,
176
+ /**
177
+ * @generated from enum value: REJECTION_REASON_LOCATION_TYPE = 2;
178
+ */
179
+ LOCATION_TYPE = 2,
180
+ /**
181
+ * @generated from enum value: REJECTION_REASON_SALARY = 3;
182
+ */
183
+ SALARY = 3,
184
+ /**
185
+ * @generated from enum value: REJECTION_REASON_SENIORITY = 4;
186
+ */
187
+ SENIORITY = 4,
188
+ /**
189
+ * @generated from enum value: REJECTION_REASON_ROLE_TYPE = 5;
190
+ */
191
+ ROLE_TYPE = 5,
192
+ /**
193
+ * @generated from enum value: REJECTION_REASON_EMPLOYMENT_TYPE = 6;
194
+ */
195
+ EMPLOYMENT_TYPE = 6,
196
+ /**
197
+ * @generated from enum value: REJECTION_REASON_TECH_STACK = 7;
198
+ */
199
+ TECH_STACK = 7,
200
+ /**
201
+ * @generated from enum value: REJECTION_REASON_COMPANY_CULTURE = 8;
202
+ */
203
+ COMPANY_CULTURE = 8,
204
+ /**
205
+ * @generated from enum value: REJECTION_REASON_TIMING = 9;
206
+ */
207
+ TIMING = 9,
208
+ /**
209
+ * @generated from enum value: REJECTION_REASON_OTHER = 10;
210
+ */
211
+ OTHER = 10
212
+ }
162
213
  /**
163
214
  * @generated from message bragi.pipelines.EnrichRequest
164
215
  */
@@ -940,6 +991,12 @@ declare class AudienceFitRequest extends Message<AudienceFitRequest> {
940
991
  * @generated from field: string content = 2;
941
992
  */
942
993
  content: string;
994
+ /**
995
+ * Content type (e.g., "article", "social:twitter", "video:youtube")
996
+ *
997
+ * @generated from field: optional string content_type = 3;
998
+ */
999
+ contentType?: string;
943
1000
  constructor(data?: PartialMessage<AudienceFitRequest>);
944
1001
  static readonly runtime: typeof proto3;
945
1002
  static readonly typeName = "bragi.pipelines.AudienceFitRequest";
@@ -2109,6 +2166,131 @@ declare class ClassifyUserFeedbackResponse extends Message<ClassifyUserFeedbackR
2109
2166
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserFeedbackResponse;
2110
2167
  static equals(a: ClassifyUserFeedbackResponse | PlainMessage<ClassifyUserFeedbackResponse> | undefined, b: ClassifyUserFeedbackResponse | PlainMessage<ClassifyUserFeedbackResponse> | undefined): boolean;
2111
2168
  }
2169
+ /**
2170
+ * @generated from message bragi.pipelines.RejectionReasonDetail
2171
+ */
2172
+ declare class RejectionReasonDetail extends Message<RejectionReasonDetail> {
2173
+ /**
2174
+ * @generated from field: bragi.pipelines.RejectionReason reason = 1;
2175
+ */
2176
+ reason: RejectionReason;
2177
+ /**
2178
+ * [0..1]
2179
+ *
2180
+ * @generated from field: float confidence = 2;
2181
+ */
2182
+ confidence: number;
2183
+ /**
2184
+ * Max 100 chars
2185
+ *
2186
+ * @generated from field: string explanation = 3;
2187
+ */
2188
+ explanation: string;
2189
+ /**
2190
+ * @generated from oneof bragi.pipelines.RejectionReasonDetail.preference
2191
+ */
2192
+ preference: {
2193
+ /**
2194
+ * @generated from field: dailydotdev.api.util.LocationType location_type_preference = 4;
2195
+ */
2196
+ value: LocationType;
2197
+ case: "locationTypePreference";
2198
+ } | {
2199
+ /**
2200
+ * @generated from field: dailydotdev.api.opportunity.SeniorityLevel seniority_preference = 5;
2201
+ */
2202
+ value: SeniorityLevel;
2203
+ case: "seniorityPreference";
2204
+ } | {
2205
+ /**
2206
+ * @generated from field: dailydotdev.api.opportunity.EmploymentType employment_type_preference = 6;
2207
+ */
2208
+ value: EmploymentType;
2209
+ case: "employmentTypePreference";
2210
+ } | {
2211
+ /**
2212
+ * @generated from field: string free_text_preference = 7;
2213
+ */
2214
+ value: string;
2215
+ case: "freeTextPreference";
2216
+ } | {
2217
+ case: undefined;
2218
+ value?: undefined;
2219
+ };
2220
+ constructor(data?: PartialMessage<RejectionReasonDetail>);
2221
+ static readonly runtime: typeof proto3;
2222
+ static readonly typeName = "bragi.pipelines.RejectionReasonDetail";
2223
+ static readonly fields: FieldList;
2224
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RejectionReasonDetail;
2225
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RejectionReasonDetail;
2226
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RejectionReasonDetail;
2227
+ static equals(a: RejectionReasonDetail | PlainMessage<RejectionReasonDetail> | undefined, b: RejectionReasonDetail | PlainMessage<RejectionReasonDetail> | undefined): boolean;
2228
+ }
2229
+ /**
2230
+ * @generated from message bragi.pipelines.RejectionFeedbackClassification
2231
+ */
2232
+ declare class RejectionFeedbackClassification extends Message<RejectionFeedbackClassification> {
2233
+ /**
2234
+ * @generated from field: repeated bragi.pipelines.RejectionReasonDetail reasons = 1;
2235
+ */
2236
+ reasons: RejectionReasonDetail[];
2237
+ /**
2238
+ * Max 150 chars
2239
+ *
2240
+ * @generated from field: string summary = 2;
2241
+ */
2242
+ summary: string;
2243
+ constructor(data?: PartialMessage<RejectionFeedbackClassification>);
2244
+ static readonly runtime: typeof proto3;
2245
+ static readonly typeName = "bragi.pipelines.RejectionFeedbackClassification";
2246
+ static readonly fields: FieldList;
2247
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RejectionFeedbackClassification;
2248
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RejectionFeedbackClassification;
2249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RejectionFeedbackClassification;
2250
+ static equals(a: RejectionFeedbackClassification | PlainMessage<RejectionFeedbackClassification> | undefined, b: RejectionFeedbackClassification | PlainMessage<RejectionFeedbackClassification> | undefined): boolean;
2251
+ }
2252
+ /**
2253
+ * @generated from message bragi.pipelines.ClassifyRejectionFeedbackRequest
2254
+ */
2255
+ declare class ClassifyRejectionFeedbackRequest extends Message<ClassifyRejectionFeedbackRequest> {
2256
+ /**
2257
+ * @generated from field: string feedback = 1;
2258
+ */
2259
+ feedback: string;
2260
+ /**
2261
+ * @generated from field: optional string job_context = 2;
2262
+ */
2263
+ jobContext?: string;
2264
+ constructor(data?: PartialMessage<ClassifyRejectionFeedbackRequest>);
2265
+ static readonly runtime: typeof proto3;
2266
+ static readonly typeName = "bragi.pipelines.ClassifyRejectionFeedbackRequest";
2267
+ static readonly fields: FieldList;
2268
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyRejectionFeedbackRequest;
2269
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackRequest;
2270
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackRequest;
2271
+ static equals(a: ClassifyRejectionFeedbackRequest | PlainMessage<ClassifyRejectionFeedbackRequest> | undefined, b: ClassifyRejectionFeedbackRequest | PlainMessage<ClassifyRejectionFeedbackRequest> | undefined): boolean;
2272
+ }
2273
+ /**
2274
+ * @generated from message bragi.pipelines.ClassifyRejectionFeedbackResponse
2275
+ */
2276
+ declare class ClassifyRejectionFeedbackResponse extends Message<ClassifyRejectionFeedbackResponse> {
2277
+ /**
2278
+ * @generated from field: string id = 1;
2279
+ */
2280
+ id: string;
2281
+ /**
2282
+ * @generated from field: bragi.pipelines.RejectionFeedbackClassification classification = 2;
2283
+ */
2284
+ classification?: RejectionFeedbackClassification;
2285
+ constructor(data?: PartialMessage<ClassifyRejectionFeedbackResponse>);
2286
+ static readonly runtime: typeof proto3;
2287
+ static readonly typeName = "bragi.pipelines.ClassifyRejectionFeedbackResponse";
2288
+ static readonly fields: FieldList;
2289
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyRejectionFeedbackResponse;
2290
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackResponse;
2291
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyRejectionFeedbackResponse;
2292
+ static equals(a: ClassifyRejectionFeedbackResponse | PlainMessage<ClassifyRejectionFeedbackResponse> | undefined, b: ClassifyRejectionFeedbackResponse | PlainMessage<ClassifyRejectionFeedbackResponse> | undefined): boolean;
2293
+ }
2112
2294
  /**
2113
2295
  * Represents a job vacancy found on a company website
2114
2296
  *
@@ -2583,5 +2765,53 @@ declare class GenerateRecruiterEmailResponse extends Message<GenerateRecruiterEm
2583
2765
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRecruiterEmailResponse;
2584
2766
  static equals(a: GenerateRecruiterEmailResponse | PlainMessage<GenerateRecruiterEmailResponse> | undefined, b: GenerateRecruiterEmailResponse | PlainMessage<GenerateRecruiterEmailResponse> | undefined): boolean;
2585
2767
  }
2768
+ /**
2769
+ * Request to validate whether articles belong to the same collection
2770
+ *
2771
+ * @generated from message bragi.pipelines.ValidateCollectionCoherenceRequest
2772
+ */
2773
+ declare class ValidateCollectionCoherenceRequest extends Message<ValidateCollectionCoherenceRequest> {
2774
+ /**
2775
+ * Articles to validate
2776
+ *
2777
+ * @generated from field: repeated bragi.pipelines.CollectionPostInput posts = 1;
2778
+ */
2779
+ posts: CollectionPostInput[];
2780
+ constructor(data?: PartialMessage<ValidateCollectionCoherenceRequest>);
2781
+ static readonly runtime: typeof proto3;
2782
+ static readonly typeName = "bragi.pipelines.ValidateCollectionCoherenceRequest";
2783
+ static readonly fields: FieldList;
2784
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateCollectionCoherenceRequest;
2785
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceRequest;
2786
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceRequest;
2787
+ static equals(a: ValidateCollectionCoherenceRequest | PlainMessage<ValidateCollectionCoherenceRequest> | undefined, b: ValidateCollectionCoherenceRequest | PlainMessage<ValidateCollectionCoherenceRequest> | undefined): boolean;
2788
+ }
2789
+ /**
2790
+ * Response with coherence validation result
2791
+ *
2792
+ * @generated from message bragi.pipelines.ValidateCollectionCoherenceResponse
2793
+ */
2794
+ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollectionCoherenceResponse> {
2795
+ /**
2796
+ * Operation id
2797
+ *
2798
+ * @generated from field: string id = 1;
2799
+ */
2800
+ id: string;
2801
+ /**
2802
+ * Whether the articles are about the same specific event
2803
+ *
2804
+ * @generated from field: bool coherent = 2;
2805
+ */
2806
+ coherent: boolean;
2807
+ constructor(data?: PartialMessage<ValidateCollectionCoherenceResponse>);
2808
+ static readonly runtime: typeof proto3;
2809
+ static readonly typeName = "bragi.pipelines.ValidateCollectionCoherenceResponse";
2810
+ static readonly fields: FieldList;
2811
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateCollectionCoherenceResponse;
2812
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
2813
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
2814
+ static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
2815
+ }
2586
2816
 
2587
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, WarmIntroRequest, WarmIntroResponse };
2817
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, 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, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };