@in-human-resources/backend-proto 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,87 @@
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts,import_extension=none"
2
+ // @generated from file workflow/v1/service.proto (package workflow.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CancelWorkflowRequest, CancelWorkflowResponse, GetWorkflowStatusRequest, GetWorkflowStatusResponse, SignalAssessmentCompletedRequest, SignalAssessmentCompletedResponse, SignalInterviewBookedRequest, SignalInterviewBookedResponse, SignalOfferDecisionRequest, SignalOfferDecisionResponse, SignalRecruiterDecisionRequest, SignalRecruiterDecisionResponse, StartApplicationLifecycleRequest, StartApplicationLifecycleResponse } from "./service_pb";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * WorkflowService is private: API gateway and approved internal callers only.
11
+ * Drives Temporal application lifecycle; product clients use api.v1.HiringService.
12
+ *
13
+ * @generated from service workflow.v1.WorkflowService
14
+ */
15
+ export const WorkflowService = {
16
+ typeName: "workflow.v1.WorkflowService",
17
+ methods: {
18
+ /**
19
+ * StartApplicationLifecycle starts (or idempotently re-attaches to) the root workflow for one application.
20
+ *
21
+ * @generated from rpc workflow.v1.WorkflowService.StartApplicationLifecycle
22
+ */
23
+ startApplicationLifecycle: {
24
+ name: "StartApplicationLifecycle",
25
+ I: StartApplicationLifecycleRequest,
26
+ O: StartApplicationLifecycleResponse,
27
+ kind: MethodKind.Unary,
28
+ },
29
+ /**
30
+ * @generated from rpc workflow.v1.WorkflowService.CancelWorkflow
31
+ */
32
+ cancelWorkflow: {
33
+ name: "CancelWorkflow",
34
+ I: CancelWorkflowRequest,
35
+ O: CancelWorkflowResponse,
36
+ kind: MethodKind.Unary,
37
+ },
38
+ /**
39
+ * Human / domain signals (Temporal signal names match RPC suffixes where applicable).
40
+ *
41
+ * @generated from rpc workflow.v1.WorkflowService.SignalRecruiterDecision
42
+ */
43
+ signalRecruiterDecision: {
44
+ name: "SignalRecruiterDecision",
45
+ I: SignalRecruiterDecisionRequest,
46
+ O: SignalRecruiterDecisionResponse,
47
+ kind: MethodKind.Unary,
48
+ },
49
+ /**
50
+ * @generated from rpc workflow.v1.WorkflowService.SignalAssessmentCompleted
51
+ */
52
+ signalAssessmentCompleted: {
53
+ name: "SignalAssessmentCompleted",
54
+ I: SignalAssessmentCompletedRequest,
55
+ O: SignalAssessmentCompletedResponse,
56
+ kind: MethodKind.Unary,
57
+ },
58
+ /**
59
+ * @generated from rpc workflow.v1.WorkflowService.SignalInterviewBooked
60
+ */
61
+ signalInterviewBooked: {
62
+ name: "SignalInterviewBooked",
63
+ I: SignalInterviewBookedRequest,
64
+ O: SignalInterviewBookedResponse,
65
+ kind: MethodKind.Unary,
66
+ },
67
+ /**
68
+ * @generated from rpc workflow.v1.WorkflowService.SignalOfferDecision
69
+ */
70
+ signalOfferDecision: {
71
+ name: "SignalOfferDecision",
72
+ I: SignalOfferDecisionRequest,
73
+ O: SignalOfferDecisionResponse,
74
+ kind: MethodKind.Unary,
75
+ },
76
+ /**
77
+ * @generated from rpc workflow.v1.WorkflowService.GetWorkflowStatus
78
+ */
79
+ getWorkflowStatus: {
80
+ name: "GetWorkflowStatus",
81
+ I: GetWorkflowStatusRequest,
82
+ O: GetWorkflowStatusResponse,
83
+ kind: MethodKind.Unary,
84
+ },
85
+ }
86
+ } as const;
87
+
@@ -0,0 +1,580 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file workflow/v1/service.proto (package workflow.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 workflow.v1.StartApplicationLifecycleRequest
11
+ */
12
+ export class StartApplicationLifecycleRequest extends Message<StartApplicationLifecycleRequest> {
13
+ /**
14
+ * @generated from field: string application_id = 1;
15
+ */
16
+ applicationId = "";
17
+
18
+ /**
19
+ * @generated from field: string job_id = 2;
20
+ */
21
+ jobId = "";
22
+
23
+ /**
24
+ * @generated from field: string candidate_user_id = 3;
25
+ */
26
+ candidateUserId = "";
27
+
28
+ /**
29
+ * @generated from field: string company_id = 4;
30
+ */
31
+ companyId = "";
32
+
33
+ constructor(data?: PartialMessage<StartApplicationLifecycleRequest>) {
34
+ super();
35
+ proto3.util.initPartial(data, this);
36
+ }
37
+
38
+ static readonly runtime: typeof proto3 = proto3;
39
+ static readonly typeName = "workflow.v1.StartApplicationLifecycleRequest";
40
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
41
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
+ { no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
+ { no: 3, name: "candidate_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
44
+ { no: 4, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
45
+ ]);
46
+
47
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartApplicationLifecycleRequest {
48
+ return new StartApplicationLifecycleRequest().fromBinary(bytes, options);
49
+ }
50
+
51
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartApplicationLifecycleRequest {
52
+ return new StartApplicationLifecycleRequest().fromJson(jsonValue, options);
53
+ }
54
+
55
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartApplicationLifecycleRequest {
56
+ return new StartApplicationLifecycleRequest().fromJsonString(jsonString, options);
57
+ }
58
+
59
+ static equals(a: StartApplicationLifecycleRequest | PlainMessage<StartApplicationLifecycleRequest> | undefined, b: StartApplicationLifecycleRequest | PlainMessage<StartApplicationLifecycleRequest> | undefined): boolean {
60
+ return proto3.util.equals(StartApplicationLifecycleRequest, a, b);
61
+ }
62
+ }
63
+
64
+ /**
65
+ * @generated from message workflow.v1.StartApplicationLifecycleResponse
66
+ */
67
+ export class StartApplicationLifecycleResponse extends Message<StartApplicationLifecycleResponse> {
68
+ /**
69
+ * @generated from field: string workflow_id = 1;
70
+ */
71
+ workflowId = "";
72
+
73
+ /**
74
+ * @generated from field: string run_id = 2;
75
+ */
76
+ runId = "";
77
+
78
+ constructor(data?: PartialMessage<StartApplicationLifecycleResponse>) {
79
+ super();
80
+ proto3.util.initPartial(data, this);
81
+ }
82
+
83
+ static readonly runtime: typeof proto3 = proto3;
84
+ static readonly typeName = "workflow.v1.StartApplicationLifecycleResponse";
85
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
86
+ { no: 1, name: "workflow_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
87
+ { no: 2, name: "run_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
88
+ ]);
89
+
90
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartApplicationLifecycleResponse {
91
+ return new StartApplicationLifecycleResponse().fromBinary(bytes, options);
92
+ }
93
+
94
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartApplicationLifecycleResponse {
95
+ return new StartApplicationLifecycleResponse().fromJson(jsonValue, options);
96
+ }
97
+
98
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartApplicationLifecycleResponse {
99
+ return new StartApplicationLifecycleResponse().fromJsonString(jsonString, options);
100
+ }
101
+
102
+ static equals(a: StartApplicationLifecycleResponse | PlainMessage<StartApplicationLifecycleResponse> | undefined, b: StartApplicationLifecycleResponse | PlainMessage<StartApplicationLifecycleResponse> | undefined): boolean {
103
+ return proto3.util.equals(StartApplicationLifecycleResponse, a, b);
104
+ }
105
+ }
106
+
107
+ /**
108
+ * @generated from message workflow.v1.CancelWorkflowRequest
109
+ */
110
+ export class CancelWorkflowRequest extends Message<CancelWorkflowRequest> {
111
+ /**
112
+ * @generated from field: string application_id = 1;
113
+ */
114
+ applicationId = "";
115
+
116
+ constructor(data?: PartialMessage<CancelWorkflowRequest>) {
117
+ super();
118
+ proto3.util.initPartial(data, this);
119
+ }
120
+
121
+ static readonly runtime: typeof proto3 = proto3;
122
+ static readonly typeName = "workflow.v1.CancelWorkflowRequest";
123
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
124
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ ]);
126
+
127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelWorkflowRequest {
128
+ return new CancelWorkflowRequest().fromBinary(bytes, options);
129
+ }
130
+
131
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelWorkflowRequest {
132
+ return new CancelWorkflowRequest().fromJson(jsonValue, options);
133
+ }
134
+
135
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelWorkflowRequest {
136
+ return new CancelWorkflowRequest().fromJsonString(jsonString, options);
137
+ }
138
+
139
+ static equals(a: CancelWorkflowRequest | PlainMessage<CancelWorkflowRequest> | undefined, b: CancelWorkflowRequest | PlainMessage<CancelWorkflowRequest> | undefined): boolean {
140
+ return proto3.util.equals(CancelWorkflowRequest, a, b);
141
+ }
142
+ }
143
+
144
+ /**
145
+ * @generated from message workflow.v1.CancelWorkflowResponse
146
+ */
147
+ export class CancelWorkflowResponse extends Message<CancelWorkflowResponse> {
148
+ constructor(data?: PartialMessage<CancelWorkflowResponse>) {
149
+ super();
150
+ proto3.util.initPartial(data, this);
151
+ }
152
+
153
+ static readonly runtime: typeof proto3 = proto3;
154
+ static readonly typeName = "workflow.v1.CancelWorkflowResponse";
155
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
156
+ ]);
157
+
158
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelWorkflowResponse {
159
+ return new CancelWorkflowResponse().fromBinary(bytes, options);
160
+ }
161
+
162
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelWorkflowResponse {
163
+ return new CancelWorkflowResponse().fromJson(jsonValue, options);
164
+ }
165
+
166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelWorkflowResponse {
167
+ return new CancelWorkflowResponse().fromJsonString(jsonString, options);
168
+ }
169
+
170
+ static equals(a: CancelWorkflowResponse | PlainMessage<CancelWorkflowResponse> | undefined, b: CancelWorkflowResponse | PlainMessage<CancelWorkflowResponse> | undefined): boolean {
171
+ return proto3.util.equals(CancelWorkflowResponse, a, b);
172
+ }
173
+ }
174
+
175
+ /**
176
+ * @generated from message workflow.v1.SignalRecruiterDecisionRequest
177
+ */
178
+ export class SignalRecruiterDecisionRequest extends Message<SignalRecruiterDecisionRequest> {
179
+ /**
180
+ * @generated from field: string application_id = 1;
181
+ */
182
+ applicationId = "";
183
+
184
+ /**
185
+ * approve advances pipeline; reject moves to rejected.
186
+ *
187
+ * @generated from field: bool approve = 2;
188
+ */
189
+ approve = false;
190
+
191
+ /**
192
+ * @generated from field: string reason = 3;
193
+ */
194
+ reason = "";
195
+
196
+ constructor(data?: PartialMessage<SignalRecruiterDecisionRequest>) {
197
+ super();
198
+ proto3.util.initPartial(data, this);
199
+ }
200
+
201
+ static readonly runtime: typeof proto3 = proto3;
202
+ static readonly typeName = "workflow.v1.SignalRecruiterDecisionRequest";
203
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
204
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
205
+ { no: 2, name: "approve", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
206
+ { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
207
+ ]);
208
+
209
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalRecruiterDecisionRequest {
210
+ return new SignalRecruiterDecisionRequest().fromBinary(bytes, options);
211
+ }
212
+
213
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalRecruiterDecisionRequest {
214
+ return new SignalRecruiterDecisionRequest().fromJson(jsonValue, options);
215
+ }
216
+
217
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalRecruiterDecisionRequest {
218
+ return new SignalRecruiterDecisionRequest().fromJsonString(jsonString, options);
219
+ }
220
+
221
+ static equals(a: SignalRecruiterDecisionRequest | PlainMessage<SignalRecruiterDecisionRequest> | undefined, b: SignalRecruiterDecisionRequest | PlainMessage<SignalRecruiterDecisionRequest> | undefined): boolean {
222
+ return proto3.util.equals(SignalRecruiterDecisionRequest, a, b);
223
+ }
224
+ }
225
+
226
+ /**
227
+ * @generated from message workflow.v1.SignalRecruiterDecisionResponse
228
+ */
229
+ export class SignalRecruiterDecisionResponse extends Message<SignalRecruiterDecisionResponse> {
230
+ constructor(data?: PartialMessage<SignalRecruiterDecisionResponse>) {
231
+ super();
232
+ proto3.util.initPartial(data, this);
233
+ }
234
+
235
+ static readonly runtime: typeof proto3 = proto3;
236
+ static readonly typeName = "workflow.v1.SignalRecruiterDecisionResponse";
237
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
238
+ ]);
239
+
240
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalRecruiterDecisionResponse {
241
+ return new SignalRecruiterDecisionResponse().fromBinary(bytes, options);
242
+ }
243
+
244
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalRecruiterDecisionResponse {
245
+ return new SignalRecruiterDecisionResponse().fromJson(jsonValue, options);
246
+ }
247
+
248
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalRecruiterDecisionResponse {
249
+ return new SignalRecruiterDecisionResponse().fromJsonString(jsonString, options);
250
+ }
251
+
252
+ static equals(a: SignalRecruiterDecisionResponse | PlainMessage<SignalRecruiterDecisionResponse> | undefined, b: SignalRecruiterDecisionResponse | PlainMessage<SignalRecruiterDecisionResponse> | undefined): boolean {
253
+ return proto3.util.equals(SignalRecruiterDecisionResponse, a, b);
254
+ }
255
+ }
256
+
257
+ /**
258
+ * @generated from message workflow.v1.SignalAssessmentCompletedRequest
259
+ */
260
+ export class SignalAssessmentCompletedRequest extends Message<SignalAssessmentCompletedRequest> {
261
+ /**
262
+ * @generated from field: string application_id = 1;
263
+ */
264
+ applicationId = "";
265
+
266
+ /**
267
+ * @generated from field: string external_assessment_id = 2;
268
+ */
269
+ externalAssessmentId = "";
270
+
271
+ constructor(data?: PartialMessage<SignalAssessmentCompletedRequest>) {
272
+ super();
273
+ proto3.util.initPartial(data, this);
274
+ }
275
+
276
+ static readonly runtime: typeof proto3 = proto3;
277
+ static readonly typeName = "workflow.v1.SignalAssessmentCompletedRequest";
278
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
279
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
280
+ { no: 2, name: "external_assessment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
281
+ ]);
282
+
283
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalAssessmentCompletedRequest {
284
+ return new SignalAssessmentCompletedRequest().fromBinary(bytes, options);
285
+ }
286
+
287
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalAssessmentCompletedRequest {
288
+ return new SignalAssessmentCompletedRequest().fromJson(jsonValue, options);
289
+ }
290
+
291
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalAssessmentCompletedRequest {
292
+ return new SignalAssessmentCompletedRequest().fromJsonString(jsonString, options);
293
+ }
294
+
295
+ static equals(a: SignalAssessmentCompletedRequest | PlainMessage<SignalAssessmentCompletedRequest> | undefined, b: SignalAssessmentCompletedRequest | PlainMessage<SignalAssessmentCompletedRequest> | undefined): boolean {
296
+ return proto3.util.equals(SignalAssessmentCompletedRequest, a, b);
297
+ }
298
+ }
299
+
300
+ /**
301
+ * @generated from message workflow.v1.SignalAssessmentCompletedResponse
302
+ */
303
+ export class SignalAssessmentCompletedResponse extends Message<SignalAssessmentCompletedResponse> {
304
+ constructor(data?: PartialMessage<SignalAssessmentCompletedResponse>) {
305
+ super();
306
+ proto3.util.initPartial(data, this);
307
+ }
308
+
309
+ static readonly runtime: typeof proto3 = proto3;
310
+ static readonly typeName = "workflow.v1.SignalAssessmentCompletedResponse";
311
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
312
+ ]);
313
+
314
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalAssessmentCompletedResponse {
315
+ return new SignalAssessmentCompletedResponse().fromBinary(bytes, options);
316
+ }
317
+
318
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalAssessmentCompletedResponse {
319
+ return new SignalAssessmentCompletedResponse().fromJson(jsonValue, options);
320
+ }
321
+
322
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalAssessmentCompletedResponse {
323
+ return new SignalAssessmentCompletedResponse().fromJsonString(jsonString, options);
324
+ }
325
+
326
+ static equals(a: SignalAssessmentCompletedResponse | PlainMessage<SignalAssessmentCompletedResponse> | undefined, b: SignalAssessmentCompletedResponse | PlainMessage<SignalAssessmentCompletedResponse> | undefined): boolean {
327
+ return proto3.util.equals(SignalAssessmentCompletedResponse, a, b);
328
+ }
329
+ }
330
+
331
+ /**
332
+ * @generated from message workflow.v1.SignalInterviewBookedRequest
333
+ */
334
+ export class SignalInterviewBookedRequest extends Message<SignalInterviewBookedRequest> {
335
+ /**
336
+ * @generated from field: string application_id = 1;
337
+ */
338
+ applicationId = "";
339
+
340
+ /**
341
+ * @generated from field: string scheduled_at_rfc3339 = 2;
342
+ */
343
+ scheduledAtRfc3339 = "";
344
+
345
+ constructor(data?: PartialMessage<SignalInterviewBookedRequest>) {
346
+ super();
347
+ proto3.util.initPartial(data, this);
348
+ }
349
+
350
+ static readonly runtime: typeof proto3 = proto3;
351
+ static readonly typeName = "workflow.v1.SignalInterviewBookedRequest";
352
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
353
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
354
+ { no: 2, name: "scheduled_at_rfc3339", kind: "scalar", T: 9 /* ScalarType.STRING */ },
355
+ ]);
356
+
357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalInterviewBookedRequest {
358
+ return new SignalInterviewBookedRequest().fromBinary(bytes, options);
359
+ }
360
+
361
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalInterviewBookedRequest {
362
+ return new SignalInterviewBookedRequest().fromJson(jsonValue, options);
363
+ }
364
+
365
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalInterviewBookedRequest {
366
+ return new SignalInterviewBookedRequest().fromJsonString(jsonString, options);
367
+ }
368
+
369
+ static equals(a: SignalInterviewBookedRequest | PlainMessage<SignalInterviewBookedRequest> | undefined, b: SignalInterviewBookedRequest | PlainMessage<SignalInterviewBookedRequest> | undefined): boolean {
370
+ return proto3.util.equals(SignalInterviewBookedRequest, a, b);
371
+ }
372
+ }
373
+
374
+ /**
375
+ * @generated from message workflow.v1.SignalInterviewBookedResponse
376
+ */
377
+ export class SignalInterviewBookedResponse extends Message<SignalInterviewBookedResponse> {
378
+ constructor(data?: PartialMessage<SignalInterviewBookedResponse>) {
379
+ super();
380
+ proto3.util.initPartial(data, this);
381
+ }
382
+
383
+ static readonly runtime: typeof proto3 = proto3;
384
+ static readonly typeName = "workflow.v1.SignalInterviewBookedResponse";
385
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
386
+ ]);
387
+
388
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalInterviewBookedResponse {
389
+ return new SignalInterviewBookedResponse().fromBinary(bytes, options);
390
+ }
391
+
392
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalInterviewBookedResponse {
393
+ return new SignalInterviewBookedResponse().fromJson(jsonValue, options);
394
+ }
395
+
396
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalInterviewBookedResponse {
397
+ return new SignalInterviewBookedResponse().fromJsonString(jsonString, options);
398
+ }
399
+
400
+ static equals(a: SignalInterviewBookedResponse | PlainMessage<SignalInterviewBookedResponse> | undefined, b: SignalInterviewBookedResponse | PlainMessage<SignalInterviewBookedResponse> | undefined): boolean {
401
+ return proto3.util.equals(SignalInterviewBookedResponse, a, b);
402
+ }
403
+ }
404
+
405
+ /**
406
+ * @generated from message workflow.v1.SignalOfferDecisionRequest
407
+ */
408
+ export class SignalOfferDecisionRequest extends Message<SignalOfferDecisionRequest> {
409
+ /**
410
+ * @generated from field: string application_id = 1;
411
+ */
412
+ applicationId = "";
413
+
414
+ /**
415
+ * @generated from field: bool accepted = 2;
416
+ */
417
+ accepted = false;
418
+
419
+ /**
420
+ * @generated from field: string reason = 3;
421
+ */
422
+ reason = "";
423
+
424
+ constructor(data?: PartialMessage<SignalOfferDecisionRequest>) {
425
+ super();
426
+ proto3.util.initPartial(data, this);
427
+ }
428
+
429
+ static readonly runtime: typeof proto3 = proto3;
430
+ static readonly typeName = "workflow.v1.SignalOfferDecisionRequest";
431
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
432
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
433
+ { no: 2, name: "accepted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
434
+ { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
435
+ ]);
436
+
437
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalOfferDecisionRequest {
438
+ return new SignalOfferDecisionRequest().fromBinary(bytes, options);
439
+ }
440
+
441
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalOfferDecisionRequest {
442
+ return new SignalOfferDecisionRequest().fromJson(jsonValue, options);
443
+ }
444
+
445
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalOfferDecisionRequest {
446
+ return new SignalOfferDecisionRequest().fromJsonString(jsonString, options);
447
+ }
448
+
449
+ static equals(a: SignalOfferDecisionRequest | PlainMessage<SignalOfferDecisionRequest> | undefined, b: SignalOfferDecisionRequest | PlainMessage<SignalOfferDecisionRequest> | undefined): boolean {
450
+ return proto3.util.equals(SignalOfferDecisionRequest, a, b);
451
+ }
452
+ }
453
+
454
+ /**
455
+ * @generated from message workflow.v1.SignalOfferDecisionResponse
456
+ */
457
+ export class SignalOfferDecisionResponse extends Message<SignalOfferDecisionResponse> {
458
+ constructor(data?: PartialMessage<SignalOfferDecisionResponse>) {
459
+ super();
460
+ proto3.util.initPartial(data, this);
461
+ }
462
+
463
+ static readonly runtime: typeof proto3 = proto3;
464
+ static readonly typeName = "workflow.v1.SignalOfferDecisionResponse";
465
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
466
+ ]);
467
+
468
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignalOfferDecisionResponse {
469
+ return new SignalOfferDecisionResponse().fromBinary(bytes, options);
470
+ }
471
+
472
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignalOfferDecisionResponse {
473
+ return new SignalOfferDecisionResponse().fromJson(jsonValue, options);
474
+ }
475
+
476
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignalOfferDecisionResponse {
477
+ return new SignalOfferDecisionResponse().fromJsonString(jsonString, options);
478
+ }
479
+
480
+ static equals(a: SignalOfferDecisionResponse | PlainMessage<SignalOfferDecisionResponse> | undefined, b: SignalOfferDecisionResponse | PlainMessage<SignalOfferDecisionResponse> | undefined): boolean {
481
+ return proto3.util.equals(SignalOfferDecisionResponse, a, b);
482
+ }
483
+ }
484
+
485
+ /**
486
+ * @generated from message workflow.v1.GetWorkflowStatusRequest
487
+ */
488
+ export class GetWorkflowStatusRequest extends Message<GetWorkflowStatusRequest> {
489
+ /**
490
+ * @generated from field: string application_id = 1;
491
+ */
492
+ applicationId = "";
493
+
494
+ constructor(data?: PartialMessage<GetWorkflowStatusRequest>) {
495
+ super();
496
+ proto3.util.initPartial(data, this);
497
+ }
498
+
499
+ static readonly runtime: typeof proto3 = proto3;
500
+ static readonly typeName = "workflow.v1.GetWorkflowStatusRequest";
501
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
502
+ { no: 1, name: "application_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
503
+ ]);
504
+
505
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkflowStatusRequest {
506
+ return new GetWorkflowStatusRequest().fromBinary(bytes, options);
507
+ }
508
+
509
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkflowStatusRequest {
510
+ return new GetWorkflowStatusRequest().fromJson(jsonValue, options);
511
+ }
512
+
513
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkflowStatusRequest {
514
+ return new GetWorkflowStatusRequest().fromJsonString(jsonString, options);
515
+ }
516
+
517
+ static equals(a: GetWorkflowStatusRequest | PlainMessage<GetWorkflowStatusRequest> | undefined, b: GetWorkflowStatusRequest | PlainMessage<GetWorkflowStatusRequest> | undefined): boolean {
518
+ return proto3.util.equals(GetWorkflowStatusRequest, a, b);
519
+ }
520
+ }
521
+
522
+ /**
523
+ * @generated from message workflow.v1.GetWorkflowStatusResponse
524
+ */
525
+ export class GetWorkflowStatusResponse extends Message<GetWorkflowStatusResponse> {
526
+ /**
527
+ * @generated from field: string workflow_id = 1;
528
+ */
529
+ workflowId = "";
530
+
531
+ /**
532
+ * @generated from field: string run_id = 2;
533
+ */
534
+ runId = "";
535
+
536
+ /**
537
+ * Temporal workflow status name, e.g. RUNNING, COMPLETED.
538
+ *
539
+ * @generated from field: string status = 3;
540
+ */
541
+ status = "";
542
+
543
+ /**
544
+ * Best-effort last known stage from workflow (may be empty if not yet started).
545
+ *
546
+ * @generated from field: string last_known_stage = 4;
547
+ */
548
+ lastKnownStage = "";
549
+
550
+ constructor(data?: PartialMessage<GetWorkflowStatusResponse>) {
551
+ super();
552
+ proto3.util.initPartial(data, this);
553
+ }
554
+
555
+ static readonly runtime: typeof proto3 = proto3;
556
+ static readonly typeName = "workflow.v1.GetWorkflowStatusResponse";
557
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
558
+ { no: 1, name: "workflow_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
559
+ { no: 2, name: "run_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
560
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
561
+ { no: 4, name: "last_known_stage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
562
+ ]);
563
+
564
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkflowStatusResponse {
565
+ return new GetWorkflowStatusResponse().fromBinary(bytes, options);
566
+ }
567
+
568
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkflowStatusResponse {
569
+ return new GetWorkflowStatusResponse().fromJson(jsonValue, options);
570
+ }
571
+
572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkflowStatusResponse {
573
+ return new GetWorkflowStatusResponse().fromJsonString(jsonString, options);
574
+ }
575
+
576
+ static equals(a: GetWorkflowStatusResponse | PlainMessage<GetWorkflowStatusResponse> | undefined, b: GetWorkflowStatusResponse | PlainMessage<GetWorkflowStatusResponse> | undefined): boolean {
577
+ return proto3.util.equals(GetWorkflowStatusResponse, a, b);
578
+ }
579
+ }
580
+