@in-human-resources/backend-proto 0.1.2 → 0.1.4
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.
- package/README.md +85 -82
- package/api/v1/auth.proto +11 -2
- package/api/v1/candidate.proto +8 -1
- package/api/v1/common.proto +3 -0
- package/api/v1/company.proto +8 -1
- package/api/v1/hiring.proto +326 -0
- package/auth/v1/service.proto +824 -824
- package/buf.gen.yaml +5 -2
- package/common/v1/common.proto +10 -10
- package/gen/ts/api/v1/auth_connect.ts +11 -5
- package/gen/ts/api/v1/auth_pb.ts +2 -2
- package/gen/ts/api/v1/candidate_connect.ts +9 -4
- package/gen/ts/api/v1/candidate_pb.ts +1 -1
- package/gen/ts/api/v1/common_pb.ts +1 -1
- package/gen/ts/api/v1/company_connect.ts +9 -4
- package/gen/ts/api/v1/company_pb.ts +1 -1
- package/gen/ts/api/v1/hiring_connect.ts +235 -0
- package/gen/ts/api/v1/hiring_pb.ts +2061 -0
- package/gen/ts/auth/v1/service_connect.ts +16 -16
- package/gen/ts/auth/v1/service_pb.ts +7 -7
- package/gen/ts/common/v1/common_pb.ts +1 -1
- package/gen/ts/hiring/v1/service_connect.ts +191 -0
- package/gen/ts/hiring/v1/service_pb.ts +2079 -0
- package/hiring/v1/service.proto +291 -0
- package/package.json +3 -2
|
@@ -0,0 +1,2079 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file hiring/v1/service.proto (package hiring.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
|
+
* @generated from message hiring.v1.PageRequest
|
|
11
|
+
*/
|
|
12
|
+
export class PageRequest extends Message<PageRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* default 20, max 100
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: int32 page_size = 1;
|
|
17
|
+
*/
|
|
18
|
+
pageSize = 0;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* opaque; empty for first page
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string page_token = 2;
|
|
24
|
+
*/
|
|
25
|
+
pageToken = "";
|
|
26
|
+
|
|
27
|
+
constructor(data?: PartialMessage<PageRequest>) {
|
|
28
|
+
super();
|
|
29
|
+
proto3.util.initPartial(data, this);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
33
|
+
static readonly typeName = "hiring.v1.PageRequest";
|
|
34
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
35
|
+
{ no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
36
|
+
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
|
+
]);
|
|
38
|
+
|
|
39
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PageRequest {
|
|
40
|
+
return new PageRequest().fromBinary(bytes, options);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PageRequest {
|
|
44
|
+
return new PageRequest().fromJson(jsonValue, options);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PageRequest {
|
|
48
|
+
return new PageRequest().fromJsonString(jsonString, options);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static equals(a: PageRequest | PlainMessage<PageRequest> | undefined, b: PageRequest | PlainMessage<PageRequest> | undefined): boolean {
|
|
52
|
+
return proto3.util.equals(PageRequest, a, b);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message hiring.v1.PageResponse
|
|
58
|
+
*/
|
|
59
|
+
export class PageResponse extends Message<PageResponse> {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string next_page_token = 1;
|
|
62
|
+
*/
|
|
63
|
+
nextPageToken = "";
|
|
64
|
+
|
|
65
|
+
constructor(data?: PartialMessage<PageResponse>) {
|
|
66
|
+
super();
|
|
67
|
+
proto3.util.initPartial(data, this);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
71
|
+
static readonly typeName = "hiring.v1.PageResponse";
|
|
72
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
73
|
+
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
74
|
+
]);
|
|
75
|
+
|
|
76
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PageResponse {
|
|
77
|
+
return new PageResponse().fromBinary(bytes, options);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PageResponse {
|
|
81
|
+
return new PageResponse().fromJson(jsonValue, options);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PageResponse {
|
|
85
|
+
return new PageResponse().fromJsonString(jsonString, options);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static equals(a: PageResponse | PlainMessage<PageResponse> | undefined, b: PageResponse | PlainMessage<PageResponse> | undefined): boolean {
|
|
89
|
+
return proto3.util.equals(PageResponse, a, b);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message hiring.v1.CreateJobRequest
|
|
95
|
+
*/
|
|
96
|
+
export class CreateJobRequest extends Message<CreateJobRequest> {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string title = 1;
|
|
99
|
+
*/
|
|
100
|
+
title = "";
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: string description = 2;
|
|
104
|
+
*/
|
|
105
|
+
description = "";
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string public_slug = 3;
|
|
109
|
+
*/
|
|
110
|
+
publicSlug = "";
|
|
111
|
+
|
|
112
|
+
constructor(data?: PartialMessage<CreateJobRequest>) {
|
|
113
|
+
super();
|
|
114
|
+
proto3.util.initPartial(data, this);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
118
|
+
static readonly typeName = "hiring.v1.CreateJobRequest";
|
|
119
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
120
|
+
{ no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
122
|
+
{ no: 3, name: "public_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
123
|
+
]);
|
|
124
|
+
|
|
125
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateJobRequest {
|
|
126
|
+
return new CreateJobRequest().fromBinary(bytes, options);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateJobRequest {
|
|
130
|
+
return new CreateJobRequest().fromJson(jsonValue, options);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateJobRequest {
|
|
134
|
+
return new CreateJobRequest().fromJsonString(jsonString, options);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static equals(a: CreateJobRequest | PlainMessage<CreateJobRequest> | undefined, b: CreateJobRequest | PlainMessage<CreateJobRequest> | undefined): boolean {
|
|
138
|
+
return proto3.util.equals(CreateJobRequest, a, b);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message hiring.v1.CreateJobResponse
|
|
144
|
+
*/
|
|
145
|
+
export class CreateJobResponse extends Message<CreateJobResponse> {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string job_id = 1;
|
|
148
|
+
*/
|
|
149
|
+
jobId = "";
|
|
150
|
+
|
|
151
|
+
constructor(data?: PartialMessage<CreateJobResponse>) {
|
|
152
|
+
super();
|
|
153
|
+
proto3.util.initPartial(data, this);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
157
|
+
static readonly typeName = "hiring.v1.CreateJobResponse";
|
|
158
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
159
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
|
+
]);
|
|
161
|
+
|
|
162
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateJobResponse {
|
|
163
|
+
return new CreateJobResponse().fromBinary(bytes, options);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateJobResponse {
|
|
167
|
+
return new CreateJobResponse().fromJson(jsonValue, options);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateJobResponse {
|
|
171
|
+
return new CreateJobResponse().fromJsonString(jsonString, options);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
static equals(a: CreateJobResponse | PlainMessage<CreateJobResponse> | undefined, b: CreateJobResponse | PlainMessage<CreateJobResponse> | undefined): boolean {
|
|
175
|
+
return proto3.util.equals(CreateJobResponse, a, b);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from message hiring.v1.PublishJobRequest
|
|
181
|
+
*/
|
|
182
|
+
export class PublishJobRequest extends Message<PublishJobRequest> {
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string job_id = 1;
|
|
185
|
+
*/
|
|
186
|
+
jobId = "";
|
|
187
|
+
|
|
188
|
+
constructor(data?: PartialMessage<PublishJobRequest>) {
|
|
189
|
+
super();
|
|
190
|
+
proto3.util.initPartial(data, this);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
194
|
+
static readonly typeName = "hiring.v1.PublishJobRequest";
|
|
195
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
196
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
]);
|
|
198
|
+
|
|
199
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishJobRequest {
|
|
200
|
+
return new PublishJobRequest().fromBinary(bytes, options);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishJobRequest {
|
|
204
|
+
return new PublishJobRequest().fromJson(jsonValue, options);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishJobRequest {
|
|
208
|
+
return new PublishJobRequest().fromJsonString(jsonString, options);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
static equals(a: PublishJobRequest | PlainMessage<PublishJobRequest> | undefined, b: PublishJobRequest | PlainMessage<PublishJobRequest> | undefined): boolean {
|
|
212
|
+
return proto3.util.equals(PublishJobRequest, a, b);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message hiring.v1.PublishJobResponse
|
|
218
|
+
*/
|
|
219
|
+
export class PublishJobResponse extends Message<PublishJobResponse> {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string status = 1;
|
|
222
|
+
*/
|
|
223
|
+
status = "";
|
|
224
|
+
|
|
225
|
+
constructor(data?: PartialMessage<PublishJobResponse>) {
|
|
226
|
+
super();
|
|
227
|
+
proto3.util.initPartial(data, this);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
231
|
+
static readonly typeName = "hiring.v1.PublishJobResponse";
|
|
232
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
233
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
234
|
+
]);
|
|
235
|
+
|
|
236
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishJobResponse {
|
|
237
|
+
return new PublishJobResponse().fromBinary(bytes, options);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishJobResponse {
|
|
241
|
+
return new PublishJobResponse().fromJson(jsonValue, options);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishJobResponse {
|
|
245
|
+
return new PublishJobResponse().fromJsonString(jsonString, options);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
static equals(a: PublishJobResponse | PlainMessage<PublishJobResponse> | undefined, b: PublishJobResponse | PlainMessage<PublishJobResponse> | undefined): boolean {
|
|
249
|
+
return proto3.util.equals(PublishJobResponse, a, b);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from message hiring.v1.GetJobRequest
|
|
255
|
+
*/
|
|
256
|
+
export class GetJobRequest extends Message<GetJobRequest> {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string job_id = 1;
|
|
259
|
+
*/
|
|
260
|
+
jobId = "";
|
|
261
|
+
|
|
262
|
+
constructor(data?: PartialMessage<GetJobRequest>) {
|
|
263
|
+
super();
|
|
264
|
+
proto3.util.initPartial(data, this);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
268
|
+
static readonly typeName = "hiring.v1.GetJobRequest";
|
|
269
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
270
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
271
|
+
]);
|
|
272
|
+
|
|
273
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobRequest {
|
|
274
|
+
return new GetJobRequest().fromBinary(bytes, options);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobRequest {
|
|
278
|
+
return new GetJobRequest().fromJson(jsonValue, options);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobRequest {
|
|
282
|
+
return new GetJobRequest().fromJsonString(jsonString, options);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static equals(a: GetJobRequest | PlainMessage<GetJobRequest> | undefined, b: GetJobRequest | PlainMessage<GetJobRequest> | undefined): boolean {
|
|
286
|
+
return proto3.util.equals(GetJobRequest, a, b);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from message hiring.v1.Job
|
|
292
|
+
*/
|
|
293
|
+
export class Job extends Message<Job> {
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: string job_id = 1;
|
|
296
|
+
*/
|
|
297
|
+
jobId = "";
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: string company_id = 2;
|
|
301
|
+
*/
|
|
302
|
+
companyId = "";
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: string title = 3;
|
|
306
|
+
*/
|
|
307
|
+
title = "";
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: string description = 4;
|
|
311
|
+
*/
|
|
312
|
+
description = "";
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: string status = 5;
|
|
316
|
+
*/
|
|
317
|
+
status = "";
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: string public_slug = 6;
|
|
321
|
+
*/
|
|
322
|
+
publicSlug = "";
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: string requirements = 7;
|
|
326
|
+
*/
|
|
327
|
+
requirements = "";
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: string team_metadata_json = 8;
|
|
331
|
+
*/
|
|
332
|
+
teamMetadataJson = "";
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string created_at = 9;
|
|
336
|
+
*/
|
|
337
|
+
createdAt = "";
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: string updated_at = 10;
|
|
341
|
+
*/
|
|
342
|
+
updatedAt = "";
|
|
343
|
+
|
|
344
|
+
constructor(data?: PartialMessage<Job>) {
|
|
345
|
+
super();
|
|
346
|
+
proto3.util.initPartial(data, this);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
350
|
+
static readonly typeName = "hiring.v1.Job";
|
|
351
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
352
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
353
|
+
{ no: 2, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
354
|
+
{ no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
355
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
|
+
{ no: 5, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
+
{ no: 6, name: "public_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
358
|
+
{ no: 7, name: "requirements", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
359
|
+
{ no: 8, name: "team_metadata_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
360
|
+
{ no: 9, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
361
|
+
{ no: 10, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
362
|
+
]);
|
|
363
|
+
|
|
364
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job {
|
|
365
|
+
return new Job().fromBinary(bytes, options);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job {
|
|
369
|
+
return new Job().fromJson(jsonValue, options);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job {
|
|
373
|
+
return new Job().fromJsonString(jsonString, options);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean {
|
|
377
|
+
return proto3.util.equals(Job, a, b);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @generated from message hiring.v1.GetJobResponse
|
|
383
|
+
*/
|
|
384
|
+
export class GetJobResponse extends Message<GetJobResponse> {
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: string job_id = 1;
|
|
387
|
+
*/
|
|
388
|
+
jobId = "";
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: string company_id = 2;
|
|
392
|
+
*/
|
|
393
|
+
companyId = "";
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: string title = 3;
|
|
397
|
+
*/
|
|
398
|
+
title = "";
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: string description = 4;
|
|
402
|
+
*/
|
|
403
|
+
description = "";
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string status = 5;
|
|
407
|
+
*/
|
|
408
|
+
status = "";
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: string public_slug = 6;
|
|
412
|
+
*/
|
|
413
|
+
publicSlug = "";
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: string requirements = 7;
|
|
417
|
+
*/
|
|
418
|
+
requirements = "";
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: string team_metadata_json = 8;
|
|
422
|
+
*/
|
|
423
|
+
teamMetadataJson = "";
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: string created_at = 9;
|
|
427
|
+
*/
|
|
428
|
+
createdAt = "";
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: string updated_at = 10;
|
|
432
|
+
*/
|
|
433
|
+
updatedAt = "";
|
|
434
|
+
|
|
435
|
+
constructor(data?: PartialMessage<GetJobResponse>) {
|
|
436
|
+
super();
|
|
437
|
+
proto3.util.initPartial(data, this);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
441
|
+
static readonly typeName = "hiring.v1.GetJobResponse";
|
|
442
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
443
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
444
|
+
{ no: 2, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
445
|
+
{ no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
446
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
447
|
+
{ no: 5, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
448
|
+
{ no: 6, name: "public_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
449
|
+
{ no: 7, name: "requirements", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
450
|
+
{ no: 8, name: "team_metadata_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
451
|
+
{ no: 9, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
452
|
+
{ no: 10, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
453
|
+
]);
|
|
454
|
+
|
|
455
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobResponse {
|
|
456
|
+
return new GetJobResponse().fromBinary(bytes, options);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobResponse {
|
|
460
|
+
return new GetJobResponse().fromJson(jsonValue, options);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobResponse {
|
|
464
|
+
return new GetJobResponse().fromJsonString(jsonString, options);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
static equals(a: GetJobResponse | PlainMessage<GetJobResponse> | undefined, b: GetJobResponse | PlainMessage<GetJobResponse> | undefined): boolean {
|
|
468
|
+
return proto3.util.equals(GetJobResponse, a, b);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @generated from message hiring.v1.ListJobsRequest
|
|
474
|
+
*/
|
|
475
|
+
export class ListJobsRequest extends Message<ListJobsRequest> {
|
|
476
|
+
/**
|
|
477
|
+
* empty = all for company
|
|
478
|
+
*
|
|
479
|
+
* @generated from field: string status_filter = 1;
|
|
480
|
+
*/
|
|
481
|
+
statusFilter = "";
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: hiring.v1.PageRequest page = 2;
|
|
485
|
+
*/
|
|
486
|
+
page?: PageRequest;
|
|
487
|
+
|
|
488
|
+
constructor(data?: PartialMessage<ListJobsRequest>) {
|
|
489
|
+
super();
|
|
490
|
+
proto3.util.initPartial(data, this);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
494
|
+
static readonly typeName = "hiring.v1.ListJobsRequest";
|
|
495
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
496
|
+
{ no: 1, name: "status_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
497
|
+
{ no: 2, name: "page", kind: "message", T: PageRequest },
|
|
498
|
+
]);
|
|
499
|
+
|
|
500
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListJobsRequest {
|
|
501
|
+
return new ListJobsRequest().fromBinary(bytes, options);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListJobsRequest {
|
|
505
|
+
return new ListJobsRequest().fromJson(jsonValue, options);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListJobsRequest {
|
|
509
|
+
return new ListJobsRequest().fromJsonString(jsonString, options);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
static equals(a: ListJobsRequest | PlainMessage<ListJobsRequest> | undefined, b: ListJobsRequest | PlainMessage<ListJobsRequest> | undefined): boolean {
|
|
513
|
+
return proto3.util.equals(ListJobsRequest, a, b);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @generated from message hiring.v1.ListJobsResponse
|
|
519
|
+
*/
|
|
520
|
+
export class ListJobsResponse extends Message<ListJobsResponse> {
|
|
521
|
+
/**
|
|
522
|
+
* @generated from field: repeated hiring.v1.Job jobs = 1;
|
|
523
|
+
*/
|
|
524
|
+
jobs: Job[] = [];
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
528
|
+
*/
|
|
529
|
+
page?: PageResponse;
|
|
530
|
+
|
|
531
|
+
constructor(data?: PartialMessage<ListJobsResponse>) {
|
|
532
|
+
super();
|
|
533
|
+
proto3.util.initPartial(data, this);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
537
|
+
static readonly typeName = "hiring.v1.ListJobsResponse";
|
|
538
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
539
|
+
{ no: 1, name: "jobs", kind: "message", T: Job, repeated: true },
|
|
540
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
541
|
+
]);
|
|
542
|
+
|
|
543
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListJobsResponse {
|
|
544
|
+
return new ListJobsResponse().fromBinary(bytes, options);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListJobsResponse {
|
|
548
|
+
return new ListJobsResponse().fromJson(jsonValue, options);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListJobsResponse {
|
|
552
|
+
return new ListJobsResponse().fromJsonString(jsonString, options);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
static equals(a: ListJobsResponse | PlainMessage<ListJobsResponse> | undefined, b: ListJobsResponse | PlainMessage<ListJobsResponse> | undefined): boolean {
|
|
556
|
+
return proto3.util.equals(ListJobsResponse, a, b);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from message hiring.v1.SearchJobsRequest
|
|
562
|
+
*/
|
|
563
|
+
export class SearchJobsRequest extends Message<SearchJobsRequest> {
|
|
564
|
+
/**
|
|
565
|
+
* @generated from field: string query = 1;
|
|
566
|
+
*/
|
|
567
|
+
query = "";
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: hiring.v1.PageRequest page = 2;
|
|
571
|
+
*/
|
|
572
|
+
page?: PageRequest;
|
|
573
|
+
|
|
574
|
+
constructor(data?: PartialMessage<SearchJobsRequest>) {
|
|
575
|
+
super();
|
|
576
|
+
proto3.util.initPartial(data, this);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
580
|
+
static readonly typeName = "hiring.v1.SearchJobsRequest";
|
|
581
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
582
|
+
{ no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
583
|
+
{ no: 2, name: "page", kind: "message", T: PageRequest },
|
|
584
|
+
]);
|
|
585
|
+
|
|
586
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchJobsRequest {
|
|
587
|
+
return new SearchJobsRequest().fromBinary(bytes, options);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchJobsRequest {
|
|
591
|
+
return new SearchJobsRequest().fromJson(jsonValue, options);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchJobsRequest {
|
|
595
|
+
return new SearchJobsRequest().fromJsonString(jsonString, options);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
static equals(a: SearchJobsRequest | PlainMessage<SearchJobsRequest> | undefined, b: SearchJobsRequest | PlainMessage<SearchJobsRequest> | undefined): boolean {
|
|
599
|
+
return proto3.util.equals(SearchJobsRequest, a, b);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @generated from message hiring.v1.SearchJobsResponse
|
|
605
|
+
*/
|
|
606
|
+
export class SearchJobsResponse extends Message<SearchJobsResponse> {
|
|
607
|
+
/**
|
|
608
|
+
* @generated from field: repeated hiring.v1.Job jobs = 1;
|
|
609
|
+
*/
|
|
610
|
+
jobs: Job[] = [];
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
614
|
+
*/
|
|
615
|
+
page?: PageResponse;
|
|
616
|
+
|
|
617
|
+
constructor(data?: PartialMessage<SearchJobsResponse>) {
|
|
618
|
+
super();
|
|
619
|
+
proto3.util.initPartial(data, this);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
623
|
+
static readonly typeName = "hiring.v1.SearchJobsResponse";
|
|
624
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
625
|
+
{ no: 1, name: "jobs", kind: "message", T: Job, repeated: true },
|
|
626
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
627
|
+
]);
|
|
628
|
+
|
|
629
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchJobsResponse {
|
|
630
|
+
return new SearchJobsResponse().fromBinary(bytes, options);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchJobsResponse {
|
|
634
|
+
return new SearchJobsResponse().fromJson(jsonValue, options);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchJobsResponse {
|
|
638
|
+
return new SearchJobsResponse().fromJsonString(jsonString, options);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
static equals(a: SearchJobsResponse | PlainMessage<SearchJobsResponse> | undefined, b: SearchJobsResponse | PlainMessage<SearchJobsResponse> | undefined): boolean {
|
|
642
|
+
return proto3.util.equals(SearchJobsResponse, a, b);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* @generated from message hiring.v1.UpdateJobRequest
|
|
648
|
+
*/
|
|
649
|
+
export class UpdateJobRequest extends Message<UpdateJobRequest> {
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: string job_id = 1;
|
|
652
|
+
*/
|
|
653
|
+
jobId = "";
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: string title = 2;
|
|
657
|
+
*/
|
|
658
|
+
title = "";
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @generated from field: string description = 3;
|
|
662
|
+
*/
|
|
663
|
+
description = "";
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @generated from field: string public_slug = 4;
|
|
667
|
+
*/
|
|
668
|
+
publicSlug = "";
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: string requirements = 5;
|
|
672
|
+
*/
|
|
673
|
+
requirements = "";
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* @generated from field: string team_metadata_json = 6;
|
|
677
|
+
*/
|
|
678
|
+
teamMetadataJson = "";
|
|
679
|
+
|
|
680
|
+
constructor(data?: PartialMessage<UpdateJobRequest>) {
|
|
681
|
+
super();
|
|
682
|
+
proto3.util.initPartial(data, this);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
686
|
+
static readonly typeName = "hiring.v1.UpdateJobRequest";
|
|
687
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
688
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
689
|
+
{ no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
690
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
691
|
+
{ no: 4, name: "public_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
692
|
+
{ no: 5, name: "requirements", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
693
|
+
{ no: 6, name: "team_metadata_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
694
|
+
]);
|
|
695
|
+
|
|
696
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobRequest {
|
|
697
|
+
return new UpdateJobRequest().fromBinary(bytes, options);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobRequest {
|
|
701
|
+
return new UpdateJobRequest().fromJson(jsonValue, options);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobRequest {
|
|
705
|
+
return new UpdateJobRequest().fromJsonString(jsonString, options);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
static equals(a: UpdateJobRequest | PlainMessage<UpdateJobRequest> | undefined, b: UpdateJobRequest | PlainMessage<UpdateJobRequest> | undefined): boolean {
|
|
709
|
+
return proto3.util.equals(UpdateJobRequest, a, b);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @generated from message hiring.v1.UpdateJobResponse
|
|
715
|
+
*/
|
|
716
|
+
export class UpdateJobResponse extends Message<UpdateJobResponse> {
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: hiring.v1.Job job = 1;
|
|
719
|
+
*/
|
|
720
|
+
job?: Job;
|
|
721
|
+
|
|
722
|
+
constructor(data?: PartialMessage<UpdateJobResponse>) {
|
|
723
|
+
super();
|
|
724
|
+
proto3.util.initPartial(data, this);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
728
|
+
static readonly typeName = "hiring.v1.UpdateJobResponse";
|
|
729
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
730
|
+
{ no: 1, name: "job", kind: "message", T: Job },
|
|
731
|
+
]);
|
|
732
|
+
|
|
733
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobResponse {
|
|
734
|
+
return new UpdateJobResponse().fromBinary(bytes, options);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobResponse {
|
|
738
|
+
return new UpdateJobResponse().fromJson(jsonValue, options);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobResponse {
|
|
742
|
+
return new UpdateJobResponse().fromJsonString(jsonString, options);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
static equals(a: UpdateJobResponse | PlainMessage<UpdateJobResponse> | undefined, b: UpdateJobResponse | PlainMessage<UpdateJobResponse> | undefined): boolean {
|
|
746
|
+
return proto3.util.equals(UpdateJobResponse, a, b);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* @generated from message hiring.v1.CloseJobRequest
|
|
752
|
+
*/
|
|
753
|
+
export class CloseJobRequest extends Message<CloseJobRequest> {
|
|
754
|
+
/**
|
|
755
|
+
* @generated from field: string job_id = 1;
|
|
756
|
+
*/
|
|
757
|
+
jobId = "";
|
|
758
|
+
|
|
759
|
+
constructor(data?: PartialMessage<CloseJobRequest>) {
|
|
760
|
+
super();
|
|
761
|
+
proto3.util.initPartial(data, this);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
765
|
+
static readonly typeName = "hiring.v1.CloseJobRequest";
|
|
766
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
767
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
768
|
+
]);
|
|
769
|
+
|
|
770
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CloseJobRequest {
|
|
771
|
+
return new CloseJobRequest().fromBinary(bytes, options);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CloseJobRequest {
|
|
775
|
+
return new CloseJobRequest().fromJson(jsonValue, options);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CloseJobRequest {
|
|
779
|
+
return new CloseJobRequest().fromJsonString(jsonString, options);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
static equals(a: CloseJobRequest | PlainMessage<CloseJobRequest> | undefined, b: CloseJobRequest | PlainMessage<CloseJobRequest> | undefined): boolean {
|
|
783
|
+
return proto3.util.equals(CloseJobRequest, a, b);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* @generated from message hiring.v1.CloseJobResponse
|
|
789
|
+
*/
|
|
790
|
+
export class CloseJobResponse extends Message<CloseJobResponse> {
|
|
791
|
+
/**
|
|
792
|
+
* @generated from field: string status = 1;
|
|
793
|
+
*/
|
|
794
|
+
status = "";
|
|
795
|
+
|
|
796
|
+
constructor(data?: PartialMessage<CloseJobResponse>) {
|
|
797
|
+
super();
|
|
798
|
+
proto3.util.initPartial(data, this);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
802
|
+
static readonly typeName = "hiring.v1.CloseJobResponse";
|
|
803
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
804
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
805
|
+
]);
|
|
806
|
+
|
|
807
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CloseJobResponse {
|
|
808
|
+
return new CloseJobResponse().fromBinary(bytes, options);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CloseJobResponse {
|
|
812
|
+
return new CloseJobResponse().fromJson(jsonValue, options);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CloseJobResponse {
|
|
816
|
+
return new CloseJobResponse().fromJsonString(jsonString, options);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
static equals(a: CloseJobResponse | PlainMessage<CloseJobResponse> | undefined, b: CloseJobResponse | PlainMessage<CloseJobResponse> | undefined): boolean {
|
|
820
|
+
return proto3.util.equals(CloseJobResponse, a, b);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* @generated from message hiring.v1.ApplyToJobRequest
|
|
826
|
+
*/
|
|
827
|
+
export class ApplyToJobRequest extends Message<ApplyToJobRequest> {
|
|
828
|
+
/**
|
|
829
|
+
* @generated from field: string job_id = 1;
|
|
830
|
+
*/
|
|
831
|
+
jobId = "";
|
|
832
|
+
|
|
833
|
+
constructor(data?: PartialMessage<ApplyToJobRequest>) {
|
|
834
|
+
super();
|
|
835
|
+
proto3.util.initPartial(data, this);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
839
|
+
static readonly typeName = "hiring.v1.ApplyToJobRequest";
|
|
840
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
841
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
842
|
+
]);
|
|
843
|
+
|
|
844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyToJobRequest {
|
|
845
|
+
return new ApplyToJobRequest().fromBinary(bytes, options);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyToJobRequest {
|
|
849
|
+
return new ApplyToJobRequest().fromJson(jsonValue, options);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyToJobRequest {
|
|
853
|
+
return new ApplyToJobRequest().fromJsonString(jsonString, options);
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
static equals(a: ApplyToJobRequest | PlainMessage<ApplyToJobRequest> | undefined, b: ApplyToJobRequest | PlainMessage<ApplyToJobRequest> | undefined): boolean {
|
|
857
|
+
return proto3.util.equals(ApplyToJobRequest, a, b);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* @generated from message hiring.v1.ApplyToJobResponse
|
|
863
|
+
*/
|
|
864
|
+
export class ApplyToJobResponse extends Message<ApplyToJobResponse> {
|
|
865
|
+
/**
|
|
866
|
+
* @generated from field: string application_id = 1;
|
|
867
|
+
*/
|
|
868
|
+
applicationId = "";
|
|
869
|
+
|
|
870
|
+
constructor(data?: PartialMessage<ApplyToJobResponse>) {
|
|
871
|
+
super();
|
|
872
|
+
proto3.util.initPartial(data, this);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
876
|
+
static readonly typeName = "hiring.v1.ApplyToJobResponse";
|
|
877
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
878
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
879
|
+
]);
|
|
880
|
+
|
|
881
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyToJobResponse {
|
|
882
|
+
return new ApplyToJobResponse().fromBinary(bytes, options);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyToJobResponse {
|
|
886
|
+
return new ApplyToJobResponse().fromJson(jsonValue, options);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyToJobResponse {
|
|
890
|
+
return new ApplyToJobResponse().fromJsonString(jsonString, options);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
static equals(a: ApplyToJobResponse | PlainMessage<ApplyToJobResponse> | undefined, b: ApplyToJobResponse | PlainMessage<ApplyToJobResponse> | undefined): boolean {
|
|
894
|
+
return proto3.util.equals(ApplyToJobResponse, a, b);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @generated from message hiring.v1.Application
|
|
900
|
+
*/
|
|
901
|
+
export class Application extends Message<Application> {
|
|
902
|
+
/**
|
|
903
|
+
* @generated from field: string application_id = 1;
|
|
904
|
+
*/
|
|
905
|
+
applicationId = "";
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* @generated from field: string job_id = 2;
|
|
909
|
+
*/
|
|
910
|
+
jobId = "";
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* @generated from field: string candidate_user_id = 3;
|
|
914
|
+
*/
|
|
915
|
+
candidateUserId = "";
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string current_stage = 4;
|
|
919
|
+
*/
|
|
920
|
+
currentStage = "";
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* @generated from field: string applied_at = 5;
|
|
924
|
+
*/
|
|
925
|
+
appliedAt = "";
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* @generated from field: string job_title = 6;
|
|
929
|
+
*/
|
|
930
|
+
jobTitle = "";
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* @generated from field: string company_id = 7;
|
|
934
|
+
*/
|
|
935
|
+
companyId = "";
|
|
936
|
+
|
|
937
|
+
constructor(data?: PartialMessage<Application>) {
|
|
938
|
+
super();
|
|
939
|
+
proto3.util.initPartial(data, this);
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
943
|
+
static readonly typeName = "hiring.v1.Application";
|
|
944
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
945
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
946
|
+
{ no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
947
|
+
{ no: 3, name: "candidate_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
948
|
+
{ no: 4, name: "current_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
949
|
+
{ no: 5, name: "applied_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
950
|
+
{ no: 6, name: "job_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
951
|
+
{ no: 7, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
952
|
+
]);
|
|
953
|
+
|
|
954
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Application {
|
|
955
|
+
return new Application().fromBinary(bytes, options);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Application {
|
|
959
|
+
return new Application().fromJson(jsonValue, options);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Application {
|
|
963
|
+
return new Application().fromJsonString(jsonString, options);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
static equals(a: Application | PlainMessage<Application> | undefined, b: Application | PlainMessage<Application> | undefined): boolean {
|
|
967
|
+
return proto3.util.equals(Application, a, b);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* @generated from message hiring.v1.GetApplicationRequest
|
|
973
|
+
*/
|
|
974
|
+
export class GetApplicationRequest extends Message<GetApplicationRequest> {
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: string application_id = 1;
|
|
977
|
+
*/
|
|
978
|
+
applicationId = "";
|
|
979
|
+
|
|
980
|
+
constructor(data?: PartialMessage<GetApplicationRequest>) {
|
|
981
|
+
super();
|
|
982
|
+
proto3.util.initPartial(data, this);
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
986
|
+
static readonly typeName = "hiring.v1.GetApplicationRequest";
|
|
987
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
988
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
989
|
+
]);
|
|
990
|
+
|
|
991
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetApplicationRequest {
|
|
992
|
+
return new GetApplicationRequest().fromBinary(bytes, options);
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetApplicationRequest {
|
|
996
|
+
return new GetApplicationRequest().fromJson(jsonValue, options);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetApplicationRequest {
|
|
1000
|
+
return new GetApplicationRequest().fromJsonString(jsonString, options);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
static equals(a: GetApplicationRequest | PlainMessage<GetApplicationRequest> | undefined, b: GetApplicationRequest | PlainMessage<GetApplicationRequest> | undefined): boolean {
|
|
1004
|
+
return proto3.util.equals(GetApplicationRequest, a, b);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* @generated from message hiring.v1.GetApplicationResponse
|
|
1010
|
+
*/
|
|
1011
|
+
export class GetApplicationResponse extends Message<GetApplicationResponse> {
|
|
1012
|
+
/**
|
|
1013
|
+
* @generated from field: string application_id = 1;
|
|
1014
|
+
*/
|
|
1015
|
+
applicationId = "";
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* @generated from field: string job_id = 2;
|
|
1019
|
+
*/
|
|
1020
|
+
jobId = "";
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @generated from field: string candidate_user_id = 3;
|
|
1024
|
+
*/
|
|
1025
|
+
candidateUserId = "";
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* @generated from field: string current_stage = 4;
|
|
1029
|
+
*/
|
|
1030
|
+
currentStage = "";
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* @generated from field: string applied_at = 5;
|
|
1034
|
+
*/
|
|
1035
|
+
appliedAt = "";
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @generated from field: string requirements = 6;
|
|
1039
|
+
*/
|
|
1040
|
+
requirements = "";
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from field: string team_metadata_json = 7;
|
|
1044
|
+
*/
|
|
1045
|
+
teamMetadataJson = "";
|
|
1046
|
+
|
|
1047
|
+
constructor(data?: PartialMessage<GetApplicationResponse>) {
|
|
1048
|
+
super();
|
|
1049
|
+
proto3.util.initPartial(data, this);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1053
|
+
static readonly typeName = "hiring.v1.GetApplicationResponse";
|
|
1054
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1055
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1056
|
+
{ no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1057
|
+
{ no: 3, name: "candidate_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1058
|
+
{ no: 4, name: "current_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1059
|
+
{ no: 5, name: "applied_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1060
|
+
{ no: 6, name: "requirements", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1061
|
+
{ no: 7, name: "team_metadata_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1062
|
+
]);
|
|
1063
|
+
|
|
1064
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetApplicationResponse {
|
|
1065
|
+
return new GetApplicationResponse().fromBinary(bytes, options);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetApplicationResponse {
|
|
1069
|
+
return new GetApplicationResponse().fromJson(jsonValue, options);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetApplicationResponse {
|
|
1073
|
+
return new GetApplicationResponse().fromJsonString(jsonString, options);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
static equals(a: GetApplicationResponse | PlainMessage<GetApplicationResponse> | undefined, b: GetApplicationResponse | PlainMessage<GetApplicationResponse> | undefined): boolean {
|
|
1077
|
+
return proto3.util.equals(GetApplicationResponse, a, b);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated from message hiring.v1.ListApplicationsRequest
|
|
1083
|
+
*/
|
|
1084
|
+
export class ListApplicationsRequest extends Message<ListApplicationsRequest> {
|
|
1085
|
+
/**
|
|
1086
|
+
* filter by job status or application stage — optional stage substring
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from field: string status_filter = 1;
|
|
1089
|
+
*/
|
|
1090
|
+
statusFilter = "";
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from field: string stage_filter = 2;
|
|
1094
|
+
*/
|
|
1095
|
+
stageFilter = "";
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* @generated from field: hiring.v1.PageRequest page = 3;
|
|
1099
|
+
*/
|
|
1100
|
+
page?: PageRequest;
|
|
1101
|
+
|
|
1102
|
+
constructor(data?: PartialMessage<ListApplicationsRequest>) {
|
|
1103
|
+
super();
|
|
1104
|
+
proto3.util.initPartial(data, this);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1108
|
+
static readonly typeName = "hiring.v1.ListApplicationsRequest";
|
|
1109
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1110
|
+
{ no: 1, name: "status_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1111
|
+
{ no: 2, name: "stage_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1112
|
+
{ no: 3, name: "page", kind: "message", T: PageRequest },
|
|
1113
|
+
]);
|
|
1114
|
+
|
|
1115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsRequest {
|
|
1116
|
+
return new ListApplicationsRequest().fromBinary(bytes, options);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsRequest {
|
|
1120
|
+
return new ListApplicationsRequest().fromJson(jsonValue, options);
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsRequest {
|
|
1124
|
+
return new ListApplicationsRequest().fromJsonString(jsonString, options);
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
static equals(a: ListApplicationsRequest | PlainMessage<ListApplicationsRequest> | undefined, b: ListApplicationsRequest | PlainMessage<ListApplicationsRequest> | undefined): boolean {
|
|
1128
|
+
return proto3.util.equals(ListApplicationsRequest, a, b);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* @generated from message hiring.v1.ListApplicationsResponse
|
|
1134
|
+
*/
|
|
1135
|
+
export class ListApplicationsResponse extends Message<ListApplicationsResponse> {
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from field: repeated hiring.v1.Application applications = 1;
|
|
1138
|
+
*/
|
|
1139
|
+
applications: Application[] = [];
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
1143
|
+
*/
|
|
1144
|
+
page?: PageResponse;
|
|
1145
|
+
|
|
1146
|
+
constructor(data?: PartialMessage<ListApplicationsResponse>) {
|
|
1147
|
+
super();
|
|
1148
|
+
proto3.util.initPartial(data, this);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1152
|
+
static readonly typeName = "hiring.v1.ListApplicationsResponse";
|
|
1153
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1154
|
+
{ no: 1, name: "applications", kind: "message", T: Application, repeated: true },
|
|
1155
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
1156
|
+
]);
|
|
1157
|
+
|
|
1158
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsResponse {
|
|
1159
|
+
return new ListApplicationsResponse().fromBinary(bytes, options);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsResponse {
|
|
1163
|
+
return new ListApplicationsResponse().fromJson(jsonValue, options);
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsResponse {
|
|
1167
|
+
return new ListApplicationsResponse().fromJsonString(jsonString, options);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
static equals(a: ListApplicationsResponse | PlainMessage<ListApplicationsResponse> | undefined, b: ListApplicationsResponse | PlainMessage<ListApplicationsResponse> | undefined): boolean {
|
|
1171
|
+
return proto3.util.equals(ListApplicationsResponse, a, b);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from message hiring.v1.ListApplicationsForJobRequest
|
|
1177
|
+
*/
|
|
1178
|
+
export class ListApplicationsForJobRequest extends Message<ListApplicationsForJobRequest> {
|
|
1179
|
+
/**
|
|
1180
|
+
* @generated from field: string job_id = 1;
|
|
1181
|
+
*/
|
|
1182
|
+
jobId = "";
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from field: hiring.v1.PageRequest page = 2;
|
|
1186
|
+
*/
|
|
1187
|
+
page?: PageRequest;
|
|
1188
|
+
|
|
1189
|
+
constructor(data?: PartialMessage<ListApplicationsForJobRequest>) {
|
|
1190
|
+
super();
|
|
1191
|
+
proto3.util.initPartial(data, this);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1195
|
+
static readonly typeName = "hiring.v1.ListApplicationsForJobRequest";
|
|
1196
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1197
|
+
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1198
|
+
{ no: 2, name: "page", kind: "message", T: PageRequest },
|
|
1199
|
+
]);
|
|
1200
|
+
|
|
1201
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsForJobRequest {
|
|
1202
|
+
return new ListApplicationsForJobRequest().fromBinary(bytes, options);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsForJobRequest {
|
|
1206
|
+
return new ListApplicationsForJobRequest().fromJson(jsonValue, options);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsForJobRequest {
|
|
1210
|
+
return new ListApplicationsForJobRequest().fromJsonString(jsonString, options);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
static equals(a: ListApplicationsForJobRequest | PlainMessage<ListApplicationsForJobRequest> | undefined, b: ListApplicationsForJobRequest | PlainMessage<ListApplicationsForJobRequest> | undefined): boolean {
|
|
1214
|
+
return proto3.util.equals(ListApplicationsForJobRequest, a, b);
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from message hiring.v1.ListApplicationsForJobResponse
|
|
1220
|
+
*/
|
|
1221
|
+
export class ListApplicationsForJobResponse extends Message<ListApplicationsForJobResponse> {
|
|
1222
|
+
/**
|
|
1223
|
+
* @generated from field: repeated hiring.v1.Application applications = 1;
|
|
1224
|
+
*/
|
|
1225
|
+
applications: Application[] = [];
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
1229
|
+
*/
|
|
1230
|
+
page?: PageResponse;
|
|
1231
|
+
|
|
1232
|
+
constructor(data?: PartialMessage<ListApplicationsForJobResponse>) {
|
|
1233
|
+
super();
|
|
1234
|
+
proto3.util.initPartial(data, this);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1238
|
+
static readonly typeName = "hiring.v1.ListApplicationsForJobResponse";
|
|
1239
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1240
|
+
{ no: 1, name: "applications", kind: "message", T: Application, repeated: true },
|
|
1241
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
1242
|
+
]);
|
|
1243
|
+
|
|
1244
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsForJobResponse {
|
|
1245
|
+
return new ListApplicationsForJobResponse().fromBinary(bytes, options);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsForJobResponse {
|
|
1249
|
+
return new ListApplicationsForJobResponse().fromJson(jsonValue, options);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsForJobResponse {
|
|
1253
|
+
return new ListApplicationsForJobResponse().fromJsonString(jsonString, options);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
static equals(a: ListApplicationsForJobResponse | PlainMessage<ListApplicationsForJobResponse> | undefined, b: ListApplicationsForJobResponse | PlainMessage<ListApplicationsForJobResponse> | undefined): boolean {
|
|
1257
|
+
return proto3.util.equals(ListApplicationsForJobResponse, a, b);
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @generated from message hiring.v1.ListApplicationsForCandidateRequest
|
|
1263
|
+
*/
|
|
1264
|
+
export class ListApplicationsForCandidateRequest extends Message<ListApplicationsForCandidateRequest> {
|
|
1265
|
+
/**
|
|
1266
|
+
* If empty, hiring uses candidate user id from verified token (recommended for gateway).
|
|
1267
|
+
*
|
|
1268
|
+
* @generated from field: string candidate_user_id = 1;
|
|
1269
|
+
*/
|
|
1270
|
+
candidateUserId = "";
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* @generated from field: hiring.v1.PageRequest page = 2;
|
|
1274
|
+
*/
|
|
1275
|
+
page?: PageRequest;
|
|
1276
|
+
|
|
1277
|
+
constructor(data?: PartialMessage<ListApplicationsForCandidateRequest>) {
|
|
1278
|
+
super();
|
|
1279
|
+
proto3.util.initPartial(data, this);
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1283
|
+
static readonly typeName = "hiring.v1.ListApplicationsForCandidateRequest";
|
|
1284
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1285
|
+
{ no: 1, name: "candidate_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1286
|
+
{ no: 2, name: "page", kind: "message", T: PageRequest },
|
|
1287
|
+
]);
|
|
1288
|
+
|
|
1289
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsForCandidateRequest {
|
|
1290
|
+
return new ListApplicationsForCandidateRequest().fromBinary(bytes, options);
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsForCandidateRequest {
|
|
1294
|
+
return new ListApplicationsForCandidateRequest().fromJson(jsonValue, options);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsForCandidateRequest {
|
|
1298
|
+
return new ListApplicationsForCandidateRequest().fromJsonString(jsonString, options);
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
static equals(a: ListApplicationsForCandidateRequest | PlainMessage<ListApplicationsForCandidateRequest> | undefined, b: ListApplicationsForCandidateRequest | PlainMessage<ListApplicationsForCandidateRequest> | undefined): boolean {
|
|
1302
|
+
return proto3.util.equals(ListApplicationsForCandidateRequest, a, b);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from message hiring.v1.ListApplicationsForCandidateResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export class ListApplicationsForCandidateResponse extends Message<ListApplicationsForCandidateResponse> {
|
|
1310
|
+
/**
|
|
1311
|
+
* @generated from field: repeated hiring.v1.Application applications = 1;
|
|
1312
|
+
*/
|
|
1313
|
+
applications: Application[] = [];
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
1317
|
+
*/
|
|
1318
|
+
page?: PageResponse;
|
|
1319
|
+
|
|
1320
|
+
constructor(data?: PartialMessage<ListApplicationsForCandidateResponse>) {
|
|
1321
|
+
super();
|
|
1322
|
+
proto3.util.initPartial(data, this);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1326
|
+
static readonly typeName = "hiring.v1.ListApplicationsForCandidateResponse";
|
|
1327
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1328
|
+
{ no: 1, name: "applications", kind: "message", T: Application, repeated: true },
|
|
1329
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
1330
|
+
]);
|
|
1331
|
+
|
|
1332
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationsForCandidateResponse {
|
|
1333
|
+
return new ListApplicationsForCandidateResponse().fromBinary(bytes, options);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationsForCandidateResponse {
|
|
1337
|
+
return new ListApplicationsForCandidateResponse().fromJson(jsonValue, options);
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationsForCandidateResponse {
|
|
1341
|
+
return new ListApplicationsForCandidateResponse().fromJsonString(jsonString, options);
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
static equals(a: ListApplicationsForCandidateResponse | PlainMessage<ListApplicationsForCandidateResponse> | undefined, b: ListApplicationsForCandidateResponse | PlainMessage<ListApplicationsForCandidateResponse> | undefined): boolean {
|
|
1345
|
+
return proto3.util.equals(ListApplicationsForCandidateResponse, a, b);
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* @generated from message hiring.v1.TransitionApplicationStageRequest
|
|
1351
|
+
*/
|
|
1352
|
+
export class TransitionApplicationStageRequest extends Message<TransitionApplicationStageRequest> {
|
|
1353
|
+
/**
|
|
1354
|
+
* @generated from field: string application_id = 1;
|
|
1355
|
+
*/
|
|
1356
|
+
applicationId = "";
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from field: string target_stage = 2;
|
|
1360
|
+
*/
|
|
1361
|
+
targetStage = "";
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* @generated from field: string reason = 3;
|
|
1365
|
+
*/
|
|
1366
|
+
reason = "";
|
|
1367
|
+
|
|
1368
|
+
constructor(data?: PartialMessage<TransitionApplicationStageRequest>) {
|
|
1369
|
+
super();
|
|
1370
|
+
proto3.util.initPartial(data, this);
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1374
|
+
static readonly typeName = "hiring.v1.TransitionApplicationStageRequest";
|
|
1375
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1376
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1377
|
+
{ no: 2, name: "target_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1378
|
+
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1379
|
+
]);
|
|
1380
|
+
|
|
1381
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransitionApplicationStageRequest {
|
|
1382
|
+
return new TransitionApplicationStageRequest().fromBinary(bytes, options);
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransitionApplicationStageRequest {
|
|
1386
|
+
return new TransitionApplicationStageRequest().fromJson(jsonValue, options);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransitionApplicationStageRequest {
|
|
1390
|
+
return new TransitionApplicationStageRequest().fromJsonString(jsonString, options);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
static equals(a: TransitionApplicationStageRequest | PlainMessage<TransitionApplicationStageRequest> | undefined, b: TransitionApplicationStageRequest | PlainMessage<TransitionApplicationStageRequest> | undefined): boolean {
|
|
1394
|
+
return proto3.util.equals(TransitionApplicationStageRequest, a, b);
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from message hiring.v1.TransitionApplicationStageResponse
|
|
1400
|
+
*/
|
|
1401
|
+
export class TransitionApplicationStageResponse extends Message<TransitionApplicationStageResponse> {
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from field: string current_stage = 1;
|
|
1404
|
+
*/
|
|
1405
|
+
currentStage = "";
|
|
1406
|
+
|
|
1407
|
+
constructor(data?: PartialMessage<TransitionApplicationStageResponse>) {
|
|
1408
|
+
super();
|
|
1409
|
+
proto3.util.initPartial(data, this);
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1413
|
+
static readonly typeName = "hiring.v1.TransitionApplicationStageResponse";
|
|
1414
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1415
|
+
{ no: 1, name: "current_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1416
|
+
]);
|
|
1417
|
+
|
|
1418
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransitionApplicationStageResponse {
|
|
1419
|
+
return new TransitionApplicationStageResponse().fromBinary(bytes, options);
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransitionApplicationStageResponse {
|
|
1423
|
+
return new TransitionApplicationStageResponse().fromJson(jsonValue, options);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransitionApplicationStageResponse {
|
|
1427
|
+
return new TransitionApplicationStageResponse().fromJsonString(jsonString, options);
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
static equals(a: TransitionApplicationStageResponse | PlainMessage<TransitionApplicationStageResponse> | undefined, b: TransitionApplicationStageResponse | PlainMessage<TransitionApplicationStageResponse> | undefined): boolean {
|
|
1431
|
+
return proto3.util.equals(TransitionApplicationStageResponse, a, b);
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from message hiring.v1.RecordRecruiterDecisionRequest
|
|
1437
|
+
*/
|
|
1438
|
+
export class RecordRecruiterDecisionRequest extends Message<RecordRecruiterDecisionRequest> {
|
|
1439
|
+
/**
|
|
1440
|
+
* @generated from field: string application_id = 1;
|
|
1441
|
+
*/
|
|
1442
|
+
applicationId = "";
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* @generated from field: string stage_context = 2;
|
|
1446
|
+
*/
|
|
1447
|
+
stageContext = "";
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @generated from field: string outcome = 3;
|
|
1451
|
+
*/
|
|
1452
|
+
outcome = "";
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* @generated from field: string reasoning = 4;
|
|
1456
|
+
*/
|
|
1457
|
+
reasoning = "";
|
|
1458
|
+
|
|
1459
|
+
constructor(data?: PartialMessage<RecordRecruiterDecisionRequest>) {
|
|
1460
|
+
super();
|
|
1461
|
+
proto3.util.initPartial(data, this);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1465
|
+
static readonly typeName = "hiring.v1.RecordRecruiterDecisionRequest";
|
|
1466
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1467
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1468
|
+
{ no: 2, name: "stage_context", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1469
|
+
{ no: 3, name: "outcome", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1470
|
+
{ no: 4, name: "reasoning", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1471
|
+
]);
|
|
1472
|
+
|
|
1473
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordRecruiterDecisionRequest {
|
|
1474
|
+
return new RecordRecruiterDecisionRequest().fromBinary(bytes, options);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordRecruiterDecisionRequest {
|
|
1478
|
+
return new RecordRecruiterDecisionRequest().fromJson(jsonValue, options);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordRecruiterDecisionRequest {
|
|
1482
|
+
return new RecordRecruiterDecisionRequest().fromJsonString(jsonString, options);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
static equals(a: RecordRecruiterDecisionRequest | PlainMessage<RecordRecruiterDecisionRequest> | undefined, b: RecordRecruiterDecisionRequest | PlainMessage<RecordRecruiterDecisionRequest> | undefined): boolean {
|
|
1486
|
+
return proto3.util.equals(RecordRecruiterDecisionRequest, a, b);
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* @generated from message hiring.v1.RecordRecruiterDecisionResponse
|
|
1492
|
+
*/
|
|
1493
|
+
export class RecordRecruiterDecisionResponse extends Message<RecordRecruiterDecisionResponse> {
|
|
1494
|
+
/**
|
|
1495
|
+
* @generated from field: string decision_id = 1;
|
|
1496
|
+
*/
|
|
1497
|
+
decisionId = "";
|
|
1498
|
+
|
|
1499
|
+
constructor(data?: PartialMessage<RecordRecruiterDecisionResponse>) {
|
|
1500
|
+
super();
|
|
1501
|
+
proto3.util.initPartial(data, this);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1505
|
+
static readonly typeName = "hiring.v1.RecordRecruiterDecisionResponse";
|
|
1506
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1507
|
+
{ no: 1, name: "decision_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1508
|
+
]);
|
|
1509
|
+
|
|
1510
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordRecruiterDecisionResponse {
|
|
1511
|
+
return new RecordRecruiterDecisionResponse().fromBinary(bytes, options);
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordRecruiterDecisionResponse {
|
|
1515
|
+
return new RecordRecruiterDecisionResponse().fromJson(jsonValue, options);
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordRecruiterDecisionResponse {
|
|
1519
|
+
return new RecordRecruiterDecisionResponse().fromJsonString(jsonString, options);
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
static equals(a: RecordRecruiterDecisionResponse | PlainMessage<RecordRecruiterDecisionResponse> | undefined, b: RecordRecruiterDecisionResponse | PlainMessage<RecordRecruiterDecisionResponse> | undefined): boolean {
|
|
1523
|
+
return proto3.util.equals(RecordRecruiterDecisionResponse, a, b);
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* @generated from message hiring.v1.RecordScreeningResultRequest
|
|
1529
|
+
*/
|
|
1530
|
+
export class RecordScreeningResultRequest extends Message<RecordScreeningResultRequest> {
|
|
1531
|
+
/**
|
|
1532
|
+
* @generated from field: string application_id = 1;
|
|
1533
|
+
*/
|
|
1534
|
+
applicationId = "";
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* @generated from field: double score = 2;
|
|
1538
|
+
*/
|
|
1539
|
+
score = 0;
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* @generated from field: string explanation = 3;
|
|
1543
|
+
*/
|
|
1544
|
+
explanation = "";
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* @generated from field: string skill_extractions_json = 4;
|
|
1548
|
+
*/
|
|
1549
|
+
skillExtractionsJson = "";
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* @generated from field: string source_model_id = 5;
|
|
1553
|
+
*/
|
|
1554
|
+
sourceModelId = "";
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* @generated from field: string raw_output_ref = 6;
|
|
1558
|
+
*/
|
|
1559
|
+
rawOutputRef = "";
|
|
1560
|
+
|
|
1561
|
+
constructor(data?: PartialMessage<RecordScreeningResultRequest>) {
|
|
1562
|
+
super();
|
|
1563
|
+
proto3.util.initPartial(data, this);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1567
|
+
static readonly typeName = "hiring.v1.RecordScreeningResultRequest";
|
|
1568
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1569
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1570
|
+
{ no: 2, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1571
|
+
{ no: 3, name: "explanation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1572
|
+
{ no: 4, name: "skill_extractions_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1573
|
+
{ no: 5, name: "source_model_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1574
|
+
{ no: 6, name: "raw_output_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1575
|
+
]);
|
|
1576
|
+
|
|
1577
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordScreeningResultRequest {
|
|
1578
|
+
return new RecordScreeningResultRequest().fromBinary(bytes, options);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordScreeningResultRequest {
|
|
1582
|
+
return new RecordScreeningResultRequest().fromJson(jsonValue, options);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordScreeningResultRequest {
|
|
1586
|
+
return new RecordScreeningResultRequest().fromJsonString(jsonString, options);
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
static equals(a: RecordScreeningResultRequest | PlainMessage<RecordScreeningResultRequest> | undefined, b: RecordScreeningResultRequest | PlainMessage<RecordScreeningResultRequest> | undefined): boolean {
|
|
1590
|
+
return proto3.util.equals(RecordScreeningResultRequest, a, b);
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @generated from message hiring.v1.RecordScreeningResultResponse
|
|
1596
|
+
*/
|
|
1597
|
+
export class RecordScreeningResultResponse extends Message<RecordScreeningResultResponse> {
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: string screening_result_id = 1;
|
|
1600
|
+
*/
|
|
1601
|
+
screeningResultId = "";
|
|
1602
|
+
|
|
1603
|
+
constructor(data?: PartialMessage<RecordScreeningResultResponse>) {
|
|
1604
|
+
super();
|
|
1605
|
+
proto3.util.initPartial(data, this);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1609
|
+
static readonly typeName = "hiring.v1.RecordScreeningResultResponse";
|
|
1610
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1611
|
+
{ no: 1, name: "screening_result_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1612
|
+
]);
|
|
1613
|
+
|
|
1614
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordScreeningResultResponse {
|
|
1615
|
+
return new RecordScreeningResultResponse().fromBinary(bytes, options);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordScreeningResultResponse {
|
|
1619
|
+
return new RecordScreeningResultResponse().fromJson(jsonValue, options);
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordScreeningResultResponse {
|
|
1623
|
+
return new RecordScreeningResultResponse().fromJsonString(jsonString, options);
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
static equals(a: RecordScreeningResultResponse | PlainMessage<RecordScreeningResultResponse> | undefined, b: RecordScreeningResultResponse | PlainMessage<RecordScreeningResultResponse> | undefined): boolean {
|
|
1627
|
+
return proto3.util.equals(RecordScreeningResultResponse, a, b);
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* @generated from message hiring.v1.RecordInterviewRequest
|
|
1633
|
+
*/
|
|
1634
|
+
export class RecordInterviewRequest extends Message<RecordInterviewRequest> {
|
|
1635
|
+
/**
|
|
1636
|
+
* @generated from field: string application_id = 1;
|
|
1637
|
+
*/
|
|
1638
|
+
applicationId = "";
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* RFC3339 or empty
|
|
1642
|
+
*
|
|
1643
|
+
* @generated from field: string scheduled_at = 2;
|
|
1644
|
+
*/
|
|
1645
|
+
scheduledAt = "";
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* @generated from field: string actual_at = 3;
|
|
1649
|
+
*/
|
|
1650
|
+
actualAt = "";
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* @generated from field: string notes = 4;
|
|
1654
|
+
*/
|
|
1655
|
+
notes = "";
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* @generated from field: string transcript_ref = 5;
|
|
1659
|
+
*/
|
|
1660
|
+
transcriptRef = "";
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* @generated from field: string structured_scores_json = 6;
|
|
1664
|
+
*/
|
|
1665
|
+
structuredScoresJson = "";
|
|
1666
|
+
|
|
1667
|
+
constructor(data?: PartialMessage<RecordInterviewRequest>) {
|
|
1668
|
+
super();
|
|
1669
|
+
proto3.util.initPartial(data, this);
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1673
|
+
static readonly typeName = "hiring.v1.RecordInterviewRequest";
|
|
1674
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1675
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1676
|
+
{ no: 2, name: "scheduled_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1677
|
+
{ no: 3, name: "actual_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1678
|
+
{ no: 4, name: "notes", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1679
|
+
{ no: 5, name: "transcript_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1680
|
+
{ no: 6, name: "structured_scores_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1681
|
+
]);
|
|
1682
|
+
|
|
1683
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordInterviewRequest {
|
|
1684
|
+
return new RecordInterviewRequest().fromBinary(bytes, options);
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordInterviewRequest {
|
|
1688
|
+
return new RecordInterviewRequest().fromJson(jsonValue, options);
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordInterviewRequest {
|
|
1692
|
+
return new RecordInterviewRequest().fromJsonString(jsonString, options);
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
static equals(a: RecordInterviewRequest | PlainMessage<RecordInterviewRequest> | undefined, b: RecordInterviewRequest | PlainMessage<RecordInterviewRequest> | undefined): boolean {
|
|
1696
|
+
return proto3.util.equals(RecordInterviewRequest, a, b);
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* @generated from message hiring.v1.RecordInterviewResponse
|
|
1702
|
+
*/
|
|
1703
|
+
export class RecordInterviewResponse extends Message<RecordInterviewResponse> {
|
|
1704
|
+
/**
|
|
1705
|
+
* @generated from field: string interview_record_id = 1;
|
|
1706
|
+
*/
|
|
1707
|
+
interviewRecordId = "";
|
|
1708
|
+
|
|
1709
|
+
constructor(data?: PartialMessage<RecordInterviewResponse>) {
|
|
1710
|
+
super();
|
|
1711
|
+
proto3.util.initPartial(data, this);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1715
|
+
static readonly typeName = "hiring.v1.RecordInterviewResponse";
|
|
1716
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1717
|
+
{ no: 1, name: "interview_record_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1718
|
+
]);
|
|
1719
|
+
|
|
1720
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordInterviewResponse {
|
|
1721
|
+
return new RecordInterviewResponse().fromBinary(bytes, options);
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordInterviewResponse {
|
|
1725
|
+
return new RecordInterviewResponse().fromJson(jsonValue, options);
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordInterviewResponse {
|
|
1729
|
+
return new RecordInterviewResponse().fromJsonString(jsonString, options);
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
static equals(a: RecordInterviewResponse | PlainMessage<RecordInterviewResponse> | undefined, b: RecordInterviewResponse | PlainMessage<RecordInterviewResponse> | undefined): boolean {
|
|
1733
|
+
return proto3.util.equals(RecordInterviewResponse, a, b);
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* @generated from message hiring.v1.LinkAssessmentRequest
|
|
1739
|
+
*/
|
|
1740
|
+
export class LinkAssessmentRequest extends Message<LinkAssessmentRequest> {
|
|
1741
|
+
/**
|
|
1742
|
+
* @generated from field: string application_id = 1;
|
|
1743
|
+
*/
|
|
1744
|
+
applicationId = "";
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* @generated from field: string external_assessment_id = 2;
|
|
1748
|
+
*/
|
|
1749
|
+
externalAssessmentId = "";
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* @generated from field: string status = 3;
|
|
1753
|
+
*/
|
|
1754
|
+
status = "";
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* @generated from field: string score_summary = 4;
|
|
1758
|
+
*/
|
|
1759
|
+
scoreSummary = "";
|
|
1760
|
+
|
|
1761
|
+
constructor(data?: PartialMessage<LinkAssessmentRequest>) {
|
|
1762
|
+
super();
|
|
1763
|
+
proto3.util.initPartial(data, this);
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1767
|
+
static readonly typeName = "hiring.v1.LinkAssessmentRequest";
|
|
1768
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1769
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1770
|
+
{ no: 2, name: "external_assessment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1771
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1772
|
+
{ no: 4, name: "score_summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1773
|
+
]);
|
|
1774
|
+
|
|
1775
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LinkAssessmentRequest {
|
|
1776
|
+
return new LinkAssessmentRequest().fromBinary(bytes, options);
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LinkAssessmentRequest {
|
|
1780
|
+
return new LinkAssessmentRequest().fromJson(jsonValue, options);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LinkAssessmentRequest {
|
|
1784
|
+
return new LinkAssessmentRequest().fromJsonString(jsonString, options);
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
static equals(a: LinkAssessmentRequest | PlainMessage<LinkAssessmentRequest> | undefined, b: LinkAssessmentRequest | PlainMessage<LinkAssessmentRequest> | undefined): boolean {
|
|
1788
|
+
return proto3.util.equals(LinkAssessmentRequest, a, b);
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* @generated from message hiring.v1.LinkAssessmentResponse
|
|
1794
|
+
*/
|
|
1795
|
+
export class LinkAssessmentResponse extends Message<LinkAssessmentResponse> {
|
|
1796
|
+
/**
|
|
1797
|
+
* @generated from field: string assessment_link_id = 1;
|
|
1798
|
+
*/
|
|
1799
|
+
assessmentLinkId = "";
|
|
1800
|
+
|
|
1801
|
+
constructor(data?: PartialMessage<LinkAssessmentResponse>) {
|
|
1802
|
+
super();
|
|
1803
|
+
proto3.util.initPartial(data, this);
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1807
|
+
static readonly typeName = "hiring.v1.LinkAssessmentResponse";
|
|
1808
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1809
|
+
{ no: 1, name: "assessment_link_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1810
|
+
]);
|
|
1811
|
+
|
|
1812
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LinkAssessmentResponse {
|
|
1813
|
+
return new LinkAssessmentResponse().fromBinary(bytes, options);
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LinkAssessmentResponse {
|
|
1817
|
+
return new LinkAssessmentResponse().fromJson(jsonValue, options);
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LinkAssessmentResponse {
|
|
1821
|
+
return new LinkAssessmentResponse().fromJsonString(jsonString, options);
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
static equals(a: LinkAssessmentResponse | PlainMessage<LinkAssessmentResponse> | undefined, b: LinkAssessmentResponse | PlainMessage<LinkAssessmentResponse> | undefined): boolean {
|
|
1825
|
+
return proto3.util.equals(LinkAssessmentResponse, a, b);
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* @generated from message hiring.v1.RecordOfferRequest
|
|
1831
|
+
*/
|
|
1832
|
+
export class RecordOfferRequest extends Message<RecordOfferRequest> {
|
|
1833
|
+
/**
|
|
1834
|
+
* @generated from field: string application_id = 1;
|
|
1835
|
+
*/
|
|
1836
|
+
applicationId = "";
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* @generated from field: string terms = 2;
|
|
1840
|
+
*/
|
|
1841
|
+
terms = "";
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @generated from field: string status = 3;
|
|
1845
|
+
*/
|
|
1846
|
+
status = "";
|
|
1847
|
+
|
|
1848
|
+
constructor(data?: PartialMessage<RecordOfferRequest>) {
|
|
1849
|
+
super();
|
|
1850
|
+
proto3.util.initPartial(data, this);
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1854
|
+
static readonly typeName = "hiring.v1.RecordOfferRequest";
|
|
1855
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1856
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1857
|
+
{ no: 2, name: "terms", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1858
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1859
|
+
]);
|
|
1860
|
+
|
|
1861
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordOfferRequest {
|
|
1862
|
+
return new RecordOfferRequest().fromBinary(bytes, options);
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordOfferRequest {
|
|
1866
|
+
return new RecordOfferRequest().fromJson(jsonValue, options);
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordOfferRequest {
|
|
1870
|
+
return new RecordOfferRequest().fromJsonString(jsonString, options);
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
static equals(a: RecordOfferRequest | PlainMessage<RecordOfferRequest> | undefined, b: RecordOfferRequest | PlainMessage<RecordOfferRequest> | undefined): boolean {
|
|
1874
|
+
return proto3.util.equals(RecordOfferRequest, a, b);
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* @generated from message hiring.v1.RecordOfferResponse
|
|
1880
|
+
*/
|
|
1881
|
+
export class RecordOfferResponse extends Message<RecordOfferResponse> {
|
|
1882
|
+
/**
|
|
1883
|
+
* @generated from field: string offer_id = 1;
|
|
1884
|
+
*/
|
|
1885
|
+
offerId = "";
|
|
1886
|
+
|
|
1887
|
+
constructor(data?: PartialMessage<RecordOfferResponse>) {
|
|
1888
|
+
super();
|
|
1889
|
+
proto3.util.initPartial(data, this);
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1893
|
+
static readonly typeName = "hiring.v1.RecordOfferResponse";
|
|
1894
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1895
|
+
{ no: 1, name: "offer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1896
|
+
]);
|
|
1897
|
+
|
|
1898
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecordOfferResponse {
|
|
1899
|
+
return new RecordOfferResponse().fromBinary(bytes, options);
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecordOfferResponse {
|
|
1903
|
+
return new RecordOfferResponse().fromJson(jsonValue, options);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecordOfferResponse {
|
|
1907
|
+
return new RecordOfferResponse().fromJsonString(jsonString, options);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
static equals(a: RecordOfferResponse | PlainMessage<RecordOfferResponse> | undefined, b: RecordOfferResponse | PlainMessage<RecordOfferResponse> | undefined): boolean {
|
|
1911
|
+
return proto3.util.equals(RecordOfferResponse, a, b);
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* @generated from message hiring.v1.ApplicationEvent
|
|
1917
|
+
*/
|
|
1918
|
+
export class ApplicationEvent extends Message<ApplicationEvent> {
|
|
1919
|
+
/**
|
|
1920
|
+
* @generated from field: string event_id = 1;
|
|
1921
|
+
*/
|
|
1922
|
+
eventId = "";
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from field: string application_id = 2;
|
|
1926
|
+
*/
|
|
1927
|
+
applicationId = "";
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* @generated from field: string from_stage = 3;
|
|
1931
|
+
*/
|
|
1932
|
+
fromStage = "";
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* @generated from field: string to_stage = 4;
|
|
1936
|
+
*/
|
|
1937
|
+
toStage = "";
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* @generated from field: string actor_type = 5;
|
|
1941
|
+
*/
|
|
1942
|
+
actorType = "";
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* @generated from field: string actor_user_id = 6;
|
|
1946
|
+
*/
|
|
1947
|
+
actorUserId = "";
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* @generated from field: string metadata_json = 7;
|
|
1951
|
+
*/
|
|
1952
|
+
metadataJson = "";
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* @generated from field: string created_at = 8;
|
|
1956
|
+
*/
|
|
1957
|
+
createdAt = "";
|
|
1958
|
+
|
|
1959
|
+
constructor(data?: PartialMessage<ApplicationEvent>) {
|
|
1960
|
+
super();
|
|
1961
|
+
proto3.util.initPartial(data, this);
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1965
|
+
static readonly typeName = "hiring.v1.ApplicationEvent";
|
|
1966
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1967
|
+
{ no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1968
|
+
{ no: 2, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1969
|
+
{ no: 3, name: "from_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1970
|
+
{ no: 4, name: "to_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1971
|
+
{ no: 5, name: "actor_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1972
|
+
{ no: 6, name: "actor_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1973
|
+
{ no: 7, name: "metadata_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1974
|
+
{ no: 8, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1975
|
+
]);
|
|
1976
|
+
|
|
1977
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplicationEvent {
|
|
1978
|
+
return new ApplicationEvent().fromBinary(bytes, options);
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplicationEvent {
|
|
1982
|
+
return new ApplicationEvent().fromJson(jsonValue, options);
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplicationEvent {
|
|
1986
|
+
return new ApplicationEvent().fromJsonString(jsonString, options);
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
static equals(a: ApplicationEvent | PlainMessage<ApplicationEvent> | undefined, b: ApplicationEvent | PlainMessage<ApplicationEvent> | undefined): boolean {
|
|
1990
|
+
return proto3.util.equals(ApplicationEvent, a, b);
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* @generated from message hiring.v1.ListApplicationEventsRequest
|
|
1996
|
+
*/
|
|
1997
|
+
export class ListApplicationEventsRequest extends Message<ListApplicationEventsRequest> {
|
|
1998
|
+
/**
|
|
1999
|
+
* @generated from field: string application_id = 1;
|
|
2000
|
+
*/
|
|
2001
|
+
applicationId = "";
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from field: hiring.v1.PageRequest page = 2;
|
|
2005
|
+
*/
|
|
2006
|
+
page?: PageRequest;
|
|
2007
|
+
|
|
2008
|
+
constructor(data?: PartialMessage<ListApplicationEventsRequest>) {
|
|
2009
|
+
super();
|
|
2010
|
+
proto3.util.initPartial(data, this);
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2014
|
+
static readonly typeName = "hiring.v1.ListApplicationEventsRequest";
|
|
2015
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2016
|
+
{ no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2017
|
+
{ no: 2, name: "page", kind: "message", T: PageRequest },
|
|
2018
|
+
]);
|
|
2019
|
+
|
|
2020
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationEventsRequest {
|
|
2021
|
+
return new ListApplicationEventsRequest().fromBinary(bytes, options);
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationEventsRequest {
|
|
2025
|
+
return new ListApplicationEventsRequest().fromJson(jsonValue, options);
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationEventsRequest {
|
|
2029
|
+
return new ListApplicationEventsRequest().fromJsonString(jsonString, options);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
static equals(a: ListApplicationEventsRequest | PlainMessage<ListApplicationEventsRequest> | undefined, b: ListApplicationEventsRequest | PlainMessage<ListApplicationEventsRequest> | undefined): boolean {
|
|
2033
|
+
return proto3.util.equals(ListApplicationEventsRequest, a, b);
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* @generated from message hiring.v1.ListApplicationEventsResponse
|
|
2039
|
+
*/
|
|
2040
|
+
export class ListApplicationEventsResponse extends Message<ListApplicationEventsResponse> {
|
|
2041
|
+
/**
|
|
2042
|
+
* @generated from field: repeated hiring.v1.ApplicationEvent events = 1;
|
|
2043
|
+
*/
|
|
2044
|
+
events: ApplicationEvent[] = [];
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* @generated from field: hiring.v1.PageResponse page = 2;
|
|
2048
|
+
*/
|
|
2049
|
+
page?: PageResponse;
|
|
2050
|
+
|
|
2051
|
+
constructor(data?: PartialMessage<ListApplicationEventsResponse>) {
|
|
2052
|
+
super();
|
|
2053
|
+
proto3.util.initPartial(data, this);
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2057
|
+
static readonly typeName = "hiring.v1.ListApplicationEventsResponse";
|
|
2058
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2059
|
+
{ no: 1, name: "events", kind: "message", T: ApplicationEvent, repeated: true },
|
|
2060
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
2061
|
+
]);
|
|
2062
|
+
|
|
2063
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApplicationEventsResponse {
|
|
2064
|
+
return new ListApplicationEventsResponse().fromBinary(bytes, options);
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApplicationEventsResponse {
|
|
2068
|
+
return new ListApplicationEventsResponse().fromJson(jsonValue, options);
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApplicationEventsResponse {
|
|
2072
|
+
return new ListApplicationEventsResponse().fromJsonString(jsonString, options);
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
static equals(a: ListApplicationEventsResponse | PlainMessage<ListApplicationEventsResponse> | undefined, b: ListApplicationEventsResponse | PlainMessage<ListApplicationEventsResponse> | undefined): boolean {
|
|
2076
|
+
return proto3.util.equals(ListApplicationEventsResponse, a, b);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
|