@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.
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts,import_extension=none"
2
2
  // @generated from file auth/v1/service.proto (package auth.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AcceptCompanyInvitationRequest, AcceptCompanyInvitationResponse, AddCandidateExperienceRequest, CandidateProfileResponse, ChangePasswordRequest, ChangePasswordResponse, CheckApplicationReadyRequest, CheckApplicationReadyResponse, CheckPermissionRequest, CheckPermissionResponse, CompanyProfileResponse, CompleteCompanyProfileRequest, CompleteCompanyProfileResponse, CompleteOnboardingRequest, CreateCompanyRequest, CreateCompanyResponse, DeleteCandidateExperienceRequest, GetCandidateOnboardingStatusRequest, GetCandidateProfileRequest, GetCompanyOnboardingStatusRequest, GetCompanyProfileRequest, GetCompanyRequest, GetCompanyResponse, GetMyCompanyForUserRequest, GetMyCompanyMembershipRequest, GetMyCompanyMembershipResponse, GetOnboardingStatusRequest, GetOnboardingStatusResponse, GetProfileRequest, GetProfileResponse, InviteCompanyMemberRequest, InviteCompanyMemberResponse, LinkOAuthAccountRequest, LinkOAuthAccountResponse, ListCompanyMembersRequest, ListCompanyMembersResponse, ListSessionsRequest, ListSessionsResponse, LoginRequest, LoginResponse, LogoutRequest, LogoutResponse, OAuthCallbackRequest, OAuthCallbackResponse, OAuthLoginRequest, OAuthLoginResponse, OnboardingStatusResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RemoveCompanyMemberRequest, RemoveCompanyMemberResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAllSessionsRequest, RevokeAllSessionsResponse, RevokeSessionRequest, RevokeSessionResponse, SendEmailVerificationOtpRequest, SendEmailVerificationOtpResponse, SkipOnboardingStepRequest, SkipTeamInviteRequest, SkipTeamInviteResponse, SubmitAccountSetupRequest, SubmitCandidateBasicProfileRequest, SubmitCandidateExperienceRequest, SubmitCandidatePreferencesRequest, SubmitCandidateResumeRequest, SubmitCandidateSkillsRequest, SubmitCompanyBrandingRequest, SubmitCompanyDetailsRequest, SubmitCompanyInfoRequest, SubmitCompanyInviteTeamRequest, UnlinkOAuthAccountRequest, UnlinkOAuthAccountResponse, UpdateCandidateExperienceRequest, UpdateCandidatePreferencesRequest, UpdateCandidateProfileRequest, UpdateCandidateSkillsRequest, UpdateCompanyMemberRoleRequest, UpdateCompanyMemberRoleResponse, UpdateCompanyProfileRequest, UpdateCompanyProtoRequest, UpdateCompanyResponse, UpdateProfileRequest, UpdateProfileResponse, VerifyEmailRequest, VerifyEmailResponse, VerifyEmailWithOtpRequest, VerifyEmailWithOtpResponse, VerifyTokenRequest, VerifyTokenResponse } from "./service_pb.js";
6
+ import { AcceptCompanyInvitationRequest, AcceptCompanyInvitationResponse, AddCandidateExperienceRequest, CandidateProfileResponse, ChangePasswordRequest, ChangePasswordResponse, CheckApplicationReadyRequest, CheckApplicationReadyResponse, CheckPermissionRequest, CheckPermissionResponse, CompanyProfileResponse, CompleteCompanyProfileRequest, CompleteCompanyProfileResponse, CompleteOnboardingRequest, CreateCompanyRequest, CreateCompanyResponse, DeleteCandidateExperienceRequest, GetCandidateOnboardingStatusRequest, GetCandidateProfileRequest, GetCompanyOnboardingStatusRequest, GetCompanyProfileRequest, GetCompanyRequest, GetCompanyResponse, GetMyCompanyForUserRequest, GetMyCompanyMembershipRequest, GetMyCompanyMembershipResponse, GetOnboardingStatusRequest, GetOnboardingStatusResponse, GetProfileRequest, GetProfileResponse, InviteCompanyMemberRequest, InviteCompanyMemberResponse, LinkOAuthAccountRequest, LinkOAuthAccountResponse, ListCompanyMembersRequest, ListCompanyMembersResponse, ListSessionsRequest, ListSessionsResponse, LoginRequest, LoginResponse, LogoutRequest, LogoutResponse, OAuthCallbackRequest, OAuthCallbackResponse, OAuthLoginRequest, OAuthLoginResponse, OnboardingStatusResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RemoveCompanyMemberRequest, RemoveCompanyMemberResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAllSessionsRequest, RevokeAllSessionsResponse, RevokeSessionRequest, RevokeSessionResponse, SendEmailVerificationOtpRequest, SendEmailVerificationOtpResponse, SkipOnboardingStepRequest, SkipTeamInviteRequest, SkipTeamInviteResponse, SubmitAccountSetupRequest, SubmitCandidateBasicProfileRequest, SubmitCandidateExperienceRequest, SubmitCandidatePreferencesRequest, SubmitCandidateResumeRequest, SubmitCandidateSkillsRequest, SubmitCompanyBrandingRequest, SubmitCompanyDetailsRequest, SubmitCompanyInfoRequest, SubmitCompanyInviteTeamRequest, UnlinkOAuthAccountRequest, UnlinkOAuthAccountResponse, UpdateCandidateExperienceRequest, UpdateCandidatePreferencesRequest, UpdateCandidateProfileRequest, UpdateCandidateSkillsRequest, UpdateCompanyMemberRoleRequest, UpdateCompanyMemberRoleResponse, UpdateCompanyProfileRequest, UpdateCompanyProtoRequest, UpdateCompanyResponse, UpdateProfileRequest, UpdateProfileResponse, VerifyEmailRequest, VerifyEmailResponse, VerifyEmailWithOtpRequest, VerifyEmailWithOtpResponse, VerifyTokenRequest, VerifyTokenResponse } from "./service_pb";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -13,7 +13,7 @@ export const AuthService = {
13
13
  typeName: "auth.v1.AuthService",
14
14
  methods: {
15
15
  /**
16
- * Core auth
16
+ * Core auth
17
17
  *
18
18
  * @generated from rpc auth.v1.AuthService.Register
19
19
  */
@@ -60,7 +60,7 @@ export const AuthService = {
60
60
  kind: MethodKind.Unary,
61
61
  },
62
62
  /**
63
- * Email verification
63
+ * Email verification
64
64
  *
65
65
  * @generated from rpc auth.v1.AuthService.VerifyEmail
66
66
  */
@@ -98,7 +98,7 @@ export const AuthService = {
98
98
  kind: MethodKind.Unary,
99
99
  },
100
100
  /**
101
- * Password management
101
+ * Password management
102
102
  *
103
103
  * @generated from rpc auth.v1.AuthService.RequestPasswordReset
104
104
  */
@@ -127,7 +127,7 @@ export const AuthService = {
127
127
  kind: MethodKind.Unary,
128
128
  },
129
129
  /**
130
- * Profile
130
+ * Profile
131
131
  *
132
132
  * @generated from rpc auth.v1.AuthService.GetProfile
133
133
  */
@@ -147,7 +147,7 @@ export const AuthService = {
147
147
  kind: MethodKind.Unary,
148
148
  },
149
149
  /**
150
- * Session management
150
+ * Session management
151
151
  *
152
152
  * @generated from rpc auth.v1.AuthService.ListSessions
153
153
  */
@@ -176,7 +176,7 @@ export const AuthService = {
176
176
  kind: MethodKind.Unary,
177
177
  },
178
178
  /**
179
- * OAuth
179
+ * OAuth
180
180
  *
181
181
  * @generated from rpc auth.v1.AuthService.OAuthLogin
182
182
  */
@@ -214,7 +214,7 @@ export const AuthService = {
214
214
  kind: MethodKind.Unary,
215
215
  },
216
216
  /**
217
- * RBAC
217
+ * RBAC
218
218
  *
219
219
  * @generated from rpc auth.v1.AuthService.CheckPermission
220
220
  */
@@ -225,7 +225,7 @@ export const AuthService = {
225
225
  kind: MethodKind.Unary,
226
226
  },
227
227
  /**
228
- * Company management
228
+ * Company management
229
229
  *
230
230
  * @generated from rpc auth.v1.AuthService.CreateCompany
231
231
  */
@@ -245,7 +245,7 @@ export const AuthService = {
245
245
  kind: MethodKind.Unary,
246
246
  },
247
247
  /**
248
- * Resolves the caller's company via membership then loads company details (gateway must not orchestrate).
248
+ * Resolves the caller's company via membership then loads company details (gateway must not orchestrate).
249
249
  *
250
250
  * @generated from rpc auth.v1.AuthService.GetMyCompany
251
251
  */
@@ -283,7 +283,7 @@ export const AuthService = {
283
283
  kind: MethodKind.Unary,
284
284
  },
285
285
  /**
286
- * Company member management
286
+ * Company member management
287
287
  *
288
288
  * @generated from rpc auth.v1.AuthService.InviteCompanyMember
289
289
  */
@@ -339,7 +339,7 @@ export const AuthService = {
339
339
  kind: MethodKind.Unary,
340
340
  },
341
341
  /**
342
- * Company onboarding (legacy — kept for backward compatibility)
342
+ * Company onboarding (legacy — kept for backward compatibility)
343
343
  *
344
344
  * @generated from rpc auth.v1.AuthService.CompleteCompanyProfile
345
345
  */
@@ -368,7 +368,7 @@ export const AuthService = {
368
368
  kind: MethodKind.Unary,
369
369
  },
370
370
  /**
371
- * Company onboarding (step-by-step workflow)
371
+ * Company onboarding (step-by-step workflow)
372
372
  *
373
373
  * @generated from rpc auth.v1.AuthService.GetCompanyOnboardingStatus
374
374
  */
@@ -442,7 +442,7 @@ export const AuthService = {
442
442
  kind: MethodKind.Unary,
443
443
  },
444
444
  /**
445
- * Candidate onboarding (step-by-step workflow)
445
+ * Candidate onboarding (step-by-step workflow)
446
446
  *
447
447
  * @generated from rpc auth.v1.AuthService.GetCandidateOnboardingStatus
448
448
  */
@@ -516,7 +516,7 @@ export const AuthService = {
516
516
  kind: MethodKind.Unary,
517
517
  },
518
518
  /**
519
- * Candidate profile operations
519
+ * Candidate profile operations
520
520
  *
521
521
  * @generated from rpc auth.v1.AuthService.GetCandidateProfile
522
522
  */
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
2
  // @generated from file auth/v1/service.proto (package auth.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
- import { RequestMeta } from "../../common/v1/common_pb.js";
8
+ import { RequestMeta } from "../../common/v1/common_pb";
9
9
 
10
10
  /**
11
11
  * @generated from message auth.v1.RegisterRequest
@@ -27,14 +27,14 @@ export class RegisterRequest extends Message<RegisterRequest> {
27
27
  name = "";
28
28
 
29
29
  /**
30
- * "company" or "candidate"
30
+ * "company" or "candidate"
31
31
  *
32
32
  * @generated from field: string user_type = 4;
33
33
  */
34
34
  userType = "";
35
35
 
36
36
  /**
37
- * required if user_type=candidate
37
+ * required if user_type=candidate
38
38
  *
39
39
  * @generated from field: string professional_headline = 8;
40
40
  */
@@ -46,7 +46,7 @@ export class RegisterRequest extends Message<RegisterRequest> {
46
46
  meta?: RequestMeta;
47
47
 
48
48
  /**
49
- * optional; raw token from invite email when user_type=company
49
+ * optional; raw token from invite email when user_type=company
50
50
  *
51
51
  * @generated from field: string company_invite_token = 12;
52
52
  */
@@ -3780,14 +3780,14 @@ export class SubmitAccountSetupRequest extends Message<SubmitAccountSetupRequest
3780
3780
  companySlug = "";
3781
3781
 
3782
3782
  /**
3783
- * "hr" or "tech_lead"
3783
+ * "hr" or "tech_lead"
3784
3784
  *
3785
3785
  * @generated from field: string department = 4;
3786
3786
  */
3787
3787
  department = "";
3788
3788
 
3789
3789
  /**
3790
- * "hr", "founder", "tech_lead"
3790
+ * "hr", "founder", "tech_lead"
3791
3791
  *
3792
3792
  * @generated from field: string role = 5;
3793
3793
  */
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
2
  // @generated from file common/v1/common.proto (package common.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -0,0 +1,191 @@
1
+ // @generated by protoc-gen-connect-es v1.7.0 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 { ApplyToJobRequest, ApplyToJobResponse, CloseJobRequest, CloseJobResponse, CreateJobRequest, CreateJobResponse, GetApplicationRequest, GetApplicationResponse, GetJobRequest, GetJobResponse, LinkAssessmentRequest, LinkAssessmentResponse, ListApplicationEventsRequest, ListApplicationEventsResponse, ListApplicationsForCandidateRequest, ListApplicationsForCandidateResponse, ListApplicationsForJobRequest, ListApplicationsForJobResponse, ListApplicationsRequest, ListApplicationsResponse, ListJobsRequest, ListJobsResponse, PublishJobRequest, PublishJobResponse, RecordInterviewRequest, RecordInterviewResponse, RecordOfferRequest, RecordOfferResponse, RecordRecruiterDecisionRequest, RecordRecruiterDecisionResponse, RecordScreeningResultRequest, RecordScreeningResultResponse, SearchJobsRequest, SearchJobsResponse, TransitionApplicationStageRequest, TransitionApplicationStageResponse, UpdateJobRequest, UpdateJobResponse } from "./service_pb";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * HiringService is the private hiring API for the API gateway and approved internal callers
11
+ * (e.g. workflow in M2). Product clients must use api.v1.HiringService on the gateway.
12
+ *
13
+ * @generated from service hiring.v1.HiringService
14
+ */
15
+ export const HiringService = {
16
+ typeName: "hiring.v1.HiringService",
17
+ methods: {
18
+ /**
19
+ * @generated from rpc hiring.v1.HiringService.CreateJob
20
+ */
21
+ createJob: {
22
+ name: "CreateJob",
23
+ I: CreateJobRequest,
24
+ O: CreateJobResponse,
25
+ kind: MethodKind.Unary,
26
+ },
27
+ /**
28
+ * @generated from rpc hiring.v1.HiringService.PublishJob
29
+ */
30
+ publishJob: {
31
+ name: "PublishJob",
32
+ I: PublishJobRequest,
33
+ O: PublishJobResponse,
34
+ kind: MethodKind.Unary,
35
+ },
36
+ /**
37
+ * @generated from rpc hiring.v1.HiringService.ApplyToJob
38
+ */
39
+ applyToJob: {
40
+ name: "ApplyToJob",
41
+ I: ApplyToJobRequest,
42
+ O: ApplyToJobResponse,
43
+ kind: MethodKind.Unary,
44
+ },
45
+ /**
46
+ * @generated from rpc hiring.v1.HiringService.GetJob
47
+ */
48
+ getJob: {
49
+ name: "GetJob",
50
+ I: GetJobRequest,
51
+ O: GetJobResponse,
52
+ kind: MethodKind.Unary,
53
+ },
54
+ /**
55
+ * @generated from rpc hiring.v1.HiringService.GetApplication
56
+ */
57
+ getApplication: {
58
+ name: "GetApplication",
59
+ I: GetApplicationRequest,
60
+ O: GetApplicationResponse,
61
+ kind: MethodKind.Unary,
62
+ },
63
+ /**
64
+ * @generated from rpc hiring.v1.HiringService.ListJobs
65
+ */
66
+ listJobs: {
67
+ name: "ListJobs",
68
+ I: ListJobsRequest,
69
+ O: ListJobsResponse,
70
+ kind: MethodKind.Unary,
71
+ },
72
+ /**
73
+ * @generated from rpc hiring.v1.HiringService.SearchJobs
74
+ */
75
+ searchJobs: {
76
+ name: "SearchJobs",
77
+ I: SearchJobsRequest,
78
+ O: SearchJobsResponse,
79
+ kind: MethodKind.Unary,
80
+ },
81
+ /**
82
+ * @generated from rpc hiring.v1.HiringService.UpdateJob
83
+ */
84
+ updateJob: {
85
+ name: "UpdateJob",
86
+ I: UpdateJobRequest,
87
+ O: UpdateJobResponse,
88
+ kind: MethodKind.Unary,
89
+ },
90
+ /**
91
+ * @generated from rpc hiring.v1.HiringService.CloseJob
92
+ */
93
+ closeJob: {
94
+ name: "CloseJob",
95
+ I: CloseJobRequest,
96
+ O: CloseJobResponse,
97
+ kind: MethodKind.Unary,
98
+ },
99
+ /**
100
+ * @generated from rpc hiring.v1.HiringService.ListApplications
101
+ */
102
+ listApplications: {
103
+ name: "ListApplications",
104
+ I: ListApplicationsRequest,
105
+ O: ListApplicationsResponse,
106
+ kind: MethodKind.Unary,
107
+ },
108
+ /**
109
+ * @generated from rpc hiring.v1.HiringService.ListApplicationsForJob
110
+ */
111
+ listApplicationsForJob: {
112
+ name: "ListApplicationsForJob",
113
+ I: ListApplicationsForJobRequest,
114
+ O: ListApplicationsForJobResponse,
115
+ kind: MethodKind.Unary,
116
+ },
117
+ /**
118
+ * @generated from rpc hiring.v1.HiringService.ListApplicationsForCandidate
119
+ */
120
+ listApplicationsForCandidate: {
121
+ name: "ListApplicationsForCandidate",
122
+ I: ListApplicationsForCandidateRequest,
123
+ O: ListApplicationsForCandidateResponse,
124
+ kind: MethodKind.Unary,
125
+ },
126
+ /**
127
+ * @generated from rpc hiring.v1.HiringService.TransitionApplicationStage
128
+ */
129
+ transitionApplicationStage: {
130
+ name: "TransitionApplicationStage",
131
+ I: TransitionApplicationStageRequest,
132
+ O: TransitionApplicationStageResponse,
133
+ kind: MethodKind.Unary,
134
+ },
135
+ /**
136
+ * @generated from rpc hiring.v1.HiringService.RecordRecruiterDecision
137
+ */
138
+ recordRecruiterDecision: {
139
+ name: "RecordRecruiterDecision",
140
+ I: RecordRecruiterDecisionRequest,
141
+ O: RecordRecruiterDecisionResponse,
142
+ kind: MethodKind.Unary,
143
+ },
144
+ /**
145
+ * @generated from rpc hiring.v1.HiringService.RecordScreeningResult
146
+ */
147
+ recordScreeningResult: {
148
+ name: "RecordScreeningResult",
149
+ I: RecordScreeningResultRequest,
150
+ O: RecordScreeningResultResponse,
151
+ kind: MethodKind.Unary,
152
+ },
153
+ /**
154
+ * @generated from rpc hiring.v1.HiringService.RecordInterview
155
+ */
156
+ recordInterview: {
157
+ name: "RecordInterview",
158
+ I: RecordInterviewRequest,
159
+ O: RecordInterviewResponse,
160
+ kind: MethodKind.Unary,
161
+ },
162
+ /**
163
+ * @generated from rpc hiring.v1.HiringService.LinkAssessment
164
+ */
165
+ linkAssessment: {
166
+ name: "LinkAssessment",
167
+ I: LinkAssessmentRequest,
168
+ O: LinkAssessmentResponse,
169
+ kind: MethodKind.Unary,
170
+ },
171
+ /**
172
+ * @generated from rpc hiring.v1.HiringService.RecordOffer
173
+ */
174
+ recordOffer: {
175
+ name: "RecordOffer",
176
+ I: RecordOfferRequest,
177
+ O: RecordOfferResponse,
178
+ kind: MethodKind.Unary,
179
+ },
180
+ /**
181
+ * @generated from rpc hiring.v1.HiringService.ListApplicationEvents
182
+ */
183
+ listApplicationEvents: {
184
+ name: "ListApplicationEvents",
185
+ I: ListApplicationEventsRequest,
186
+ O: ListApplicationEventsResponse,
187
+ kind: MethodKind.Unary,
188
+ },
189
+ }
190
+ } as const;
191
+