@dailydotdev/schema 0.2.20 → 0.2.21
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/dist/daily-api/opportunity_pb.cjs +1 -0
- package/dist/daily-api/opportunity_pb.d.cts +166 -0
- package/dist/daily-api/opportunity_pb.d.ts +166 -0
- package/dist/daily-api/opportunity_pb.js +1 -0
- package/dist/daily-api/organization_pb.cjs +1 -0
- package/dist/daily-api/organization_pb.d.cts +338 -0
- package/dist/daily-api/organization_pb.d.ts +338 -0
- package/dist/daily-api/organization_pb.js +1 -0
- package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.cjs +1 -0
- package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.d.cts +65 -0
- package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.d.ts +65 -0
- package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.js +1 -0
- package/dist/daily-api/pubsub/opportunity_pb.cjs +1 -0
- package/dist/daily-api/pubsub/opportunity_pb.d.cts +28 -0
- package/dist/daily-api/pubsub/opportunity_pb.d.ts +28 -0
- package/dist/daily-api/pubsub/opportunity_pb.js +1 -0
- package/dist/daily-api/user-candidate-preference_pb.cjs +1 -0
- package/dist/daily-api/user-candidate-preference_pb.d.cts +185 -0
- package/dist/daily-api/user-candidate-preference_pb.d.ts +185 -0
- package/dist/daily-api/user-candidate-preference_pb.js +1 -0
- package/dist/daily-api/util_pb.cjs +1 -0
- package/dist/daily-api/util_pb.d.cts +66 -0
- package/dist/daily-api/util_pb.d.ts +66 -0
- package/dist/daily-api/util_pb.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { UserCandidatePreference } from '../user-candidate-preference_pb.cjs';
|
|
3
|
+
import '../util_pb.cjs';
|
|
4
|
+
import '../organization_pb.cjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message dailydotdev.api.pubsub.candidateacceptedopportunity.Screening
|
|
8
|
+
*/
|
|
9
|
+
declare class Screening extends Message<Screening> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: string screening = 1;
|
|
12
|
+
*/
|
|
13
|
+
screening: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string answer = 2;
|
|
16
|
+
*/
|
|
17
|
+
answer: string;
|
|
18
|
+
constructor(data?: PartialMessage<Screening>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "dailydotdev.api.pubsub.candidateacceptedopportunity.Screening";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Screening;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Screening;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Screening;
|
|
25
|
+
static equals(a: Screening | PlainMessage<Screening> | undefined, b: Screening | PlainMessage<Screening> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message dailydotdev.api.pubsub.candidateacceptedopportunity.CandidateAcceptedOpportunityMessage
|
|
29
|
+
*/
|
|
30
|
+
declare class CandidateAcceptedOpportunityMessage extends Message<CandidateAcceptedOpportunityMessage> {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string opportunity_id = 1;
|
|
33
|
+
*/
|
|
34
|
+
opportunityId: string;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string user_id = 2;
|
|
37
|
+
*/
|
|
38
|
+
userId: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: int32 created_at = 3;
|
|
41
|
+
*/
|
|
42
|
+
createdAt: number;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: int32 updated_at = 4;
|
|
45
|
+
*/
|
|
46
|
+
updatedAt: number;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: repeated dailydotdev.api.pubsub.candidateacceptedopportunity.Screening screening = 5;
|
|
49
|
+
*/
|
|
50
|
+
screening: Screening[];
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.UserCandidatePreference candidate_preference = 6;
|
|
53
|
+
*/
|
|
54
|
+
candidatePreference?: UserCandidatePreference;
|
|
55
|
+
constructor(data?: PartialMessage<CandidateAcceptedOpportunityMessage>);
|
|
56
|
+
static readonly runtime: typeof proto3;
|
|
57
|
+
static readonly typeName = "dailydotdev.api.pubsub.candidateacceptedopportunity.CandidateAcceptedOpportunityMessage";
|
|
58
|
+
static readonly fields: FieldList;
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
60
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
61
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
62
|
+
static equals(a: CandidateAcceptedOpportunityMessage | PlainMessage<CandidateAcceptedOpportunityMessage> | undefined, b: CandidateAcceptedOpportunityMessage | PlainMessage<CandidateAcceptedOpportunityMessage> | undefined): boolean;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { CandidateAcceptedOpportunityMessage, Screening };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { UserCandidatePreference } from '../user-candidate-preference_pb.js';
|
|
3
|
+
import '../util_pb.js';
|
|
4
|
+
import '../organization_pb.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message dailydotdev.api.pubsub.candidateacceptedopportunity.Screening
|
|
8
|
+
*/
|
|
9
|
+
declare class Screening extends Message<Screening> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: string screening = 1;
|
|
12
|
+
*/
|
|
13
|
+
screening: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string answer = 2;
|
|
16
|
+
*/
|
|
17
|
+
answer: string;
|
|
18
|
+
constructor(data?: PartialMessage<Screening>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "dailydotdev.api.pubsub.candidateacceptedopportunity.Screening";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Screening;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Screening;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Screening;
|
|
25
|
+
static equals(a: Screening | PlainMessage<Screening> | undefined, b: Screening | PlainMessage<Screening> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message dailydotdev.api.pubsub.candidateacceptedopportunity.CandidateAcceptedOpportunityMessage
|
|
29
|
+
*/
|
|
30
|
+
declare class CandidateAcceptedOpportunityMessage extends Message<CandidateAcceptedOpportunityMessage> {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string opportunity_id = 1;
|
|
33
|
+
*/
|
|
34
|
+
opportunityId: string;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string user_id = 2;
|
|
37
|
+
*/
|
|
38
|
+
userId: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: int32 created_at = 3;
|
|
41
|
+
*/
|
|
42
|
+
createdAt: number;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: int32 updated_at = 4;
|
|
45
|
+
*/
|
|
46
|
+
updatedAt: number;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: repeated dailydotdev.api.pubsub.candidateacceptedopportunity.Screening screening = 5;
|
|
49
|
+
*/
|
|
50
|
+
screening: Screening[];
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.UserCandidatePreference candidate_preference = 6;
|
|
53
|
+
*/
|
|
54
|
+
candidatePreference?: UserCandidatePreference;
|
|
55
|
+
constructor(data?: PartialMessage<CandidateAcceptedOpportunityMessage>);
|
|
56
|
+
static readonly runtime: typeof proto3;
|
|
57
|
+
static readonly typeName = "dailydotdev.api.pubsub.candidateacceptedopportunity.CandidateAcceptedOpportunityMessage";
|
|
58
|
+
static readonly fields: FieldList;
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
60
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
61
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidateAcceptedOpportunityMessage;
|
|
62
|
+
static equals(a: CandidateAcceptedOpportunityMessage | PlainMessage<CandidateAcceptedOpportunityMessage> | undefined, b: CandidateAcceptedOpportunityMessage | PlainMessage<CandidateAcceptedOpportunityMessage> | undefined): boolean;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { CandidateAcceptedOpportunityMessage, Screening };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Message as e,proto3 as t}from"@bufbuild/protobuf";import{UserCandidatePreference as n}from"../user-candidate-preference_pb.ts";class r extends e{screening="";answer="";constructor(e){super(),t.util.initPartial(e,this)}static runtime=t;static typeName="dailydotdev.api.pubsub.candidateacceptedopportunity.Screening";static fields=t.util.newFieldList((()=>[{no:1,name:"screening",kind:"scalar",T:9},{no:2,name:"answer",kind:"scalar",T:9}]));static fromBinary(e,t){return(new r).fromBinary(e,t)}static fromJson(e,t){return(new r).fromJson(e,t)}static fromJsonString(e,t){return(new r).fromJsonString(e,t)}static equals(e,n){return t.util.equals(r,e,n)}}class a extends e{opportunityId="";userId="";createdAt=0;updatedAt=0;screening=[];candidatePreference;constructor(e){super(),t.util.initPartial(e,this)}static runtime=t;static typeName="dailydotdev.api.pubsub.candidateacceptedopportunity.CandidateAcceptedOpportunityMessage";static fields=t.util.newFieldList((()=>[{no:1,name:"opportunity_id",kind:"scalar",T:9},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"created_at",kind:"scalar",T:5},{no:4,name:"updated_at",kind:"scalar",T:5},{no:5,name:"screening",kind:"message",T:r,repeated:!0},{no:6,name:"candidate_preference",kind:"message",T:n}]));static fromBinary(e,t){return(new a).fromBinary(e,t)}static fromJson(e,t){return(new a).fromJson(e,t)}static fromJsonString(e,t){return(new a).fromJsonString(e,t)}static equals(e,n){return t.util.equals(a,e,n)}}export{a as CandidateAcceptedOpportunityMessage,r as Screening};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={};((t,r)=>{for(var o in r)e(t,o,{get:r[o],enumerable:!0})})(i,{OpportunityMessage:()=>u}),module.exports=(t=i,((t,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let p of o(i))n.call(t,p)||p===a||e(t,p,{get:()=>i[p],enumerable:!(s=r(i,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf"),s=require("../opportunity_pb.cjs"),p=require("../organization_pb.cjs");class u extends a.Message{opportunity;organization;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.pubsub.opportunity.OpportunityMessage";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"opportunity",kind:"message",T:s.Opportunity},{no:2,name:"organization",kind:"message",T:p.Organization}]));static fromBinary(t,e){return(new u).fromBinary(t,e)}static fromJson(t,e){return(new u).fromJson(t,e)}static fromJsonString(t,e){return(new u).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(u,t,e)}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Opportunity } from '../opportunity_pb.cjs';
|
|
3
|
+
import { Organization } from '../organization_pb.cjs';
|
|
4
|
+
import '../util_pb.cjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message dailydotdev.api.pubsub.opportunity.OpportunityMessage
|
|
8
|
+
*/
|
|
9
|
+
declare class OpportunityMessage extends Message<OpportunityMessage> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: dailydotdev.api.opportunity.Opportunity opportunity = 1;
|
|
12
|
+
*/
|
|
13
|
+
opportunity?: Opportunity;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: dailydotdev.api.organization.Organization organization = 2;
|
|
16
|
+
*/
|
|
17
|
+
organization?: Organization;
|
|
18
|
+
constructor(data?: PartialMessage<OpportunityMessage>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "dailydotdev.api.pubsub.opportunity.OpportunityMessage";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityMessage;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityMessage;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityMessage;
|
|
25
|
+
static equals(a: OpportunityMessage | PlainMessage<OpportunityMessage> | undefined, b: OpportunityMessage | PlainMessage<OpportunityMessage> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { OpportunityMessage };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Opportunity } from '../opportunity_pb.js';
|
|
3
|
+
import { Organization } from '../organization_pb.js';
|
|
4
|
+
import '../util_pb.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message dailydotdev.api.pubsub.opportunity.OpportunityMessage
|
|
8
|
+
*/
|
|
9
|
+
declare class OpportunityMessage extends Message<OpportunityMessage> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: dailydotdev.api.opportunity.Opportunity opportunity = 1;
|
|
12
|
+
*/
|
|
13
|
+
opportunity?: Opportunity;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: dailydotdev.api.organization.Organization organization = 2;
|
|
16
|
+
*/
|
|
17
|
+
organization?: Organization;
|
|
18
|
+
constructor(data?: PartialMessage<OpportunityMessage>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "dailydotdev.api.pubsub.opportunity.OpportunityMessage";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityMessage;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityMessage;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityMessage;
|
|
25
|
+
static equals(a: OpportunityMessage | PlainMessage<OpportunityMessage> | undefined, b: OpportunityMessage | PlainMessage<OpportunityMessage> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { OpportunityMessage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Message as t,proto3 as i}from"@bufbuild/protobuf";import{Opportunity as o}from"../opportunity_pb.ts";import{Organization as r}from"../organization_pb.ts";class n extends t{opportunity;organization;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.pubsub.opportunity.OpportunityMessage";static fields=i.util.newFieldList((()=>[{no:1,name:"opportunity",kind:"message",T:o},{no:2,name:"organization",kind:"message",T:r}]));static fromBinary(t,i){return(new n).fromBinary(t,i)}static fromJson(t,i){return(new n).fromJson(t,i)}static fromJsonString(t,i){return(new n).fromJsonString(t,i)}static equals(t,o){return i.util.equals(n,t,o)}}export{n as OpportunityMessage};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,o={};((e,n)=>{for(var a in n)t(e,a,{get:n[a],enumerable:!0})})(o,{EmploymentType:()=>p,OpportunityMatchStatus:()=>E,SalaryExpectation:()=>c,UserCandidateCV:()=>m,UserCandidatePreference:()=>u}),module.exports=(e=o,((e,o,i,T)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let s of a(o))r.call(e,s)||s===i||t(e,s,{get:()=>o[s],enumerable:!(T=n(o,s))||T.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),T=require("./util_pb.cjs"),s=require("./organization_pb.cjs"),E=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.PENDING=1]="PENDING",e[e.CANDIDATE_ACCEPTED=2]="CANDIDATE_ACCEPTED",e[e.CANDIDATE_REJECTED=3]="CANDIDATE_REJECTED",e[e.CANDIDATE_TIMED_OUT=4]="CANDIDATE_TIMED_OUT",e[e.RECRUITER_ACCEPTED=5]="RECRUITER_ACCEPTED",e[e.RECRUITER_REJECTED=6]="RECRUITER_REJECTED",e))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.usercandidatepreference.OpportunityMatchStatus",[{no:0,name:"OPPORTUNITY_MATCH_STATUS_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_MATCH_STATUS_PENDING"},{no:2,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_ACCEPTED"},{no:3,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_REJECTED"},{no:4,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_TIMED_OUT"},{no:5,name:"OPPORTUNITY_MATCH_STATUS_RECRUITER_ACCEPTED"},{no:6,name:"OPPORTUNITY_MATCH_STATUS_RECRUITER_REJECTED"}]);var p=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.FULL_TIME=1]="FULL_TIME",e[e.PART_TIME=2]="PART_TIME",e[e.CONTRACT=3]="CONTRACT",e[e.INTERNSHIP=4]="INTERNSHIP",e))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.usercandidatepreference.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);class m extends i.Message{bucket="";blob="";uploadedAt=0;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.usercandidatepreference.UserCandidateCV";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"bucket",kind:"scalar",T:9},{no:2,name:"blob",kind:"scalar",T:9},{no:3,name:"uploaded_at",kind:"scalar",T:5}]));static fromBinary(e,t){return(new m).fromBinary(e,t)}static fromJson(e,t){return(new m).fromJson(e,t)}static fromJsonString(e,t){return(new m).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(m,e,t)}}class c extends i.Message{minSalary;currency;period;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.usercandidatepreference.SalaryExpectation";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"min_salary",kind:"scalar",T:5,opt:!0},{no:2,name:"currency",kind:"scalar",T:9,opt:!0},{no:3,name:"period",kind:"scalar",T:9,opt:!0}]));static fromBinary(e,t){return(new c).fromBinary(e,t)}static fromJson(e,t){return(new c).fromJson(e,t)}static fromJsonString(e,t){return(new c).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(c,e,t)}}class u extends i.Message{userId="";status=0;updatedAt=0;cv;cvParsedJson="";role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType;companyStage;companySize;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:i.proto3.getEnumType(E)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:m},{no:5,name:"cv_parsed_json",kind:"scalar",T:9},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(p),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:c},{no:10,name:"location",kind:"message",T:T.Location,repeated:!0},{no:11,name:"location_type",kind:"message",T:T.LocationType,opt:!0},{no:12,name:"company_stage",kind:"enum",T:i.proto3.getEnumType(s.CompanyStage),opt:!0},{no:13,name:"company_size",kind:"enum",T:i.proto3.getEnumType(s.CompanySize),opt:!0}]));static fromBinary(e,t){return(new u).fromBinary(e,t)}static fromJson(e,t){return(new u).fromJson(e,t)}static fromJsonString(e,t){return(new u).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(u,e,t)}}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Location, LocationType } from './util_pb.cjs';
|
|
3
|
+
import { CompanyStage, CompanySize } from './organization_pb.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @generated from enum dailydotdev.api.usercandidatepreference.OpportunityMatchStatus
|
|
7
|
+
*/
|
|
8
|
+
declare enum OpportunityMatchStatus {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_UNSPECIFIED = 0;
|
|
11
|
+
*/
|
|
12
|
+
UNSPECIFIED = 0,
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_PENDING = 1;
|
|
15
|
+
*/
|
|
16
|
+
PENDING = 1,
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_ACCEPTED = 2;
|
|
19
|
+
*/
|
|
20
|
+
CANDIDATE_ACCEPTED = 2,
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_REJECTED = 3;
|
|
23
|
+
*/
|
|
24
|
+
CANDIDATE_REJECTED = 3,
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_TIMED_OUT = 4;
|
|
27
|
+
*/
|
|
28
|
+
CANDIDATE_TIMED_OUT = 4,
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_RECRUITER_ACCEPTED = 5;
|
|
31
|
+
*/
|
|
32
|
+
RECRUITER_ACCEPTED = 5,
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_RECRUITER_REJECTED = 6;
|
|
35
|
+
*/
|
|
36
|
+
RECRUITER_REJECTED = 6
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum dailydotdev.api.usercandidatepreference.EmploymentType
|
|
40
|
+
*/
|
|
41
|
+
declare enum EmploymentType {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: EMPLOYMENT_TYPE_UNSPECIFIED = 0;
|
|
44
|
+
*/
|
|
45
|
+
UNSPECIFIED = 0,
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: EMPLOYMENT_TYPE_FULL_TIME = 1;
|
|
48
|
+
*/
|
|
49
|
+
FULL_TIME = 1,
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: EMPLOYMENT_TYPE_PART_TIME = 2;
|
|
52
|
+
*/
|
|
53
|
+
PART_TIME = 2,
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: EMPLOYMENT_TYPE_CONTRACT = 3;
|
|
56
|
+
*/
|
|
57
|
+
CONTRACT = 3,
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: EMPLOYMENT_TYPE_INTERNSHIP = 4;
|
|
60
|
+
*/
|
|
61
|
+
INTERNSHIP = 4
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Supporting message types
|
|
65
|
+
*
|
|
66
|
+
* @generated from message dailydotdev.api.usercandidatepreference.UserCandidateCV
|
|
67
|
+
*/
|
|
68
|
+
declare class UserCandidateCV extends Message<UserCandidateCV> {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string bucket = 1;
|
|
71
|
+
*/
|
|
72
|
+
bucket: string;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string blob = 2;
|
|
75
|
+
*/
|
|
76
|
+
blob: string;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: int32 uploaded_at = 3;
|
|
79
|
+
*/
|
|
80
|
+
uploadedAt: number;
|
|
81
|
+
constructor(data?: PartialMessage<UserCandidateCV>);
|
|
82
|
+
static readonly runtime: typeof proto3;
|
|
83
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidateCV";
|
|
84
|
+
static readonly fields: FieldList;
|
|
85
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserCandidateCV;
|
|
86
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserCandidateCV;
|
|
87
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserCandidateCV;
|
|
88
|
+
static equals(a: UserCandidateCV | PlainMessage<UserCandidateCV> | undefined, b: UserCandidateCV | PlainMessage<UserCandidateCV> | undefined): boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message dailydotdev.api.usercandidatepreference.SalaryExpectation
|
|
92
|
+
*/
|
|
93
|
+
declare class SalaryExpectation extends Message<SalaryExpectation> {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: optional int32 min_salary = 1;
|
|
96
|
+
*/
|
|
97
|
+
minSalary?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: optional string currency = 2;
|
|
100
|
+
*/
|
|
101
|
+
currency?: string;
|
|
102
|
+
/**
|
|
103
|
+
* "annual", "monthly", "hourly"
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional string period = 3;
|
|
106
|
+
*/
|
|
107
|
+
period?: string;
|
|
108
|
+
constructor(data?: PartialMessage<SalaryExpectation>);
|
|
109
|
+
static readonly runtime: typeof proto3;
|
|
110
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.SalaryExpectation";
|
|
111
|
+
static readonly fields: FieldList;
|
|
112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SalaryExpectation;
|
|
113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SalaryExpectation;
|
|
114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SalaryExpectation;
|
|
115
|
+
static equals(a: SalaryExpectation | PlainMessage<SalaryExpectation> | undefined, b: SalaryExpectation | PlainMessage<SalaryExpectation> | undefined): boolean;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message dailydotdev.api.usercandidatepreference.UserCandidatePreference
|
|
119
|
+
*/
|
|
120
|
+
declare class UserCandidatePreference extends Message<UserCandidatePreference> {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string user_id = 1;
|
|
123
|
+
*/
|
|
124
|
+
userId: string;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.OpportunityMatchStatus status = 2;
|
|
127
|
+
*/
|
|
128
|
+
status: OpportunityMatchStatus;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: int32 updated_at = 3;
|
|
131
|
+
*/
|
|
132
|
+
updatedAt: number;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.UserCandidateCV cv = 4;
|
|
135
|
+
*/
|
|
136
|
+
cv?: UserCandidateCV;
|
|
137
|
+
/**
|
|
138
|
+
* JSON string for flexibility
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string cv_parsed_json = 5;
|
|
141
|
+
*/
|
|
142
|
+
cvParsedJson: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string role = 6;
|
|
145
|
+
*/
|
|
146
|
+
role: string;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: float role_type = 7;
|
|
149
|
+
*/
|
|
150
|
+
roleType: number;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: repeated dailydotdev.api.usercandidatepreference.EmploymentType employment_type = 8;
|
|
153
|
+
*/
|
|
154
|
+
employmentType: EmploymentType[];
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.SalaryExpectation salary_expectation = 9;
|
|
157
|
+
*/
|
|
158
|
+
salaryExpectation?: SalaryExpectation;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: repeated dailydotdev.api.util.Location location = 10;
|
|
161
|
+
*/
|
|
162
|
+
location: Location[];
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: optional dailydotdev.api.util.LocationType location_type = 11;
|
|
165
|
+
*/
|
|
166
|
+
locationType?: LocationType;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: optional dailydotdev.api.organization.CompanyStage company_stage = 12;
|
|
169
|
+
*/
|
|
170
|
+
companyStage?: CompanyStage;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: optional dailydotdev.api.organization.CompanySize company_size = 13;
|
|
173
|
+
*/
|
|
174
|
+
companySize?: CompanySize;
|
|
175
|
+
constructor(data?: PartialMessage<UserCandidatePreference>);
|
|
176
|
+
static readonly runtime: typeof proto3;
|
|
177
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidatePreference";
|
|
178
|
+
static readonly fields: FieldList;
|
|
179
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserCandidatePreference;
|
|
180
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserCandidatePreference;
|
|
181
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserCandidatePreference;
|
|
182
|
+
static equals(a: UserCandidatePreference | PlainMessage<UserCandidatePreference> | undefined, b: UserCandidatePreference | PlainMessage<UserCandidatePreference> | undefined): boolean;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export { EmploymentType, OpportunityMatchStatus, SalaryExpectation, UserCandidateCV, UserCandidatePreference };
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Location, LocationType } from './util_pb.js';
|
|
3
|
+
import { CompanyStage, CompanySize } from './organization_pb.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @generated from enum dailydotdev.api.usercandidatepreference.OpportunityMatchStatus
|
|
7
|
+
*/
|
|
8
|
+
declare enum OpportunityMatchStatus {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_UNSPECIFIED = 0;
|
|
11
|
+
*/
|
|
12
|
+
UNSPECIFIED = 0,
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_PENDING = 1;
|
|
15
|
+
*/
|
|
16
|
+
PENDING = 1,
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_ACCEPTED = 2;
|
|
19
|
+
*/
|
|
20
|
+
CANDIDATE_ACCEPTED = 2,
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_REJECTED = 3;
|
|
23
|
+
*/
|
|
24
|
+
CANDIDATE_REJECTED = 3,
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_CANDIDATE_TIMED_OUT = 4;
|
|
27
|
+
*/
|
|
28
|
+
CANDIDATE_TIMED_OUT = 4,
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_RECRUITER_ACCEPTED = 5;
|
|
31
|
+
*/
|
|
32
|
+
RECRUITER_ACCEPTED = 5,
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: OPPORTUNITY_MATCH_STATUS_RECRUITER_REJECTED = 6;
|
|
35
|
+
*/
|
|
36
|
+
RECRUITER_REJECTED = 6
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum dailydotdev.api.usercandidatepreference.EmploymentType
|
|
40
|
+
*/
|
|
41
|
+
declare enum EmploymentType {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: EMPLOYMENT_TYPE_UNSPECIFIED = 0;
|
|
44
|
+
*/
|
|
45
|
+
UNSPECIFIED = 0,
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: EMPLOYMENT_TYPE_FULL_TIME = 1;
|
|
48
|
+
*/
|
|
49
|
+
FULL_TIME = 1,
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: EMPLOYMENT_TYPE_PART_TIME = 2;
|
|
52
|
+
*/
|
|
53
|
+
PART_TIME = 2,
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: EMPLOYMENT_TYPE_CONTRACT = 3;
|
|
56
|
+
*/
|
|
57
|
+
CONTRACT = 3,
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: EMPLOYMENT_TYPE_INTERNSHIP = 4;
|
|
60
|
+
*/
|
|
61
|
+
INTERNSHIP = 4
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Supporting message types
|
|
65
|
+
*
|
|
66
|
+
* @generated from message dailydotdev.api.usercandidatepreference.UserCandidateCV
|
|
67
|
+
*/
|
|
68
|
+
declare class UserCandidateCV extends Message<UserCandidateCV> {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string bucket = 1;
|
|
71
|
+
*/
|
|
72
|
+
bucket: string;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string blob = 2;
|
|
75
|
+
*/
|
|
76
|
+
blob: string;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: int32 uploaded_at = 3;
|
|
79
|
+
*/
|
|
80
|
+
uploadedAt: number;
|
|
81
|
+
constructor(data?: PartialMessage<UserCandidateCV>);
|
|
82
|
+
static readonly runtime: typeof proto3;
|
|
83
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidateCV";
|
|
84
|
+
static readonly fields: FieldList;
|
|
85
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserCandidateCV;
|
|
86
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserCandidateCV;
|
|
87
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserCandidateCV;
|
|
88
|
+
static equals(a: UserCandidateCV | PlainMessage<UserCandidateCV> | undefined, b: UserCandidateCV | PlainMessage<UserCandidateCV> | undefined): boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message dailydotdev.api.usercandidatepreference.SalaryExpectation
|
|
92
|
+
*/
|
|
93
|
+
declare class SalaryExpectation extends Message<SalaryExpectation> {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: optional int32 min_salary = 1;
|
|
96
|
+
*/
|
|
97
|
+
minSalary?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: optional string currency = 2;
|
|
100
|
+
*/
|
|
101
|
+
currency?: string;
|
|
102
|
+
/**
|
|
103
|
+
* "annual", "monthly", "hourly"
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional string period = 3;
|
|
106
|
+
*/
|
|
107
|
+
period?: string;
|
|
108
|
+
constructor(data?: PartialMessage<SalaryExpectation>);
|
|
109
|
+
static readonly runtime: typeof proto3;
|
|
110
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.SalaryExpectation";
|
|
111
|
+
static readonly fields: FieldList;
|
|
112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SalaryExpectation;
|
|
113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SalaryExpectation;
|
|
114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SalaryExpectation;
|
|
115
|
+
static equals(a: SalaryExpectation | PlainMessage<SalaryExpectation> | undefined, b: SalaryExpectation | PlainMessage<SalaryExpectation> | undefined): boolean;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message dailydotdev.api.usercandidatepreference.UserCandidatePreference
|
|
119
|
+
*/
|
|
120
|
+
declare class UserCandidatePreference extends Message<UserCandidatePreference> {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string user_id = 1;
|
|
123
|
+
*/
|
|
124
|
+
userId: string;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.OpportunityMatchStatus status = 2;
|
|
127
|
+
*/
|
|
128
|
+
status: OpportunityMatchStatus;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: int32 updated_at = 3;
|
|
131
|
+
*/
|
|
132
|
+
updatedAt: number;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.UserCandidateCV cv = 4;
|
|
135
|
+
*/
|
|
136
|
+
cv?: UserCandidateCV;
|
|
137
|
+
/**
|
|
138
|
+
* JSON string for flexibility
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string cv_parsed_json = 5;
|
|
141
|
+
*/
|
|
142
|
+
cvParsedJson: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string role = 6;
|
|
145
|
+
*/
|
|
146
|
+
role: string;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: float role_type = 7;
|
|
149
|
+
*/
|
|
150
|
+
roleType: number;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: repeated dailydotdev.api.usercandidatepreference.EmploymentType employment_type = 8;
|
|
153
|
+
*/
|
|
154
|
+
employmentType: EmploymentType[];
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: dailydotdev.api.usercandidatepreference.SalaryExpectation salary_expectation = 9;
|
|
157
|
+
*/
|
|
158
|
+
salaryExpectation?: SalaryExpectation;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: repeated dailydotdev.api.util.Location location = 10;
|
|
161
|
+
*/
|
|
162
|
+
location: Location[];
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: optional dailydotdev.api.util.LocationType location_type = 11;
|
|
165
|
+
*/
|
|
166
|
+
locationType?: LocationType;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: optional dailydotdev.api.organization.CompanyStage company_stage = 12;
|
|
169
|
+
*/
|
|
170
|
+
companyStage?: CompanyStage;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: optional dailydotdev.api.organization.CompanySize company_size = 13;
|
|
173
|
+
*/
|
|
174
|
+
companySize?: CompanySize;
|
|
175
|
+
constructor(data?: PartialMessage<UserCandidatePreference>);
|
|
176
|
+
static readonly runtime: typeof proto3;
|
|
177
|
+
static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidatePreference";
|
|
178
|
+
static readonly fields: FieldList;
|
|
179
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserCandidatePreference;
|
|
180
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserCandidatePreference;
|
|
181
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserCandidatePreference;
|
|
182
|
+
static equals(a: UserCandidatePreference | PlainMessage<UserCandidatePreference> | undefined, b: UserCandidatePreference | PlainMessage<UserCandidatePreference> | undefined): boolean;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export { EmploymentType, OpportunityMatchStatus, SalaryExpectation, UserCandidateCV, UserCandidatePreference };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Message as e,proto3 as n}from"@bufbuild/protobuf";import{Location as t,LocationType as a}from"./util_pb.ts";import{CompanySize as r,CompanyStage as i}from"./organization_pb.ts";var T=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.PENDING=1]="PENDING",e[e.CANDIDATE_ACCEPTED=2]="CANDIDATE_ACCEPTED",e[e.CANDIDATE_REJECTED=3]="CANDIDATE_REJECTED",e[e.CANDIDATE_TIMED_OUT=4]="CANDIDATE_TIMED_OUT",e[e.RECRUITER_ACCEPTED=5]="RECRUITER_ACCEPTED",e[e.RECRUITER_REJECTED=6]="RECRUITER_REJECTED",e))(T||{});n.util.setEnumType(T,"dailydotdev.api.usercandidatepreference.OpportunityMatchStatus",[{no:0,name:"OPPORTUNITY_MATCH_STATUS_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_MATCH_STATUS_PENDING"},{no:2,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_ACCEPTED"},{no:3,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_REJECTED"},{no:4,name:"OPPORTUNITY_MATCH_STATUS_CANDIDATE_TIMED_OUT"},{no:5,name:"OPPORTUNITY_MATCH_STATUS_RECRUITER_ACCEPTED"},{no:6,name:"OPPORTUNITY_MATCH_STATUS_RECRUITER_REJECTED"}]);var o=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.FULL_TIME=1]="FULL_TIME",e[e.PART_TIME=2]="PART_TIME",e[e.CONTRACT=3]="CONTRACT",e[e.INTERNSHIP=4]="INTERNSHIP",e))(o||{});n.util.setEnumType(o,"dailydotdev.api.usercandidatepreference.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);class s extends e{bucket="";blob="";uploadedAt=0;constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.usercandidatepreference.UserCandidateCV";static fields=n.util.newFieldList((()=>[{no:1,name:"bucket",kind:"scalar",T:9},{no:2,name:"blob",kind:"scalar",T:9},{no:3,name:"uploaded_at",kind:"scalar",T:5}]));static fromBinary(e,n){return(new s).fromBinary(e,n)}static fromJson(e,n){return(new s).fromJson(e,n)}static fromJsonString(e,n){return(new s).fromJsonString(e,n)}static equals(e,t){return n.util.equals(s,e,t)}}class E extends e{minSalary;currency;period;constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.usercandidatepreference.SalaryExpectation";static fields=n.util.newFieldList((()=>[{no:1,name:"min_salary",kind:"scalar",T:5,opt:!0},{no:2,name:"currency",kind:"scalar",T:9,opt:!0},{no:3,name:"period",kind:"scalar",T:9,opt:!0}]));static fromBinary(e,n){return(new E).fromBinary(e,n)}static fromJson(e,n){return(new E).fromJson(e,n)}static fromJsonString(e,n){return(new E).fromJsonString(e,n)}static equals(e,t){return n.util.equals(E,e,t)}}class m extends e{userId="";status=0;updatedAt=0;cv;cvParsedJson="";role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType;companyStage;companySize;constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:n.getEnumType(T)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:s},{no:5,name:"cv_parsed_json",kind:"scalar",T:9},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:n.getEnumType(o),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:E},{no:10,name:"location",kind:"message",T:t,repeated:!0},{no:11,name:"location_type",kind:"message",T:a,opt:!0},{no:12,name:"company_stage",kind:"enum",T:n.getEnumType(i),opt:!0},{no:13,name:"company_size",kind:"enum",T:n.getEnumType(r),opt:!0}]));static fromBinary(e,n){return(new m).fromBinary(e,n)}static fromJson(e,n){return(new m).fromJson(e,n)}static fromJsonString(e,n){return(new m).fromJsonString(e,n)}static equals(e,t){return n.util.equals(m,e,t)}}export{o as EmploymentType,T as OpportunityMatchStatus,E as SalaryExpectation,s as UserCandidateCV,m as UserCandidatePreference};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,e=Object.defineProperty,o=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i={};((t,o)=>{for(var n in o)e(t,n,{get:o[n],enumerable:!0})})(i,{Location:()=>s,LocationType:()=>c}),module.exports=(t=i,((t,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let c of n(i))r.call(t,c)||c===a||e(t,c,{get:()=>i[c],enumerable:!(s=o(i,c))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf");class s extends a.Message{city;country;subdivision;continent;latitude;longitude;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.util.Location";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"city",kind:"scalar",T:9,opt:!0},{no:2,name:"country",kind:"scalar",T:9,opt:!0},{no:3,name:"subdivision",kind:"scalar",T:9,opt:!0},{no:4,name:"continent",kind:"scalar",T:9,opt:!0},{no:5,name:"latitude",kind:"scalar",T:2,opt:!0},{no:6,name:"longitude",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new s).fromBinary(t,e)}static fromJson(t,e){return(new s).fromJson(t,e)}static fromJsonString(t,e){return(new s).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(s,t,e)}}class c extends a.Message{remote;onSite;hybrid;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.util.LocationType";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"remote",kind:"scalar",T:8,opt:!0},{no:2,name:"on_site",kind:"scalar",T:8,opt:!0},{no:3,name:"hybrid",kind:"scalar",T:8,opt:!0}]));static fromBinary(t,e){return(new c).fromBinary(t,e)}static fromJson(t,e){return(new c).fromJson(t,e)}static fromJsonString(t,e){return(new c).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(c,t,e)}}
|