@dailydotdev/schema 0.2.20 → 0.2.22

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.
Files changed (29) hide show
  1. package/dist/daily-api/opportunity_pb.cjs +1 -0
  2. package/dist/daily-api/opportunity_pb.d.cts +166 -0
  3. package/dist/daily-api/opportunity_pb.d.ts +166 -0
  4. package/dist/daily-api/opportunity_pb.js +1 -0
  5. package/dist/daily-api/organization_pb.cjs +1 -0
  6. package/dist/daily-api/organization_pb.d.cts +338 -0
  7. package/dist/daily-api/organization_pb.d.ts +338 -0
  8. package/dist/daily-api/organization_pb.js +1 -0
  9. package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.cjs +1 -0
  10. package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.d.cts +65 -0
  11. package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.d.ts +65 -0
  12. package/dist/daily-api/pubsub/candidate-accepted-opportunity_pb.js +1 -0
  13. package/dist/daily-api/pubsub/opportunity_pb.cjs +1 -0
  14. package/dist/daily-api/pubsub/opportunity_pb.d.cts +28 -0
  15. package/dist/daily-api/pubsub/opportunity_pb.d.ts +28 -0
  16. package/dist/daily-api/pubsub/opportunity_pb.js +1 -0
  17. package/dist/daily-api/user-candidate-preference_pb.cjs +1 -0
  18. package/dist/daily-api/user-candidate-preference_pb.d.cts +173 -0
  19. package/dist/daily-api/user-candidate-preference_pb.d.ts +173 -0
  20. package/dist/daily-api/user-candidate-preference_pb.js +1 -0
  21. package/dist/daily-api/util_pb.cjs +1 -0
  22. package/dist/daily-api/util_pb.d.cts +66 -0
  23. package/dist/daily-api/util_pb.d.ts +66 -0
  24. package/dist/daily-api/util_pb.js +1 -0
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.d.cts +6 -0
  27. package/dist/index.d.ts +6 -0
  28. package/dist/index.js +1 -1
  29. package/package.json +1 -1
@@ -0,0 +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)}}
@@ -0,0 +1,166 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+ import { Location, LocationType } from './util_pb.cjs';
3
+
4
+ /**
5
+ * @generated from enum dailydotdev.api.opportunity.OpportunityState
6
+ */
7
+ declare enum OpportunityState {
8
+ /**
9
+ * Default zero value for proto3
10
+ *
11
+ * @generated from enum value: OPPORTUNITY_STATE_UNSPECIFIED = 0;
12
+ */
13
+ UNSPECIFIED = 0,
14
+ /**
15
+ * @generated from enum value: OPPORTUNITY_STATE_DRAFT = 1;
16
+ */
17
+ DRAFT = 1,
18
+ /**
19
+ * @generated from enum value: OPPORTUNITY_STATE_APPROVED = 2;
20
+ */
21
+ APPROVED = 2,
22
+ /**
23
+ * @generated from enum value: OPPORTUNITY_STATE_LIVE = 3;
24
+ */
25
+ LIVE = 3,
26
+ /**
27
+ * @generated from enum value: OPPORTUNITY_STATE_CLOSED = 4;
28
+ */
29
+ CLOSED = 4
30
+ }
31
+ /**
32
+ * @generated from enum dailydotdev.api.opportunity.OpportunityType
33
+ */
34
+ declare enum OpportunityType {
35
+ /**
36
+ * Default zero value for proto3
37
+ *
38
+ * @generated from enum value: OPPORTUNITY_TYPE_UNSPECIFIED = 0;
39
+ */
40
+ UNSPECIFIED = 0,
41
+ /**
42
+ * @generated from enum value: OPPORTUNITY_TYPE_JOB = 1;
43
+ */
44
+ JOB = 1
45
+ }
46
+ /**
47
+ * @generated from message dailydotdev.api.opportunity.Opportunity
48
+ */
49
+ declare class Opportunity extends Message<Opportunity> {
50
+ /**
51
+ * @generated from field: string id = 1;
52
+ */
53
+ id: string;
54
+ /**
55
+ * @generated from field: int32 created_at = 2;
56
+ */
57
+ createdAt: number;
58
+ /**
59
+ * @generated from field: int32 updated_at = 3;
60
+ */
61
+ updatedAt: number;
62
+ /**
63
+ * @generated from field: dailydotdev.api.opportunity.OpportunityType type = 4;
64
+ */
65
+ type: OpportunityType;
66
+ /**
67
+ * @generated from field: dailydotdev.api.opportunity.OpportunityState state = 5;
68
+ */
69
+ state: OpportunityState;
70
+ /**
71
+ * @generated from field: string title = 6;
72
+ */
73
+ title: string;
74
+ /**
75
+ * @generated from field: string tldr = 7;
76
+ */
77
+ tldr: string;
78
+ /**
79
+ * @generated from field: repeated dailydotdev.api.opportunity.OpportunityContent content = 8;
80
+ */
81
+ content: OpportunityContent[];
82
+ /**
83
+ * @generated from field: dailydotdev.api.opportunity.OpportunityMeta meta = 9;
84
+ */
85
+ meta?: OpportunityMeta;
86
+ /**
87
+ * @generated from field: repeated string keywords = 10;
88
+ */
89
+ keywords: string[];
90
+ constructor(data?: PartialMessage<Opportunity>);
91
+ static readonly runtime: typeof proto3;
92
+ static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
93
+ 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;
98
+ }
99
+ /**
100
+ * @generated from message dailydotdev.api.opportunity.OpportunityContent
101
+ */
102
+ declare class OpportunityContent extends Message<OpportunityContent> {
103
+ /**
104
+ * @generated from field: string title = 1;
105
+ */
106
+ title: string;
107
+ /**
108
+ * @generated from field: string content = 2;
109
+ */
110
+ content: string;
111
+ /**
112
+ * @generated from field: optional string html = 3;
113
+ */
114
+ html?: string;
115
+ constructor(data?: PartialMessage<OpportunityContent>);
116
+ static readonly runtime: typeof proto3;
117
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityContent";
118
+ static readonly fields: FieldList;
119
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityContent;
120
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityContent;
121
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityContent;
122
+ static equals(a: OpportunityContent | PlainMessage<OpportunityContent> | undefined, b: OpportunityContent | PlainMessage<OpportunityContent> | undefined): boolean;
123
+ }
124
+ /**
125
+ * @generated from message dailydotdev.api.opportunity.OpportunityMeta
126
+ */
127
+ declare class OpportunityMeta extends Message<OpportunityMeta> {
128
+ /**
129
+ * @generated from field: optional dailydotdev.api.util.Location location = 1;
130
+ */
131
+ location?: Location;
132
+ /**
133
+ * @generated from field: optional dailydotdev.api.util.LocationType location_type = 2;
134
+ */
135
+ locationType?: LocationType;
136
+ /**
137
+ * @generated from field: optional string employment_type = 3;
138
+ */
139
+ employmentType?: string;
140
+ /**
141
+ * @generated from field: optional string team_size = 4;
142
+ */
143
+ teamSize?: string;
144
+ /**
145
+ * @generated from field: optional string salary_range = 5;
146
+ */
147
+ salaryRange?: string;
148
+ /**
149
+ * @generated from field: optional string seniority_level = 6;
150
+ */
151
+ seniorityLevel?: string;
152
+ /**
153
+ * @generated from field: optional string role_type = 7;
154
+ */
155
+ roleType?: string;
156
+ constructor(data?: PartialMessage<OpportunityMeta>);
157
+ static readonly runtime: typeof proto3;
158
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityMeta";
159
+ 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;
164
+ }
165
+
166
+ export { Opportunity, OpportunityContent, OpportunityMeta, OpportunityState, OpportunityType };
@@ -0,0 +1,166 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+ import { Location, LocationType } from './util_pb.js';
3
+
4
+ /**
5
+ * @generated from enum dailydotdev.api.opportunity.OpportunityState
6
+ */
7
+ declare enum OpportunityState {
8
+ /**
9
+ * Default zero value for proto3
10
+ *
11
+ * @generated from enum value: OPPORTUNITY_STATE_UNSPECIFIED = 0;
12
+ */
13
+ UNSPECIFIED = 0,
14
+ /**
15
+ * @generated from enum value: OPPORTUNITY_STATE_DRAFT = 1;
16
+ */
17
+ DRAFT = 1,
18
+ /**
19
+ * @generated from enum value: OPPORTUNITY_STATE_APPROVED = 2;
20
+ */
21
+ APPROVED = 2,
22
+ /**
23
+ * @generated from enum value: OPPORTUNITY_STATE_LIVE = 3;
24
+ */
25
+ LIVE = 3,
26
+ /**
27
+ * @generated from enum value: OPPORTUNITY_STATE_CLOSED = 4;
28
+ */
29
+ CLOSED = 4
30
+ }
31
+ /**
32
+ * @generated from enum dailydotdev.api.opportunity.OpportunityType
33
+ */
34
+ declare enum OpportunityType {
35
+ /**
36
+ * Default zero value for proto3
37
+ *
38
+ * @generated from enum value: OPPORTUNITY_TYPE_UNSPECIFIED = 0;
39
+ */
40
+ UNSPECIFIED = 0,
41
+ /**
42
+ * @generated from enum value: OPPORTUNITY_TYPE_JOB = 1;
43
+ */
44
+ JOB = 1
45
+ }
46
+ /**
47
+ * @generated from message dailydotdev.api.opportunity.Opportunity
48
+ */
49
+ declare class Opportunity extends Message<Opportunity> {
50
+ /**
51
+ * @generated from field: string id = 1;
52
+ */
53
+ id: string;
54
+ /**
55
+ * @generated from field: int32 created_at = 2;
56
+ */
57
+ createdAt: number;
58
+ /**
59
+ * @generated from field: int32 updated_at = 3;
60
+ */
61
+ updatedAt: number;
62
+ /**
63
+ * @generated from field: dailydotdev.api.opportunity.OpportunityType type = 4;
64
+ */
65
+ type: OpportunityType;
66
+ /**
67
+ * @generated from field: dailydotdev.api.opportunity.OpportunityState state = 5;
68
+ */
69
+ state: OpportunityState;
70
+ /**
71
+ * @generated from field: string title = 6;
72
+ */
73
+ title: string;
74
+ /**
75
+ * @generated from field: string tldr = 7;
76
+ */
77
+ tldr: string;
78
+ /**
79
+ * @generated from field: repeated dailydotdev.api.opportunity.OpportunityContent content = 8;
80
+ */
81
+ content: OpportunityContent[];
82
+ /**
83
+ * @generated from field: dailydotdev.api.opportunity.OpportunityMeta meta = 9;
84
+ */
85
+ meta?: OpportunityMeta;
86
+ /**
87
+ * @generated from field: repeated string keywords = 10;
88
+ */
89
+ keywords: string[];
90
+ constructor(data?: PartialMessage<Opportunity>);
91
+ static readonly runtime: typeof proto3;
92
+ static readonly typeName = "dailydotdev.api.opportunity.Opportunity";
93
+ 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;
98
+ }
99
+ /**
100
+ * @generated from message dailydotdev.api.opportunity.OpportunityContent
101
+ */
102
+ declare class OpportunityContent extends Message<OpportunityContent> {
103
+ /**
104
+ * @generated from field: string title = 1;
105
+ */
106
+ title: string;
107
+ /**
108
+ * @generated from field: string content = 2;
109
+ */
110
+ content: string;
111
+ /**
112
+ * @generated from field: optional string html = 3;
113
+ */
114
+ html?: string;
115
+ constructor(data?: PartialMessage<OpportunityContent>);
116
+ static readonly runtime: typeof proto3;
117
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityContent";
118
+ static readonly fields: FieldList;
119
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityContent;
120
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityContent;
121
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityContent;
122
+ static equals(a: OpportunityContent | PlainMessage<OpportunityContent> | undefined, b: OpportunityContent | PlainMessage<OpportunityContent> | undefined): boolean;
123
+ }
124
+ /**
125
+ * @generated from message dailydotdev.api.opportunity.OpportunityMeta
126
+ */
127
+ declare class OpportunityMeta extends Message<OpportunityMeta> {
128
+ /**
129
+ * @generated from field: optional dailydotdev.api.util.Location location = 1;
130
+ */
131
+ location?: Location;
132
+ /**
133
+ * @generated from field: optional dailydotdev.api.util.LocationType location_type = 2;
134
+ */
135
+ locationType?: LocationType;
136
+ /**
137
+ * @generated from field: optional string employment_type = 3;
138
+ */
139
+ employmentType?: string;
140
+ /**
141
+ * @generated from field: optional string team_size = 4;
142
+ */
143
+ teamSize?: string;
144
+ /**
145
+ * @generated from field: optional string salary_range = 5;
146
+ */
147
+ salaryRange?: string;
148
+ /**
149
+ * @generated from field: optional string seniority_level = 6;
150
+ */
151
+ seniorityLevel?: string;
152
+ /**
153
+ * @generated from field: optional string role_type = 7;
154
+ */
155
+ roleType?: string;
156
+ constructor(data?: PartialMessage<OpportunityMeta>);
157
+ static readonly runtime: typeof proto3;
158
+ static readonly typeName = "dailydotdev.api.opportunity.OpportunityMeta";
159
+ 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;
164
+ }
165
+
166
+ export { Opportunity, OpportunityContent, OpportunityMeta, OpportunityState, OpportunityType };
@@ -0,0 +1 @@
1
+ import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e,LocationType as a}from"./util_pb.ts";var i=(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))(i||{});n.util.setEnumType(i,"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 o=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(o||{});n.util.setEnumType(o,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);class r extends t{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content=[];meta;keywords=[];constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=n.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"type",kind:"enum",T:n.getEnumType(o)},{no:5,name:"state",kind:"enum",T:n.getEnumType(i)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:s,repeated:!0},{no:9,name:"meta",kind:"message",T:m},{no:10,name:"keywords",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,n){return(new r).fromBinary(t,n)}static fromJson(t,n){return(new r).fromJson(t,n)}static fromJsonString(t,n){return(new r).fromJsonString(t,n)}static equals(t,e){return n.util.equals(r,t,e)}}class s extends t{title="";content="";html;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=n.util.newFieldList((()=>[{no:1,name:"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,n){return(new s).fromBinary(t,n)}static fromJson(t,n){return(new s).fromJson(t,n)}static fromJsonString(t,n){return(new s).fromJsonString(t,n)}static equals(t,e){return n.util.equals(s,t,e)}}class m extends t{location;locationType;employmentType;teamSize;salaryRange;seniorityLevel;roleType;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=n.util.newFieldList((()=>[{no:1,name:"location",kind:"message",T:e,opt:!0},{no:2,name:"location_type",kind:"message",T:a,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,n){return(new m).fromBinary(t,n)}static fromJson(t,n){return(new m).fromJson(t,n)}static fromJsonString(t,n){return(new m).fromJsonString(t,n)}static equals(t,e){return n.util.equals(m,t,e)}}export{r as Opportunity,s as OpportunityContent,m as OpportunityMeta,i as OpportunityState,o as OpportunityType};
@@ -0,0 +1 @@
1
+ var n,t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i={};((n,e)=>{for(var a in e)t(n,a,{get:e[a],enumerable:!0})})(i,{CompanySize:()=>_,CompanyStage:()=>s,Organization:()=>c,OrganizationCustomLink:()=>p,OrganizationLink:()=>S,OrganizationLinkType:()=>E,OrganizationPressLink:()=>u,OrganizationSocialLink:()=>l,SocialMediaType:()=>m}),module.exports=(n=i,((n,i,r,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let _ of a(i))o.call(n,_)||_===r||t(n,_,{get:()=>i[_],enumerable:!(s=e(i,_))||s.enumerable});return n})(t({},"__esModule",{value:!0}),n));var r=require("@bufbuild/protobuf"),s=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.PRE_SEED=1]="PRE_SEED",n[n.SEED=2]="SEED",n[n.SERIES_A=3]="SERIES_A",n[n.SERIES_B=4]="SERIES_B",n[n.SERIES_C=5]="SERIES_C",n[n.SERIES_D=6]="SERIES_D",n[n.PUBLIC=7]="PUBLIC",n[n.BOOTSTRAPPED=8]="BOOTSTRAPPED",n[n.NON_PROFIT=9]="NON_PROFIT",n[n.GOVERNMENT=10]="GOVERNMENT",n))(s||{});r.proto3.util.setEnumType(s,"dailydotdev.api.organization.CompanyStage",[{no:0,name:"COMPANY_STAGE_UNSPECIFIED"},{no:1,name:"COMPANY_STAGE_PRE_SEED"},{no:2,name:"COMPANY_STAGE_SEED"},{no:3,name:"COMPANY_STAGE_SERIES_A"},{no:4,name:"COMPANY_STAGE_SERIES_B"},{no:5,name:"COMPANY_STAGE_SERIES_C"},{no:6,name:"COMPANY_STAGE_SERIES_D"},{no:7,name:"COMPANY_STAGE_PUBLIC"},{no:8,name:"COMPANY_STAGE_BOOTSTRAPPED"},{no:9,name:"COMPANY_STAGE_NON_PROFIT"},{no:10,name:"COMPANY_STAGE_GOVERNMENT"}]);var _=(n=>(n[n.COMPANY_SIZE_UNSPECIFIED=0]="COMPANY_SIZE_UNSPECIFIED",n[n.COMPANY_SIZE_1_10=1]="COMPANY_SIZE_1_10",n[n.COMPANY_SIZE_11_50=2]="COMPANY_SIZE_11_50",n[n.COMPANY_SIZE_51_200=3]="COMPANY_SIZE_51_200",n[n.COMPANY_SIZE_201_500=4]="COMPANY_SIZE_201_500",n[n.COMPANY_SIZE_501_1000=5]="COMPANY_SIZE_501_1000",n[n.COMPANY_SIZE_1001_5000=6]="COMPANY_SIZE_1001_5000",n[n.COMPANY_SIZE_5000_PLUS=7]="COMPANY_SIZE_5000_PLUS",n))(_||{});r.proto3.util.setEnumType(_,"dailydotdev.api.organization.CompanySize",[{no:0,name:"COMPANY_SIZE_UNSPECIFIED"},{no:1,name:"COMPANY_SIZE_1_10"},{no:2,name:"COMPANY_SIZE_11_50"},{no:3,name:"COMPANY_SIZE_51_200"},{no:4,name:"COMPANY_SIZE_201_500"},{no:5,name:"COMPANY_SIZE_501_1000"},{no:6,name:"COMPANY_SIZE_1001_5000"},{no:7,name:"COMPANY_SIZE_5000_PLUS"}]);var E=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.CUSTOM=1]="CUSTOM",n[n.SOCIAL=2]="SOCIAL",n[n.PRESS=3]="PRESS",n))(E||{});r.proto3.util.setEnumType(E,"dailydotdev.api.organization.OrganizationLinkType",[{no:0,name:"ORGANIZATION_LINK_TYPE_UNSPECIFIED"},{no:1,name:"ORGANIZATION_LINK_TYPE_CUSTOM"},{no:2,name:"ORGANIZATION_LINK_TYPE_SOCIAL"},{no:3,name:"ORGANIZATION_LINK_TYPE_PRESS"}]);var m=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.FACEBOOK=1]="FACEBOOK",n[n.X=2]="X",n[n.GITHUB=3]="GITHUB",n[n.CRUNCHBASE=4]="CRUNCHBASE",n))(m||{});r.proto3.util.setEnumType(m,"dailydotdev.api.organization.SocialMediaType",[{no:0,name:"SOCIAL_MEDIA_TYPE_UNSPECIFIED"},{no:1,name:"SOCIAL_MEDIA_TYPE_FACEBOOK"},{no:2,name:"SOCIAL_MEDIA_TYPE_X"},{no:3,name:"SOCIAL_MEDIA_TYPE_GITHUB"},{no:4,name:"SOCIAL_MEDIA_TYPE_CRUNCHBASE"}]);class S extends r.Message{link={case:void 0};constructor(n){super(),r.proto3.util.initPartial(n,this)}static runtime=r.proto3;static typeName="dailydotdev.api.organization.OrganizationLink";static fields=r.proto3.util.newFieldList((()=>[{no:1,name:"social",kind:"message",T:l,oneof:"link"},{no:2,name:"custom",kind:"message",T:p,oneof:"link"},{no:3,name:"press",kind:"message",T:u,oneof:"link"}]));static fromBinary(n,t){return(new S).fromBinary(n,t)}static fromJson(n,t){return(new S).fromJson(n,t)}static fromJsonString(n,t){return(new S).fromJsonString(n,t)}static equals(n,t){return r.proto3.util.equals(S,n,t)}}class l extends r.Message{type=0;title="";link="";socialType=0;constructor(n){super(),r.proto3.util.initPartial(n,this)}static runtime=r.proto3;static typeName="dailydotdev.api.organization.OrganizationSocialLink";static fields=r.proto3.util.newFieldList((()=>[{no:1,name:"type",kind:"enum",T:r.proto3.getEnumType(E)},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"link",kind:"scalar",T:9},{no:4,name:"social_type",kind:"enum",T:r.proto3.getEnumType(m)}]));static fromBinary(n,t){return(new l).fromBinary(n,t)}static fromJson(n,t){return(new l).fromJson(n,t)}static fromJsonString(n,t){return(new l).fromJsonString(n,t)}static equals(n,t){return r.proto3.util.equals(l,n,t)}}class p extends r.Message{type=0;title="";link="";constructor(n){super(),r.proto3.util.initPartial(n,this)}static runtime=r.proto3;static typeName="dailydotdev.api.organization.OrganizationCustomLink";static fields=r.proto3.util.newFieldList((()=>[{no:1,name:"type",kind:"enum",T:r.proto3.getEnumType(E)},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"link",kind:"scalar",T:9}]));static fromBinary(n,t){return(new p).fromBinary(n,t)}static fromJson(n,t){return(new p).fromJson(n,t)}static fromJsonString(n,t){return(new p).fromJsonString(n,t)}static equals(n,t){return r.proto3.util.equals(p,n,t)}}class u extends r.Message{type=0;title="";link="";constructor(n){super(),r.proto3.util.initPartial(n,this)}static runtime=r.proto3;static typeName="dailydotdev.api.organization.OrganizationPressLink";static fields=r.proto3.util.newFieldList((()=>[{no:1,name:"type",kind:"enum",T:r.proto3.getEnumType(E)},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"link",kind:"scalar",T:9}]));static fromBinary(n,t){return(new u).fromBinary(n,t)}static fromJson(n,t){return(new u).fromJson(n,t)}static fromJsonString(n,t){return(new u).fromJsonString(n,t)}static equals(n,t){return r.proto3.util.equals(u,n,t)}}class c extends r.Message{id="";createdAt=0;updatedAt=0;name="";image;seats=0;subscriptionFlags="";links=[];website;description;perks;founded;location;size;category;stage;constructor(n){super(),r.proto3.util.initPartial(n,this)}static runtime=r.proto3;static typeName="dailydotdev.api.organization.Organization";static fields=r.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:"name",kind:"scalar",T:9},{no:5,name:"image",kind:"scalar",T:9,opt:!0},{no:6,name:"seats",kind:"scalar",T:5},{no:7,name:"subscription_flags",kind:"scalar",T:9},{no:8,name:"links",kind:"message",T:S,repeated:!0},{no:9,name:"website",kind:"scalar",T:9,opt:!0},{no:10,name:"description",kind:"scalar",T:9,opt:!0},{no:11,name:"perks",kind:"message",T:r.ListValue,opt:!0},{no:12,name:"founded",kind:"scalar",T:5,opt:!0},{no:13,name:"location",kind:"scalar",T:9,opt:!0},{no:14,name:"size",kind:"enum",T:r.proto3.getEnumType(_),opt:!0},{no:15,name:"category",kind:"scalar",T:9,opt:!0},{no:16,name:"stage",kind:"enum",T:r.proto3.getEnumType(s),opt:!0}]));static fromBinary(n,t){return(new c).fromBinary(n,t)}static fromJson(n,t){return(new c).fromJson(n,t)}static fromJsonString(n,t){return(new c).fromJsonString(n,t)}static equals(n,t){return r.proto3.util.equals(c,n,t)}}