@dailydotdev/schema 0.2.39 → 0.2.41

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.
@@ -0,0 +1 @@
1
+ var e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,n={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(n,{BrokkrService:()=>i}),module.exports=(e=n,((e,n,a,u)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let i of o(n))p.call(e,i)||i===a||r(e,i,{get:()=>n[i],enumerable:!(u=t(n,i))||u.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=require("./brokkr_pb.cjs"),u=require("@bufbuild/protobuf");const i={typeName:"brokkr.BrokkrService",methods:{parseOpportunity:{name:"ParseOpportunity",I:a.ParseRequest,O:a.ParseOpportunityResponse,kind:u.MethodKind.Unary}}};
@@ -0,0 +1,24 @@
1
+ import { ParseRequest, ParseOpportunityResponse } from './brokkr_pb.cjs';
2
+ import '@bufbuild/protobuf';
3
+ import '../daily-api/opportunity_pb.cjs';
4
+ import '../daily-api/util_pb.cjs';
5
+
6
+ /**
7
+ * @generated from service brokkr.BrokkrService
8
+ */
9
+ declare const BrokkrService: {
10
+ readonly typeName: "brokkr.BrokkrService";
11
+ readonly methods: {
12
+ /**
13
+ * @generated from rpc brokkr.BrokkrService.ParseOpportunity
14
+ */
15
+ readonly parseOpportunity: {
16
+ readonly name: "ParseOpportunity";
17
+ readonly I: typeof ParseRequest;
18
+ readonly O: typeof ParseOpportunityResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { BrokkrService };
@@ -0,0 +1,24 @@
1
+ import { ParseRequest, ParseOpportunityResponse } from './brokkr_pb.js';
2
+ import '@bufbuild/protobuf';
3
+ import '../daily-api/opportunity_pb.js';
4
+ import '../daily-api/util_pb.js';
5
+
6
+ /**
7
+ * @generated from service brokkr.BrokkrService
8
+ */
9
+ declare const BrokkrService: {
10
+ readonly typeName: "brokkr.BrokkrService";
11
+ readonly methods: {
12
+ /**
13
+ * @generated from rpc brokkr.BrokkrService.ParseOpportunity
14
+ */
15
+ readonly parseOpportunity: {
16
+ readonly name: "ParseOpportunity";
17
+ readonly I: typeof ParseRequest;
18
+ readonly O: typeof ParseOpportunityResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { BrokkrService };
@@ -0,0 +1 @@
1
+ import{ParseOpportunityResponse as r,ParseRequest as o}from"./brokkr_pb.ts";import{MethodKind as t}from"@bufbuild/protobuf";const p={typeName:"brokkr.BrokkrService",methods:{parseOpportunity:{name:"ParseOpportunity",I:o,O:r,kind:t.Unary}}};export{p as BrokkrService};
@@ -0,0 +1 @@
1
+ var t,r=Object.defineProperty,e=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n={};((t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})})(n,{ParseError:()=>m,ParseOpportunityResponse:()=>l,ParseRequest:()=>u}),module.exports=(t=n,((t,n,a,i)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let u of o(n))s.call(t,u)||u===a||r(t,u,{get:()=>n[u],enumerable:!(i=e(n,u))||i.enumerable});return t})(r({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf"),i=require("../daily-api/opportunity_pb.cjs");class u extends a.Message{bucketName="";blobName="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="brokkr.ParseRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"bucket_name",kind:"scalar",T:9},{no:2,name:"blob_name",kind:"scalar",T:9}]));static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return a.proto3.util.equals(u,t,r)}}class m extends a.Message{field="";message="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="brokkr.ParseError";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]));static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return a.proto3.util.equals(m,t,r)}}class l extends a.Message{summary="";errors=[];opportunity;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="brokkr.ParseOpportunityResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"summary",kind:"scalar",T:9},{no:2,name:"errors",kind:"message",T:m,repeated:!0},{no:3,name:"opportunity",kind:"message",T:i.Opportunity}]));static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return a.proto3.util.equals(l,t,r)}}
@@ -0,0 +1,87 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+ import { Opportunity } from '../daily-api/opportunity_pb.cjs';
3
+ import '../daily-api/util_pb.cjs';
4
+
5
+ /**
6
+ * @generated from message brokkr.ParseRequest
7
+ */
8
+ declare class ParseRequest extends Message<ParseRequest> {
9
+ /**
10
+ * GCS bucket
11
+ *
12
+ * @generated from field: string bucket_name = 1;
13
+ */
14
+ bucketName: string;
15
+ /**
16
+ * Blob / object name
17
+ *
18
+ * @generated from field: string blob_name = 2;
19
+ */
20
+ blobName: string;
21
+ constructor(data?: PartialMessage<ParseRequest>);
22
+ static readonly runtime: typeof proto3;
23
+ static readonly typeName = "brokkr.ParseRequest";
24
+ static readonly fields: FieldList;
25
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseRequest;
26
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseRequest;
27
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseRequest;
28
+ static equals(a: ParseRequest | PlainMessage<ParseRequest> | undefined, b: ParseRequest | PlainMessage<ParseRequest> | undefined): boolean;
29
+ }
30
+ /**
31
+ * @generated from message brokkr.ParseError
32
+ */
33
+ declare class ParseError extends Message<ParseError> {
34
+ /**
35
+ * field that caused the error
36
+ *
37
+ * @generated from field: string field = 1;
38
+ */
39
+ field: string;
40
+ /**
41
+ * error message
42
+ *
43
+ * @generated from field: string message = 2;
44
+ */
45
+ message: string;
46
+ constructor(data?: PartialMessage<ParseError>);
47
+ static readonly runtime: typeof proto3;
48
+ static readonly typeName = "brokkr.ParseError";
49
+ static readonly fields: FieldList;
50
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseError;
51
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseError;
52
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseError;
53
+ static equals(a: ParseError | PlainMessage<ParseError> | undefined, b: ParseError | PlainMessage<ParseError> | undefined): boolean;
54
+ }
55
+ /**
56
+ * @generated from message brokkr.ParseOpportunityResponse
57
+ */
58
+ declare class ParseOpportunityResponse extends Message<ParseOpportunityResponse> {
59
+ /**
60
+ * short summary of the parsing result
61
+ *
62
+ * @generated from field: string summary = 1;
63
+ */
64
+ summary: string;
65
+ /**
66
+ * list of errors encountered during parsing
67
+ *
68
+ * @generated from field: repeated brokkr.ParseError errors = 2;
69
+ */
70
+ errors: ParseError[];
71
+ /**
72
+ * when RPC is ParseOpportunity
73
+ *
74
+ * @generated from field: dailydotdev.api.opportunity.Opportunity opportunity = 3;
75
+ */
76
+ opportunity?: Opportunity;
77
+ constructor(data?: PartialMessage<ParseOpportunityResponse>);
78
+ static readonly runtime: typeof proto3;
79
+ static readonly typeName = "brokkr.ParseOpportunityResponse";
80
+ static readonly fields: FieldList;
81
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseOpportunityResponse;
82
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseOpportunityResponse;
83
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseOpportunityResponse;
84
+ static equals(a: ParseOpportunityResponse | PlainMessage<ParseOpportunityResponse> | undefined, b: ParseOpportunityResponse | PlainMessage<ParseOpportunityResponse> | undefined): boolean;
85
+ }
86
+
87
+ export { ParseError, ParseOpportunityResponse, ParseRequest };
@@ -0,0 +1,87 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+ import { Opportunity } from '../daily-api/opportunity_pb.js';
3
+ import '../daily-api/util_pb.js';
4
+
5
+ /**
6
+ * @generated from message brokkr.ParseRequest
7
+ */
8
+ declare class ParseRequest extends Message<ParseRequest> {
9
+ /**
10
+ * GCS bucket
11
+ *
12
+ * @generated from field: string bucket_name = 1;
13
+ */
14
+ bucketName: string;
15
+ /**
16
+ * Blob / object name
17
+ *
18
+ * @generated from field: string blob_name = 2;
19
+ */
20
+ blobName: string;
21
+ constructor(data?: PartialMessage<ParseRequest>);
22
+ static readonly runtime: typeof proto3;
23
+ static readonly typeName = "brokkr.ParseRequest";
24
+ static readonly fields: FieldList;
25
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseRequest;
26
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseRequest;
27
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseRequest;
28
+ static equals(a: ParseRequest | PlainMessage<ParseRequest> | undefined, b: ParseRequest | PlainMessage<ParseRequest> | undefined): boolean;
29
+ }
30
+ /**
31
+ * @generated from message brokkr.ParseError
32
+ */
33
+ declare class ParseError extends Message<ParseError> {
34
+ /**
35
+ * field that caused the error
36
+ *
37
+ * @generated from field: string field = 1;
38
+ */
39
+ field: string;
40
+ /**
41
+ * error message
42
+ *
43
+ * @generated from field: string message = 2;
44
+ */
45
+ message: string;
46
+ constructor(data?: PartialMessage<ParseError>);
47
+ static readonly runtime: typeof proto3;
48
+ static readonly typeName = "brokkr.ParseError";
49
+ static readonly fields: FieldList;
50
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseError;
51
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseError;
52
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseError;
53
+ static equals(a: ParseError | PlainMessage<ParseError> | undefined, b: ParseError | PlainMessage<ParseError> | undefined): boolean;
54
+ }
55
+ /**
56
+ * @generated from message brokkr.ParseOpportunityResponse
57
+ */
58
+ declare class ParseOpportunityResponse extends Message<ParseOpportunityResponse> {
59
+ /**
60
+ * short summary of the parsing result
61
+ *
62
+ * @generated from field: string summary = 1;
63
+ */
64
+ summary: string;
65
+ /**
66
+ * list of errors encountered during parsing
67
+ *
68
+ * @generated from field: repeated brokkr.ParseError errors = 2;
69
+ */
70
+ errors: ParseError[];
71
+ /**
72
+ * when RPC is ParseOpportunity
73
+ *
74
+ * @generated from field: dailydotdev.api.opportunity.Opportunity opportunity = 3;
75
+ */
76
+ opportunity?: Opportunity;
77
+ constructor(data?: PartialMessage<ParseOpportunityResponse>);
78
+ static readonly runtime: typeof proto3;
79
+ static readonly typeName = "brokkr.ParseOpportunityResponse";
80
+ static readonly fields: FieldList;
81
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseOpportunityResponse;
82
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseOpportunityResponse;
83
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseOpportunityResponse;
84
+ static equals(a: ParseOpportunityResponse | PlainMessage<ParseOpportunityResponse> | undefined, b: ParseOpportunityResponse | PlainMessage<ParseOpportunityResponse> | undefined): boolean;
85
+ }
86
+
87
+ export { ParseError, ParseOpportunityResponse, ParseRequest };
@@ -0,0 +1 @@
1
+ import{Message as t,proto3 as r}from"@bufbuild/protobuf";import{Opportunity as e}from"../daily-api/opportunity_pb.ts";class n extends t{bucketName="";blobName="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="brokkr.ParseRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"bucket_name",kind:"scalar",T:9},{no:2,name:"blob_name",kind:"scalar",T:9}]));static fromBinary(t,r){return(new n).fromBinary(t,r)}static fromJson(t,r){return(new n).fromJson(t,r)}static fromJsonString(t,r){return(new n).fromJsonString(t,r)}static equals(t,e){return r.util.equals(n,t,e)}}class s extends t{field="";message="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="brokkr.ParseError";static fields=r.util.newFieldList((()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]));static fromBinary(t,r){return(new s).fromBinary(t,r)}static fromJson(t,r){return(new s).fromJson(t,r)}static fromJsonString(t,r){return(new s).fromJsonString(t,r)}static equals(t,e){return r.util.equals(s,t,e)}}class i extends t{summary="";errors=[];opportunity;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="brokkr.ParseOpportunityResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"summary",kind:"scalar",T:9},{no:2,name:"errors",kind:"message",T:s,repeated:!0},{no:3,name:"opportunity",kind:"message",T:e}]));static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,e){return r.util.equals(i,t,e)}}export{s as ParseError,i as ParseOpportunityResponse,n as ParseRequest};
@@ -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{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)}}
1
+ var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var e in n)r(t,e,{get:n[e],enumerable:!0})})(a,{ApplicationScored:()=>c,MatchedCandidate:()=>s,WarmIntro:()=>u}),module.exports=(t=a,((t,a,i,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let c of e(a))o.call(t,c)||c===i||r(t,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return t})(r({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf");class s extends i.Message{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(t){super(),i.proto3.util.initPartial(t,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(t,r){return(new s).fromBinary(t,r)}static fromJson(t,r){return(new s).fromJson(t,r)}static fromJsonString(t,r){return(new s).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(s,t,r)}}class c extends i.Message{userId="";opportunityId="";score=0;description="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.ApplicationScored";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:2},{no:4,name:"description",kind:"scalar",T:9}]));static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(c,t,r)}}class u extends i.Message{userId="";opportunityId="";description="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.WarmIntro";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}]));static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(u,t,r)}}
@@ -39,5 +39,59 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
39
39
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidate;
40
40
  static equals(a: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined, b: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined): boolean;
41
41
  }
42
+ /**
43
+ * @generated from message gondul.candidates.ApplicationScored
44
+ */
45
+ declare class ApplicationScored extends Message<ApplicationScored> {
46
+ /**
47
+ * @generated from field: string user_id = 1;
48
+ */
49
+ userId: string;
50
+ /**
51
+ * @generated from field: string opportunity_id = 2;
52
+ */
53
+ opportunityId: string;
54
+ /**
55
+ * @generated from field: float score = 3;
56
+ */
57
+ score: number;
58
+ /**
59
+ * @generated from field: string description = 4;
60
+ */
61
+ description: string;
62
+ constructor(data?: PartialMessage<ApplicationScored>);
63
+ static readonly runtime: typeof proto3;
64
+ static readonly typeName = "gondul.candidates.ApplicationScored";
65
+ static readonly fields: FieldList;
66
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplicationScored;
67
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplicationScored;
68
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplicationScored;
69
+ static equals(a: ApplicationScored | PlainMessage<ApplicationScored> | undefined, b: ApplicationScored | PlainMessage<ApplicationScored> | undefined): boolean;
70
+ }
71
+ /**
72
+ * @generated from message gondul.candidates.WarmIntro
73
+ */
74
+ declare class WarmIntro extends Message<WarmIntro> {
75
+ /**
76
+ * @generated from field: string user_id = 1;
77
+ */
78
+ userId: string;
79
+ /**
80
+ * @generated from field: string opportunity_id = 2;
81
+ */
82
+ opportunityId: string;
83
+ /**
84
+ * @generated from field: string description = 3;
85
+ */
86
+ description: string;
87
+ constructor(data?: PartialMessage<WarmIntro>);
88
+ static readonly runtime: typeof proto3;
89
+ static readonly typeName = "gondul.candidates.WarmIntro";
90
+ static readonly fields: FieldList;
91
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WarmIntro;
92
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WarmIntro;
93
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WarmIntro;
94
+ static equals(a: WarmIntro | PlainMessage<WarmIntro> | undefined, b: WarmIntro | PlainMessage<WarmIntro> | undefined): boolean;
95
+ }
42
96
 
43
- export { MatchedCandidate };
97
+ export { ApplicationScored, MatchedCandidate, WarmIntro };
@@ -39,5 +39,59 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
39
39
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidate;
40
40
  static equals(a: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined, b: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined): boolean;
41
41
  }
42
+ /**
43
+ * @generated from message gondul.candidates.ApplicationScored
44
+ */
45
+ declare class ApplicationScored extends Message<ApplicationScored> {
46
+ /**
47
+ * @generated from field: string user_id = 1;
48
+ */
49
+ userId: string;
50
+ /**
51
+ * @generated from field: string opportunity_id = 2;
52
+ */
53
+ opportunityId: string;
54
+ /**
55
+ * @generated from field: float score = 3;
56
+ */
57
+ score: number;
58
+ /**
59
+ * @generated from field: string description = 4;
60
+ */
61
+ description: string;
62
+ constructor(data?: PartialMessage<ApplicationScored>);
63
+ static readonly runtime: typeof proto3;
64
+ static readonly typeName = "gondul.candidates.ApplicationScored";
65
+ static readonly fields: FieldList;
66
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplicationScored;
67
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplicationScored;
68
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplicationScored;
69
+ static equals(a: ApplicationScored | PlainMessage<ApplicationScored> | undefined, b: ApplicationScored | PlainMessage<ApplicationScored> | undefined): boolean;
70
+ }
71
+ /**
72
+ * @generated from message gondul.candidates.WarmIntro
73
+ */
74
+ declare class WarmIntro extends Message<WarmIntro> {
75
+ /**
76
+ * @generated from field: string user_id = 1;
77
+ */
78
+ userId: string;
79
+ /**
80
+ * @generated from field: string opportunity_id = 2;
81
+ */
82
+ opportunityId: string;
83
+ /**
84
+ * @generated from field: string description = 3;
85
+ */
86
+ description: string;
87
+ constructor(data?: PartialMessage<WarmIntro>);
88
+ static readonly runtime: typeof proto3;
89
+ static readonly typeName = "gondul.candidates.WarmIntro";
90
+ static readonly fields: FieldList;
91
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WarmIntro;
92
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WarmIntro;
93
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WarmIntro;
94
+ static equals(a: WarmIntro | PlainMessage<WarmIntro> | undefined, b: WarmIntro | PlainMessage<WarmIntro> | undefined): boolean;
95
+ }
42
96
 
43
- export { MatchedCandidate };
97
+ export { ApplicationScored, MatchedCandidate, WarmIntro };
@@ -1 +1 @@
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};
1
+ import{Message as t,proto3 as n}from"@bufbuild/protobuf";class r extends t{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.MatchedCandidate";static fields=n.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(t,n){return(new r).fromBinary(t,n)}static fromJson(t,n){return(new r).fromJson(t,n)}static fromJsonString(t,n){return(new r).fromJsonString(t,n)}static equals(t,i){return n.util.equals(r,t,i)}}class i extends t{userId="";opportunityId="";score=0;description="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.ApplicationScored";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:2},{no:4,name:"description",kind:"scalar",T:9}]));static fromBinary(t,n){return(new i).fromBinary(t,n)}static fromJson(t,n){return(new i).fromJson(t,n)}static fromJsonString(t,n){return(new i).fromJsonString(t,n)}static equals(t,r){return n.util.equals(i,t,r)}}class a extends t{userId="";opportunityId="";description="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.WarmIntro";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}]));static fromBinary(t,n){return(new a).fromBinary(t,n)}static fromJson(t,n){return(new a).fromJson(t,n)}static fromJsonString(t,n){return(new a).fromJsonString(t,n)}static equals(t,r){return n.util.equals(a,t,r)}}export{i as ApplicationScored,r as MatchedCandidate,a as WarmIntro};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,s,t,u)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let d of p(s))i.call(e,d)||d===t||r(e,d,{get:()=>s[d],enumerable:!(u=o(s,d))||u.enumerable});return e},t=(e,r,o)=>(s(e,r,"default"),o&&s(o,r,"default")),u={};module.exports=(e=u,s(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/candidate-rejected-opportunity_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("./daily-api/pubsub/recruiter-accepted-candidate-match_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/application-services_connect.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);
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("./brokkr/brokkr_connect.cjs"),module.exports),t(u,require("./brokkr/brokkr_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/candidate-rejected-opportunity_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("./daily-api/pubsub/recruiter-accepted-candidate-match_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/application-services_connect.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
@@ -2,6 +2,8 @@ export { Pipelines } from './bragi/pipelines_connect.cjs';
2
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, StoryDeduplicationRequest, StoryDeduplicationResponse, 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
+ export { BrokkrService } from './brokkr/brokkr_connect.cjs';
6
+ export { ParseError, ParseOpportunityResponse, ParseRequest } from './brokkr/brokkr_pb.cjs';
5
7
  export { Screening } from './daily-api/opportunity-match_pb.cjs';
6
8
  export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.cjs';
7
9
  export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.cjs';
@@ -23,7 +25,7 @@ export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefi
23
25
  export { Request, Response } from './feed/personalised/personalised_pb.cjs';
24
26
  export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.cjs';
25
27
  export { ApplicationService } from './gondul/application-services_connect.cjs';
26
- export { MatchedCandidate } from './gondul/candidates_pb.cjs';
28
+ export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.cjs';
27
29
  export { BoolFilter, Filter, Operation, Order, Quantifier, SearchRequest, SearchResponse, SearchResult, Sort, StringListFilter, TimeRangeFilter } from './mimir/search/search_pb.cjs';
28
30
  export { Credits } from './njord/transactions_connect.cjs';
29
31
  export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.cjs';
package/dist/index.d.ts CHANGED
@@ -2,6 +2,8 @@ export { Pipelines } from './bragi/pipelines_connect.js';
2
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, StoryDeduplicationRequest, StoryDeduplicationResponse, 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
+ export { BrokkrService } from './brokkr/brokkr_connect.js';
6
+ export { ParseError, ParseOpportunityResponse, ParseRequest } from './brokkr/brokkr_pb.js';
5
7
  export { Screening } from './daily-api/opportunity-match_pb.js';
6
8
  export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.js';
7
9
  export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.js';
@@ -23,7 +25,7 @@ export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefi
23
25
  export { Request, Response } from './feed/personalised/personalised_pb.js';
24
26
  export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.js';
25
27
  export { ApplicationService } from './gondul/application-services_connect.js';
26
- export { MatchedCandidate } from './gondul/candidates_pb.js';
28
+ export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.js';
27
29
  export { BoolFilter, Filter, Operation, Order, Quantifier, SearchRequest, SearchResponse, SearchResult, Sort, StringListFilter, TimeRangeFilter } from './mimir/search/search_pb.js';
28
30
  export { Credits } from './njord/transactions_connect.js';
29
31
  export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.js';
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/candidate-rejected-opportunity_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./daily-api/pubsub/recruiter-accepted-candidate-match_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/application-services_connect";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";
1
+ export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./brokkr/brokkr_connect";export*from"./brokkr/brokkr_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/candidate-rejected-opportunity_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./daily-api/pubsub/recruiter-accepted-candidate-match_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/application-services_connect";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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dailydotdev/schema",
3
- "version": "0.2.39",
3
+ "version": "0.2.41",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",