@dailydotdev/schema 0.2.35 → 0.2.37
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/bragi/pipelines_pb.cjs +1 -1
- package/dist/bragi/pipelines_pb.d.cts +117 -5
- package/dist/bragi/pipelines_pb.d.ts +117 -5
- package/dist/bragi/pipelines_pb.js +1 -1
- package/dist/daily-api/opportunity_pb.cjs +1 -1
- package/dist/daily-api/opportunity_pb.d.cts +10 -2
- package/dist/daily-api/opportunity_pb.d.ts +10 -2
- package/dist/daily-api/opportunity_pb.js +1 -1
- package/dist/gondul/candidates_pb.cjs +1 -1
- package/dist/gondul/candidates_pb.d.cts +12 -8
- package/dist/gondul/candidates_pb.d.ts +12 -8
- package/dist/gondul/candidates_pb.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/tei/embedding_connect.cjs +1 -0
- package/dist/tei/embedding_connect.d.cts +199 -0
- package/dist/tei/embedding_connect.d.ts +199 -0
- package/dist/tei/embedding_connect.js +1 -0
- package/dist/tei/embedding_pb.cjs +1 -0
- package/dist/tei/embedding_pb.d.cts +682 -0
- package/dist/tei/embedding_pb.d.ts +682 -0
- package/dist/tei/embedding_pb.js +1 -0
- package/package.json +1 -1
|
@@ -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:()=>E,Opportunity:()=>c,OpportunityContent:()=>
|
|
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:()=>E,Opportunity:()=>c,OpportunityContent:()=>I,OpportunityContent_ContentBlock:()=>y,OpportunityMeta:()=>d,OpportunityState:()=>p,OpportunityType:()=>m,Salary:()=>T,SalaryPeriod:()=>u,SeniorityLevel:()=>l}),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))(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"}]);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 E=(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))(E||{});i.proto3.util.setEnumType(E,"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 u=(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))(u||{});i.proto3.util.setEnumType(u,"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 l=(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))(l||{});i.proto3.util.setEnumType(l,"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(u),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 d extends i.Message{employmentType;teamSize;salary;seniorityLevel;roleType;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(E),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(l),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,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 I 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 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 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 c extends i.Message{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];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:I},{no:9,name:"meta",kind:"message",T:d},{no:10,name:"location",kind:"message",T:s.Location,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!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)}}
|
|
@@ -79,9 +79,17 @@ declare enum SalaryPeriod {
|
|
|
79
79
|
*/
|
|
80
80
|
MONTHLY = 2,
|
|
81
81
|
/**
|
|
82
|
-
* @generated from enum value:
|
|
82
|
+
* @generated from enum value: SALARY_PERIOD_WEEKLY = 3;
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
WEEKLY = 3,
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: SALARY_PERIOD_DAILY = 4;
|
|
87
|
+
*/
|
|
88
|
+
DAILY = 4,
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: SALARY_PERIOD_HOURLY = 5;
|
|
91
|
+
*/
|
|
92
|
+
HOURLY = 5
|
|
85
93
|
}
|
|
86
94
|
/**
|
|
87
95
|
* @generated from enum dailydotdev.api.opportunity.SeniorityLevel
|
|
@@ -79,9 +79,17 @@ declare enum SalaryPeriod {
|
|
|
79
79
|
*/
|
|
80
80
|
MONTHLY = 2,
|
|
81
81
|
/**
|
|
82
|
-
* @generated from enum value:
|
|
82
|
+
* @generated from enum value: SALARY_PERIOD_WEEKLY = 3;
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
WEEKLY = 3,
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: SALARY_PERIOD_DAILY = 4;
|
|
87
|
+
*/
|
|
88
|
+
DAILY = 4,
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: SALARY_PERIOD_HOURLY = 5;
|
|
91
|
+
*/
|
|
92
|
+
HOURLY = 5
|
|
85
93
|
}
|
|
86
94
|
/**
|
|
87
95
|
* @generated from enum dailydotdev.api.opportunity.SeniorityLevel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(a||{});n.util.setEnumType(a,"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"}]);var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(i||{});n.util.setEnumType(i,"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.
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(a||{});n.util.setEnumType(a,"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"}]);var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(i||{});n.util.setEnumType(i,"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;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}]));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 T 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:u,opt:!0},{no:2,name:"responsibilities",kind:"message",T:u,opt:!0},{no:3,name:"requirements",kind:"message",T:u,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:u,opt:!0},{no:5,name:"interview_process",kind:"message",T:u,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 u 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 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{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];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(i)},{no:5,name:"state",kind:"enum",T:n.getEnumType(a)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:T},{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}]));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)}}export{o as EmploymentType,l as Opportunity,T as OpportunityContent,u as OpportunityContent_ContentBlock,E as OpportunityMeta,a as OpportunityState,i as OpportunityType,m as Salary,r as SalaryPeriod,s as SeniorityLevel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{MatchedCandidate:()=>s}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of n(o))a.call(e,c)||c===i||t(e,c,{get:()=>o[c],enumerable:!(s=r(o,c))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class s extends i.Message{userId="";opportunityId="";matchScore=0;reasoning="";
|
|
1
|
+
var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{MatchedCandidate:()=>s}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of n(o))a.call(e,c)||c===i||t(e,c,{get:()=>o[c],enumerable:!(s=r(o,c))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class s extends i.Message{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="gondul.candidates.MatchedCandidate";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9},{no:4,name:"match_score",kind:"scalar",T:2},{no:5,name:"reasoning",kind:"scalar",T:9},{no:6,name:"reasoning_short",kind:"scalar",T:9}]));static fromBinary(e,t){return(new s).fromBinary(e,t)}static fromJson(e,t){return(new s).fromJson(e,t)}static fromJsonString(e,t){return(new s).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(s,e,t)}}
|
|
@@ -5,27 +5,31 @@ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValu
|
|
|
5
5
|
*/
|
|
6
6
|
declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* just in case we need to differentiate between batches later, can be ignored for now
|
|
9
|
+
*
|
|
10
|
+
* @generated from field: int32 batch_id = 1;
|
|
11
|
+
*/
|
|
12
|
+
batchId: number;
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string user_id = 2;
|
|
9
15
|
*/
|
|
10
16
|
userId: string;
|
|
11
17
|
/**
|
|
12
|
-
* @generated from field: string opportunity_id =
|
|
18
|
+
* @generated from field: string opportunity_id = 3;
|
|
13
19
|
*/
|
|
14
20
|
opportunityId: string;
|
|
15
21
|
/**
|
|
16
|
-
* @generated from field: float match_score =
|
|
22
|
+
* @generated from field: float match_score = 4;
|
|
17
23
|
*/
|
|
18
24
|
matchScore: number;
|
|
19
25
|
/**
|
|
20
|
-
* @generated from field: string reasoning =
|
|
26
|
+
* @generated from field: string reasoning = 5;
|
|
21
27
|
*/
|
|
22
28
|
reasoning: string;
|
|
23
29
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @generated from field: int32 batch_id = 5;
|
|
30
|
+
* @generated from field: string reasoning_short = 6;
|
|
27
31
|
*/
|
|
28
|
-
|
|
32
|
+
reasoningShort: string;
|
|
29
33
|
constructor(data?: PartialMessage<MatchedCandidate>);
|
|
30
34
|
static readonly runtime: typeof proto3;
|
|
31
35
|
static readonly typeName = "gondul.candidates.MatchedCandidate";
|
|
@@ -5,27 +5,31 @@ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValu
|
|
|
5
5
|
*/
|
|
6
6
|
declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* just in case we need to differentiate between batches later, can be ignored for now
|
|
9
|
+
*
|
|
10
|
+
* @generated from field: int32 batch_id = 1;
|
|
11
|
+
*/
|
|
12
|
+
batchId: number;
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string user_id = 2;
|
|
9
15
|
*/
|
|
10
16
|
userId: string;
|
|
11
17
|
/**
|
|
12
|
-
* @generated from field: string opportunity_id =
|
|
18
|
+
* @generated from field: string opportunity_id = 3;
|
|
13
19
|
*/
|
|
14
20
|
opportunityId: string;
|
|
15
21
|
/**
|
|
16
|
-
* @generated from field: float match_score =
|
|
22
|
+
* @generated from field: float match_score = 4;
|
|
17
23
|
*/
|
|
18
24
|
matchScore: number;
|
|
19
25
|
/**
|
|
20
|
-
* @generated from field: string reasoning =
|
|
26
|
+
* @generated from field: string reasoning = 5;
|
|
21
27
|
*/
|
|
22
28
|
reasoning: string;
|
|
23
29
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @generated from field: int32 batch_id = 5;
|
|
30
|
+
* @generated from field: string reasoning_short = 6;
|
|
27
31
|
*/
|
|
28
|
-
|
|
32
|
+
reasoningShort: string;
|
|
29
33
|
constructor(data?: PartialMessage<MatchedCandidate>);
|
|
30
34
|
static readonly runtime: typeof proto3;
|
|
31
35
|
static readonly typeName = "gondul.candidates.MatchedCandidate";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as
|
|
1
|
+
import{Message as n,proto3 as t}from"@bufbuild/protobuf";class a extends n{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(n){super(),t.util.initPartial(n,this)}static runtime=t;static typeName="gondul.candidates.MatchedCandidate";static fields=t.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9},{no:4,name:"match_score",kind:"scalar",T:2},{no:5,name:"reasoning",kind:"scalar",T:9},{no:6,name:"reasoning_short",kind:"scalar",T:9}]));static fromBinary(n,t){return(new a).fromBinary(n,t)}static fromJson(n,t){return(new a).fromJson(n,t)}static fromJsonString(n,t){return(new a).fromJsonString(n,t)}static equals(n,r){return t.util.equals(a,n,r)}}export{a as MatchedCandidate};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i=(e,i,t,u)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let
|
|
1
|
+
var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i=(e,i,t,u)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let d of p(i))s.call(e,d)||d===t||r(e,d,{get:()=>i[d],enumerable:!(u=o(i,d))||u.enumerable});return e},t=(e,r,o)=>(i(e,r,"default"),o&&i(o,r,"default")),u={};module.exports=(e=u,i(r({},"__esModule",{value:!0}),e)),t(u,require("./bragi/pipelines_connect.cjs"),module.exports),t(u,require("./bragi/pipelines_pb.cjs"),module.exports),t(u,require("./bragi/proxy_connect.cjs"),module.exports),t(u,require("./bragi/proxy_pb.cjs"),module.exports),t(u,require("./daily-api/opportunity-match_pb.cjs"),module.exports),t(u,require("./daily-api/opportunity_pb.cjs"),module.exports),t(u,require("./daily-api/organization_pb.cjs"),module.exports),t(u,require("./daily-api/posts_connect.cjs"),module.exports),t(u,require("./daily-api/posts_pb.cjs"),module.exports),t(u,require("./daily-api/source-requests_connect.cjs"),module.exports),t(u,require("./daily-api/source-requests_pb.cjs"),module.exports),t(u,require("./daily-api/sources_pb.cjs"),module.exports),t(u,require("./daily-api/user-candidate-preference_pb.cjs"),module.exports),t(u,require("./daily-api/user_pb.cjs"),module.exports),t(u,require("./daily-api/util_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/candidate-accepted-opportunity_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/candidate-preference-updated_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/content-updated_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/opportunity_pb.cjs"),module.exports),t(u,require("./feed/briefing/briefing_pb.cjs"),module.exports),t(u,require("./feed/personalised/personalised_pb.cjs"),module.exports),t(u,require("./feed/server_side_event/server_side_event_pb.cjs"),module.exports),t(u,require("./gondul/candidates_pb.cjs"),module.exports),t(u,require("./mimir/search/search_pb.cjs"),module.exports),t(u,require("./njord/transactions_connect.cjs"),module.exports),t(u,require("./njord/transactions_pb.cjs"),module.exports),t(u,require("./snotra/engagement/engagement_pb.cjs"),module.exports),t(u,require("./snotra/personalisation/personalisation_pb.cjs"),module.exports),t(u,require("./tei/embedding_connect.cjs"),module.exports),t(u,require("./tei/embedding_pb.cjs"),module.exports),t(u,require("./util/error_pb.cjs"),module.exports);
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Pipelines } from './bragi/pipelines_connect.cjs';
|
|
2
|
-
export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag } from './bragi/pipelines_pb.cjs';
|
|
2
|
+
export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag, WarmIntroRequest, WarmIntroResponse } from './bragi/pipelines_pb.cjs';
|
|
3
3
|
export { LLMProxy } from './bragi/proxy_connect.cjs';
|
|
4
4
|
export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, ChatRequest, ChatResponse, ChatStreamResponse, CompletionRequest, Embedding, EmbeddingRequest, EmbeddingResponse, ImageUrl, ModelProvider, Usage, VisionContent, VisionMessage, VisionRequest } from './bragi/proxy_pb.cjs';
|
|
5
5
|
export { Screening } from './daily-api/opportunity-match_pb.cjs';
|
|
@@ -26,5 +26,7 @@ export { Credits } from './njord/transactions_connect.cjs';
|
|
|
26
26
|
export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.cjs';
|
|
27
27
|
export { Action, Event, GetUserEventRequest, GetUserEventResponse, UserEngagementProfile } from './snotra/engagement/engagement_pb.cjs';
|
|
28
28
|
export { CreateVectorIndexMetaRequest, CreateVectorIndexMetaResponse, GetUserRankRequest, GetUserRankResponse, GetVectorIndexMetaRequest, GetVectorIndexMetaResponse, RankType, UserRank, VectorIndexMeta } from './snotra/personalisation/personalisation_pb.cjs';
|
|
29
|
+
export { Embed, Info, Predict, Rerank, Tokenize } from './tei/embedding_connect.cjs';
|
|
30
|
+
export { DecodeRequest, DecodeResponse, EmbedAllRequest, EmbedAllResponse, EmbedRequest, EmbedResponse, EmbedSparseRequest, EmbedSparseResponse, EncodeRequest, EncodeResponse, InfoRequest, InfoResponse, Metadata, ModelType, PredictPairRequest, PredictRequest, PredictResponse, Prediction, Rank, RerankRequest, RerankResponse, RerankStreamRequest, SimpleToken, SparseValue, TokenEmbedding, TruncationDirection } from './tei/embedding_pb.cjs';
|
|
29
31
|
export { Error } from './util/error_pb.cjs';
|
|
30
32
|
import '@bufbuild/protobuf';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Pipelines } from './bragi/pipelines_connect.js';
|
|
2
|
-
export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag } from './bragi/pipelines_pb.js';
|
|
2
|
+
export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag, WarmIntroRequest, WarmIntroResponse } from './bragi/pipelines_pb.js';
|
|
3
3
|
export { LLMProxy } from './bragi/proxy_connect.js';
|
|
4
4
|
export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, ChatRequest, ChatResponse, ChatStreamResponse, CompletionRequest, Embedding, EmbeddingRequest, EmbeddingResponse, ImageUrl, ModelProvider, Usage, VisionContent, VisionMessage, VisionRequest } from './bragi/proxy_pb.js';
|
|
5
5
|
export { Screening } from './daily-api/opportunity-match_pb.js';
|
|
@@ -26,5 +26,7 @@ export { Credits } from './njord/transactions_connect.js';
|
|
|
26
26
|
export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.js';
|
|
27
27
|
export { Action, Event, GetUserEventRequest, GetUserEventResponse, UserEngagementProfile } from './snotra/engagement/engagement_pb.js';
|
|
28
28
|
export { CreateVectorIndexMetaRequest, CreateVectorIndexMetaResponse, GetUserRankRequest, GetUserRankResponse, GetVectorIndexMetaRequest, GetVectorIndexMetaResponse, RankType, UserRank, VectorIndexMeta } from './snotra/personalisation/personalisation_pb.js';
|
|
29
|
+
export { Embed, Info, Predict, Rerank, Tokenize } from './tei/embedding_connect.js';
|
|
30
|
+
export { DecodeRequest, DecodeResponse, EmbedAllRequest, EmbedAllResponse, EmbedRequest, EmbedResponse, EmbedSparseRequest, EmbedSparseResponse, EncodeRequest, EncodeResponse, InfoRequest, InfoResponse, Metadata, ModelType, PredictPairRequest, PredictRequest, PredictResponse, Prediction, Rank, RerankRequest, RerankResponse, RerankStreamRequest, SimpleToken, SparseValue, TokenEmbedding, TruncationDirection } from './tei/embedding_pb.js';
|
|
29
31
|
export { Error } from './util/error_pb.js';
|
|
30
32
|
import '@bufbuild/protobuf';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./daily-api/opportunity-match_pb";export*from"./daily-api/opportunity_pb";export*from"./daily-api/organization_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_pb";export*from"./daily-api/user-candidate-preference_pb";export*from"./daily-api/user_pb";export*from"./daily-api/util_pb";export*from"./daily-api/pubsub/candidate-accepted-opportunity_pb";export*from"./daily-api/pubsub/candidate-preference-updated_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./gondul/candidates_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./util/error_pb";
|
|
1
|
+
export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./daily-api/opportunity-match_pb";export*from"./daily-api/opportunity_pb";export*from"./daily-api/organization_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_pb";export*from"./daily-api/user-candidate-preference_pb";export*from"./daily-api/user_pb";export*from"./daily-api/util_pb";export*from"./daily-api/pubsub/candidate-accepted-opportunity_pb";export*from"./daily-api/pubsub/candidate-preference-updated_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./gondul/candidates_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./tei/embedding_connect";export*from"./tei/embedding_pb";export*from"./util/error_pb";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,n=Object.defineProperty,d=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i={};((e,d)=>{for(var t in d)n(e,t,{get:d[t],enumerable:!0})})(i,{Embed:()=>s,Info:()=>o,Predict:()=>p,Rerank:()=>c,Tokenize:()=>R}),module.exports=(e=i,((e,i,a,m)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let o of t(i))r.call(e,o)||o===a||n(e,o,{get:()=>i[o],enumerable:!(m=d(i,o))||m.enumerable});return e})(n({},"__esModule",{value:!0}),e));var a=require("./embedding_pb.cjs"),m=require("@bufbuild/protobuf");const o={typeName:"tei.v1.Info",methods:{info:{name:"Info",I:a.InfoRequest,O:a.InfoResponse,kind:m.MethodKind.Unary,idempotency:m.MethodIdempotency.Idempotent}}},s={typeName:"tei.v1.Embed",methods:{embed:{name:"Embed",I:a.EmbedRequest,O:a.EmbedResponse,kind:m.MethodKind.Unary},embedStream:{name:"EmbedStream",I:a.EmbedRequest,O:a.EmbedResponse,kind:m.MethodKind.BiDiStreaming},embedSparse:{name:"EmbedSparse",I:a.EmbedSparseRequest,O:a.EmbedSparseResponse,kind:m.MethodKind.Unary},embedSparseStream:{name:"EmbedSparseStream",I:a.EmbedSparseRequest,O:a.EmbedSparseResponse,kind:m.MethodKind.BiDiStreaming},embedAll:{name:"EmbedAll",I:a.EmbedAllRequest,O:a.EmbedAllResponse,kind:m.MethodKind.Unary},embedAllStream:{name:"EmbedAllStream",I:a.EmbedAllRequest,O:a.EmbedAllResponse,kind:m.MethodKind.BiDiStreaming}}},p={typeName:"tei.v1.Predict",methods:{predict:{name:"Predict",I:a.PredictRequest,O:a.PredictResponse,kind:m.MethodKind.Unary},predictPair:{name:"PredictPair",I:a.PredictPairRequest,O:a.PredictResponse,kind:m.MethodKind.Unary},predictStream:{name:"PredictStream",I:a.PredictRequest,O:a.PredictResponse,kind:m.MethodKind.BiDiStreaming},predictPairStream:{name:"PredictPairStream",I:a.PredictPairRequest,O:a.PredictResponse,kind:m.MethodKind.BiDiStreaming}}},c={typeName:"tei.v1.Rerank",methods:{rerank:{name:"Rerank",I:a.RerankRequest,O:a.RerankResponse,kind:m.MethodKind.Unary},rerankStream:{name:"RerankStream",I:a.RerankStreamRequest,O:a.RerankResponse,kind:m.MethodKind.ClientStreaming}}},R={typeName:"tei.v1.Tokenize",methods:{tokenize:{name:"Tokenize",I:a.EncodeRequest,O:a.EncodeResponse,kind:m.MethodKind.Unary},tokenizeStream:{name:"TokenizeStream",I:a.EncodeRequest,O:a.EncodeResponse,kind:m.MethodKind.BiDiStreaming},decode:{name:"Decode",I:a.DecodeRequest,O:a.DecodeResponse,kind:m.MethodKind.Unary},decodeStream:{name:"DecodeStream",I:a.DecodeRequest,O:a.DecodeResponse,kind:m.MethodKind.BiDiStreaming}}};
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { InfoRequest, InfoResponse, EmbedRequest, EmbedResponse, EmbedSparseRequest, EmbedSparseResponse, EmbedAllRequest, EmbedAllResponse, PredictRequest, PredictResponse, PredictPairRequest, RerankRequest, RerankResponse, RerankStreamRequest, EncodeRequest, EncodeResponse, DecodeRequest, DecodeResponse } from './embedding_pb.cjs';
|
|
2
|
+
import '@bufbuild/protobuf';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @generated from service tei.v1.Info
|
|
6
|
+
*/
|
|
7
|
+
declare const Info: {
|
|
8
|
+
readonly typeName: "tei.v1.Info";
|
|
9
|
+
readonly methods: {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from rpc tei.v1.Info.Info
|
|
12
|
+
*/
|
|
13
|
+
readonly info: {
|
|
14
|
+
readonly name: "Info";
|
|
15
|
+
readonly I: typeof InfoRequest;
|
|
16
|
+
readonly O: typeof InfoResponse;
|
|
17
|
+
readonly kind: any;
|
|
18
|
+
readonly idempotency: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @generated from service tei.v1.Embed
|
|
24
|
+
*/
|
|
25
|
+
declare const Embed: {
|
|
26
|
+
readonly typeName: "tei.v1.Embed";
|
|
27
|
+
readonly methods: {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from rpc tei.v1.Embed.Embed
|
|
30
|
+
*/
|
|
31
|
+
readonly embed: {
|
|
32
|
+
readonly name: "Embed";
|
|
33
|
+
readonly I: typeof EmbedRequest;
|
|
34
|
+
readonly O: typeof EmbedResponse;
|
|
35
|
+
readonly kind: any;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @generated from rpc tei.v1.Embed.EmbedStream
|
|
39
|
+
*/
|
|
40
|
+
readonly embedStream: {
|
|
41
|
+
readonly name: "EmbedStream";
|
|
42
|
+
readonly I: typeof EmbedRequest;
|
|
43
|
+
readonly O: typeof EmbedResponse;
|
|
44
|
+
readonly kind: any;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @generated from rpc tei.v1.Embed.EmbedSparse
|
|
48
|
+
*/
|
|
49
|
+
readonly embedSparse: {
|
|
50
|
+
readonly name: "EmbedSparse";
|
|
51
|
+
readonly I: typeof EmbedSparseRequest;
|
|
52
|
+
readonly O: typeof EmbedSparseResponse;
|
|
53
|
+
readonly kind: any;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @generated from rpc tei.v1.Embed.EmbedSparseStream
|
|
57
|
+
*/
|
|
58
|
+
readonly embedSparseStream: {
|
|
59
|
+
readonly name: "EmbedSparseStream";
|
|
60
|
+
readonly I: typeof EmbedSparseRequest;
|
|
61
|
+
readonly O: typeof EmbedSparseResponse;
|
|
62
|
+
readonly kind: any;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @generated from rpc tei.v1.Embed.EmbedAll
|
|
66
|
+
*/
|
|
67
|
+
readonly embedAll: {
|
|
68
|
+
readonly name: "EmbedAll";
|
|
69
|
+
readonly I: typeof EmbedAllRequest;
|
|
70
|
+
readonly O: typeof EmbedAllResponse;
|
|
71
|
+
readonly kind: any;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @generated from rpc tei.v1.Embed.EmbedAllStream
|
|
75
|
+
*/
|
|
76
|
+
readonly embedAllStream: {
|
|
77
|
+
readonly name: "EmbedAllStream";
|
|
78
|
+
readonly I: typeof EmbedAllRequest;
|
|
79
|
+
readonly O: typeof EmbedAllResponse;
|
|
80
|
+
readonly kind: any;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @generated from service tei.v1.Predict
|
|
86
|
+
*/
|
|
87
|
+
declare const Predict: {
|
|
88
|
+
readonly typeName: "tei.v1.Predict";
|
|
89
|
+
readonly methods: {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from rpc tei.v1.Predict.Predict
|
|
92
|
+
*/
|
|
93
|
+
readonly predict: {
|
|
94
|
+
readonly name: "Predict";
|
|
95
|
+
readonly I: typeof PredictRequest;
|
|
96
|
+
readonly O: typeof PredictResponse;
|
|
97
|
+
readonly kind: any;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @generated from rpc tei.v1.Predict.PredictPair
|
|
101
|
+
*/
|
|
102
|
+
readonly predictPair: {
|
|
103
|
+
readonly name: "PredictPair";
|
|
104
|
+
readonly I: typeof PredictPairRequest;
|
|
105
|
+
readonly O: typeof PredictResponse;
|
|
106
|
+
readonly kind: any;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @generated from rpc tei.v1.Predict.PredictStream
|
|
110
|
+
*/
|
|
111
|
+
readonly predictStream: {
|
|
112
|
+
readonly name: "PredictStream";
|
|
113
|
+
readonly I: typeof PredictRequest;
|
|
114
|
+
readonly O: typeof PredictResponse;
|
|
115
|
+
readonly kind: any;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @generated from rpc tei.v1.Predict.PredictPairStream
|
|
119
|
+
*/
|
|
120
|
+
readonly predictPairStream: {
|
|
121
|
+
readonly name: "PredictPairStream";
|
|
122
|
+
readonly I: typeof PredictPairRequest;
|
|
123
|
+
readonly O: typeof PredictResponse;
|
|
124
|
+
readonly kind: any;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @generated from service tei.v1.Rerank
|
|
130
|
+
*/
|
|
131
|
+
declare const Rerank: {
|
|
132
|
+
readonly typeName: "tei.v1.Rerank";
|
|
133
|
+
readonly methods: {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from rpc tei.v1.Rerank.Rerank
|
|
136
|
+
*/
|
|
137
|
+
readonly rerank: {
|
|
138
|
+
readonly name: "Rerank";
|
|
139
|
+
readonly I: typeof RerankRequest;
|
|
140
|
+
readonly O: typeof RerankResponse;
|
|
141
|
+
readonly kind: any;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* @generated from rpc tei.v1.Rerank.RerankStream
|
|
145
|
+
*/
|
|
146
|
+
readonly rerankStream: {
|
|
147
|
+
readonly name: "RerankStream";
|
|
148
|
+
readonly I: typeof RerankStreamRequest;
|
|
149
|
+
readonly O: typeof RerankResponse;
|
|
150
|
+
readonly kind: any;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @generated from service tei.v1.Tokenize
|
|
156
|
+
*/
|
|
157
|
+
declare const Tokenize: {
|
|
158
|
+
readonly typeName: "tei.v1.Tokenize";
|
|
159
|
+
readonly methods: {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from rpc tei.v1.Tokenize.Tokenize
|
|
162
|
+
*/
|
|
163
|
+
readonly tokenize: {
|
|
164
|
+
readonly name: "Tokenize";
|
|
165
|
+
readonly I: typeof EncodeRequest;
|
|
166
|
+
readonly O: typeof EncodeResponse;
|
|
167
|
+
readonly kind: any;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @generated from rpc tei.v1.Tokenize.TokenizeStream
|
|
171
|
+
*/
|
|
172
|
+
readonly tokenizeStream: {
|
|
173
|
+
readonly name: "TokenizeStream";
|
|
174
|
+
readonly I: typeof EncodeRequest;
|
|
175
|
+
readonly O: typeof EncodeResponse;
|
|
176
|
+
readonly kind: any;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* @generated from rpc tei.v1.Tokenize.Decode
|
|
180
|
+
*/
|
|
181
|
+
readonly decode: {
|
|
182
|
+
readonly name: "Decode";
|
|
183
|
+
readonly I: typeof DecodeRequest;
|
|
184
|
+
readonly O: typeof DecodeResponse;
|
|
185
|
+
readonly kind: any;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @generated from rpc tei.v1.Tokenize.DecodeStream
|
|
189
|
+
*/
|
|
190
|
+
readonly decodeStream: {
|
|
191
|
+
readonly name: "DecodeStream";
|
|
192
|
+
readonly I: typeof DecodeRequest;
|
|
193
|
+
readonly O: typeof DecodeResponse;
|
|
194
|
+
readonly kind: any;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export { Embed, Info, Predict, Rerank, Tokenize };
|