@dailydotdev/schema 0.2.23 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,r={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(r,{Opportunity:()=>m,OpportunityContent:()=>u,OpportunityMeta:()=>c,OpportunityState:()=>p,OpportunityType:()=>l}),module.exports=(t=r,((t,r,i,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let p of o(r))a.call(t,p)||p===i||e(t,p,{get:()=>r[p],enumerable:!(s=n(r,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.APPROVED=2]="APPROVED",t[t.LIVE=3]="LIVE",t[t.CLOSED=4]="CLOSED",t))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_APPROVED"},{no:3,name:"OPPORTUNITY_STATE_LIVE"},{no:4,name:"OPPORTUNITY_STATE_CLOSED"}]);var l=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(l||{});i.proto3.util.setEnumType(l,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);class m extends i.Message{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content=[];meta;keywords=[];constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"type",kind:"enum",T:i.proto3.getEnumType(l)},{no:5,name:"state",kind:"enum",T:i.proto3.getEnumType(p)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:u,repeated:!0},{no:9,name:"meta",kind:"message",T:c},{no:10,name:"keywords",kind:"scalar",T:9,repeated:!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 i.proto3.util.equals(m,t,e)}}class u extends i.Message{title="";content="";html;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"content",kind:"scalar",T:9},{no:3,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new u).fromBinary(t,e)}static fromJson(t,e){return(new u).fromJson(t,e)}static fromJsonString(t,e){return(new u).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(u,t,e)}}class c extends i.Message{location;locationType;employmentType;teamSize;salaryRange;seniorityLevel;roleType;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"location",kind:"message",T:s.Location,opt:!0},{no:2,name:"location_type",kind:"message",T:s.LocationType,opt:!0},{no:3,name:"employment_type",kind:"scalar",T:9,opt:!0},{no:4,name:"team_size",kind:"scalar",T:9,opt:!0},{no:5,name:"salary_range",kind:"scalar",T:9,opt:!0},{no:6,name:"seniority_level",kind:"scalar",T:9,opt:!0},{no:7,name:"role_type",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new c).fromBinary(t,e)}static fromJson(t,e){return(new c).fromJson(t,e)}static fromJsonString(t,e){return(new c).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(c,t,e)}}
1
+ var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(a,{EmploymentType:()=>E,Opportunity:()=>c,OpportunityContent:()=>y,OpportunityContent_ContentBlock:()=>I,OpportunityMeta:()=>d,OpportunityState:()=>p,OpportunityType:()=>m,Salary:()=>T,SalaryPeriod:()=>u,SeniorityLevel:()=>l}),module.exports=(t=a,((t,a,i,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let p of o(a))r.call(t,p)||p===i||e(t,p,{get:()=>a[p],enumerable:!(s=n(a,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"}]);var m=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(m||{});i.proto3.util.setEnumType(m,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var E=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.opportunity.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);var u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.HOURLY=3]="HOURLY",t))(u||{});i.proto3.util.setEnumType(u,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_HOURLY"}]);var l=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(l||{});i.proto3.util.setEnumType(l,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class T extends i.Message{min;max;currency;period;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Salary";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:5,opt:!0},{no:2,name:"max",kind:"scalar",T:5,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:i.proto3.getEnumType(u),opt:!0}]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(T,t,e)}}class d extends i.Message{employmentType;teamSize;salary;seniorityLevel;roleType;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(E),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:T,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:i.proto3.getEnumType(l),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(d,t,e)}}class y extends i.Message{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:I,opt:!0},{no:2,name:"responsibilities",kind:"message",T:I,opt:!0},{no:3,name:"requirements",kind:"message",T:I,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:I,opt:!0},{no:5,name:"interview_process",kind:"message",T:I,opt:!0}]));static fromBinary(t,e){return(new y).fromBinary(t,e)}static fromJson(t,e){return(new y).fromJson(t,e)}static fromJsonString(t,e){return(new y).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(y,t,e)}}class I extends i.Message{content="";html;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new I).fromBinary(t,e)}static fromJson(t,e){return(new I).fromJson(t,e)}static fromJsonString(t,e){return(new I).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(I,t,e)}}class c extends i.Message{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"type",kind:"enum",T:i.proto3.getEnumType(m)},{no:5,name:"state",kind:"enum",T:i.proto3.getEnumType(p)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:y},{no:9,name:"meta",kind:"message",T:d},{no:10,name:"location",kind:"message",T:s.Location,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,e){return(new c).fromBinary(t,e)}static fromJson(t,e){return(new c).fromJson(t,e)}static fromJsonString(t,e){return(new c).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(c,t,e)}}
@@ -1,5 +1,5 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
- import { Location, LocationType } from './util_pb.cjs';
2
+ import { Location } from './util_pb.cjs';
3
3
 
4
4
  /**
5
5
  * @generated from enum dailydotdev.api.opportunity.OpportunityState
@@ -16,25 +16,19 @@ declare enum OpportunityState {
16
16
  */
17
17
  DRAFT = 1,
18
18
  /**
19
- * @generated from enum value: OPPORTUNITY_STATE_APPROVED = 2;
19
+ * @generated from enum value: OPPORTUNITY_STATE_LIVE = 2;
20
20
  */
21
- APPROVED = 2,
21
+ LIVE = 2,
22
22
  /**
23
- * @generated from enum value: OPPORTUNITY_STATE_LIVE = 3;
23
+ * @generated from enum value: OPPORTUNITY_STATE_CLOSED = 3;
24
24
  */
25
- LIVE = 3,
26
- /**
27
- * @generated from enum value: OPPORTUNITY_STATE_CLOSED = 4;
28
- */
29
- CLOSED = 4
25
+ CLOSED = 3
30
26
  }
31
27
  /**
32
28
  * @generated from enum dailydotdev.api.opportunity.OpportunityType
33
29
  */
34
30
  declare enum OpportunityType {
35
31
  /**
36
- * Default zero value for proto3
37
- *
38
32
  * @generated from enum value: OPPORTUNITY_TYPE_UNSPECIFIED = 0;
39
33
  */
40
34
  UNSPECIFIED = 0,
@@ -44,74 +38,184 @@ declare enum OpportunityType {
44
38
  JOB = 1
45
39
  }
46
40
  /**
47
- * @generated from message dailydotdev.api.opportunity.Opportunity
41
+ * @generated from enum dailydotdev.api.opportunity.EmploymentType
48
42
  */
49
- declare class Opportunity extends Message<Opportunity> {
43
+ declare enum EmploymentType {
50
44
  /**
51
- * @generated from field: string id = 1;
45
+ * @generated from enum value: EMPLOYMENT_TYPE_UNSPECIFIED = 0;
52
46
  */
53
- id: string;
47
+ UNSPECIFIED = 0,
54
48
  /**
55
- * @generated from field: int32 created_at = 2;
49
+ * @generated from enum value: EMPLOYMENT_TYPE_FULL_TIME = 1;
56
50
  */
57
- createdAt: number;
51
+ FULL_TIME = 1,
58
52
  /**
59
- * @generated from field: int32 updated_at = 3;
53
+ * @generated from enum value: EMPLOYMENT_TYPE_PART_TIME = 2;
60
54
  */
61
- updatedAt: number;
55
+ PART_TIME = 2,
62
56
  /**
63
- * @generated from field: dailydotdev.api.opportunity.OpportunityType type = 4;
57
+ * @generated from enum value: EMPLOYMENT_TYPE_CONTRACT = 3;
64
58
  */
65
- type: OpportunityType;
59
+ CONTRACT = 3,
66
60
  /**
67
- * @generated from field: dailydotdev.api.opportunity.OpportunityState state = 5;
61
+ * @generated from enum value: EMPLOYMENT_TYPE_INTERNSHIP = 4;
68
62
  */
69
- state: OpportunityState;
63
+ INTERNSHIP = 4
64
+ }
65
+ /**
66
+ * @generated from enum dailydotdev.api.opportunity.SalaryPeriod
67
+ */
68
+ declare enum SalaryPeriod {
70
69
  /**
71
- * @generated from field: string title = 6;
70
+ * @generated from enum value: SALARY_PERIOD_UNSPECIFIED = 0;
72
71
  */
73
- title: string;
72
+ UNSPECIFIED = 0,
74
73
  /**
75
- * @generated from field: string tldr = 7;
74
+ * @generated from enum value: SALARY_PERIOD_ANNUAL = 1;
76
75
  */
77
- tldr: string;
76
+ ANNUAL = 1,
78
77
  /**
79
- * @generated from field: repeated dailydotdev.api.opportunity.OpportunityContent content = 8;
78
+ * @generated from enum value: SALARY_PERIOD_MONTHLY = 2;
80
79
  */
81
- content: OpportunityContent[];
80
+ MONTHLY = 2,
82
81
  /**
83
- * @generated from field: dailydotdev.api.opportunity.OpportunityMeta meta = 9;
82
+ * @generated from enum value: SALARY_PERIOD_HOURLY = 3;
84
83
  */
85
- meta?: OpportunityMeta;
84
+ HOURLY = 3
85
+ }
86
+ /**
87
+ * @generated from enum dailydotdev.api.opportunity.SeniorityLevel
88
+ */
89
+ declare enum SeniorityLevel {
86
90
  /**
87
- * @generated from field: repeated string keywords = 10;
91
+ * @generated from enum value: SENIORITY_LEVEL_UNSPECIFIED = 0;
88
92
  */
89
- keywords: string[];
90
- constructor(data?: PartialMessage<Opportunity>);
93
+ UNSPECIFIED = 0,
94
+ /**
95
+ * @generated from enum value: SENIORITY_LEVEL_INTERN = 1;
96
+ */
97
+ INTERN = 1,
98
+ /**
99
+ * @generated from enum value: SENIORITY_LEVEL_JUNIOR = 2;
100
+ */
101
+ JUNIOR = 2,
102
+ /**
103
+ * @generated from enum value: SENIORITY_LEVEL_MID = 3;
104
+ */
105
+ MID = 3,
106
+ /**
107
+ * @generated from enum value: SENIORITY_LEVEL_SENIOR = 4;
108
+ */
109
+ SENIOR = 4,
110
+ /**
111
+ * @generated from enum value: SENIORITY_LEVEL_LEAD = 5;
112
+ */
113
+ LEAD = 5,
114
+ /**
115
+ * @generated from enum value: SENIORITY_LEVEL_MANAGER = 6;
116
+ */
117
+ MANAGER = 6,
118
+ /**
119
+ * @generated from enum value: SENIORITY_LEVEL_DIRECTOR = 7;
120
+ */
121
+ DIRECTOR = 7,
122
+ /**
123
+ * @generated from enum value: SENIORITY_LEVEL_VP = 8;
124
+ */
125
+ VP = 8,
126
+ /**
127
+ * @generated from enum value: SENIORITY_LEVEL_C_LEVEL = 9;
128
+ */
129
+ C_LEVEL = 9
130
+ }
131
+ /**
132
+ * @generated from message dailydotdev.api.opportunity.Salary
133
+ */
134
+ declare class Salary extends Message<Salary> {
135
+ /**
136
+ * @generated from field: optional int32 min = 1;
137
+ */
138
+ min?: number;
139
+ /**
140
+ * @generated from field: optional int32 max = 2;
141
+ */
142
+ max?: number;
143
+ /**
144
+ * @generated from field: optional string currency = 3;
145
+ */
146
+ currency?: string;
147
+ /**
148
+ * @generated from field: optional dailydotdev.api.opportunity.SalaryPeriod period = 4;
149
+ */
150
+ period?: SalaryPeriod;
151
+ constructor(data?: PartialMessage<Salary>);
91
152
  static readonly runtime: typeof proto3;
92
- static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
153
+ static readonly typeName = "dailydotdev.api.opportunity.Salary";
93
154
  static readonly fields: FieldList;
94
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Opportunity;
95
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Opportunity;
96
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Opportunity;
97
- static equals(a: Opportunity | PlainMessage<Opportunity> | undefined, b: Opportunity | PlainMessage<Opportunity> | undefined): boolean;
155
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Salary;
156
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Salary;
157
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Salary;
158
+ static equals(a: Salary | PlainMessage<Salary> | undefined, b: Salary | PlainMessage<Salary> | undefined): boolean;
159
+ }
160
+ /**
161
+ * @generated from message dailydotdev.api.opportunity.OpportunityMeta
162
+ */
163
+ declare class OpportunityMeta extends Message<OpportunityMeta> {
164
+ /**
165
+ * @generated from field: optional dailydotdev.api.opportunity.EmploymentType employment_type = 1;
166
+ */
167
+ employmentType?: EmploymentType;
168
+ /**
169
+ * @generated from field: optional int32 team_size = 2;
170
+ */
171
+ teamSize?: number;
172
+ /**
173
+ * @generated from field: optional dailydotdev.api.opportunity.Salary salary = 3;
174
+ */
175
+ salary?: Salary;
176
+ /**
177
+ * @generated from field: optional dailydotdev.api.opportunity.SeniorityLevel seniority_level = 4;
178
+ */
179
+ seniorityLevel?: SeniorityLevel;
180
+ /**
181
+ * A float value between 0 and 1 indicating the role type where 0 is IC, 0.5 is auto, and 1 is management
182
+ *
183
+ * @generated from field: optional float role_type = 5;
184
+ */
185
+ roleType?: number;
186
+ constructor(data?: PartialMessage<OpportunityMeta>);
187
+ static readonly runtime: typeof proto3;
188
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityMeta";
189
+ static readonly fields: FieldList;
190
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityMeta;
191
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityMeta;
192
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityMeta;
193
+ static equals(a: OpportunityMeta | PlainMessage<OpportunityMeta> | undefined, b: OpportunityMeta | PlainMessage<OpportunityMeta> | undefined): boolean;
98
194
  }
99
195
  /**
100
196
  * @generated from message dailydotdev.api.opportunity.OpportunityContent
101
197
  */
102
198
  declare class OpportunityContent extends Message<OpportunityContent> {
103
199
  /**
104
- * @generated from field: string title = 1;
200
+ * @generated from field: optional dailydotdev.api.opportunity.OpportunityContent.ContentBlock overview = 1;
105
201
  */
106
- title: string;
202
+ overview?: OpportunityContent_ContentBlock;
107
203
  /**
108
- * @generated from field: string content = 2;
204
+ * @generated from field: optional dailydotdev.api.opportunity.OpportunityContent.ContentBlock responsibilities = 2;
109
205
  */
110
- content: string;
206
+ responsibilities?: OpportunityContent_ContentBlock;
111
207
  /**
112
- * @generated from field: optional string html = 3;
208
+ * @generated from field: optional dailydotdev.api.opportunity.OpportunityContent.ContentBlock requirements = 3;
113
209
  */
114
- html?: string;
210
+ requirements?: OpportunityContent_ContentBlock;
211
+ /**
212
+ * @generated from field: optional dailydotdev.api.opportunity.OpportunityContent.ContentBlock what_youll_do = 4;
213
+ */
214
+ whatYoullDo?: OpportunityContent_ContentBlock;
215
+ /**
216
+ * @generated from field: optional dailydotdev.api.opportunity.OpportunityContent.ContentBlock interview_process = 5;
217
+ */
218
+ interviewProcess?: OpportunityContent_ContentBlock;
115
219
  constructor(data?: PartialMessage<OpportunityContent>);
116
220
  static readonly runtime: typeof proto3;
117
221
  static readonly typeName = "dailydotdev.api.opportunity.OpportunityContent";
@@ -122,45 +226,86 @@ declare class OpportunityContent extends Message<OpportunityContent> {
122
226
  static equals(a: OpportunityContent | PlainMessage<OpportunityContent> | undefined, b: OpportunityContent | PlainMessage<OpportunityContent> | undefined): boolean;
123
227
  }
124
228
  /**
125
- * @generated from message dailydotdev.api.opportunity.OpportunityMeta
229
+ * @generated from message dailydotdev.api.opportunity.OpportunityContent.ContentBlock
126
230
  */
127
- declare class OpportunityMeta extends Message<OpportunityMeta> {
231
+ declare class OpportunityContent_ContentBlock extends Message<OpportunityContent_ContentBlock> {
232
+ /**
233
+ * The markdown representation of the content block
234
+ *
235
+ * @generated from field: string content = 1;
236
+ */
237
+ content: string;
238
+ /**
239
+ * The HTML representation of the content block
240
+ *
241
+ * @generated from field: optional string html = 2;
242
+ */
243
+ html?: string;
244
+ constructor(data?: PartialMessage<OpportunityContent_ContentBlock>);
245
+ static readonly runtime: typeof proto3;
246
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityContent.ContentBlock";
247
+ static readonly fields: FieldList;
248
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityContent_ContentBlock;
249
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityContent_ContentBlock;
250
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityContent_ContentBlock;
251
+ static equals(a: OpportunityContent_ContentBlock | PlainMessage<OpportunityContent_ContentBlock> | undefined, b: OpportunityContent_ContentBlock | PlainMessage<OpportunityContent_ContentBlock> | undefined): boolean;
252
+ }
253
+ /**
254
+ * @generated from message dailydotdev.api.opportunity.Opportunity
255
+ */
256
+ declare class Opportunity extends Message<Opportunity> {
128
257
  /**
129
- * @generated from field: optional dailydotdev.api.util.Location location = 1;
258
+ * @generated from field: string id = 1;
130
259
  */
131
- location?: Location;
260
+ id: string;
132
261
  /**
133
- * @generated from field: optional dailydotdev.api.util.LocationType location_type = 2;
262
+ * @generated from field: int32 created_at = 2;
134
263
  */
135
- locationType?: LocationType;
264
+ createdAt: number;
136
265
  /**
137
- * @generated from field: optional string employment_type = 3;
266
+ * @generated from field: int32 updated_at = 3;
138
267
  */
139
- employmentType?: string;
268
+ updatedAt: number;
140
269
  /**
141
- * @generated from field: optional string team_size = 4;
270
+ * @generated from field: dailydotdev.api.opportunity.OpportunityType type = 4;
142
271
  */
143
- teamSize?: string;
272
+ type: OpportunityType;
144
273
  /**
145
- * @generated from field: optional string salary_range = 5;
274
+ * @generated from field: dailydotdev.api.opportunity.OpportunityState state = 5;
146
275
  */
147
- salaryRange?: string;
276
+ state: OpportunityState;
148
277
  /**
149
- * @generated from field: optional string seniority_level = 6;
278
+ * @generated from field: string title = 6;
150
279
  */
151
- seniorityLevel?: string;
280
+ title: string;
152
281
  /**
153
- * @generated from field: optional string role_type = 7;
282
+ * @generated from field: string tldr = 7;
154
283
  */
155
- roleType?: string;
156
- constructor(data?: PartialMessage<OpportunityMeta>);
284
+ tldr: string;
285
+ /**
286
+ * @generated from field: dailydotdev.api.opportunity.OpportunityContent content = 8;
287
+ */
288
+ content?: OpportunityContent;
289
+ /**
290
+ * @generated from field: dailydotdev.api.opportunity.OpportunityMeta meta = 9;
291
+ */
292
+ meta?: OpportunityMeta;
293
+ /**
294
+ * @generated from field: repeated dailydotdev.api.util.Location location = 10;
295
+ */
296
+ location: Location[];
297
+ /**
298
+ * @generated from field: repeated string keywords = 11;
299
+ */
300
+ keywords: string[];
301
+ constructor(data?: PartialMessage<Opportunity>);
157
302
  static readonly runtime: typeof proto3;
158
- static readonly typeName = "dailydotdev.api.opportunity.OpportunityMeta";
303
+ static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
159
304
  static readonly fields: FieldList;
160
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityMeta;
161
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityMeta;
162
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityMeta;
163
- static equals(a: OpportunityMeta | PlainMessage<OpportunityMeta> | undefined, b: OpportunityMeta | PlainMessage<OpportunityMeta> | undefined): boolean;
305
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Opportunity;
306
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Opportunity;
307
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Opportunity;
308
+ static equals(a: Opportunity | PlainMessage<Opportunity> | undefined, b: Opportunity | PlainMessage<Opportunity> | undefined): boolean;
164
309
  }
165
310
 
166
- export { Opportunity, OpportunityContent, OpportunityMeta, OpportunityState, OpportunityType };
311
+ export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityMeta, OpportunityState, OpportunityType, Salary, SalaryPeriod, SeniorityLevel };