@dailydotdev/schema 0.2.71 → 0.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/daily-api/job_connect.cjs +1 -1
- package/dist/daily-api/job_connect.d.cts +79 -10
- package/dist/daily-api/job_connect.d.ts +79 -10
- package/dist/daily-api/job_connect.js +1 -1
- package/dist/daily-api/job_pb.cjs +1 -1
- package/dist/daily-api/job_pb.d.cts +390 -40
- package/dist/daily-api/job_pb.d.ts +390 -40
- package/dist/daily-api/job_pb.js +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var e
|
|
1
|
+
var t,e=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,r={};((t,a)=>{for(var o in a)e(t,o,{get:a[o],enumerable:!0})})(r,{WorkerJobService:()=>c}),module.exports=(t=r,((t,r,s,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let c of o(r))n.call(t,c)||c===s||e(t,c,{get:()=>r[c],enumerable:!(i=a(r,c))||i.enumerable});return t})(e({},"__esModule",{value:!0}),t));var s=require("./job_pb.cjs"),i=require("@bufbuild/protobuf");const c={typeName:"dailydotdev.api.job.WorkerJobService",methods:{getJobStatus:{name:"GetJobStatus",I:s.GetWorkerJobStatusRequest,O:s.GetWorkerJobStatusResponse,kind:i.MethodKind.Unary},getBatchStatus:{name:"GetBatchStatus",I:s.GetBatchWorkerJobStatusRequest,O:s.GetBatchWorkerJobStatusResponse,kind:i.MethodKind.Unary},startFindJobVacanciesBatch:{name:"StartFindJobVacanciesBatch",I:s.StartFindJobVacanciesWorkerJobBatchRequest,O:s.StartWorkerJobResponse,kind:i.MethodKind.Unary},getFindJobVacanciesBatchResult:{name:"GetFindJobVacanciesBatchResult",I:s.GetWorkerJobBatchResultRequest,O:s.GetFindJobVacanciesWorkerJobBatchResultResponse,kind:i.MethodKind.Unary},startFindCompanyNewsBatch:{name:"StartFindCompanyNewsBatch",I:s.StartFindCompanyNewsWorkerJobBatchRequest,O:s.StartWorkerJobResponse,kind:i.MethodKind.Unary},getFindCompanyNewsBatchResult:{name:"GetFindCompanyNewsBatchResult",I:s.GetWorkerJobBatchResultRequest,O:s.GetFindCompanyNewsWorkerJobBatchResultResponse,kind:i.MethodKind.Unary},startFindContactActivityBatch:{name:"StartFindContactActivityBatch",I:s.StartFindContactActivityWorkerJobBatchRequest,O:s.StartWorkerJobResponse,kind:i.MethodKind.Unary},getFindContactActivityBatchResult:{name:"GetFindContactActivityBatchResult",I:s.GetWorkerJobBatchResultRequest,O:s.GetFindContactActivityWorkerJobBatchResultResponse,kind:i.MethodKind.Unary}}};
|
|
@@ -1,22 +1,91 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetWorkerJobStatusRequest, GetWorkerJobStatusResponse, GetBatchWorkerJobStatusRequest, GetBatchWorkerJobStatusResponse, StartFindJobVacanciesWorkerJobBatchRequest, StartWorkerJobResponse, GetWorkerJobBatchResultRequest, GetFindJobVacanciesWorkerJobBatchResultResponse, StartFindCompanyNewsWorkerJobBatchRequest, GetFindCompanyNewsWorkerJobBatchResultResponse, StartFindContactActivityWorkerJobBatchRequest, GetFindContactActivityWorkerJobBatchResultResponse } from './job_pb.cjs';
|
|
2
2
|
import '@bufbuild/protobuf';
|
|
3
|
+
import '../bragi/pipelines_pb.cjs';
|
|
4
|
+
import '../feed/briefing/briefing_pb.cjs';
|
|
5
|
+
import './opportunity-match_pb.cjs';
|
|
6
|
+
import './opportunity_pb.cjs';
|
|
7
|
+
import './util_pb.cjs';
|
|
8
|
+
import '../bragi/feedback_pb.cjs';
|
|
3
9
|
|
|
4
10
|
/**
|
|
5
|
-
* @generated from service dailydotdev.api.job.
|
|
11
|
+
* @generated from service dailydotdev.api.job.WorkerJobService
|
|
6
12
|
*/
|
|
7
|
-
declare const
|
|
8
|
-
readonly typeName: "dailydotdev.api.job.
|
|
13
|
+
declare const WorkerJobService: {
|
|
14
|
+
readonly typeName: "dailydotdev.api.job.WorkerJobService";
|
|
9
15
|
readonly methods: {
|
|
10
16
|
/**
|
|
11
|
-
* @generated from rpc dailydotdev.api.job.
|
|
17
|
+
* @generated from rpc dailydotdev.api.job.WorkerJobService.GetJobStatus
|
|
12
18
|
*/
|
|
13
|
-
readonly
|
|
14
|
-
readonly name: "
|
|
15
|
-
readonly I: typeof
|
|
16
|
-
readonly O: typeof
|
|
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 {
|
|
91
|
+
export { WorkerJobService };
|
|
@@ -1,22 +1,91 @@
|
|
|
1
|
-
import {
|
|
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.
|
|
11
|
+
* @generated from service dailydotdev.api.job.WorkerJobService
|
|
6
12
|
*/
|
|
7
|
-
declare const
|
|
8
|
-
readonly typeName: "dailydotdev.api.job.
|
|
13
|
+
declare const WorkerJobService: {
|
|
14
|
+
readonly typeName: "dailydotdev.api.job.WorkerJobService";
|
|
9
15
|
readonly methods: {
|
|
10
16
|
/**
|
|
11
|
-
* @generated from rpc dailydotdev.api.job.
|
|
17
|
+
* @generated from rpc dailydotdev.api.job.WorkerJobService.GetJobStatus
|
|
12
18
|
*/
|
|
13
|
-
readonly
|
|
14
|
-
readonly name: "
|
|
15
|
-
readonly I: typeof
|
|
16
|
-
readonly O: typeof
|
|
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 {
|
|
91
|
+
export { WorkerJobService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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)}}
|