@dailydotdev/schema 0.2.20 → 0.2.21

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 +185 -0
  19. package/dist/daily-api/user-candidate-preference_pb.d.ts +185 -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,66 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+
3
+ /**
4
+ * @generated from message dailydotdev.api.util.Location
5
+ */
6
+ declare class Location extends Message<Location> {
7
+ /**
8
+ * @generated from field: optional string city = 1;
9
+ */
10
+ city?: string;
11
+ /**
12
+ * @generated from field: optional string country = 2;
13
+ */
14
+ country?: string;
15
+ /**
16
+ * @generated from field: optional string subdivision = 3;
17
+ */
18
+ subdivision?: string;
19
+ /**
20
+ * @generated from field: optional string continent = 4;
21
+ */
22
+ continent?: string;
23
+ /**
24
+ * @generated from field: optional float latitude = 5;
25
+ */
26
+ latitude?: number;
27
+ /**
28
+ * @generated from field: optional float longitude = 6;
29
+ */
30
+ longitude?: number;
31
+ constructor(data?: PartialMessage<Location>);
32
+ static readonly runtime: typeof proto3;
33
+ static readonly typeName = "dailydotdev.api.util.Location";
34
+ static readonly fields: FieldList;
35
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Location;
36
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Location;
37
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Location;
38
+ static equals(a: Location | PlainMessage<Location> | undefined, b: Location | PlainMessage<Location> | undefined): boolean;
39
+ }
40
+ /**
41
+ * @generated from message dailydotdev.api.util.LocationType
42
+ */
43
+ declare class LocationType extends Message<LocationType> {
44
+ /**
45
+ * @generated from field: optional bool remote = 1;
46
+ */
47
+ remote?: boolean;
48
+ /**
49
+ * @generated from field: optional bool on_site = 2;
50
+ */
51
+ onSite?: boolean;
52
+ /**
53
+ * @generated from field: optional bool hybrid = 3;
54
+ */
55
+ hybrid?: boolean;
56
+ constructor(data?: PartialMessage<LocationType>);
57
+ static readonly runtime: typeof proto3;
58
+ static readonly typeName = "dailydotdev.api.util.LocationType";
59
+ static readonly fields: FieldList;
60
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocationType;
61
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocationType;
62
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationType;
63
+ static equals(a: LocationType | PlainMessage<LocationType> | undefined, b: LocationType | PlainMessage<LocationType> | undefined): boolean;
64
+ }
65
+
66
+ export { Location, LocationType };
@@ -0,0 +1,66 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+
3
+ /**
4
+ * @generated from message dailydotdev.api.util.Location
5
+ */
6
+ declare class Location extends Message<Location> {
7
+ /**
8
+ * @generated from field: optional string city = 1;
9
+ */
10
+ city?: string;
11
+ /**
12
+ * @generated from field: optional string country = 2;
13
+ */
14
+ country?: string;
15
+ /**
16
+ * @generated from field: optional string subdivision = 3;
17
+ */
18
+ subdivision?: string;
19
+ /**
20
+ * @generated from field: optional string continent = 4;
21
+ */
22
+ continent?: string;
23
+ /**
24
+ * @generated from field: optional float latitude = 5;
25
+ */
26
+ latitude?: number;
27
+ /**
28
+ * @generated from field: optional float longitude = 6;
29
+ */
30
+ longitude?: number;
31
+ constructor(data?: PartialMessage<Location>);
32
+ static readonly runtime: typeof proto3;
33
+ static readonly typeName = "dailydotdev.api.util.Location";
34
+ static readonly fields: FieldList;
35
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Location;
36
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Location;
37
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Location;
38
+ static equals(a: Location | PlainMessage<Location> | undefined, b: Location | PlainMessage<Location> | undefined): boolean;
39
+ }
40
+ /**
41
+ * @generated from message dailydotdev.api.util.LocationType
42
+ */
43
+ declare class LocationType extends Message<LocationType> {
44
+ /**
45
+ * @generated from field: optional bool remote = 1;
46
+ */
47
+ remote?: boolean;
48
+ /**
49
+ * @generated from field: optional bool on_site = 2;
50
+ */
51
+ onSite?: boolean;
52
+ /**
53
+ * @generated from field: optional bool hybrid = 3;
54
+ */
55
+ hybrid?: boolean;
56
+ constructor(data?: PartialMessage<LocationType>);
57
+ static readonly runtime: typeof proto3;
58
+ static readonly typeName = "dailydotdev.api.util.LocationType";
59
+ static readonly fields: FieldList;
60
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocationType;
61
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocationType;
62
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationType;
63
+ static equals(a: LocationType | PlainMessage<LocationType> | undefined, b: LocationType | PlainMessage<LocationType> | undefined): boolean;
64
+ }
65
+
66
+ export { Location, LocationType };
@@ -0,0 +1 @@
1
+ import{Message as t,proto3 as n}from"@bufbuild/protobuf";class i extends t{city;country;subdivision;continent;latitude;longitude;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.util.Location";static fields=n.util.newFieldList((()=>[{no:1,name:"city",kind:"scalar",T:9,opt:!0},{no:2,name:"country",kind:"scalar",T:9,opt:!0},{no:3,name:"subdivision",kind:"scalar",T:9,opt:!0},{no:4,name:"continent",kind:"scalar",T:9,opt:!0},{no:5,name:"latitude",kind:"scalar",T:2,opt:!0},{no:6,name:"longitude",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,n){return(new i).fromBinary(t,n)}static fromJson(t,n){return(new i).fromJson(t,n)}static fromJsonString(t,n){return(new i).fromJsonString(t,n)}static equals(t,a){return n.util.equals(i,t,a)}}class a extends t{remote;onSite;hybrid;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.util.LocationType";static fields=n.util.newFieldList((()=>[{no:1,name:"remote",kind:"scalar",T:8,opt:!0},{no:2,name:"on_site",kind:"scalar",T:8,opt:!0},{no:3,name:"hybrid",kind:"scalar",T:8,opt:!0}]));static fromBinary(t,n){return(new a).fromBinary(t,n)}static fromJson(t,n){return(new a).fromJson(t,n)}static fromJsonString(t,n){return(new a).fromJsonString(t,n)}static equals(t,i){return n.util.equals(a,t,i)}}export{i as Location,a as LocationType};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,t=Object.prototype.hasOwnProperty,p=(e,p,i,u)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let c of s(p))t.call(e,c)||c===i||r(e,c,{get:()=>p[c],enumerable:!(u=o(p,c))||u.enumerable});return e},i=(e,r,o)=>(p(e,r,"default"),o&&p(o,r,"default")),u={};module.exports=(e=u,p(r({},"__esModule",{value:!0}),e)),i(u,require("./bragi/pipelines_connect.cjs"),module.exports),i(u,require("./bragi/pipelines_pb.cjs"),module.exports),i(u,require("./bragi/proxy_connect.cjs"),module.exports),i(u,require("./bragi/proxy_pb.cjs"),module.exports),i(u,require("./daily-api/posts_connect.cjs"),module.exports),i(u,require("./daily-api/posts_pb.cjs"),module.exports),i(u,require("./daily-api/source-requests_connect.cjs"),module.exports),i(u,require("./daily-api/source-requests_pb.cjs"),module.exports),i(u,require("./daily-api/sources_pb.cjs"),module.exports),i(u,require("./daily-api/pubsub/content-updated_pb.cjs"),module.exports),i(u,require("./feed/briefing/briefing_pb.cjs"),module.exports),i(u,require("./feed/personalised/personalised_pb.cjs"),module.exports),i(u,require("./feed/server_side_event/server_side_event_pb.cjs"),module.exports),i(u,require("./mimir/search/search_pb.cjs"),module.exports),i(u,require("./njord/transactions_connect.cjs"),module.exports),i(u,require("./njord/transactions_pb.cjs"),module.exports),i(u,require("./snotra/engagement/engagement_pb.cjs"),module.exports),i(u,require("./snotra/personalisation/personalisation_pb.cjs"),module.exports),i(u,require("./util/error_pb.cjs"),module.exports);
1
+ var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(e,i,t,u)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let a of s(i))p.call(e,a)||a===t||r(e,a,{get:()=>i[a],enumerable:!(u=o(i,a))||u.enumerable});return e},t=(e,r,o)=>(i(e,r,"default"),o&&i(o,r,"default")),u={};module.exports=(e=u,i(r({},"__esModule",{value:!0}),e)),t(u,require("./bragi/pipelines_connect.cjs"),module.exports),t(u,require("./bragi/pipelines_pb.cjs"),module.exports),t(u,require("./bragi/proxy_connect.cjs"),module.exports),t(u,require("./bragi/proxy_pb.cjs"),module.exports),t(u,require("./daily-api/opportunity_pb.cjs"),module.exports),t(u,require("./daily-api/organization_pb.cjs"),module.exports),t(u,require("./daily-api/posts_connect.cjs"),module.exports),t(u,require("./daily-api/posts_pb.cjs"),module.exports),t(u,require("./daily-api/source-requests_connect.cjs"),module.exports),t(u,require("./daily-api/source-requests_pb.cjs"),module.exports),t(u,require("./daily-api/sources_pb.cjs"),module.exports),t(u,require("./daily-api/user-candidate-preference_pb.cjs"),module.exports),t(u,require("./daily-api/util_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/candidate-accepted-opportunity_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/content-updated_pb.cjs"),module.exports),t(u,require("./daily-api/pubsub/opportunity_pb.cjs"),module.exports),t(u,require("./feed/briefing/briefing_pb.cjs"),module.exports),t(u,require("./feed/personalised/personalised_pb.cjs"),module.exports),t(u,require("./feed/server_side_event/server_side_event_pb.cjs"),module.exports),t(u,require("./mimir/search/search_pb.cjs"),module.exports),t(u,require("./njord/transactions_connect.cjs"),module.exports),t(u,require("./njord/transactions_pb.cjs"),module.exports),t(u,require("./snotra/engagement/engagement_pb.cjs"),module.exports),t(u,require("./snotra/personalisation/personalisation_pb.cjs"),module.exports),t(u,require("./util/error_pb.cjs"),module.exports);
package/dist/index.d.cts CHANGED
@@ -2,12 +2,18 @@ export { Pipelines } from './bragi/pipelines_connect.cjs';
2
2
  export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobOpportunity, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag } from './bragi/pipelines_pb.cjs';
3
3
  export { LLMProxy } from './bragi/proxy_connect.cjs';
4
4
  export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, ChatRequest, ChatResponse, ChatStreamResponse, CompletionRequest, Embedding, EmbeddingRequest, EmbeddingResponse, ImageUrl, ModelProvider, Usage, VisionContent, VisionMessage, VisionRequest } from './bragi/proxy_pb.cjs';
5
+ export { Opportunity, OpportunityContent, OpportunityMeta, OpportunityState, OpportunityType } from './daily-api/opportunity_pb.cjs';
6
+ export { CompanySize, CompanyStage, Organization, OrganizationCustomLink, OrganizationLink, OrganizationLinkType, OrganizationPressLink, OrganizationSocialLink, SocialMediaType } from './daily-api/organization_pb.cjs';
5
7
  export { PostService } from './daily-api/posts_connect.cjs';
6
8
  export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.cjs';
7
9
  export { SourceRequestService } from './daily-api/source-requests_connect.cjs';
8
10
  export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.cjs';
9
11
  export { Source } from './daily-api/sources_pb.cjs';
12
+ export { EmploymentType, OpportunityMatchStatus, SalaryExpectation, UserCandidateCV, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.cjs';
13
+ export { Location, LocationType } from './daily-api/util_pb.cjs';
14
+ export { CandidateAcceptedOpportunityMessage, Screening } from './daily-api/pubsub/candidate-accepted-opportunity_pb.cjs';
10
15
  export { ContentUpdatedMessage } from './daily-api/pubsub/content-updated_pb.cjs';
16
+ export { OpportunityMessage } from './daily-api/pubsub/opportunity_pb.cjs';
11
17
  export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefingRequest } from './feed/briefing/briefing_pb.cjs';
12
18
  export { Request, Response } from './feed/personalised/personalised_pb.cjs';
13
19
  export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.cjs';
package/dist/index.d.ts CHANGED
@@ -2,12 +2,18 @@ export { Pipelines } from './bragi/pipelines_connect.js';
2
2
  export { AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, GenerateTagsResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobOpportunity, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessClusteredRequest, ProcessIsolatedRequest, ProcessStoriesResponse, ScrapedPage, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SmartPromptRequest, StoryAnalysisRequest, Tag } from './bragi/pipelines_pb.js';
3
3
  export { LLMProxy } from './bragi/proxy_connect.js';
4
4
  export { CacheControl, CacheControlType, ChatAudit, ChatDelta, ChatMessage, ChatRequest, ChatResponse, ChatStreamResponse, CompletionRequest, Embedding, EmbeddingRequest, EmbeddingResponse, ImageUrl, ModelProvider, Usage, VisionContent, VisionMessage, VisionRequest } from './bragi/proxy_pb.js';
5
+ export { Opportunity, OpportunityContent, OpportunityMeta, OpportunityState, OpportunityType } from './daily-api/opportunity_pb.js';
6
+ export { CompanySize, CompanyStage, Organization, OrganizationCustomLink, OrganizationLink, OrganizationLinkType, OrganizationPressLink, OrganizationSocialLink, SocialMediaType } from './daily-api/organization_pb.js';
5
7
  export { PostService } from './daily-api/posts_connect.js';
6
8
  export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.js';
7
9
  export { SourceRequestService } from './daily-api/source-requests_connect.js';
8
10
  export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.js';
9
11
  export { Source } from './daily-api/sources_pb.js';
12
+ export { EmploymentType, OpportunityMatchStatus, SalaryExpectation, UserCandidateCV, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.js';
13
+ export { Location, LocationType } from './daily-api/util_pb.js';
14
+ export { CandidateAcceptedOpportunityMessage, Screening } from './daily-api/pubsub/candidate-accepted-opportunity_pb.js';
10
15
  export { ContentUpdatedMessage } from './daily-api/pubsub/content-updated_pb.js';
16
+ export { OpportunityMessage } from './daily-api/pubsub/opportunity_pb.js';
11
17
  export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefingRequest } from './feed/briefing/briefing_pb.js';
12
18
  export { Request, Response } from './feed/personalised/personalised_pb.js';
13
19
  export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./util/error_pb";
1
+ export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./daily-api/opportunity_pb";export*from"./daily-api/organization_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_pb";export*from"./daily-api/user-candidate-preference_pb";export*from"./daily-api/util_pb";export*from"./daily-api/pubsub/candidate-accepted-opportunity_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./util/error_pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dailydotdev/schema",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",