@dailydotdev/schema 0.2.56 → 0.2.58
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 +1 @@
|
|
|
1
|
-
var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(a,{EmploymentType:()=>
|
|
1
|
+
var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(a,{EmploymentType:()=>u,Opportunity:()=>N,OpportunityContent:()=>d,OpportunityContent_ContentBlock:()=>y,OpportunityFlags:()=>_,OpportunityMeta:()=>c,OpportunityState:()=>p,OpportunityType:()=>m,Recruiter:()=>I,Salary:()=>T,SalaryPeriod:()=>l,SeniorityLevel:()=>E}),module.exports=(t=a,((t,a,i,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let p of o(a))r.call(t,p)||p===i||e(t,p,{get:()=>a[p],enumerable:!(s=n(a,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t[t.IN_REVIEW=4]="IN_REVIEW",t))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"},{no:4,name:"OPPORTUNITY_STATE_IN_REVIEW"}]);var m=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(m||{});i.proto3.util.setEnumType(m,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(u||{});i.proto3.util.setEnumType(u,"dailydotdev.api.opportunity.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"}]);var l=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(l||{});i.proto3.util.setEnumType(l,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var E=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class T extends i.Message{min;max;currency;period;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Salary";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:i.proto3.getEnumType(l),opt:!0}]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(T,t,e)}}class c extends i.Message{employmentType;teamSize;salary;seniorityLevel;roleType;equity;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(u),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:T,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:i.proto3.getEnumType(E),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0},{no:6,name:"equity",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 i.proto3.util.equals(c,t,e)}}class d extends i.Message{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:y,opt:!0},{no:2,name:"responsibilities",kind:"message",T:y,opt:!0},{no:3,name:"requirements",kind:"message",T:y,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:y,opt:!0},{no:5,name:"interview_process",kind:"message",T:y,opt:!0}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(d,t,e)}}class y extends i.Message{content="";html;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new y).fromBinary(t,e)}static fromJson(t,e){return(new y).fromJson(t,e)}static fromJsonString(t,e){return(new y).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(y,t,e)}}class I extends i.Message{name="";role;bio;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"role",kind:"scalar",T:9,opt:!0},{no:3,name:"bio",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new I).fromBinary(t,e)}static fromJson(t,e){return(new I).fromJson(t,e)}static fromJsonString(t,e){return(new I).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(I,t,e)}}class _ extends i.Message{batchSize;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityFlags";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"batch_size",kind:"scalar",T:5,opt:!0}]));static fromBinary(t,e){return(new _).fromBinary(t,e)}static fromJson(t,e){return(new _).fromJson(t,e)}static fromJsonString(t,e){return(new _).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(_,t,e)}}class N extends i.Message{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];flags;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"type",kind:"enum",T:i.proto3.getEnumType(m)},{no:5,name:"state",kind:"enum",T:i.proto3.getEnumType(p)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:d},{no:9,name:"meta",kind:"message",T:c},{no:10,name:"location",kind:"message",T:s.Location,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:12,name:"flags",kind:"message",T:_}]));static fromBinary(t,e){return(new N).fromBinary(t,e)}static fromJson(t,e){return(new N).fromJson(t,e)}static fromJsonString(t,e){return(new N).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(N,t,e)}}
|
|
@@ -291,6 +291,23 @@ declare class Recruiter extends Message<Recruiter> {
|
|
|
291
291
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Recruiter;
|
|
292
292
|
static equals(a: Recruiter | PlainMessage<Recruiter> | undefined, b: Recruiter | PlainMessage<Recruiter> | undefined): boolean;
|
|
293
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* @generated from message dailydotdev.api.opportunity.OpportunityFlags
|
|
296
|
+
*/
|
|
297
|
+
declare class OpportunityFlags extends Message<OpportunityFlags> {
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: optional int32 batch_size = 1;
|
|
300
|
+
*/
|
|
301
|
+
batchSize?: number;
|
|
302
|
+
constructor(data?: PartialMessage<OpportunityFlags>);
|
|
303
|
+
static readonly runtime: typeof proto3;
|
|
304
|
+
static readonly typeName = "dailydotdev.api.opportunity.OpportunityFlags";
|
|
305
|
+
static readonly fields: FieldList;
|
|
306
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityFlags;
|
|
307
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityFlags;
|
|
308
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityFlags;
|
|
309
|
+
static equals(a: OpportunityFlags | PlainMessage<OpportunityFlags> | undefined, b: OpportunityFlags | PlainMessage<OpportunityFlags> | undefined): boolean;
|
|
310
|
+
}
|
|
294
311
|
/**
|
|
295
312
|
* @generated from message dailydotdev.api.opportunity.Opportunity
|
|
296
313
|
*/
|
|
@@ -339,6 +356,10 @@ declare class Opportunity extends Message<Opportunity> {
|
|
|
339
356
|
* @generated from field: repeated string keywords = 11;
|
|
340
357
|
*/
|
|
341
358
|
keywords: string[];
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: dailydotdev.api.opportunity.OpportunityFlags flags = 12;
|
|
361
|
+
*/
|
|
362
|
+
flags?: OpportunityFlags;
|
|
342
363
|
constructor(data?: PartialMessage<Opportunity>);
|
|
343
364
|
static readonly runtime: typeof proto3;
|
|
344
365
|
static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
|
|
@@ -349,4 +370,4 @@ declare class Opportunity extends Message<Opportunity> {
|
|
|
349
370
|
static equals(a: Opportunity | PlainMessage<Opportunity> | undefined, b: Opportunity | PlainMessage<Opportunity> | undefined): boolean;
|
|
350
371
|
}
|
|
351
372
|
|
|
352
|
-
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel };
|
|
373
|
+
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel };
|
|
@@ -291,6 +291,23 @@ declare class Recruiter extends Message<Recruiter> {
|
|
|
291
291
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Recruiter;
|
|
292
292
|
static equals(a: Recruiter | PlainMessage<Recruiter> | undefined, b: Recruiter | PlainMessage<Recruiter> | undefined): boolean;
|
|
293
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* @generated from message dailydotdev.api.opportunity.OpportunityFlags
|
|
296
|
+
*/
|
|
297
|
+
declare class OpportunityFlags extends Message<OpportunityFlags> {
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: optional int32 batch_size = 1;
|
|
300
|
+
*/
|
|
301
|
+
batchSize?: number;
|
|
302
|
+
constructor(data?: PartialMessage<OpportunityFlags>);
|
|
303
|
+
static readonly runtime: typeof proto3;
|
|
304
|
+
static readonly typeName = "dailydotdev.api.opportunity.OpportunityFlags";
|
|
305
|
+
static readonly fields: FieldList;
|
|
306
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityFlags;
|
|
307
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityFlags;
|
|
308
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityFlags;
|
|
309
|
+
static equals(a: OpportunityFlags | PlainMessage<OpportunityFlags> | undefined, b: OpportunityFlags | PlainMessage<OpportunityFlags> | undefined): boolean;
|
|
310
|
+
}
|
|
294
311
|
/**
|
|
295
312
|
* @generated from message dailydotdev.api.opportunity.Opportunity
|
|
296
313
|
*/
|
|
@@ -339,6 +356,10 @@ declare class Opportunity extends Message<Opportunity> {
|
|
|
339
356
|
* @generated from field: repeated string keywords = 11;
|
|
340
357
|
*/
|
|
341
358
|
keywords: string[];
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: dailydotdev.api.opportunity.OpportunityFlags flags = 12;
|
|
361
|
+
*/
|
|
362
|
+
flags?: OpportunityFlags;
|
|
342
363
|
constructor(data?: PartialMessage<Opportunity>);
|
|
343
364
|
static readonly runtime: typeof proto3;
|
|
344
365
|
static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
|
|
@@ -349,4 +370,4 @@ declare class Opportunity extends Message<Opportunity> {
|
|
|
349
370
|
static equals(a: Opportunity | PlainMessage<Opportunity> | undefined, b: Opportunity | PlainMessage<Opportunity> | undefined): boolean;
|
|
350
371
|
}
|
|
351
372
|
|
|
352
|
-
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel };
|
|
373
|
+
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t[t.IN_REVIEW=4]="IN_REVIEW",t))(i||{});n.util.setEnumType(i,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"},{no:4,name:"OPPORTUNITY_STATE_IN_REVIEW"}]);var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(a||{});n.util.setEnumType(a,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var o=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(o||{});n.util.setEnumType(o,"dailydotdev.api.opportunity.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"}]);var r=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(r||{});n.util.setEnumType(r,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var s=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(s||{});n.util.setEnumType(s,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class m extends t{min;max;currency;period;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Salary";static fields=n.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:n.getEnumType(r),opt:!0}]));static fromBinary(t,n){return(new m).fromBinary(t,n)}static fromJson(t,n){return(new m).fromJson(t,n)}static fromJsonString(t,n){return(new m).fromJsonString(t,n)}static equals(t,e){return n.util.equals(m,t,e)}}class E extends t{employmentType;teamSize;salary;seniorityLevel;roleType;equity;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=n.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:n.getEnumType(o),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:m,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:n.getEnumType(s),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0},{no:6,name:"equity",kind:"scalar",T:8,opt:!0}]));static fromBinary(t,n){return(new E).fromBinary(t,n)}static fromJson(t,n){return(new E).fromJson(t,n)}static fromJsonString(t,n){return(new E).fromJsonString(t,n)}static equals(t,e){return n.util.equals(E,t,e)}}class u extends t{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=n.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:l,opt:!0},{no:2,name:"responsibilities",kind:"message",T:l,opt:!0},{no:3,name:"requirements",kind:"message",T:l,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:l,opt:!0},{no:5,name:"interview_process",kind:"message",T:l,opt:!0}]));static fromBinary(t,n){return(new u).fromBinary(t,n)}static fromJson(t,n){return(new u).fromJson(t,n)}static fromJsonString(t,n){return(new u).fromJsonString(t,n)}static equals(t,e){return n.util.equals(u,t,e)}}class l extends t{content="";html;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=n.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,n){return(new l).fromBinary(t,n)}static fromJson(t,n){return(new l).fromJson(t,n)}static fromJsonString(t,n){return(new l).fromJsonString(t,n)}static equals(t,e){return n.util.equals(l,t,e)}}class T extends t{name="";role;bio;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=n.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"role",kind:"scalar",T:9,opt:!0},{no:3,name:"bio",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,n){return(new T).fromBinary(t,n)}static fromJson(t,n){return(new T).fromJson(t,n)}static fromJsonString(t,n){return(new T).fromJsonString(t,n)}static equals(t,e){return n.util.equals(T,t,e)}}class p extends t{batchSize;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityFlags";static fields=n.util.newFieldList((()=>[{no:1,name:"batch_size",kind:"scalar",T:5,opt:!0}]));static fromBinary(t,n){return(new p).fromBinary(t,n)}static fromJson(t,n){return(new p).fromJson(t,n)}static fromJsonString(t,n){return(new p).fromJsonString(t,n)}static equals(t,e){return n.util.equals(p,t,e)}}class d extends t{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];flags;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=n.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"type",kind:"enum",T:n.getEnumType(a)},{no:5,name:"state",kind:"enum",T:n.getEnumType(i)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:u},{no:9,name:"meta",kind:"message",T:E},{no:10,name:"location",kind:"message",T:e,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:12,name:"flags",kind:"message",T:p}]));static fromBinary(t,n){return(new d).fromBinary(t,n)}static fromJson(t,n){return(new d).fromJson(t,n)}static fromJsonString(t,n){return(new d).fromJsonString(t,n)}static equals(t,e){return n.util.equals(d,t,e)}}export{o as EmploymentType,d as Opportunity,u as OpportunityContent,l as OpportunityContent_ContentBlock,p as OpportunityFlags,E as OpportunityMeta,i as OpportunityState,a as OpportunityType,T as Recruiter,m as Salary,r as SalaryPeriod,s as SeniorityLevel};
|
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, Chat
|
|
|
5
5
|
export { BrokkrService } from './brokkr/brokkr_connect.cjs';
|
|
6
6
|
export { BrokkrParseRequest, ExtractMarkdownResponse } from './brokkr/brokkr_pb.cjs';
|
|
7
7
|
export { Screening } from './daily-api/opportunity-match_pb.cjs';
|
|
8
|
-
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.cjs';
|
|
8
|
+
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.cjs';
|
|
9
9
|
export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.cjs';
|
|
10
10
|
export { PostService } from './daily-api/posts_connect.cjs';
|
|
11
11
|
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, Chat
|
|
|
5
5
|
export { BrokkrService } from './brokkr/brokkr_connect.js';
|
|
6
6
|
export { BrokkrParseRequest, ExtractMarkdownResponse } from './brokkr/brokkr_pb.js';
|
|
7
7
|
export { Screening } from './daily-api/opportunity-match_pb.js';
|
|
8
|
-
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.js';
|
|
8
|
+
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.js';
|
|
9
9
|
export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.js';
|
|
10
10
|
export { PostService } from './daily-api/posts_connect.js';
|
|
11
11
|
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.js';
|