@in-human-resources/backend-proto 0.1.0 → 0.1.2
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 +82 -63
- package/api/v1/README.md +282 -0
- package/api/v1/auth.proto +228 -0
- package/api/v1/candidate.proto +203 -0
- package/api/v1/common.proto +66 -0
- package/api/v1/company.proto +203 -0
- package/auth/v1/service.proto +824 -0
- package/common/v1/common.proto +10 -0
- package/gen/ts/api/v1/auth_connect.ts +19 -1
- package/gen/ts/api/v1/auth_pb.ts +88 -0
- package/gen/ts/api/v1/company_connect.ts +10 -1
- package/gen/ts/api/v1/company_pb.ts +124 -0
- package/gen/ts/auth/v1/service_connect.ts +28 -1
- package/gen/ts/auth/v1/service_pb.ts +284 -0
- package/package.json +4 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { ChangePasswordRequest, GetProfileRequest, GetProfileResponse, LinkOAuthAccountRequest, ListSessionsRequest, ListSessionsResponse, LoginRequest, LoginResponse, LogoutRequest, OAuthCallbackRequest, OAuthCallbackResponse, OAuthLoginRequest, OAuthLoginResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestPasswordResetRequest, ResendVerificationEmailRequest, ResetPasswordRequest, RevokeAllSessionsRequest, RevokeSessionRequest, UnlinkOAuthAccountRequest, UpdateProfileRequest, VerifyEmailRequest } from "./auth_pb.js";
|
|
6
|
+
import { ChangePasswordRequest, GetProfileRequest, GetProfileResponse, LinkOAuthAccountRequest, ListSessionsRequest, ListSessionsResponse, LoginRequest, LoginResponse, LogoutRequest, OAuthCallbackRequest, OAuthCallbackResponse, OAuthLoginRequest, OAuthLoginResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestPasswordResetRequest, ResendVerificationEmailRequest, ResetPasswordRequest, RevokeAllSessionsRequest, RevokeSessionRequest, SendEmailVerificationOtpRequest, UnlinkOAuthAccountRequest, UpdateProfileRequest, VerifyEmailRequest, VerifyEmailWithOtpRequest } from "./auth_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { Empty } from "./common_pb.js";
|
|
9
9
|
|
|
@@ -74,6 +74,24 @@ export const AuthService = {
|
|
|
74
74
|
O: Empty,
|
|
75
75
|
kind: MethodKind.Unary,
|
|
76
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* @generated from rpc api.v1.AuthService.SendEmailVerificationOtp
|
|
79
|
+
*/
|
|
80
|
+
sendEmailVerificationOtp: {
|
|
81
|
+
name: "SendEmailVerificationOtp",
|
|
82
|
+
I: SendEmailVerificationOtpRequest,
|
|
83
|
+
O: Empty,
|
|
84
|
+
kind: MethodKind.Unary,
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* @generated from rpc api.v1.AuthService.VerifyEmailWithOtp
|
|
88
|
+
*/
|
|
89
|
+
verifyEmailWithOtp: {
|
|
90
|
+
name: "VerifyEmailWithOtp",
|
|
91
|
+
I: VerifyEmailWithOtpRequest,
|
|
92
|
+
O: Empty,
|
|
93
|
+
kind: MethodKind.Unary,
|
|
94
|
+
},
|
|
77
95
|
/**
|
|
78
96
|
* Password management
|
|
79
97
|
*
|
package/gen/ts/api/v1/auth_pb.ts
CHANGED
|
@@ -40,6 +40,13 @@ export class RegisterRequest extends Message<RegisterRequest> {
|
|
|
40
40
|
*/
|
|
41
41
|
professionalHeadline = "";
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* optional; company invites when user_type=company
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string company_invite_token = 6;
|
|
47
|
+
*/
|
|
48
|
+
companyInviteToken = "";
|
|
49
|
+
|
|
43
50
|
/**
|
|
44
51
|
* @generated from field: api.v1.RequestContext context = 10;
|
|
45
52
|
*/
|
|
@@ -58,6 +65,7 @@ export class RegisterRequest extends Message<RegisterRequest> {
|
|
|
58
65
|
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
66
|
{ no: 4, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
67
|
{ no: 5, name: "professional_headline", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
68
|
+
{ no: 6, name: "company_invite_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
69
|
{ no: 10, name: "context", kind: "message", T: RequestContext },
|
|
62
70
|
]);
|
|
63
71
|
|
|
@@ -544,6 +552,86 @@ export class ResendVerificationEmailRequest extends Message<ResendVerificationEm
|
|
|
544
552
|
}
|
|
545
553
|
}
|
|
546
554
|
|
|
555
|
+
/**
|
|
556
|
+
* @generated from message api.v1.SendEmailVerificationOtpRequest
|
|
557
|
+
*/
|
|
558
|
+
export class SendEmailVerificationOtpRequest extends Message<SendEmailVerificationOtpRequest> {
|
|
559
|
+
/**
|
|
560
|
+
* @generated from field: string email = 1;
|
|
561
|
+
*/
|
|
562
|
+
email = "";
|
|
563
|
+
|
|
564
|
+
constructor(data?: PartialMessage<SendEmailVerificationOtpRequest>) {
|
|
565
|
+
super();
|
|
566
|
+
proto3.util.initPartial(data, this);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
570
|
+
static readonly typeName = "api.v1.SendEmailVerificationOtpRequest";
|
|
571
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
572
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
573
|
+
]);
|
|
574
|
+
|
|
575
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEmailVerificationOtpRequest {
|
|
576
|
+
return new SendEmailVerificationOtpRequest().fromBinary(bytes, options);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpRequest {
|
|
580
|
+
return new SendEmailVerificationOtpRequest().fromJson(jsonValue, options);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpRequest {
|
|
584
|
+
return new SendEmailVerificationOtpRequest().fromJsonString(jsonString, options);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
static equals(a: SendEmailVerificationOtpRequest | PlainMessage<SendEmailVerificationOtpRequest> | undefined, b: SendEmailVerificationOtpRequest | PlainMessage<SendEmailVerificationOtpRequest> | undefined): boolean {
|
|
588
|
+
return proto3.util.equals(SendEmailVerificationOtpRequest, a, b);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @generated from message api.v1.VerifyEmailWithOtpRequest
|
|
594
|
+
*/
|
|
595
|
+
export class VerifyEmailWithOtpRequest extends Message<VerifyEmailWithOtpRequest> {
|
|
596
|
+
/**
|
|
597
|
+
* @generated from field: string email = 1;
|
|
598
|
+
*/
|
|
599
|
+
email = "";
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: string code = 2;
|
|
603
|
+
*/
|
|
604
|
+
code = "";
|
|
605
|
+
|
|
606
|
+
constructor(data?: PartialMessage<VerifyEmailWithOtpRequest>) {
|
|
607
|
+
super();
|
|
608
|
+
proto3.util.initPartial(data, this);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
612
|
+
static readonly typeName = "api.v1.VerifyEmailWithOtpRequest";
|
|
613
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
614
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
615
|
+
{ no: 2, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
616
|
+
]);
|
|
617
|
+
|
|
618
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEmailWithOtpRequest {
|
|
619
|
+
return new VerifyEmailWithOtpRequest().fromBinary(bytes, options);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpRequest {
|
|
623
|
+
return new VerifyEmailWithOtpRequest().fromJson(jsonValue, options);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpRequest {
|
|
627
|
+
return new VerifyEmailWithOtpRequest().fromJsonString(jsonString, options);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
static equals(a: VerifyEmailWithOtpRequest | PlainMessage<VerifyEmailWithOtpRequest> | undefined, b: VerifyEmailWithOtpRequest | PlainMessage<VerifyEmailWithOtpRequest> | undefined): boolean {
|
|
631
|
+
return proto3.util.equals(VerifyEmailWithOtpRequest, a, b);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
547
635
|
/**
|
|
548
636
|
* @generated from message api.v1.RequestPasswordResetRequest
|
|
549
637
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CompanyMemberInfo, CompanyProfileResponse, GetCompanyOnboardingStatusRequest, GetCompanyRequest, GetCompanyResponse, GetMyCompanyMembershipRequest, GetMyCompanyRequest, InviteCompanyMemberRequest, ListCompanyMembersRequest, ListCompanyMembersResponse, RemoveCompanyMemberRequest, SubmitAccountSetupRequest, SubmitCompanyBrandingRequest, SubmitCompanyDetailsRequest, SubmitCompanyInfoRequest, SubmitCompanyInviteTeamRequest, UpdateCompanyMemberRoleRequest, UpdateCompanyProfileRequest } from "./company_pb.js";
|
|
6
|
+
import { AcceptCompanyInvitationRequest, AcceptCompanyInvitationResponse, CompanyMemberInfo, CompanyProfileResponse, GetCompanyOnboardingStatusRequest, GetCompanyRequest, GetCompanyResponse, GetMyCompanyMembershipRequest, GetMyCompanyRequest, InviteCompanyMemberRequest, ListCompanyMembersRequest, ListCompanyMembersResponse, RemoveCompanyMemberRequest, SubmitAccountSetupRequest, SubmitCompanyBrandingRequest, SubmitCompanyDetailsRequest, SubmitCompanyInfoRequest, SubmitCompanyInviteTeamRequest, UpdateCompanyMemberRoleRequest, UpdateCompanyProfileRequest } from "./company_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { CompleteOnboardingRequest, Empty, OnboardingStatusResponse, SkipOnboardingStepRequest } from "./common_pb.js";
|
|
9
9
|
|
|
@@ -73,6 +73,15 @@ export const CompanyService = {
|
|
|
73
73
|
O: Empty,
|
|
74
74
|
kind: MethodKind.Unary,
|
|
75
75
|
},
|
|
76
|
+
/**
|
|
77
|
+
* @generated from rpc api.v1.CompanyService.AcceptCompanyInvitation
|
|
78
|
+
*/
|
|
79
|
+
acceptCompanyInvitation: {
|
|
80
|
+
name: "AcceptCompanyInvitation",
|
|
81
|
+
I: AcceptCompanyInvitationRequest,
|
|
82
|
+
O: AcceptCompanyInvitationResponse,
|
|
83
|
+
kind: MethodKind.Unary,
|
|
84
|
+
},
|
|
76
85
|
/**
|
|
77
86
|
* @generated from rpc api.v1.CompanyService.RemoveCompanyMember
|
|
78
87
|
*/
|
|
@@ -672,6 +672,130 @@ export class InviteCompanyMemberRequest extends Message<InviteCompanyMemberReque
|
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
+
/**
|
|
676
|
+
* @generated from message api.v1.AcceptCompanyInvitationRequest
|
|
677
|
+
*/
|
|
678
|
+
export class AcceptCompanyInvitationRequest extends Message<AcceptCompanyInvitationRequest> {
|
|
679
|
+
/**
|
|
680
|
+
* User ID extracted from auth token
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: string token = 1;
|
|
683
|
+
*/
|
|
684
|
+
token = "";
|
|
685
|
+
|
|
686
|
+
constructor(data?: PartialMessage<AcceptCompanyInvitationRequest>) {
|
|
687
|
+
super();
|
|
688
|
+
proto3.util.initPartial(data, this);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
692
|
+
static readonly typeName = "api.v1.AcceptCompanyInvitationRequest";
|
|
693
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
694
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
695
|
+
]);
|
|
696
|
+
|
|
697
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptCompanyInvitationRequest {
|
|
698
|
+
return new AcceptCompanyInvitationRequest().fromBinary(bytes, options);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationRequest {
|
|
702
|
+
return new AcceptCompanyInvitationRequest().fromJson(jsonValue, options);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationRequest {
|
|
706
|
+
return new AcceptCompanyInvitationRequest().fromJsonString(jsonString, options);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
static equals(a: AcceptCompanyInvitationRequest | PlainMessage<AcceptCompanyInvitationRequest> | undefined, b: AcceptCompanyInvitationRequest | PlainMessage<AcceptCompanyInvitationRequest> | undefined): boolean {
|
|
710
|
+
return proto3.util.equals(AcceptCompanyInvitationRequest, a, b);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @generated from message api.v1.AcceptCompanyInvitationResponse
|
|
716
|
+
*/
|
|
717
|
+
export class AcceptCompanyInvitationResponse extends Message<AcceptCompanyInvitationResponse> {
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: string access_token = 1;
|
|
720
|
+
*/
|
|
721
|
+
accessToken = "";
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @generated from field: string refresh_token = 2;
|
|
725
|
+
*/
|
|
726
|
+
refreshToken = "";
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @generated from field: string user_type = 3;
|
|
730
|
+
*/
|
|
731
|
+
userType = "";
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @generated from field: bool email_verified = 4;
|
|
735
|
+
*/
|
|
736
|
+
emailVerified = false;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: string onboarding_step = 5;
|
|
740
|
+
*/
|
|
741
|
+
onboardingStep = "";
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: bool onboarding_complete = 6;
|
|
745
|
+
*/
|
|
746
|
+
onboardingComplete = false;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: string company_id = 7;
|
|
750
|
+
*/
|
|
751
|
+
companyId = "";
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @generated from field: string hierarchy_level = 8;
|
|
755
|
+
*/
|
|
756
|
+
hierarchyLevel = "";
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @generated from field: string department = 9;
|
|
760
|
+
*/
|
|
761
|
+
department = "";
|
|
762
|
+
|
|
763
|
+
constructor(data?: PartialMessage<AcceptCompanyInvitationResponse>) {
|
|
764
|
+
super();
|
|
765
|
+
proto3.util.initPartial(data, this);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
769
|
+
static readonly typeName = "api.v1.AcceptCompanyInvitationResponse";
|
|
770
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
771
|
+
{ no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
772
|
+
{ no: 2, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
773
|
+
{ no: 3, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
774
|
+
{ no: 4, name: "email_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
775
|
+
{ no: 5, name: "onboarding_step", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
776
|
+
{ no: 6, name: "onboarding_complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
777
|
+
{ no: 7, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
778
|
+
{ no: 8, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
779
|
+
{ no: 9, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
780
|
+
]);
|
|
781
|
+
|
|
782
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptCompanyInvitationResponse {
|
|
783
|
+
return new AcceptCompanyInvitationResponse().fromBinary(bytes, options);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationResponse {
|
|
787
|
+
return new AcceptCompanyInvitationResponse().fromJson(jsonValue, options);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationResponse {
|
|
791
|
+
return new AcceptCompanyInvitationResponse().fromJsonString(jsonString, options);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
static equals(a: AcceptCompanyInvitationResponse | PlainMessage<AcceptCompanyInvitationResponse> | undefined, b: AcceptCompanyInvitationResponse | PlainMessage<AcceptCompanyInvitationResponse> | undefined): boolean {
|
|
795
|
+
return proto3.util.equals(AcceptCompanyInvitationResponse, a, b);
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
675
799
|
/**
|
|
676
800
|
* @generated from message api.v1.RemoveCompanyMemberRequest
|
|
677
801
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { 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, 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, 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.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -79,6 +79,24 @@ export const AuthService = {
|
|
|
79
79
|
O: ResendVerificationEmailResponse,
|
|
80
80
|
kind: MethodKind.Unary,
|
|
81
81
|
},
|
|
82
|
+
/**
|
|
83
|
+
* @generated from rpc auth.v1.AuthService.SendEmailVerificationOtp
|
|
84
|
+
*/
|
|
85
|
+
sendEmailVerificationOtp: {
|
|
86
|
+
name: "SendEmailVerificationOtp",
|
|
87
|
+
I: SendEmailVerificationOtpRequest,
|
|
88
|
+
O: SendEmailVerificationOtpResponse,
|
|
89
|
+
kind: MethodKind.Unary,
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* @generated from rpc auth.v1.AuthService.VerifyEmailWithOtp
|
|
93
|
+
*/
|
|
94
|
+
verifyEmailWithOtp: {
|
|
95
|
+
name: "VerifyEmailWithOtp",
|
|
96
|
+
I: VerifyEmailWithOtpRequest,
|
|
97
|
+
O: VerifyEmailWithOtpResponse,
|
|
98
|
+
kind: MethodKind.Unary,
|
|
99
|
+
},
|
|
82
100
|
/**
|
|
83
101
|
* Password management
|
|
84
102
|
*
|
|
@@ -275,6 +293,15 @@ export const AuthService = {
|
|
|
275
293
|
O: InviteCompanyMemberResponse,
|
|
276
294
|
kind: MethodKind.Unary,
|
|
277
295
|
},
|
|
296
|
+
/**
|
|
297
|
+
* @generated from rpc auth.v1.AuthService.AcceptCompanyInvitation
|
|
298
|
+
*/
|
|
299
|
+
acceptCompanyInvitation: {
|
|
300
|
+
name: "AcceptCompanyInvitation",
|
|
301
|
+
I: AcceptCompanyInvitationRequest,
|
|
302
|
+
O: AcceptCompanyInvitationResponse,
|
|
303
|
+
kind: MethodKind.Unary,
|
|
304
|
+
},
|
|
278
305
|
/**
|
|
279
306
|
* @generated from rpc auth.v1.AuthService.RemoveCompanyMember
|
|
280
307
|
*/
|
|
@@ -45,6 +45,13 @@ export class RegisterRequest extends Message<RegisterRequest> {
|
|
|
45
45
|
*/
|
|
46
46
|
meta?: RequestMeta;
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* optional; raw token from invite email when user_type=company
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string company_invite_token = 12;
|
|
52
|
+
*/
|
|
53
|
+
companyInviteToken = "";
|
|
54
|
+
|
|
48
55
|
constructor(data?: PartialMessage<RegisterRequest>) {
|
|
49
56
|
super();
|
|
50
57
|
proto3.util.initPartial(data, this);
|
|
@@ -59,6 +66,7 @@ export class RegisterRequest extends Message<RegisterRequest> {
|
|
|
59
66
|
{ no: 4, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
67
|
{ no: 8, name: "professional_headline", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
68
|
{ no: 10, name: "meta", kind: "message", T: RequestMeta },
|
|
69
|
+
{ no: 12, name: "company_invite_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
62
70
|
]);
|
|
63
71
|
|
|
64
72
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRequest {
|
|
@@ -848,6 +856,148 @@ export class ResendVerificationEmailResponse extends Message<ResendVerificationE
|
|
|
848
856
|
}
|
|
849
857
|
}
|
|
850
858
|
|
|
859
|
+
/**
|
|
860
|
+
* @generated from message auth.v1.SendEmailVerificationOtpRequest
|
|
861
|
+
*/
|
|
862
|
+
export class SendEmailVerificationOtpRequest extends Message<SendEmailVerificationOtpRequest> {
|
|
863
|
+
/**
|
|
864
|
+
* @generated from field: string email = 1;
|
|
865
|
+
*/
|
|
866
|
+
email = "";
|
|
867
|
+
|
|
868
|
+
constructor(data?: PartialMessage<SendEmailVerificationOtpRequest>) {
|
|
869
|
+
super();
|
|
870
|
+
proto3.util.initPartial(data, this);
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
874
|
+
static readonly typeName = "auth.v1.SendEmailVerificationOtpRequest";
|
|
875
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
876
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
877
|
+
]);
|
|
878
|
+
|
|
879
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEmailVerificationOtpRequest {
|
|
880
|
+
return new SendEmailVerificationOtpRequest().fromBinary(bytes, options);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpRequest {
|
|
884
|
+
return new SendEmailVerificationOtpRequest().fromJson(jsonValue, options);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpRequest {
|
|
888
|
+
return new SendEmailVerificationOtpRequest().fromJsonString(jsonString, options);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
static equals(a: SendEmailVerificationOtpRequest | PlainMessage<SendEmailVerificationOtpRequest> | undefined, b: SendEmailVerificationOtpRequest | PlainMessage<SendEmailVerificationOtpRequest> | undefined): boolean {
|
|
892
|
+
return proto3.util.equals(SendEmailVerificationOtpRequest, a, b);
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* @generated from message auth.v1.SendEmailVerificationOtpResponse
|
|
898
|
+
*/
|
|
899
|
+
export class SendEmailVerificationOtpResponse extends Message<SendEmailVerificationOtpResponse> {
|
|
900
|
+
constructor(data?: PartialMessage<SendEmailVerificationOtpResponse>) {
|
|
901
|
+
super();
|
|
902
|
+
proto3.util.initPartial(data, this);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
906
|
+
static readonly typeName = "auth.v1.SendEmailVerificationOtpResponse";
|
|
907
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
908
|
+
]);
|
|
909
|
+
|
|
910
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEmailVerificationOtpResponse {
|
|
911
|
+
return new SendEmailVerificationOtpResponse().fromBinary(bytes, options);
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpResponse {
|
|
915
|
+
return new SendEmailVerificationOtpResponse().fromJson(jsonValue, options);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEmailVerificationOtpResponse {
|
|
919
|
+
return new SendEmailVerificationOtpResponse().fromJsonString(jsonString, options);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
static equals(a: SendEmailVerificationOtpResponse | PlainMessage<SendEmailVerificationOtpResponse> | undefined, b: SendEmailVerificationOtpResponse | PlainMessage<SendEmailVerificationOtpResponse> | undefined): boolean {
|
|
923
|
+
return proto3.util.equals(SendEmailVerificationOtpResponse, a, b);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* @generated from message auth.v1.VerifyEmailWithOtpRequest
|
|
929
|
+
*/
|
|
930
|
+
export class VerifyEmailWithOtpRequest extends Message<VerifyEmailWithOtpRequest> {
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: string email = 1;
|
|
933
|
+
*/
|
|
934
|
+
email = "";
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* @generated from field: string code = 2;
|
|
938
|
+
*/
|
|
939
|
+
code = "";
|
|
940
|
+
|
|
941
|
+
constructor(data?: PartialMessage<VerifyEmailWithOtpRequest>) {
|
|
942
|
+
super();
|
|
943
|
+
proto3.util.initPartial(data, this);
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
947
|
+
static readonly typeName = "auth.v1.VerifyEmailWithOtpRequest";
|
|
948
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
949
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
950
|
+
{ no: 2, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
951
|
+
]);
|
|
952
|
+
|
|
953
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEmailWithOtpRequest {
|
|
954
|
+
return new VerifyEmailWithOtpRequest().fromBinary(bytes, options);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpRequest {
|
|
958
|
+
return new VerifyEmailWithOtpRequest().fromJson(jsonValue, options);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpRequest {
|
|
962
|
+
return new VerifyEmailWithOtpRequest().fromJsonString(jsonString, options);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
static equals(a: VerifyEmailWithOtpRequest | PlainMessage<VerifyEmailWithOtpRequest> | undefined, b: VerifyEmailWithOtpRequest | PlainMessage<VerifyEmailWithOtpRequest> | undefined): boolean {
|
|
966
|
+
return proto3.util.equals(VerifyEmailWithOtpRequest, a, b);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @generated from message auth.v1.VerifyEmailWithOtpResponse
|
|
972
|
+
*/
|
|
973
|
+
export class VerifyEmailWithOtpResponse extends Message<VerifyEmailWithOtpResponse> {
|
|
974
|
+
constructor(data?: PartialMessage<VerifyEmailWithOtpResponse>) {
|
|
975
|
+
super();
|
|
976
|
+
proto3.util.initPartial(data, this);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
980
|
+
static readonly typeName = "auth.v1.VerifyEmailWithOtpResponse";
|
|
981
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
982
|
+
]);
|
|
983
|
+
|
|
984
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEmailWithOtpResponse {
|
|
985
|
+
return new VerifyEmailWithOtpResponse().fromBinary(bytes, options);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpResponse {
|
|
989
|
+
return new VerifyEmailWithOtpResponse().fromJson(jsonValue, options);
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEmailWithOtpResponse {
|
|
993
|
+
return new VerifyEmailWithOtpResponse().fromJsonString(jsonString, options);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
static equals(a: VerifyEmailWithOtpResponse | PlainMessage<VerifyEmailWithOtpResponse> | undefined, b: VerifyEmailWithOtpResponse | PlainMessage<VerifyEmailWithOtpResponse> | undefined): boolean {
|
|
997
|
+
return proto3.util.equals(VerifyEmailWithOtpResponse, a, b);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
|
|
851
1001
|
/**
|
|
852
1002
|
* @generated from message auth.v1.RequestPasswordResetRequest
|
|
853
1003
|
*/
|
|
@@ -2606,6 +2756,140 @@ export class InviteCompanyMemberResponse extends Message<InviteCompanyMemberResp
|
|
|
2606
2756
|
}
|
|
2607
2757
|
}
|
|
2608
2758
|
|
|
2759
|
+
/**
|
|
2760
|
+
* @generated from message auth.v1.AcceptCompanyInvitationRequest
|
|
2761
|
+
*/
|
|
2762
|
+
export class AcceptCompanyInvitationRequest extends Message<AcceptCompanyInvitationRequest> {
|
|
2763
|
+
/**
|
|
2764
|
+
* @generated from field: string user_id = 1;
|
|
2765
|
+
*/
|
|
2766
|
+
userId = "";
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* @generated from field: string token = 2;
|
|
2770
|
+
*/
|
|
2771
|
+
token = "";
|
|
2772
|
+
|
|
2773
|
+
constructor(data?: PartialMessage<AcceptCompanyInvitationRequest>) {
|
|
2774
|
+
super();
|
|
2775
|
+
proto3.util.initPartial(data, this);
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2779
|
+
static readonly typeName = "auth.v1.AcceptCompanyInvitationRequest";
|
|
2780
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2781
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2782
|
+
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2783
|
+
]);
|
|
2784
|
+
|
|
2785
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptCompanyInvitationRequest {
|
|
2786
|
+
return new AcceptCompanyInvitationRequest().fromBinary(bytes, options);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationRequest {
|
|
2790
|
+
return new AcceptCompanyInvitationRequest().fromJson(jsonValue, options);
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationRequest {
|
|
2794
|
+
return new AcceptCompanyInvitationRequest().fromJsonString(jsonString, options);
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
static equals(a: AcceptCompanyInvitationRequest | PlainMessage<AcceptCompanyInvitationRequest> | undefined, b: AcceptCompanyInvitationRequest | PlainMessage<AcceptCompanyInvitationRequest> | undefined): boolean {
|
|
2798
|
+
return proto3.util.equals(AcceptCompanyInvitationRequest, a, b);
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
/**
|
|
2803
|
+
* @generated from message auth.v1.AcceptCompanyInvitationResponse
|
|
2804
|
+
*/
|
|
2805
|
+
export class AcceptCompanyInvitationResponse extends Message<AcceptCompanyInvitationResponse> {
|
|
2806
|
+
/**
|
|
2807
|
+
* @generated from field: string access_token = 1;
|
|
2808
|
+
*/
|
|
2809
|
+
accessToken = "";
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* @generated from field: string refresh_token = 2;
|
|
2813
|
+
*/
|
|
2814
|
+
refreshToken = "";
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* @generated from field: string user_type = 3;
|
|
2818
|
+
*/
|
|
2819
|
+
userType = "";
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* @generated from field: bool email_verified = 4;
|
|
2823
|
+
*/
|
|
2824
|
+
emailVerified = false;
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* @generated from field: string onboarding_status = 5;
|
|
2828
|
+
*/
|
|
2829
|
+
onboardingStatus = "";
|
|
2830
|
+
|
|
2831
|
+
/**
|
|
2832
|
+
* @generated from field: string onboarding_step = 6;
|
|
2833
|
+
*/
|
|
2834
|
+
onboardingStep = "";
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* @generated from field: bool onboarding_complete = 7;
|
|
2838
|
+
*/
|
|
2839
|
+
onboardingComplete = false;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* @generated from field: string company_id = 8;
|
|
2843
|
+
*/
|
|
2844
|
+
companyId = "";
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* @generated from field: string hierarchy_level = 9;
|
|
2848
|
+
*/
|
|
2849
|
+
hierarchyLevel = "";
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* @generated from field: string department = 10;
|
|
2853
|
+
*/
|
|
2854
|
+
department = "";
|
|
2855
|
+
|
|
2856
|
+
constructor(data?: PartialMessage<AcceptCompanyInvitationResponse>) {
|
|
2857
|
+
super();
|
|
2858
|
+
proto3.util.initPartial(data, this);
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2862
|
+
static readonly typeName = "auth.v1.AcceptCompanyInvitationResponse";
|
|
2863
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2864
|
+
{ no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2865
|
+
{ no: 2, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2866
|
+
{ no: 3, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2867
|
+
{ no: 4, name: "email_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2868
|
+
{ no: 5, name: "onboarding_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2869
|
+
{ no: 6, name: "onboarding_step", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2870
|
+
{ no: 7, name: "onboarding_complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2871
|
+
{ no: 8, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2872
|
+
{ no: 9, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2873
|
+
{ no: 10, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2874
|
+
]);
|
|
2875
|
+
|
|
2876
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptCompanyInvitationResponse {
|
|
2877
|
+
return new AcceptCompanyInvitationResponse().fromBinary(bytes, options);
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationResponse {
|
|
2881
|
+
return new AcceptCompanyInvitationResponse().fromJson(jsonValue, options);
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptCompanyInvitationResponse {
|
|
2885
|
+
return new AcceptCompanyInvitationResponse().fromJsonString(jsonString, options);
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
static equals(a: AcceptCompanyInvitationResponse | PlainMessage<AcceptCompanyInvitationResponse> | undefined, b: AcceptCompanyInvitationResponse | PlainMessage<AcceptCompanyInvitationResponse> | undefined): boolean {
|
|
2889
|
+
return proto3.util.equals(AcceptCompanyInvitationResponse, a, b);
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2609
2893
|
/**
|
|
2610
2894
|
* @generated from message auth.v1.RemoveCompanyMemberRequest
|
|
2611
2895
|
*/
|