@dailydotdev/schema 0.2.71 → 0.2.73

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,22 +1,91 @@
1
- import { GetJobStatusRequest, GetJobStatusResponse } from './job_pb.js';
1
+ import { GetWorkerJobStatusRequest, GetWorkerJobStatusResponse, GetBatchWorkerJobStatusRequest, GetBatchWorkerJobStatusResponse, StartFindJobVacanciesWorkerJobBatchRequest, StartWorkerJobResponse, GetWorkerJobBatchResultRequest, GetFindJobVacanciesWorkerJobBatchResultResponse, StartFindCompanyNewsWorkerJobBatchRequest, GetFindCompanyNewsWorkerJobBatchResultResponse, StartFindContactActivityWorkerJobBatchRequest, GetFindContactActivityWorkerJobBatchResultResponse } from './job_pb.js';
2
2
  import '@bufbuild/protobuf';
3
+ import '../bragi/pipelines_pb.js';
4
+ import '../feed/briefing/briefing_pb.js';
5
+ import './opportunity-match_pb.js';
6
+ import './opportunity_pb.js';
7
+ import './util_pb.js';
8
+ import '../bragi/feedback_pb.js';
3
9
 
4
10
  /**
5
- * @generated from service dailydotdev.api.job.JobService
11
+ * @generated from service dailydotdev.api.job.WorkerJobService
6
12
  */
7
- declare const JobService: {
8
- readonly typeName: "dailydotdev.api.job.JobService";
13
+ declare const WorkerJobService: {
14
+ readonly typeName: "dailydotdev.api.job.WorkerJobService";
9
15
  readonly methods: {
10
16
  /**
11
- * @generated from rpc dailydotdev.api.job.JobService.GetStatus
17
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.GetJobStatus
12
18
  */
13
- readonly getStatus: {
14
- readonly name: "GetStatus";
15
- readonly I: typeof GetJobStatusRequest;
16
- readonly O: typeof GetJobStatusResponse;
19
+ readonly getJobStatus: {
20
+ readonly name: "GetJobStatus";
21
+ readonly I: typeof GetWorkerJobStatusRequest;
22
+ readonly O: typeof GetWorkerJobStatusResponse;
23
+ readonly kind: any;
24
+ };
25
+ /**
26
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.GetBatchStatus
27
+ */
28
+ readonly getBatchStatus: {
29
+ readonly name: "GetBatchStatus";
30
+ readonly I: typeof GetBatchWorkerJobStatusRequest;
31
+ readonly O: typeof GetBatchWorkerJobStatusResponse;
32
+ readonly kind: any;
33
+ };
34
+ /**
35
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.StartFindJobVacanciesBatch
36
+ */
37
+ readonly startFindJobVacanciesBatch: {
38
+ readonly name: "StartFindJobVacanciesBatch";
39
+ readonly I: typeof StartFindJobVacanciesWorkerJobBatchRequest;
40
+ readonly O: typeof StartWorkerJobResponse;
41
+ readonly kind: any;
42
+ };
43
+ /**
44
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.GetFindJobVacanciesBatchResult
45
+ */
46
+ readonly getFindJobVacanciesBatchResult: {
47
+ readonly name: "GetFindJobVacanciesBatchResult";
48
+ readonly I: typeof GetWorkerJobBatchResultRequest;
49
+ readonly O: typeof GetFindJobVacanciesWorkerJobBatchResultResponse;
50
+ readonly kind: any;
51
+ };
52
+ /**
53
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.StartFindCompanyNewsBatch
54
+ */
55
+ readonly startFindCompanyNewsBatch: {
56
+ readonly name: "StartFindCompanyNewsBatch";
57
+ readonly I: typeof StartFindCompanyNewsWorkerJobBatchRequest;
58
+ readonly O: typeof StartWorkerJobResponse;
59
+ readonly kind: any;
60
+ };
61
+ /**
62
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.GetFindCompanyNewsBatchResult
63
+ */
64
+ readonly getFindCompanyNewsBatchResult: {
65
+ readonly name: "GetFindCompanyNewsBatchResult";
66
+ readonly I: typeof GetWorkerJobBatchResultRequest;
67
+ readonly O: typeof GetFindCompanyNewsWorkerJobBatchResultResponse;
68
+ readonly kind: any;
69
+ };
70
+ /**
71
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.StartFindContactActivityBatch
72
+ */
73
+ readonly startFindContactActivityBatch: {
74
+ readonly name: "StartFindContactActivityBatch";
75
+ readonly I: typeof StartFindContactActivityWorkerJobBatchRequest;
76
+ readonly O: typeof StartWorkerJobResponse;
77
+ readonly kind: any;
78
+ };
79
+ /**
80
+ * @generated from rpc dailydotdev.api.job.WorkerJobService.GetFindContactActivityBatchResult
81
+ */
82
+ readonly getFindContactActivityBatchResult: {
83
+ readonly name: "GetFindContactActivityBatchResult";
84
+ readonly I: typeof GetWorkerJobBatchResultRequest;
85
+ readonly O: typeof GetFindContactActivityWorkerJobBatchResultResponse;
17
86
  readonly kind: any;
18
87
  };
19
88
  };
20
89
  };
21
90
 
22
- export { JobService };
91
+ export { WorkerJobService };
@@ -1 +1 @@
1
- import{GetJobStatusRequest as t,GetJobStatusResponse as o}from"./job_pb.ts";import{MethodKind as e}from"@bufbuild/protobuf";const r={typeName:"dailydotdev.api.job.JobService",methods:{getStatus:{name:"GetStatus",I:t,O:o,kind:e.Unary}}};export{r as JobService};
1
+ import{GetBatchWorkerJobStatusRequest as t,GetBatchWorkerJobStatusResponse as a,GetFindCompanyNewsWorkerJobBatchResultResponse as n,GetFindContactActivityWorkerJobBatchResultResponse as e,GetFindJobVacanciesWorkerJobBatchResultResponse as i,GetWorkerJobBatchResultRequest as c,GetWorkerJobStatusRequest as o,GetWorkerJobStatusResponse as d,StartFindCompanyNewsWorkerJobBatchRequest as s,StartFindContactActivityWorkerJobBatchRequest as r,StartFindJobVacanciesWorkerJobBatchRequest as m,StartWorkerJobResponse as y}from"./job_pb.ts";import{MethodKind as h}from"@bufbuild/protobuf";const B={typeName:"dailydotdev.api.job.WorkerJobService",methods:{getJobStatus:{name:"GetJobStatus",I:o,O:d,kind:h.Unary},getBatchStatus:{name:"GetBatchStatus",I:t,O:a,kind:h.Unary},startFindJobVacanciesBatch:{name:"StartFindJobVacanciesBatch",I:m,O:y,kind:h.Unary},getFindJobVacanciesBatchResult:{name:"GetFindJobVacanciesBatchResult",I:c,O:i,kind:h.Unary},startFindCompanyNewsBatch:{name:"StartFindCompanyNewsBatch",I:s,O:y,kind:h.Unary},getFindCompanyNewsBatchResult:{name:"GetFindCompanyNewsBatchResult",I:c,O:n,kind:h.Unary},startFindContactActivityBatch:{name:"StartFindContactActivityBatch",I:r,O:y,kind:h.Unary},getFindContactActivityBatchResult:{name:"GetFindContactActivityBatchResult",I:c,O:e,kind:h.Unary}}};export{B as WorkerJobService};
@@ -1 +1 @@
1
- var t,e=Object.defineProperty,o=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,a={};((t,o)=>{for(var r in o)e(t,r,{get:o[r],enumerable:!0})})(a,{GetJobStatusRequest:()=>p,GetJobStatusResponse:()=>l,JobStatus:()=>u,JobType:()=>i,StartJobResponse:()=>m}),module.exports=(t=a,((t,a,s,i)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let u of r(a))n.call(t,u)||u===s||e(t,u,{get:()=>a[u],enumerable:!(i=o(a,u))||i.enumerable});return t})(e({},"__esModule",{value:!0}),t));var s=require("@bufbuild/protobuf"),i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t))(i||{});s.proto3.util.setEnumType(i,"dailydotdev.api.job.JobType",[{no:0,name:"JOB_TYPE_UNSPECIFIED"}]);var u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.PENDING=1]="PENDING",t[t.RUNNING=2]="RUNNING",t[t.COMPLETED=3]="COMPLETED",t[t.FAILED=4]="FAILED",t))(u||{});s.proto3.util.setEnumType(u,"dailydotdev.api.job.JobStatus",[{no:0,name:"JOB_STATUS_UNSPECIFIED"},{no:1,name:"JOB_STATUS_PENDING"},{no:2,name:"JOB_STATUS_RUNNING"},{no:3,name:"JOB_STATUS_COMPLETED"},{no:4,name:"JOB_STATUS_FAILED"}]);class p extends s.Message{jobId="";constructor(t){super(),s.proto3.util.initPartial(t,this)}static runtime=s.proto3;static typeName="dailydotdev.api.job.GetJobStatusRequest";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new p).fromBinary(t,e)}static fromJson(t,e){return(new p).fromJson(t,e)}static fromJsonString(t,e){return(new p).fromJsonString(t,e)}static equals(t,e){return s.proto3.util.equals(p,t,e)}}class l extends s.Message{jobId="";type=0;status=0;createdAt=0;startedAt;completedAt;error;constructor(t){super(),s.proto3.util.initPartial(t,this)}static runtime=s.proto3;static typeName="dailydotdev.api.job.GetJobStatusResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:s.proto3.getEnumType(i)},{no:3,name:"status",kind:"enum",T:s.proto3.getEnumType(u)},{no:4,name:"created_at",kind:"scalar",T:5},{no:5,name:"started_at",kind:"scalar",T:5,opt:!0},{no:6,name:"completed_at",kind:"scalar",T:5,opt:!0},{no:7,name:"error",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,e){return s.proto3.util.equals(l,t,e)}}class m extends s.Message{jobId="";constructor(t){super(),s.proto3.util.initPartial(t,this)}static runtime=s.proto3;static typeName="dailydotdev.api.job.StartJobResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,e){return s.proto3.util.equals(m,t,e)}}
1
+ var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s={};((t,r)=>{for(var o in r)e(t,o,{get:r[o],enumerable:!0})})(s,{FindCompanyNewsWorkerJobChildResult:()=>g,FindContactActivityWorkerJobChildResult:()=>N,FindJobVacanciesWorkerJobChildResult:()=>b,GetBatchWorkerJobStatusRequest:()=>p,GetBatchWorkerJobStatusResponse:()=>f,GetFindCompanyNewsWorkerJobBatchResultResponse:()=>w,GetFindContactActivityWorkerJobBatchResultResponse:()=>_,GetFindJobVacanciesWorkerJobBatchResultResponse:()=>T,GetWorkerJobBatchResultRequest:()=>J,GetWorkerJobStatusRequest:()=>l,GetWorkerJobStatusResponse:()=>m,StartFindCompanyNewsWorkerJobBatchRequest:()=>k,StartFindContactActivityWorkerJobBatchRequest:()=>S,StartFindJobVacanciesWorkerJobBatchRequest:()=>y,StartWorkerJobResponse:()=>d,WorkerJobStatus:()=>c,WorkerJobType:()=>u}),module.exports=(t=s,((t,s,a,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let u of o(s))n.call(t,u)||u===a||e(t,u,{get:()=>s[u],enumerable:!(i=r(s,u))||i.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf"),i=require("../bragi/pipelines_pb.cjs"),u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FIND_JOB_VACANCIES=1]="FIND_JOB_VACANCIES",t[t.FIND_COMPANY_NEWS=2]="FIND_COMPANY_NEWS",t[t.FIND_CONTACT_ACTIVITY=3]="FIND_CONTACT_ACTIVITY",t))(u||{});a.proto3.util.setEnumType(u,"dailydotdev.api.job.WorkerJobType",[{no:0,name:"WORKER_JOB_TYPE_UNSPECIFIED"},{no:1,name:"WORKER_JOB_TYPE_FIND_JOB_VACANCIES"},{no:2,name:"WORKER_JOB_TYPE_FIND_COMPANY_NEWS"},{no:3,name:"WORKER_JOB_TYPE_FIND_CONTACT_ACTIVITY"}]);var c=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.PENDING=1]="PENDING",t[t.RUNNING=2]="RUNNING",t[t.COMPLETED=3]="COMPLETED",t[t.FAILED=4]="FAILED",t))(c||{});a.proto3.util.setEnumType(c,"dailydotdev.api.job.WorkerJobStatus",[{no:0,name:"WORKER_JOB_STATUS_UNSPECIFIED"},{no:1,name:"WORKER_JOB_STATUS_PENDING"},{no:2,name:"WORKER_JOB_STATUS_RUNNING"},{no:3,name:"WORKER_JOB_STATUS_COMPLETED"},{no:4,name:"WORKER_JOB_STATUS_FAILED"}]);class l extends a.Message{jobId="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetWorkerJobStatusRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(l,t,e)}}class m extends a.Message{jobId="";type=0;status=0;createdAt=0;startedAt;completedAt;error;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetWorkerJobStatusResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:a.proto3.getEnumType(u)},{no:3,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:4,name:"created_at",kind:"scalar",T:5},{no:5,name:"started_at",kind:"scalar",T:5,opt:!0},{no:6,name:"completed_at",kind:"scalar",T:5,opt:!0},{no:7,name:"error",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(m,t,e)}}class d extends a.Message{jobId="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.StartWorkerJobResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9}]));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 a.proto3.util.equals(d,t,e)}}class p extends a.Message{jobId="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetBatchWorkerJobStatusRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new p).fromBinary(t,e)}static fromJson(t,e){return(new p).fromJson(t,e)}static fromJsonString(t,e){return(new p).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(p,t,e)}}class f extends a.Message{jobId="";status=0;total=0;completed=0;failed=0;pending=0;running=0;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetBatchWorkerJobStatusResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"total",kind:"scalar",T:5},{no:4,name:"completed",kind:"scalar",T:5},{no:5,name:"failed",kind:"scalar",T:5},{no:6,name:"pending",kind:"scalar",T:5},{no:7,name:"running",kind:"scalar",T:5}]));static fromBinary(t,e){return(new f).fromBinary(t,e)}static fromJson(t,e){return(new f).fromJson(t,e)}static fromJsonString(t,e){return(new f).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(f,t,e)}}class J extends a.Message{jobId="";limit;offset;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetWorkerJobBatchResultRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"limit",kind:"scalar",T:5,opt:!0},{no:3,name:"offset",kind:"scalar",T:5,opt:!0}]));static fromBinary(t,e){return(new J).fromBinary(t,e)}static fromJson(t,e){return(new J).fromJson(t,e)}static fromJsonString(t,e){return(new J).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(J,t,e)}}class y extends a.Message{items=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.StartFindJobVacanciesWorkerJobBatchRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"items",kind:"message",T:i.FindJobVacanciesRequest,repeated:!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 a.proto3.util.equals(y,t,e)}}class b extends a.Message{jobId="";status=0;input;results=[];error;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.FindJobVacanciesWorkerJobChildResult";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"input",kind:"message",T:i.FindJobVacanciesRequest},{no:4,name:"results",kind:"message",T:i.JobVacancy,repeated:!0},{no:5,name:"error",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new b).fromBinary(t,e)}static fromJson(t,e){return(new b).fromJson(t,e)}static fromJsonString(t,e){return(new b).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(b,t,e)}}class T extends a.Message{jobId="";status=0;children=[];total=0;hasMore=!1;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetFindJobVacanciesWorkerJobBatchResultResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"children",kind:"message",T:b,repeated:!0},{no:4,name:"total",kind:"scalar",T:5},{no:5,name:"has_more",kind:"scalar",T:8}]));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 a.proto3.util.equals(T,t,e)}}class k extends a.Message{items=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.StartFindCompanyNewsWorkerJobBatchRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"items",kind:"message",T:i.FindCompanyNewsRequest,repeated:!0}]));static fromBinary(t,e){return(new k).fromBinary(t,e)}static fromJson(t,e){return(new k).fromJson(t,e)}static fromJsonString(t,e){return(new k).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(k,t,e)}}class g extends a.Message{jobId="";status=0;input;results=[];error;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.FindCompanyNewsWorkerJobChildResult";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"input",kind:"message",T:i.FindCompanyNewsRequest},{no:4,name:"results",kind:"message",T:i.NewsItem,repeated:!0},{no:5,name:"error",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new g).fromBinary(t,e)}static fromJson(t,e){return(new g).fromJson(t,e)}static fromJsonString(t,e){return(new g).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(g,t,e)}}class w extends a.Message{jobId="";status=0;children=[];total=0;hasMore=!1;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetFindCompanyNewsWorkerJobBatchResultResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"children",kind:"message",T:g,repeated:!0},{no:4,name:"total",kind:"scalar",T:5},{no:5,name:"has_more",kind:"scalar",T:8}]));static fromBinary(t,e){return(new w).fromBinary(t,e)}static fromJson(t,e){return(new w).fromJson(t,e)}static fromJsonString(t,e){return(new w).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(w,t,e)}}class S extends a.Message{items=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.StartFindContactActivityWorkerJobBatchRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"items",kind:"message",T:i.FindContactActivityRequest,repeated:!0}]));static fromBinary(t,e){return(new S).fromBinary(t,e)}static fromJson(t,e){return(new S).fromJson(t,e)}static fromJsonString(t,e){return(new S).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(S,t,e)}}class N extends a.Message{jobId="";status=0;input;results=[];error;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.FindContactActivityWorkerJobChildResult";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"input",kind:"message",T:i.FindContactActivityRequest},{no:4,name:"results",kind:"message",T:i.ActivityItem,repeated:!0},{no:5,name:"error",kind:"scalar",T:9,opt:!0}]));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 a.proto3.util.equals(N,t,e)}}class _ extends a.Message{jobId="";status=0;children=[];total=0;hasMore=!1;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.job.GetFindContactActivityWorkerJobBatchResultResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"job_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:a.proto3.getEnumType(c)},{no:3,name:"children",kind:"message",T:N,repeated:!0},{no:4,name:"total",kind:"scalar",T:5},{no:5,name:"has_more",kind:"scalar",T:8}]));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 a.proto3.util.equals(_,t,e)}}
@@ -1,72 +1,90 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+ import { FindJobVacanciesRequest, JobVacancy, FindCompanyNewsRequest, NewsItem, FindContactActivityRequest, ActivityItem } from '../bragi/pipelines_pb.cjs';
3
+ import '../feed/briefing/briefing_pb.cjs';
4
+ import './opportunity-match_pb.cjs';
5
+ import './opportunity_pb.cjs';
6
+ import './util_pb.cjs';
7
+ import '../bragi/feedback_pb.cjs';
2
8
 
3
9
  /**
4
- * @generated from enum dailydotdev.api.job.JobType
10
+ * @generated from enum dailydotdev.api.job.WorkerJobType
5
11
  */
6
- declare enum JobType {
12
+ declare enum WorkerJobType {
7
13
  /**
8
- * @generated from enum value: JOB_TYPE_UNSPECIFIED = 0;
14
+ * @generated from enum value: WORKER_JOB_TYPE_UNSPECIFIED = 0;
9
15
  */
10
- UNSPECIFIED = 0
16
+ UNSPECIFIED = 0,
17
+ /**
18
+ * @generated from enum value: WORKER_JOB_TYPE_FIND_JOB_VACANCIES = 1;
19
+ */
20
+ FIND_JOB_VACANCIES = 1,
21
+ /**
22
+ * @generated from enum value: WORKER_JOB_TYPE_FIND_COMPANY_NEWS = 2;
23
+ */
24
+ FIND_COMPANY_NEWS = 2,
25
+ /**
26
+ * @generated from enum value: WORKER_JOB_TYPE_FIND_CONTACT_ACTIVITY = 3;
27
+ */
28
+ FIND_CONTACT_ACTIVITY = 3
11
29
  }
12
30
  /**
13
- * @generated from enum dailydotdev.api.job.JobStatus
31
+ * @generated from enum dailydotdev.api.job.WorkerJobStatus
14
32
  */
15
- declare enum JobStatus {
33
+ declare enum WorkerJobStatus {
16
34
  /**
17
- * @generated from enum value: JOB_STATUS_UNSPECIFIED = 0;
35
+ * @generated from enum value: WORKER_JOB_STATUS_UNSPECIFIED = 0;
18
36
  */
19
37
  UNSPECIFIED = 0,
20
38
  /**
21
- * @generated from enum value: JOB_STATUS_PENDING = 1;
39
+ * @generated from enum value: WORKER_JOB_STATUS_PENDING = 1;
22
40
  */
23
41
  PENDING = 1,
24
42
  /**
25
- * @generated from enum value: JOB_STATUS_RUNNING = 2;
43
+ * @generated from enum value: WORKER_JOB_STATUS_RUNNING = 2;
26
44
  */
27
45
  RUNNING = 2,
28
46
  /**
29
- * @generated from enum value: JOB_STATUS_COMPLETED = 3;
47
+ * @generated from enum value: WORKER_JOB_STATUS_COMPLETED = 3;
30
48
  */
31
49
  COMPLETED = 3,
32
50
  /**
33
- * @generated from enum value: JOB_STATUS_FAILED = 4;
51
+ * @generated from enum value: WORKER_JOB_STATUS_FAILED = 4;
34
52
  */
35
53
  FAILED = 4
36
54
  }
37
55
  /**
38
- * @generated from message dailydotdev.api.job.GetJobStatusRequest
56
+ * @generated from message dailydotdev.api.job.GetWorkerJobStatusRequest
39
57
  */
40
- declare class GetJobStatusRequest extends Message<GetJobStatusRequest> {
58
+ declare class GetWorkerJobStatusRequest extends Message<GetWorkerJobStatusRequest> {
41
59
  /**
42
60
  * @generated from field: string job_id = 1;
43
61
  */
44
62
  jobId: string;
45
- constructor(data?: PartialMessage<GetJobStatusRequest>);
63
+ constructor(data?: PartialMessage<GetWorkerJobStatusRequest>);
46
64
  static readonly runtime: typeof proto3;
47
- static readonly typeName = "dailydotdev.api.job.GetJobStatusRequest";
65
+ static readonly typeName = "dailydotdev.api.job.GetWorkerJobStatusRequest";
48
66
  static readonly fields: FieldList;
49
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobStatusRequest;
50
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobStatusRequest;
51
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobStatusRequest;
52
- static equals(a: GetJobStatusRequest | PlainMessage<GetJobStatusRequest> | undefined, b: GetJobStatusRequest | PlainMessage<GetJobStatusRequest> | undefined): boolean;
67
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkerJobStatusRequest;
68
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkerJobStatusRequest;
69
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkerJobStatusRequest;
70
+ static equals(a: GetWorkerJobStatusRequest | PlainMessage<GetWorkerJobStatusRequest> | undefined, b: GetWorkerJobStatusRequest | PlainMessage<GetWorkerJobStatusRequest> | undefined): boolean;
53
71
  }
54
72
  /**
55
- * @generated from message dailydotdev.api.job.GetJobStatusResponse
73
+ * @generated from message dailydotdev.api.job.GetWorkerJobStatusResponse
56
74
  */
57
- declare class GetJobStatusResponse extends Message<GetJobStatusResponse> {
75
+ declare class GetWorkerJobStatusResponse extends Message<GetWorkerJobStatusResponse> {
58
76
  /**
59
77
  * @generated from field: string job_id = 1;
60
78
  */
61
79
  jobId: string;
62
80
  /**
63
- * @generated from field: dailydotdev.api.job.JobType type = 2;
81
+ * @generated from field: dailydotdev.api.job.WorkerJobType type = 2;
64
82
  */
65
- type: JobType;
83
+ type: WorkerJobType;
66
84
  /**
67
- * @generated from field: dailydotdev.api.job.JobStatus status = 3;
85
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 3;
68
86
  */
69
- status: JobStatus;
87
+ status: WorkerJobStatus;
70
88
  /**
71
89
  * @generated from field: int32 created_at = 4;
72
90
  */
@@ -83,31 +101,363 @@ declare class GetJobStatusResponse extends Message<GetJobStatusResponse> {
83
101
  * @generated from field: optional string error = 7;
84
102
  */
85
103
  error?: string;
86
- constructor(data?: PartialMessage<GetJobStatusResponse>);
104
+ constructor(data?: PartialMessage<GetWorkerJobStatusResponse>);
105
+ static readonly runtime: typeof proto3;
106
+ static readonly typeName = "dailydotdev.api.job.GetWorkerJobStatusResponse";
107
+ static readonly fields: FieldList;
108
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkerJobStatusResponse;
109
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkerJobStatusResponse;
110
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkerJobStatusResponse;
111
+ static equals(a: GetWorkerJobStatusResponse | PlainMessage<GetWorkerJobStatusResponse> | undefined, b: GetWorkerJobStatusResponse | PlainMessage<GetWorkerJobStatusResponse> | undefined): boolean;
112
+ }
113
+ /**
114
+ * @generated from message dailydotdev.api.job.StartWorkerJobResponse
115
+ */
116
+ declare class StartWorkerJobResponse extends Message<StartWorkerJobResponse> {
117
+ /**
118
+ * @generated from field: string job_id = 1;
119
+ */
120
+ jobId: string;
121
+ constructor(data?: PartialMessage<StartWorkerJobResponse>);
122
+ static readonly runtime: typeof proto3;
123
+ static readonly typeName = "dailydotdev.api.job.StartWorkerJobResponse";
124
+ static readonly fields: FieldList;
125
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkerJobResponse;
126
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkerJobResponse;
127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkerJobResponse;
128
+ static equals(a: StartWorkerJobResponse | PlainMessage<StartWorkerJobResponse> | undefined, b: StartWorkerJobResponse | PlainMessage<StartWorkerJobResponse> | undefined): boolean;
129
+ }
130
+ /**
131
+ * @generated from message dailydotdev.api.job.GetBatchWorkerJobStatusRequest
132
+ */
133
+ declare class GetBatchWorkerJobStatusRequest extends Message<GetBatchWorkerJobStatusRequest> {
134
+ /**
135
+ * @generated from field: string job_id = 1;
136
+ */
137
+ jobId: string;
138
+ constructor(data?: PartialMessage<GetBatchWorkerJobStatusRequest>);
139
+ static readonly runtime: typeof proto3;
140
+ static readonly typeName = "dailydotdev.api.job.GetBatchWorkerJobStatusRequest";
141
+ static readonly fields: FieldList;
142
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBatchWorkerJobStatusRequest;
143
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBatchWorkerJobStatusRequest;
144
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBatchWorkerJobStatusRequest;
145
+ static equals(a: GetBatchWorkerJobStatusRequest | PlainMessage<GetBatchWorkerJobStatusRequest> | undefined, b: GetBatchWorkerJobStatusRequest | PlainMessage<GetBatchWorkerJobStatusRequest> | undefined): boolean;
146
+ }
147
+ /**
148
+ * @generated from message dailydotdev.api.job.GetBatchWorkerJobStatusResponse
149
+ */
150
+ declare class GetBatchWorkerJobStatusResponse extends Message<GetBatchWorkerJobStatusResponse> {
151
+ /**
152
+ * @generated from field: string job_id = 1;
153
+ */
154
+ jobId: string;
155
+ /**
156
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
157
+ */
158
+ status: WorkerJobStatus;
159
+ /**
160
+ * @generated from field: int32 total = 3;
161
+ */
162
+ total: number;
163
+ /**
164
+ * @generated from field: int32 completed = 4;
165
+ */
166
+ completed: number;
167
+ /**
168
+ * @generated from field: int32 failed = 5;
169
+ */
170
+ failed: number;
171
+ /**
172
+ * @generated from field: int32 pending = 6;
173
+ */
174
+ pending: number;
175
+ /**
176
+ * @generated from field: int32 running = 7;
177
+ */
178
+ running: number;
179
+ constructor(data?: PartialMessage<GetBatchWorkerJobStatusResponse>);
180
+ static readonly runtime: typeof proto3;
181
+ static readonly typeName = "dailydotdev.api.job.GetBatchWorkerJobStatusResponse";
182
+ static readonly fields: FieldList;
183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBatchWorkerJobStatusResponse;
184
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBatchWorkerJobStatusResponse;
185
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBatchWorkerJobStatusResponse;
186
+ static equals(a: GetBatchWorkerJobStatusResponse | PlainMessage<GetBatchWorkerJobStatusResponse> | undefined, b: GetBatchWorkerJobStatusResponse | PlainMessage<GetBatchWorkerJobStatusResponse> | undefined): boolean;
187
+ }
188
+ /**
189
+ * @generated from message dailydotdev.api.job.GetWorkerJobBatchResultRequest
190
+ */
191
+ declare class GetWorkerJobBatchResultRequest extends Message<GetWorkerJobBatchResultRequest> {
192
+ /**
193
+ * @generated from field: string job_id = 1;
194
+ */
195
+ jobId: string;
196
+ /**
197
+ * @generated from field: optional int32 limit = 2;
198
+ */
199
+ limit?: number;
200
+ /**
201
+ * @generated from field: optional int32 offset = 3;
202
+ */
203
+ offset?: number;
204
+ constructor(data?: PartialMessage<GetWorkerJobBatchResultRequest>);
205
+ static readonly runtime: typeof proto3;
206
+ static readonly typeName = "dailydotdev.api.job.GetWorkerJobBatchResultRequest";
207
+ static readonly fields: FieldList;
208
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkerJobBatchResultRequest;
209
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkerJobBatchResultRequest;
210
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkerJobBatchResultRequest;
211
+ static equals(a: GetWorkerJobBatchResultRequest | PlainMessage<GetWorkerJobBatchResultRequest> | undefined, b: GetWorkerJobBatchResultRequest | PlainMessage<GetWorkerJobBatchResultRequest> | undefined): boolean;
212
+ }
213
+ /**
214
+ * @generated from message dailydotdev.api.job.StartFindJobVacanciesWorkerJobBatchRequest
215
+ */
216
+ declare class StartFindJobVacanciesWorkerJobBatchRequest extends Message<StartFindJobVacanciesWorkerJobBatchRequest> {
217
+ /**
218
+ * @generated from field: repeated bragi.pipelines.FindJobVacanciesRequest items = 1;
219
+ */
220
+ items: FindJobVacanciesRequest[];
221
+ constructor(data?: PartialMessage<StartFindJobVacanciesWorkerJobBatchRequest>);
222
+ static readonly runtime: typeof proto3;
223
+ static readonly typeName = "dailydotdev.api.job.StartFindJobVacanciesWorkerJobBatchRequest";
224
+ static readonly fields: FieldList;
225
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartFindJobVacanciesWorkerJobBatchRequest;
226
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartFindJobVacanciesWorkerJobBatchRequest;
227
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartFindJobVacanciesWorkerJobBatchRequest;
228
+ static equals(a: StartFindJobVacanciesWorkerJobBatchRequest | PlainMessage<StartFindJobVacanciesWorkerJobBatchRequest> | undefined, b: StartFindJobVacanciesWorkerJobBatchRequest | PlainMessage<StartFindJobVacanciesWorkerJobBatchRequest> | undefined): boolean;
229
+ }
230
+ /**
231
+ * @generated from message dailydotdev.api.job.FindJobVacanciesWorkerJobChildResult
232
+ */
233
+ declare class FindJobVacanciesWorkerJobChildResult extends Message<FindJobVacanciesWorkerJobChildResult> {
234
+ /**
235
+ * @generated from field: string job_id = 1;
236
+ */
237
+ jobId: string;
238
+ /**
239
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
240
+ */
241
+ status: WorkerJobStatus;
242
+ /**
243
+ * @generated from field: bragi.pipelines.FindJobVacanciesRequest input = 3;
244
+ */
245
+ input?: FindJobVacanciesRequest;
246
+ /**
247
+ * @generated from field: repeated bragi.pipelines.JobVacancy results = 4;
248
+ */
249
+ results: JobVacancy[];
250
+ /**
251
+ * @generated from field: optional string error = 5;
252
+ */
253
+ error?: string;
254
+ constructor(data?: PartialMessage<FindJobVacanciesWorkerJobChildResult>);
255
+ static readonly runtime: typeof proto3;
256
+ static readonly typeName = "dailydotdev.api.job.FindJobVacanciesWorkerJobChildResult";
257
+ static readonly fields: FieldList;
258
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FindJobVacanciesWorkerJobChildResult;
259
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FindJobVacanciesWorkerJobChildResult;
260
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FindJobVacanciesWorkerJobChildResult;
261
+ static equals(a: FindJobVacanciesWorkerJobChildResult | PlainMessage<FindJobVacanciesWorkerJobChildResult> | undefined, b: FindJobVacanciesWorkerJobChildResult | PlainMessage<FindJobVacanciesWorkerJobChildResult> | undefined): boolean;
262
+ }
263
+ /**
264
+ * @generated from message dailydotdev.api.job.GetFindJobVacanciesWorkerJobBatchResultResponse
265
+ */
266
+ declare class GetFindJobVacanciesWorkerJobBatchResultResponse extends Message<GetFindJobVacanciesWorkerJobBatchResultResponse> {
267
+ /**
268
+ * @generated from field: string job_id = 1;
269
+ */
270
+ jobId: string;
271
+ /**
272
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
273
+ */
274
+ status: WorkerJobStatus;
275
+ /**
276
+ * @generated from field: repeated dailydotdev.api.job.FindJobVacanciesWorkerJobChildResult children = 3;
277
+ */
278
+ children: FindJobVacanciesWorkerJobChildResult[];
279
+ /**
280
+ * @generated from field: int32 total = 4;
281
+ */
282
+ total: number;
283
+ /**
284
+ * @generated from field: bool has_more = 5;
285
+ */
286
+ hasMore: boolean;
287
+ constructor(data?: PartialMessage<GetFindJobVacanciesWorkerJobBatchResultResponse>);
288
+ static readonly runtime: typeof proto3;
289
+ static readonly typeName = "dailydotdev.api.job.GetFindJobVacanciesWorkerJobBatchResultResponse";
290
+ static readonly fields: FieldList;
291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFindJobVacanciesWorkerJobBatchResultResponse;
292
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFindJobVacanciesWorkerJobBatchResultResponse;
293
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFindJobVacanciesWorkerJobBatchResultResponse;
294
+ static equals(a: GetFindJobVacanciesWorkerJobBatchResultResponse | PlainMessage<GetFindJobVacanciesWorkerJobBatchResultResponse> | undefined, b: GetFindJobVacanciesWorkerJobBatchResultResponse | PlainMessage<GetFindJobVacanciesWorkerJobBatchResultResponse> | undefined): boolean;
295
+ }
296
+ /**
297
+ * @generated from message dailydotdev.api.job.StartFindCompanyNewsWorkerJobBatchRequest
298
+ */
299
+ declare class StartFindCompanyNewsWorkerJobBatchRequest extends Message<StartFindCompanyNewsWorkerJobBatchRequest> {
300
+ /**
301
+ * @generated from field: repeated bragi.pipelines.FindCompanyNewsRequest items = 1;
302
+ */
303
+ items: FindCompanyNewsRequest[];
304
+ constructor(data?: PartialMessage<StartFindCompanyNewsWorkerJobBatchRequest>);
305
+ static readonly runtime: typeof proto3;
306
+ static readonly typeName = "dailydotdev.api.job.StartFindCompanyNewsWorkerJobBatchRequest";
307
+ static readonly fields: FieldList;
308
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartFindCompanyNewsWorkerJobBatchRequest;
309
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartFindCompanyNewsWorkerJobBatchRequest;
310
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartFindCompanyNewsWorkerJobBatchRequest;
311
+ static equals(a: StartFindCompanyNewsWorkerJobBatchRequest | PlainMessage<StartFindCompanyNewsWorkerJobBatchRequest> | undefined, b: StartFindCompanyNewsWorkerJobBatchRequest | PlainMessage<StartFindCompanyNewsWorkerJobBatchRequest> | undefined): boolean;
312
+ }
313
+ /**
314
+ * @generated from message dailydotdev.api.job.FindCompanyNewsWorkerJobChildResult
315
+ */
316
+ declare class FindCompanyNewsWorkerJobChildResult extends Message<FindCompanyNewsWorkerJobChildResult> {
317
+ /**
318
+ * @generated from field: string job_id = 1;
319
+ */
320
+ jobId: string;
321
+ /**
322
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
323
+ */
324
+ status: WorkerJobStatus;
325
+ /**
326
+ * @generated from field: bragi.pipelines.FindCompanyNewsRequest input = 3;
327
+ */
328
+ input?: FindCompanyNewsRequest;
329
+ /**
330
+ * @generated from field: repeated bragi.pipelines.NewsItem results = 4;
331
+ */
332
+ results: NewsItem[];
333
+ /**
334
+ * @generated from field: optional string error = 5;
335
+ */
336
+ error?: string;
337
+ constructor(data?: PartialMessage<FindCompanyNewsWorkerJobChildResult>);
338
+ static readonly runtime: typeof proto3;
339
+ static readonly typeName = "dailydotdev.api.job.FindCompanyNewsWorkerJobChildResult";
340
+ static readonly fields: FieldList;
341
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FindCompanyNewsWorkerJobChildResult;
342
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FindCompanyNewsWorkerJobChildResult;
343
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FindCompanyNewsWorkerJobChildResult;
344
+ static equals(a: FindCompanyNewsWorkerJobChildResult | PlainMessage<FindCompanyNewsWorkerJobChildResult> | undefined, b: FindCompanyNewsWorkerJobChildResult | PlainMessage<FindCompanyNewsWorkerJobChildResult> | undefined): boolean;
345
+ }
346
+ /**
347
+ * @generated from message dailydotdev.api.job.GetFindCompanyNewsWorkerJobBatchResultResponse
348
+ */
349
+ declare class GetFindCompanyNewsWorkerJobBatchResultResponse extends Message<GetFindCompanyNewsWorkerJobBatchResultResponse> {
350
+ /**
351
+ * @generated from field: string job_id = 1;
352
+ */
353
+ jobId: string;
354
+ /**
355
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
356
+ */
357
+ status: WorkerJobStatus;
358
+ /**
359
+ * @generated from field: repeated dailydotdev.api.job.FindCompanyNewsWorkerJobChildResult children = 3;
360
+ */
361
+ children: FindCompanyNewsWorkerJobChildResult[];
362
+ /**
363
+ * @generated from field: int32 total = 4;
364
+ */
365
+ total: number;
366
+ /**
367
+ * @generated from field: bool has_more = 5;
368
+ */
369
+ hasMore: boolean;
370
+ constructor(data?: PartialMessage<GetFindCompanyNewsWorkerJobBatchResultResponse>);
371
+ static readonly runtime: typeof proto3;
372
+ static readonly typeName = "dailydotdev.api.job.GetFindCompanyNewsWorkerJobBatchResultResponse";
373
+ static readonly fields: FieldList;
374
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFindCompanyNewsWorkerJobBatchResultResponse;
375
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFindCompanyNewsWorkerJobBatchResultResponse;
376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFindCompanyNewsWorkerJobBatchResultResponse;
377
+ static equals(a: GetFindCompanyNewsWorkerJobBatchResultResponse | PlainMessage<GetFindCompanyNewsWorkerJobBatchResultResponse> | undefined, b: GetFindCompanyNewsWorkerJobBatchResultResponse | PlainMessage<GetFindCompanyNewsWorkerJobBatchResultResponse> | undefined): boolean;
378
+ }
379
+ /**
380
+ * @generated from message dailydotdev.api.job.StartFindContactActivityWorkerJobBatchRequest
381
+ */
382
+ declare class StartFindContactActivityWorkerJobBatchRequest extends Message<StartFindContactActivityWorkerJobBatchRequest> {
383
+ /**
384
+ * @generated from field: repeated bragi.pipelines.FindContactActivityRequest items = 1;
385
+ */
386
+ items: FindContactActivityRequest[];
387
+ constructor(data?: PartialMessage<StartFindContactActivityWorkerJobBatchRequest>);
388
+ static readonly runtime: typeof proto3;
389
+ static readonly typeName = "dailydotdev.api.job.StartFindContactActivityWorkerJobBatchRequest";
390
+ static readonly fields: FieldList;
391
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartFindContactActivityWorkerJobBatchRequest;
392
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartFindContactActivityWorkerJobBatchRequest;
393
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartFindContactActivityWorkerJobBatchRequest;
394
+ static equals(a: StartFindContactActivityWorkerJobBatchRequest | PlainMessage<StartFindContactActivityWorkerJobBatchRequest> | undefined, b: StartFindContactActivityWorkerJobBatchRequest | PlainMessage<StartFindContactActivityWorkerJobBatchRequest> | undefined): boolean;
395
+ }
396
+ /**
397
+ * @generated from message dailydotdev.api.job.FindContactActivityWorkerJobChildResult
398
+ */
399
+ declare class FindContactActivityWorkerJobChildResult extends Message<FindContactActivityWorkerJobChildResult> {
400
+ /**
401
+ * @generated from field: string job_id = 1;
402
+ */
403
+ jobId: string;
404
+ /**
405
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
406
+ */
407
+ status: WorkerJobStatus;
408
+ /**
409
+ * @generated from field: bragi.pipelines.FindContactActivityRequest input = 3;
410
+ */
411
+ input?: FindContactActivityRequest;
412
+ /**
413
+ * @generated from field: repeated bragi.pipelines.ActivityItem results = 4;
414
+ */
415
+ results: ActivityItem[];
416
+ /**
417
+ * @generated from field: optional string error = 5;
418
+ */
419
+ error?: string;
420
+ constructor(data?: PartialMessage<FindContactActivityWorkerJobChildResult>);
87
421
  static readonly runtime: typeof proto3;
88
- static readonly typeName = "dailydotdev.api.job.GetJobStatusResponse";
422
+ static readonly typeName = "dailydotdev.api.job.FindContactActivityWorkerJobChildResult";
89
423
  static readonly fields: FieldList;
90
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobStatusResponse;
91
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobStatusResponse;
92
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobStatusResponse;
93
- static equals(a: GetJobStatusResponse | PlainMessage<GetJobStatusResponse> | undefined, b: GetJobStatusResponse | PlainMessage<GetJobStatusResponse> | undefined): boolean;
424
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FindContactActivityWorkerJobChildResult;
425
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FindContactActivityWorkerJobChildResult;
426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FindContactActivityWorkerJobChildResult;
427
+ static equals(a: FindContactActivityWorkerJobChildResult | PlainMessage<FindContactActivityWorkerJobChildResult> | undefined, b: FindContactActivityWorkerJobChildResult | PlainMessage<FindContactActivityWorkerJobChildResult> | undefined): boolean;
94
428
  }
95
429
  /**
96
- * @generated from message dailydotdev.api.job.StartJobResponse
430
+ * @generated from message dailydotdev.api.job.GetFindContactActivityWorkerJobBatchResultResponse
97
431
  */
98
- declare class StartJobResponse extends Message<StartJobResponse> {
432
+ declare class GetFindContactActivityWorkerJobBatchResultResponse extends Message<GetFindContactActivityWorkerJobBatchResultResponse> {
99
433
  /**
100
434
  * @generated from field: string job_id = 1;
101
435
  */
102
436
  jobId: string;
103
- constructor(data?: PartialMessage<StartJobResponse>);
437
+ /**
438
+ * @generated from field: dailydotdev.api.job.WorkerJobStatus status = 2;
439
+ */
440
+ status: WorkerJobStatus;
441
+ /**
442
+ * @generated from field: repeated dailydotdev.api.job.FindContactActivityWorkerJobChildResult children = 3;
443
+ */
444
+ children: FindContactActivityWorkerJobChildResult[];
445
+ /**
446
+ * @generated from field: int32 total = 4;
447
+ */
448
+ total: number;
449
+ /**
450
+ * @generated from field: bool has_more = 5;
451
+ */
452
+ hasMore: boolean;
453
+ constructor(data?: PartialMessage<GetFindContactActivityWorkerJobBatchResultResponse>);
104
454
  static readonly runtime: typeof proto3;
105
- static readonly typeName = "dailydotdev.api.job.StartJobResponse";
455
+ static readonly typeName = "dailydotdev.api.job.GetFindContactActivityWorkerJobBatchResultResponse";
106
456
  static readonly fields: FieldList;
107
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartJobResponse;
108
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartJobResponse;
109
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartJobResponse;
110
- static equals(a: StartJobResponse | PlainMessage<StartJobResponse> | undefined, b: StartJobResponse | PlainMessage<StartJobResponse> | undefined): boolean;
457
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFindContactActivityWorkerJobBatchResultResponse;
458
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFindContactActivityWorkerJobBatchResultResponse;
459
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFindContactActivityWorkerJobBatchResultResponse;
460
+ static equals(a: GetFindContactActivityWorkerJobBatchResultResponse | PlainMessage<GetFindContactActivityWorkerJobBatchResultResponse> | undefined, b: GetFindContactActivityWorkerJobBatchResultResponse | PlainMessage<GetFindContactActivityWorkerJobBatchResultResponse> | undefined): boolean;
111
461
  }
112
462
 
113
- export { GetJobStatusRequest, GetJobStatusResponse, JobStatus, JobType, StartJobResponse };
463
+ export { FindCompanyNewsWorkerJobChildResult, FindContactActivityWorkerJobChildResult, FindJobVacanciesWorkerJobChildResult, GetBatchWorkerJobStatusRequest, GetBatchWorkerJobStatusResponse, GetFindCompanyNewsWorkerJobBatchResultResponse, GetFindContactActivityWorkerJobBatchResultResponse, GetFindJobVacanciesWorkerJobBatchResultResponse, GetWorkerJobBatchResultRequest, GetWorkerJobStatusRequest, GetWorkerJobStatusResponse, StartFindCompanyNewsWorkerJobBatchRequest, StartFindContactActivityWorkerJobBatchRequest, StartFindJobVacanciesWorkerJobBatchRequest, StartWorkerJobResponse, WorkerJobStatus, WorkerJobType };