@in-human-resources/backend-proto 0.1.0

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.
@@ -0,0 +1,1192 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file api/v1/candidate.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * User ID extracted from auth token
11
+ *
12
+ * @generated from message api.v1.GetCandidateProfileRequest
13
+ */
14
+ export class GetCandidateProfileRequest extends Message<GetCandidateProfileRequest> {
15
+ constructor(data?: PartialMessage<GetCandidateProfileRequest>) {
16
+ super();
17
+ proto3.util.initPartial(data, this);
18
+ }
19
+
20
+ static readonly runtime: typeof proto3 = proto3;
21
+ static readonly typeName = "api.v1.GetCandidateProfileRequest";
22
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23
+ ]);
24
+
25
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCandidateProfileRequest {
26
+ return new GetCandidateProfileRequest().fromBinary(bytes, options);
27
+ }
28
+
29
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCandidateProfileRequest {
30
+ return new GetCandidateProfileRequest().fromJson(jsonValue, options);
31
+ }
32
+
33
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCandidateProfileRequest {
34
+ return new GetCandidateProfileRequest().fromJsonString(jsonString, options);
35
+ }
36
+
37
+ static equals(a: GetCandidateProfileRequest | PlainMessage<GetCandidateProfileRequest> | undefined, b: GetCandidateProfileRequest | PlainMessage<GetCandidateProfileRequest> | undefined): boolean {
38
+ return proto3.util.equals(GetCandidateProfileRequest, a, b);
39
+ }
40
+ }
41
+
42
+ /**
43
+ * @generated from message api.v1.CandidateProfileResponse
44
+ */
45
+ export class CandidateProfileResponse extends Message<CandidateProfileResponse> {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id = "";
50
+
51
+ /**
52
+ * @generated from field: string user_id = 2;
53
+ */
54
+ userId = "";
55
+
56
+ /**
57
+ * @generated from field: string professional_headline = 3;
58
+ */
59
+ professionalHeadline = "";
60
+
61
+ /**
62
+ * @generated from field: string phone = 4;
63
+ */
64
+ phone = "";
65
+
66
+ /**
67
+ * @generated from field: string location_city = 5;
68
+ */
69
+ locationCity = "";
70
+
71
+ /**
72
+ * @generated from field: string location_country = 6;
73
+ */
74
+ locationCountry = "";
75
+
76
+ /**
77
+ * @generated from field: string linkedin_url = 7;
78
+ */
79
+ linkedinUrl = "";
80
+
81
+ /**
82
+ * @generated from field: string resume_url = 8;
83
+ */
84
+ resumeUrl = "";
85
+
86
+ /**
87
+ * @generated from field: int32 years_of_experience = 9;
88
+ */
89
+ yearsOfExperience = 0;
90
+
91
+ /**
92
+ * @generated from field: repeated api.v1.CandidateSkill skills = 10;
93
+ */
94
+ skills: CandidateSkill[] = [];
95
+
96
+ /**
97
+ * @generated from field: repeated api.v1.CandidateExperience experience = 11;
98
+ */
99
+ experience: CandidateExperience[] = [];
100
+
101
+ /**
102
+ * @generated from field: api.v1.CandidatePreferences preferences = 12;
103
+ */
104
+ preferences?: CandidatePreferences;
105
+
106
+ /**
107
+ * @generated from field: int32 profile_completion_percentage = 13;
108
+ */
109
+ profileCompletionPercentage = 0;
110
+
111
+ /**
112
+ * @generated from field: bool can_apply_to_jobs = 14;
113
+ */
114
+ canApplyToJobs = false;
115
+
116
+ constructor(data?: PartialMessage<CandidateProfileResponse>) {
117
+ super();
118
+ proto3.util.initPartial(data, this);
119
+ }
120
+
121
+ static readonly runtime: typeof proto3 = proto3;
122
+ static readonly typeName = "api.v1.CandidateProfileResponse";
123
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
124
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
126
+ { no: 3, name: "professional_headline", kind: "scalar", T: 9 /* ScalarType.STRING */ },
127
+ { no: 4, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ { no: 5, name: "location_city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
129
+ { no: 6, name: "location_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
+ { no: 7, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
+ { no: 8, name: "resume_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
+ { no: 9, name: "years_of_experience", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
133
+ { no: 10, name: "skills", kind: "message", T: CandidateSkill, repeated: true },
134
+ { no: 11, name: "experience", kind: "message", T: CandidateExperience, repeated: true },
135
+ { no: 12, name: "preferences", kind: "message", T: CandidatePreferences },
136
+ { no: 13, name: "profile_completion_percentage", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
137
+ { no: 14, name: "can_apply_to_jobs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
138
+ ]);
139
+
140
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateProfileResponse {
141
+ return new CandidateProfileResponse().fromBinary(bytes, options);
142
+ }
143
+
144
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateProfileResponse {
145
+ return new CandidateProfileResponse().fromJson(jsonValue, options);
146
+ }
147
+
148
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateProfileResponse {
149
+ return new CandidateProfileResponse().fromJsonString(jsonString, options);
150
+ }
151
+
152
+ static equals(a: CandidateProfileResponse | PlainMessage<CandidateProfileResponse> | undefined, b: CandidateProfileResponse | PlainMessage<CandidateProfileResponse> | undefined): boolean {
153
+ return proto3.util.equals(CandidateProfileResponse, a, b);
154
+ }
155
+ }
156
+
157
+ /**
158
+ * @generated from message api.v1.CandidateSkill
159
+ */
160
+ export class CandidateSkill extends Message<CandidateSkill> {
161
+ /**
162
+ * @generated from field: string id = 1;
163
+ */
164
+ id = "";
165
+
166
+ /**
167
+ * @generated from field: string skill_name = 2;
168
+ */
169
+ skillName = "";
170
+
171
+ /**
172
+ * "beginner", "intermediate", "advanced", "expert"
173
+ *
174
+ * @generated from field: string proficiency_level = 3;
175
+ */
176
+ proficiencyLevel = "";
177
+
178
+ constructor(data?: PartialMessage<CandidateSkill>) {
179
+ super();
180
+ proto3.util.initPartial(data, this);
181
+ }
182
+
183
+ static readonly runtime: typeof proto3 = proto3;
184
+ static readonly typeName = "api.v1.CandidateSkill";
185
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
186
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 2, name: "skill_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
+ { no: 3, name: "proficiency_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ ]);
190
+
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateSkill {
192
+ return new CandidateSkill().fromBinary(bytes, options);
193
+ }
194
+
195
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateSkill {
196
+ return new CandidateSkill().fromJson(jsonValue, options);
197
+ }
198
+
199
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateSkill {
200
+ return new CandidateSkill().fromJsonString(jsonString, options);
201
+ }
202
+
203
+ static equals(a: CandidateSkill | PlainMessage<CandidateSkill> | undefined, b: CandidateSkill | PlainMessage<CandidateSkill> | undefined): boolean {
204
+ return proto3.util.equals(CandidateSkill, a, b);
205
+ }
206
+ }
207
+
208
+ /**
209
+ * @generated from message api.v1.CandidateExperience
210
+ */
211
+ export class CandidateExperience extends Message<CandidateExperience> {
212
+ /**
213
+ * @generated from field: string id = 1;
214
+ */
215
+ id = "";
216
+
217
+ /**
218
+ * @generated from field: string job_title = 2;
219
+ */
220
+ jobTitle = "";
221
+
222
+ /**
223
+ * @generated from field: string company_name = 3;
224
+ */
225
+ companyName = "";
226
+
227
+ /**
228
+ * @generated from field: string location = 4;
229
+ */
230
+ location = "";
231
+
232
+ /**
233
+ * YYYY-MM format
234
+ *
235
+ * @generated from field: string start_date = 5;
236
+ */
237
+ startDate = "";
238
+
239
+ /**
240
+ * YYYY-MM format or empty if current
241
+ *
242
+ * @generated from field: string end_date = 6;
243
+ */
244
+ endDate = "";
245
+
246
+ /**
247
+ * @generated from field: bool is_current = 7;
248
+ */
249
+ isCurrent = false;
250
+
251
+ /**
252
+ * @generated from field: string description = 8;
253
+ */
254
+ description = "";
255
+
256
+ constructor(data?: PartialMessage<CandidateExperience>) {
257
+ super();
258
+ proto3.util.initPartial(data, this);
259
+ }
260
+
261
+ static readonly runtime: typeof proto3 = proto3;
262
+ static readonly typeName = "api.v1.CandidateExperience";
263
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
264
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
265
+ { no: 2, name: "job_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
266
+ { no: 3, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
267
+ { no: 4, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
268
+ { no: 5, name: "start_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
269
+ { no: 6, name: "end_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
270
+ { no: 7, name: "is_current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
271
+ { no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
272
+ ]);
273
+
274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateExperience {
275
+ return new CandidateExperience().fromBinary(bytes, options);
276
+ }
277
+
278
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateExperience {
279
+ return new CandidateExperience().fromJson(jsonValue, options);
280
+ }
281
+
282
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateExperience {
283
+ return new CandidateExperience().fromJsonString(jsonString, options);
284
+ }
285
+
286
+ static equals(a: CandidateExperience | PlainMessage<CandidateExperience> | undefined, b: CandidateExperience | PlainMessage<CandidateExperience> | undefined): boolean {
287
+ return proto3.util.equals(CandidateExperience, a, b);
288
+ }
289
+ }
290
+
291
+ /**
292
+ * @generated from message api.v1.CandidatePreferences
293
+ */
294
+ export class CandidatePreferences extends Message<CandidatePreferences> {
295
+ /**
296
+ * "full_time", "part_time", "contract", "freelance"
297
+ *
298
+ * @generated from field: repeated string preferred_job_types = 1;
299
+ */
300
+ preferredJobTypes: string[] = [];
301
+
302
+ /**
303
+ * @generated from field: repeated string preferred_industries = 2;
304
+ */
305
+ preferredIndustries: string[] = [];
306
+
307
+ /**
308
+ * @generated from field: int32 expected_salary_min = 3;
309
+ */
310
+ expectedSalaryMin = 0;
311
+
312
+ /**
313
+ * @generated from field: int32 expected_salary_max = 4;
314
+ */
315
+ expectedSalaryMax = 0;
316
+
317
+ /**
318
+ * "USD", "EUR", "EGP", etc.
319
+ *
320
+ * @generated from field: string expected_salary_currency = 5;
321
+ */
322
+ expectedSalaryCurrency = "";
323
+
324
+ /**
325
+ * "remote", "hybrid", "onsite"
326
+ *
327
+ * @generated from field: string preferred_work_mode = 6;
328
+ */
329
+ preferredWorkMode = "";
330
+
331
+ /**
332
+ * "immediate", "2_weeks", "1_month", "3_months"
333
+ *
334
+ * @generated from field: string availability = 7;
335
+ */
336
+ availability = "";
337
+
338
+ constructor(data?: PartialMessage<CandidatePreferences>) {
339
+ super();
340
+ proto3.util.initPartial(data, this);
341
+ }
342
+
343
+ static readonly runtime: typeof proto3 = proto3;
344
+ static readonly typeName = "api.v1.CandidatePreferences";
345
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
346
+ { no: 1, name: "preferred_job_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
347
+ { no: 2, name: "preferred_industries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
348
+ { no: 3, name: "expected_salary_min", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
349
+ { no: 4, name: "expected_salary_max", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
350
+ { no: 5, name: "expected_salary_currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
351
+ { no: 6, name: "preferred_work_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
352
+ { no: 7, name: "availability", kind: "scalar", T: 9 /* ScalarType.STRING */ },
353
+ ]);
354
+
355
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidatePreferences {
356
+ return new CandidatePreferences().fromBinary(bytes, options);
357
+ }
358
+
359
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidatePreferences {
360
+ return new CandidatePreferences().fromJson(jsonValue, options);
361
+ }
362
+
363
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidatePreferences {
364
+ return new CandidatePreferences().fromJsonString(jsonString, options);
365
+ }
366
+
367
+ static equals(a: CandidatePreferences | PlainMessage<CandidatePreferences> | undefined, b: CandidatePreferences | PlainMessage<CandidatePreferences> | undefined): boolean {
368
+ return proto3.util.equals(CandidatePreferences, a, b);
369
+ }
370
+ }
371
+
372
+ /**
373
+ * @generated from message api.v1.UpdateCandidateProfileRequest
374
+ */
375
+ export class UpdateCandidateProfileRequest extends Message<UpdateCandidateProfileRequest> {
376
+ /**
377
+ * @generated from field: string professional_headline = 1;
378
+ */
379
+ professionalHeadline = "";
380
+
381
+ /**
382
+ * @generated from field: string phone = 2;
383
+ */
384
+ phone = "";
385
+
386
+ /**
387
+ * @generated from field: string location_city = 3;
388
+ */
389
+ locationCity = "";
390
+
391
+ /**
392
+ * @generated from field: string location_country = 4;
393
+ */
394
+ locationCountry = "";
395
+
396
+ /**
397
+ * @generated from field: string linkedin_url = 5;
398
+ */
399
+ linkedinUrl = "";
400
+
401
+ /**
402
+ * User ID extracted from auth token
403
+ *
404
+ * @generated from field: int32 years_of_experience = 6;
405
+ */
406
+ yearsOfExperience = 0;
407
+
408
+ constructor(data?: PartialMessage<UpdateCandidateProfileRequest>) {
409
+ super();
410
+ proto3.util.initPartial(data, this);
411
+ }
412
+
413
+ static readonly runtime: typeof proto3 = proto3;
414
+ static readonly typeName = "api.v1.UpdateCandidateProfileRequest";
415
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
416
+ { no: 1, name: "professional_headline", kind: "scalar", T: 9 /* ScalarType.STRING */ },
417
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
418
+ { no: 3, name: "location_city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
419
+ { no: 4, name: "location_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
420
+ { no: 5, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
421
+ { no: 6, name: "years_of_experience", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
422
+ ]);
423
+
424
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCandidateProfileRequest {
425
+ return new UpdateCandidateProfileRequest().fromBinary(bytes, options);
426
+ }
427
+
428
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCandidateProfileRequest {
429
+ return new UpdateCandidateProfileRequest().fromJson(jsonValue, options);
430
+ }
431
+
432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCandidateProfileRequest {
433
+ return new UpdateCandidateProfileRequest().fromJsonString(jsonString, options);
434
+ }
435
+
436
+ static equals(a: UpdateCandidateProfileRequest | PlainMessage<UpdateCandidateProfileRequest> | undefined, b: UpdateCandidateProfileRequest | PlainMessage<UpdateCandidateProfileRequest> | undefined): boolean {
437
+ return proto3.util.equals(UpdateCandidateProfileRequest, a, b);
438
+ }
439
+ }
440
+
441
+ /**
442
+ * @generated from message api.v1.UpdateCandidateSkillsRequest
443
+ */
444
+ export class UpdateCandidateSkillsRequest extends Message<UpdateCandidateSkillsRequest> {
445
+ /**
446
+ * User ID extracted from auth token
447
+ *
448
+ * @generated from field: repeated api.v1.CandidateSkillInput skills = 1;
449
+ */
450
+ skills: CandidateSkillInput[] = [];
451
+
452
+ constructor(data?: PartialMessage<UpdateCandidateSkillsRequest>) {
453
+ super();
454
+ proto3.util.initPartial(data, this);
455
+ }
456
+
457
+ static readonly runtime: typeof proto3 = proto3;
458
+ static readonly typeName = "api.v1.UpdateCandidateSkillsRequest";
459
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
460
+ { no: 1, name: "skills", kind: "message", T: CandidateSkillInput, repeated: true },
461
+ ]);
462
+
463
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCandidateSkillsRequest {
464
+ return new UpdateCandidateSkillsRequest().fromBinary(bytes, options);
465
+ }
466
+
467
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCandidateSkillsRequest {
468
+ return new UpdateCandidateSkillsRequest().fromJson(jsonValue, options);
469
+ }
470
+
471
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCandidateSkillsRequest {
472
+ return new UpdateCandidateSkillsRequest().fromJsonString(jsonString, options);
473
+ }
474
+
475
+ static equals(a: UpdateCandidateSkillsRequest | PlainMessage<UpdateCandidateSkillsRequest> | undefined, b: UpdateCandidateSkillsRequest | PlainMessage<UpdateCandidateSkillsRequest> | undefined): boolean {
476
+ return proto3.util.equals(UpdateCandidateSkillsRequest, a, b);
477
+ }
478
+ }
479
+
480
+ /**
481
+ * @generated from message api.v1.CandidateSkillInput
482
+ */
483
+ export class CandidateSkillInput extends Message<CandidateSkillInput> {
484
+ /**
485
+ * @generated from field: string skill_name = 1;
486
+ */
487
+ skillName = "";
488
+
489
+ /**
490
+ * @generated from field: string proficiency_level = 2;
491
+ */
492
+ proficiencyLevel = "";
493
+
494
+ constructor(data?: PartialMessage<CandidateSkillInput>) {
495
+ super();
496
+ proto3.util.initPartial(data, this);
497
+ }
498
+
499
+ static readonly runtime: typeof proto3 = proto3;
500
+ static readonly typeName = "api.v1.CandidateSkillInput";
501
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
502
+ { no: 1, name: "skill_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
503
+ { no: 2, name: "proficiency_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
504
+ ]);
505
+
506
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateSkillInput {
507
+ return new CandidateSkillInput().fromBinary(bytes, options);
508
+ }
509
+
510
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateSkillInput {
511
+ return new CandidateSkillInput().fromJson(jsonValue, options);
512
+ }
513
+
514
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateSkillInput {
515
+ return new CandidateSkillInput().fromJsonString(jsonString, options);
516
+ }
517
+
518
+ static equals(a: CandidateSkillInput | PlainMessage<CandidateSkillInput> | undefined, b: CandidateSkillInput | PlainMessage<CandidateSkillInput> | undefined): boolean {
519
+ return proto3.util.equals(CandidateSkillInput, a, b);
520
+ }
521
+ }
522
+
523
+ /**
524
+ * @generated from message api.v1.UpdateCandidatePreferencesRequest
525
+ */
526
+ export class UpdateCandidatePreferencesRequest extends Message<UpdateCandidatePreferencesRequest> {
527
+ /**
528
+ * @generated from field: repeated string preferred_job_types = 1;
529
+ */
530
+ preferredJobTypes: string[] = [];
531
+
532
+ /**
533
+ * @generated from field: repeated string preferred_industries = 2;
534
+ */
535
+ preferredIndustries: string[] = [];
536
+
537
+ /**
538
+ * @generated from field: int32 expected_salary_min = 3;
539
+ */
540
+ expectedSalaryMin = 0;
541
+
542
+ /**
543
+ * @generated from field: int32 expected_salary_max = 4;
544
+ */
545
+ expectedSalaryMax = 0;
546
+
547
+ /**
548
+ * @generated from field: string expected_salary_currency = 5;
549
+ */
550
+ expectedSalaryCurrency = "";
551
+
552
+ /**
553
+ * @generated from field: string preferred_work_mode = 6;
554
+ */
555
+ preferredWorkMode = "";
556
+
557
+ /**
558
+ * User ID extracted from auth token
559
+ *
560
+ * @generated from field: string availability = 7;
561
+ */
562
+ availability = "";
563
+
564
+ constructor(data?: PartialMessage<UpdateCandidatePreferencesRequest>) {
565
+ super();
566
+ proto3.util.initPartial(data, this);
567
+ }
568
+
569
+ static readonly runtime: typeof proto3 = proto3;
570
+ static readonly typeName = "api.v1.UpdateCandidatePreferencesRequest";
571
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
572
+ { no: 1, name: "preferred_job_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
573
+ { no: 2, name: "preferred_industries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
574
+ { no: 3, name: "expected_salary_min", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
575
+ { no: 4, name: "expected_salary_max", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
576
+ { no: 5, name: "expected_salary_currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
577
+ { no: 6, name: "preferred_work_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
578
+ { no: 7, name: "availability", kind: "scalar", T: 9 /* ScalarType.STRING */ },
579
+ ]);
580
+
581
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCandidatePreferencesRequest {
582
+ return new UpdateCandidatePreferencesRequest().fromBinary(bytes, options);
583
+ }
584
+
585
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCandidatePreferencesRequest {
586
+ return new UpdateCandidatePreferencesRequest().fromJson(jsonValue, options);
587
+ }
588
+
589
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCandidatePreferencesRequest {
590
+ return new UpdateCandidatePreferencesRequest().fromJsonString(jsonString, options);
591
+ }
592
+
593
+ static equals(a: UpdateCandidatePreferencesRequest | PlainMessage<UpdateCandidatePreferencesRequest> | undefined, b: UpdateCandidatePreferencesRequest | PlainMessage<UpdateCandidatePreferencesRequest> | undefined): boolean {
594
+ return proto3.util.equals(UpdateCandidatePreferencesRequest, a, b);
595
+ }
596
+ }
597
+
598
+ /**
599
+ * @generated from message api.v1.AddCandidateExperienceRequest
600
+ */
601
+ export class AddCandidateExperienceRequest extends Message<AddCandidateExperienceRequest> {
602
+ /**
603
+ * @generated from field: string job_title = 1;
604
+ */
605
+ jobTitle = "";
606
+
607
+ /**
608
+ * @generated from field: string company_name = 2;
609
+ */
610
+ companyName = "";
611
+
612
+ /**
613
+ * @generated from field: string location = 3;
614
+ */
615
+ location = "";
616
+
617
+ /**
618
+ * @generated from field: string start_date = 4;
619
+ */
620
+ startDate = "";
621
+
622
+ /**
623
+ * @generated from field: string end_date = 5;
624
+ */
625
+ endDate = "";
626
+
627
+ /**
628
+ * @generated from field: bool is_current = 6;
629
+ */
630
+ isCurrent = false;
631
+
632
+ /**
633
+ * User ID extracted from auth token
634
+ *
635
+ * @generated from field: string description = 7;
636
+ */
637
+ description = "";
638
+
639
+ constructor(data?: PartialMessage<AddCandidateExperienceRequest>) {
640
+ super();
641
+ proto3.util.initPartial(data, this);
642
+ }
643
+
644
+ static readonly runtime: typeof proto3 = proto3;
645
+ static readonly typeName = "api.v1.AddCandidateExperienceRequest";
646
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
647
+ { no: 1, name: "job_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
648
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
649
+ { no: 3, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
650
+ { no: 4, name: "start_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
651
+ { no: 5, name: "end_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
652
+ { no: 6, name: "is_current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
653
+ { no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
654
+ ]);
655
+
656
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddCandidateExperienceRequest {
657
+ return new AddCandidateExperienceRequest().fromBinary(bytes, options);
658
+ }
659
+
660
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddCandidateExperienceRequest {
661
+ return new AddCandidateExperienceRequest().fromJson(jsonValue, options);
662
+ }
663
+
664
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddCandidateExperienceRequest {
665
+ return new AddCandidateExperienceRequest().fromJsonString(jsonString, options);
666
+ }
667
+
668
+ static equals(a: AddCandidateExperienceRequest | PlainMessage<AddCandidateExperienceRequest> | undefined, b: AddCandidateExperienceRequest | PlainMessage<AddCandidateExperienceRequest> | undefined): boolean {
669
+ return proto3.util.equals(AddCandidateExperienceRequest, a, b);
670
+ }
671
+ }
672
+
673
+ /**
674
+ * @generated from message api.v1.UpdateCandidateExperienceRequest
675
+ */
676
+ export class UpdateCandidateExperienceRequest extends Message<UpdateCandidateExperienceRequest> {
677
+ /**
678
+ * @generated from field: string experience_id = 1;
679
+ */
680
+ experienceId = "";
681
+
682
+ /**
683
+ * @generated from field: string job_title = 2;
684
+ */
685
+ jobTitle = "";
686
+
687
+ /**
688
+ * @generated from field: string company_name = 3;
689
+ */
690
+ companyName = "";
691
+
692
+ /**
693
+ * @generated from field: string location = 4;
694
+ */
695
+ location = "";
696
+
697
+ /**
698
+ * @generated from field: string start_date = 5;
699
+ */
700
+ startDate = "";
701
+
702
+ /**
703
+ * @generated from field: string end_date = 6;
704
+ */
705
+ endDate = "";
706
+
707
+ /**
708
+ * @generated from field: bool is_current = 7;
709
+ */
710
+ isCurrent = false;
711
+
712
+ /**
713
+ * User ID extracted from auth token
714
+ *
715
+ * @generated from field: string description = 8;
716
+ */
717
+ description = "";
718
+
719
+ constructor(data?: PartialMessage<UpdateCandidateExperienceRequest>) {
720
+ super();
721
+ proto3.util.initPartial(data, this);
722
+ }
723
+
724
+ static readonly runtime: typeof proto3 = proto3;
725
+ static readonly typeName = "api.v1.UpdateCandidateExperienceRequest";
726
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
727
+ { no: 1, name: "experience_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
728
+ { no: 2, name: "job_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
729
+ { no: 3, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
730
+ { no: 4, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
731
+ { no: 5, name: "start_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
732
+ { no: 6, name: "end_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
733
+ { no: 7, name: "is_current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
734
+ { no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
735
+ ]);
736
+
737
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCandidateExperienceRequest {
738
+ return new UpdateCandidateExperienceRequest().fromBinary(bytes, options);
739
+ }
740
+
741
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCandidateExperienceRequest {
742
+ return new UpdateCandidateExperienceRequest().fromJson(jsonValue, options);
743
+ }
744
+
745
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCandidateExperienceRequest {
746
+ return new UpdateCandidateExperienceRequest().fromJsonString(jsonString, options);
747
+ }
748
+
749
+ static equals(a: UpdateCandidateExperienceRequest | PlainMessage<UpdateCandidateExperienceRequest> | undefined, b: UpdateCandidateExperienceRequest | PlainMessage<UpdateCandidateExperienceRequest> | undefined): boolean {
750
+ return proto3.util.equals(UpdateCandidateExperienceRequest, a, b);
751
+ }
752
+ }
753
+
754
+ /**
755
+ * @generated from message api.v1.DeleteCandidateExperienceRequest
756
+ */
757
+ export class DeleteCandidateExperienceRequest extends Message<DeleteCandidateExperienceRequest> {
758
+ /**
759
+ * User ID extracted from auth token
760
+ *
761
+ * @generated from field: string experience_id = 1;
762
+ */
763
+ experienceId = "";
764
+
765
+ constructor(data?: PartialMessage<DeleteCandidateExperienceRequest>) {
766
+ super();
767
+ proto3.util.initPartial(data, this);
768
+ }
769
+
770
+ static readonly runtime: typeof proto3 = proto3;
771
+ static readonly typeName = "api.v1.DeleteCandidateExperienceRequest";
772
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
773
+ { no: 1, name: "experience_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
774
+ ]);
775
+
776
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCandidateExperienceRequest {
777
+ return new DeleteCandidateExperienceRequest().fromBinary(bytes, options);
778
+ }
779
+
780
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCandidateExperienceRequest {
781
+ return new DeleteCandidateExperienceRequest().fromJson(jsonValue, options);
782
+ }
783
+
784
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCandidateExperienceRequest {
785
+ return new DeleteCandidateExperienceRequest().fromJsonString(jsonString, options);
786
+ }
787
+
788
+ static equals(a: DeleteCandidateExperienceRequest | PlainMessage<DeleteCandidateExperienceRequest> | undefined, b: DeleteCandidateExperienceRequest | PlainMessage<DeleteCandidateExperienceRequest> | undefined): boolean {
789
+ return proto3.util.equals(DeleteCandidateExperienceRequest, a, b);
790
+ }
791
+ }
792
+
793
+ /**
794
+ * User ID extracted from auth token
795
+ *
796
+ * @generated from message api.v1.CheckApplicationReadyRequest
797
+ */
798
+ export class CheckApplicationReadyRequest extends Message<CheckApplicationReadyRequest> {
799
+ constructor(data?: PartialMessage<CheckApplicationReadyRequest>) {
800
+ super();
801
+ proto3.util.initPartial(data, this);
802
+ }
803
+
804
+ static readonly runtime: typeof proto3 = proto3;
805
+ static readonly typeName = "api.v1.CheckApplicationReadyRequest";
806
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
807
+ ]);
808
+
809
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApplicationReadyRequest {
810
+ return new CheckApplicationReadyRequest().fromBinary(bytes, options);
811
+ }
812
+
813
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApplicationReadyRequest {
814
+ return new CheckApplicationReadyRequest().fromJson(jsonValue, options);
815
+ }
816
+
817
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApplicationReadyRequest {
818
+ return new CheckApplicationReadyRequest().fromJsonString(jsonString, options);
819
+ }
820
+
821
+ static equals(a: CheckApplicationReadyRequest | PlainMessage<CheckApplicationReadyRequest> | undefined, b: CheckApplicationReadyRequest | PlainMessage<CheckApplicationReadyRequest> | undefined): boolean {
822
+ return proto3.util.equals(CheckApplicationReadyRequest, a, b);
823
+ }
824
+ }
825
+
826
+ /**
827
+ * @generated from message api.v1.CheckApplicationReadyResponse
828
+ */
829
+ export class CheckApplicationReadyResponse extends Message<CheckApplicationReadyResponse> {
830
+ /**
831
+ * @generated from field: bool can_apply = 1;
832
+ */
833
+ canApply = false;
834
+
835
+ /**
836
+ * @generated from field: repeated string missing_fields = 2;
837
+ */
838
+ missingFields: string[] = [];
839
+
840
+ /**
841
+ * @generated from field: int32 completion_percentage = 3;
842
+ */
843
+ completionPercentage = 0;
844
+
845
+ constructor(data?: PartialMessage<CheckApplicationReadyResponse>) {
846
+ super();
847
+ proto3.util.initPartial(data, this);
848
+ }
849
+
850
+ static readonly runtime: typeof proto3 = proto3;
851
+ static readonly typeName = "api.v1.CheckApplicationReadyResponse";
852
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
853
+ { no: 1, name: "can_apply", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
854
+ { no: 2, name: "missing_fields", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
855
+ { no: 3, name: "completion_percentage", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
856
+ ]);
857
+
858
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApplicationReadyResponse {
859
+ return new CheckApplicationReadyResponse().fromBinary(bytes, options);
860
+ }
861
+
862
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApplicationReadyResponse {
863
+ return new CheckApplicationReadyResponse().fromJson(jsonValue, options);
864
+ }
865
+
866
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApplicationReadyResponse {
867
+ return new CheckApplicationReadyResponse().fromJsonString(jsonString, options);
868
+ }
869
+
870
+ static equals(a: CheckApplicationReadyResponse | PlainMessage<CheckApplicationReadyResponse> | undefined, b: CheckApplicationReadyResponse | PlainMessage<CheckApplicationReadyResponse> | undefined): boolean {
871
+ return proto3.util.equals(CheckApplicationReadyResponse, a, b);
872
+ }
873
+ }
874
+
875
+ /**
876
+ * User ID extracted from auth token
877
+ *
878
+ * @generated from message api.v1.GetCandidateOnboardingStatusRequest
879
+ */
880
+ export class GetCandidateOnboardingStatusRequest extends Message<GetCandidateOnboardingStatusRequest> {
881
+ constructor(data?: PartialMessage<GetCandidateOnboardingStatusRequest>) {
882
+ super();
883
+ proto3.util.initPartial(data, this);
884
+ }
885
+
886
+ static readonly runtime: typeof proto3 = proto3;
887
+ static readonly typeName = "api.v1.GetCandidateOnboardingStatusRequest";
888
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
889
+ ]);
890
+
891
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCandidateOnboardingStatusRequest {
892
+ return new GetCandidateOnboardingStatusRequest().fromBinary(bytes, options);
893
+ }
894
+
895
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCandidateOnboardingStatusRequest {
896
+ return new GetCandidateOnboardingStatusRequest().fromJson(jsonValue, options);
897
+ }
898
+
899
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCandidateOnboardingStatusRequest {
900
+ return new GetCandidateOnboardingStatusRequest().fromJsonString(jsonString, options);
901
+ }
902
+
903
+ static equals(a: GetCandidateOnboardingStatusRequest | PlainMessage<GetCandidateOnboardingStatusRequest> | undefined, b: GetCandidateOnboardingStatusRequest | PlainMessage<GetCandidateOnboardingStatusRequest> | undefined): boolean {
904
+ return proto3.util.equals(GetCandidateOnboardingStatusRequest, a, b);
905
+ }
906
+ }
907
+
908
+ /**
909
+ * @generated from message api.v1.SubmitCandidateBasicProfileRequest
910
+ */
911
+ export class SubmitCandidateBasicProfileRequest extends Message<SubmitCandidateBasicProfileRequest> {
912
+ /**
913
+ * @generated from field: string professional_headline = 1;
914
+ */
915
+ professionalHeadline = "";
916
+
917
+ /**
918
+ * @generated from field: string phone = 2;
919
+ */
920
+ phone = "";
921
+
922
+ /**
923
+ * @generated from field: string location_city = 3;
924
+ */
925
+ locationCity = "";
926
+
927
+ /**
928
+ * User ID extracted from auth token
929
+ *
930
+ * @generated from field: string location_country = 4;
931
+ */
932
+ locationCountry = "";
933
+
934
+ constructor(data?: PartialMessage<SubmitCandidateBasicProfileRequest>) {
935
+ super();
936
+ proto3.util.initPartial(data, this);
937
+ }
938
+
939
+ static readonly runtime: typeof proto3 = proto3;
940
+ static readonly typeName = "api.v1.SubmitCandidateBasicProfileRequest";
941
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
942
+ { no: 1, name: "professional_headline", kind: "scalar", T: 9 /* ScalarType.STRING */ },
943
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
944
+ { no: 3, name: "location_city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
945
+ { no: 4, name: "location_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
946
+ ]);
947
+
948
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCandidateBasicProfileRequest {
949
+ return new SubmitCandidateBasicProfileRequest().fromBinary(bytes, options);
950
+ }
951
+
952
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCandidateBasicProfileRequest {
953
+ return new SubmitCandidateBasicProfileRequest().fromJson(jsonValue, options);
954
+ }
955
+
956
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCandidateBasicProfileRequest {
957
+ return new SubmitCandidateBasicProfileRequest().fromJsonString(jsonString, options);
958
+ }
959
+
960
+ static equals(a: SubmitCandidateBasicProfileRequest | PlainMessage<SubmitCandidateBasicProfileRequest> | undefined, b: SubmitCandidateBasicProfileRequest | PlainMessage<SubmitCandidateBasicProfileRequest> | undefined): boolean {
961
+ return proto3.util.equals(SubmitCandidateBasicProfileRequest, a, b);
962
+ }
963
+ }
964
+
965
+ /**
966
+ * @generated from message api.v1.SubmitCandidateResumeRequest
967
+ */
968
+ export class SubmitCandidateResumeRequest extends Message<SubmitCandidateResumeRequest> {
969
+ /**
970
+ * @generated from field: string resume_url = 1;
971
+ */
972
+ resumeUrl = "";
973
+
974
+ /**
975
+ * User ID extracted from auth token
976
+ *
977
+ * @generated from field: string resume_filename = 2;
978
+ */
979
+ resumeFilename = "";
980
+
981
+ constructor(data?: PartialMessage<SubmitCandidateResumeRequest>) {
982
+ super();
983
+ proto3.util.initPartial(data, this);
984
+ }
985
+
986
+ static readonly runtime: typeof proto3 = proto3;
987
+ static readonly typeName = "api.v1.SubmitCandidateResumeRequest";
988
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
989
+ { no: 1, name: "resume_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
990
+ { no: 2, name: "resume_filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
991
+ ]);
992
+
993
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCandidateResumeRequest {
994
+ return new SubmitCandidateResumeRequest().fromBinary(bytes, options);
995
+ }
996
+
997
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCandidateResumeRequest {
998
+ return new SubmitCandidateResumeRequest().fromJson(jsonValue, options);
999
+ }
1000
+
1001
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCandidateResumeRequest {
1002
+ return new SubmitCandidateResumeRequest().fromJsonString(jsonString, options);
1003
+ }
1004
+
1005
+ static equals(a: SubmitCandidateResumeRequest | PlainMessage<SubmitCandidateResumeRequest> | undefined, b: SubmitCandidateResumeRequest | PlainMessage<SubmitCandidateResumeRequest> | undefined): boolean {
1006
+ return proto3.util.equals(SubmitCandidateResumeRequest, a, b);
1007
+ }
1008
+ }
1009
+
1010
+ /**
1011
+ * @generated from message api.v1.SubmitCandidateSkillsRequest
1012
+ */
1013
+ export class SubmitCandidateSkillsRequest extends Message<SubmitCandidateSkillsRequest> {
1014
+ /**
1015
+ * User ID extracted from auth token
1016
+ *
1017
+ * @generated from field: repeated api.v1.CandidateSkillInput skills = 1;
1018
+ */
1019
+ skills: CandidateSkillInput[] = [];
1020
+
1021
+ constructor(data?: PartialMessage<SubmitCandidateSkillsRequest>) {
1022
+ super();
1023
+ proto3.util.initPartial(data, this);
1024
+ }
1025
+
1026
+ static readonly runtime: typeof proto3 = proto3;
1027
+ static readonly typeName = "api.v1.SubmitCandidateSkillsRequest";
1028
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1029
+ { no: 1, name: "skills", kind: "message", T: CandidateSkillInput, repeated: true },
1030
+ ]);
1031
+
1032
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCandidateSkillsRequest {
1033
+ return new SubmitCandidateSkillsRequest().fromBinary(bytes, options);
1034
+ }
1035
+
1036
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCandidateSkillsRequest {
1037
+ return new SubmitCandidateSkillsRequest().fromJson(jsonValue, options);
1038
+ }
1039
+
1040
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCandidateSkillsRequest {
1041
+ return new SubmitCandidateSkillsRequest().fromJsonString(jsonString, options);
1042
+ }
1043
+
1044
+ static equals(a: SubmitCandidateSkillsRequest | PlainMessage<SubmitCandidateSkillsRequest> | undefined, b: SubmitCandidateSkillsRequest | PlainMessage<SubmitCandidateSkillsRequest> | undefined): boolean {
1045
+ return proto3.util.equals(SubmitCandidateSkillsRequest, a, b);
1046
+ }
1047
+ }
1048
+
1049
+ /**
1050
+ * @generated from message api.v1.SubmitCandidateExperienceRequest
1051
+ */
1052
+ export class SubmitCandidateExperienceRequest extends Message<SubmitCandidateExperienceRequest> {
1053
+ /**
1054
+ * @generated from field: string job_title = 1;
1055
+ */
1056
+ jobTitle = "";
1057
+
1058
+ /**
1059
+ * @generated from field: string company_name = 2;
1060
+ */
1061
+ companyName = "";
1062
+
1063
+ /**
1064
+ * @generated from field: string location = 3;
1065
+ */
1066
+ location = "";
1067
+
1068
+ /**
1069
+ * @generated from field: string start_date = 4;
1070
+ */
1071
+ startDate = "";
1072
+
1073
+ /**
1074
+ * @generated from field: string end_date = 5;
1075
+ */
1076
+ endDate = "";
1077
+
1078
+ /**
1079
+ * @generated from field: bool is_current = 6;
1080
+ */
1081
+ isCurrent = false;
1082
+
1083
+ /**
1084
+ * User ID extracted from auth token
1085
+ *
1086
+ * @generated from field: string description = 7;
1087
+ */
1088
+ description = "";
1089
+
1090
+ constructor(data?: PartialMessage<SubmitCandidateExperienceRequest>) {
1091
+ super();
1092
+ proto3.util.initPartial(data, this);
1093
+ }
1094
+
1095
+ static readonly runtime: typeof proto3 = proto3;
1096
+ static readonly typeName = "api.v1.SubmitCandidateExperienceRequest";
1097
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1098
+ { no: 1, name: "job_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1099
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1100
+ { no: 3, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1101
+ { no: 4, name: "start_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1102
+ { no: 5, name: "end_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1103
+ { no: 6, name: "is_current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1104
+ { no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1105
+ ]);
1106
+
1107
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCandidateExperienceRequest {
1108
+ return new SubmitCandidateExperienceRequest().fromBinary(bytes, options);
1109
+ }
1110
+
1111
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCandidateExperienceRequest {
1112
+ return new SubmitCandidateExperienceRequest().fromJson(jsonValue, options);
1113
+ }
1114
+
1115
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCandidateExperienceRequest {
1116
+ return new SubmitCandidateExperienceRequest().fromJsonString(jsonString, options);
1117
+ }
1118
+
1119
+ static equals(a: SubmitCandidateExperienceRequest | PlainMessage<SubmitCandidateExperienceRequest> | undefined, b: SubmitCandidateExperienceRequest | PlainMessage<SubmitCandidateExperienceRequest> | undefined): boolean {
1120
+ return proto3.util.equals(SubmitCandidateExperienceRequest, a, b);
1121
+ }
1122
+ }
1123
+
1124
+ /**
1125
+ * @generated from message api.v1.SubmitCandidatePreferencesRequest
1126
+ */
1127
+ export class SubmitCandidatePreferencesRequest extends Message<SubmitCandidatePreferencesRequest> {
1128
+ /**
1129
+ * @generated from field: repeated string preferred_job_types = 1;
1130
+ */
1131
+ preferredJobTypes: string[] = [];
1132
+
1133
+ /**
1134
+ * @generated from field: string preferred_work_mode = 2;
1135
+ */
1136
+ preferredWorkMode = "";
1137
+
1138
+ /**
1139
+ * @generated from field: string availability = 3;
1140
+ */
1141
+ availability = "";
1142
+
1143
+ /**
1144
+ * @generated from field: int32 expected_salary_min = 4;
1145
+ */
1146
+ expectedSalaryMin = 0;
1147
+
1148
+ /**
1149
+ * @generated from field: int32 expected_salary_max = 5;
1150
+ */
1151
+ expectedSalaryMax = 0;
1152
+
1153
+ /**
1154
+ * User ID extracted from auth token
1155
+ *
1156
+ * @generated from field: string expected_salary_currency = 6;
1157
+ */
1158
+ expectedSalaryCurrency = "";
1159
+
1160
+ constructor(data?: PartialMessage<SubmitCandidatePreferencesRequest>) {
1161
+ super();
1162
+ proto3.util.initPartial(data, this);
1163
+ }
1164
+
1165
+ static readonly runtime: typeof proto3 = proto3;
1166
+ static readonly typeName = "api.v1.SubmitCandidatePreferencesRequest";
1167
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1168
+ { no: 1, name: "preferred_job_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1169
+ { no: 2, name: "preferred_work_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1170
+ { no: 3, name: "availability", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1171
+ { no: 4, name: "expected_salary_min", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1172
+ { no: 5, name: "expected_salary_max", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1173
+ { no: 6, name: "expected_salary_currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1174
+ ]);
1175
+
1176
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCandidatePreferencesRequest {
1177
+ return new SubmitCandidatePreferencesRequest().fromBinary(bytes, options);
1178
+ }
1179
+
1180
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCandidatePreferencesRequest {
1181
+ return new SubmitCandidatePreferencesRequest().fromJson(jsonValue, options);
1182
+ }
1183
+
1184
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCandidatePreferencesRequest {
1185
+ return new SubmitCandidatePreferencesRequest().fromJsonString(jsonString, options);
1186
+ }
1187
+
1188
+ static equals(a: SubmitCandidatePreferencesRequest | PlainMessage<SubmitCandidatePreferencesRequest> | undefined, b: SubmitCandidatePreferencesRequest | PlainMessage<SubmitCandidatePreferencesRequest> | undefined): boolean {
1189
+ return proto3.util.equals(SubmitCandidatePreferencesRequest, a, b);
1190
+ }
1191
+ }
1192
+