@brivioio/api-server-types 7.17.0 → 7.18.0

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.
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Normalized, display/filter-friendly fields lifted from a CrustData profile.
3
+ * The complete raw profile is kept alongside in `profile`.
4
+ */
5
+ export type TCandidateSnapshot = {
6
+ /** Stable identity — normalized LinkedIn handle (e.g. "in/foo-bar"). */
7
+ candidateKey: string;
8
+ crustdataPersonId: string | null;
9
+ linkedinUrl: string;
10
+ name: string;
11
+ headline: string;
12
+ avatarUrl: string | null;
13
+ location: string;
14
+ currentTitle: string;
15
+ currentCompany: string;
16
+ };
17
+ /**
18
+ * One candidate returned by a sourcing search — the raw pool before
19
+ * shortlisting. Every candidate found across the round's searches is stored
20
+ * here, tagged with the org / role / requirement version it was sourced under,
21
+ * with its complete CrustData profile retained.
22
+ */
23
+ export interface ICandidateSearchResult {
24
+ _id: string;
25
+ organizationId: string;
26
+ jobRoleId: string;
27
+ requirementVersion: number;
28
+ sourcingRunId: string;
29
+ candidateKey: string;
30
+ crustdataPersonId: string | null;
31
+ linkedinUrl: string;
32
+ name: string;
33
+ headline: string;
34
+ avatarUrl: string | null;
35
+ location: string;
36
+ currentTitle: string;
37
+ currentCompany: string;
38
+ /** Complete CrustData profile row (stored verbatim). */
39
+ profile: unknown;
40
+ /** 1-based index of the search that first surfaced this candidate. */
41
+ foundBySearchIndex: number;
42
+ internalTags: {
43
+ key: string;
44
+ value: string;
45
+ }[];
46
+ isDeleted: boolean;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ }
50
+ //# sourceMappingURL=candidateSearchResults.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"candidateSearchResults.types.d.ts","sourceRoot":"","sources":["../src/candidateSearchResults.types.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,wEAAwE;IACxE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,OAAO,EAAE,OAAO,CAAC;IACjB,sEAAsE;IACtE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACJ,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './candidateSearchResults.types';
1
2
  export * from './jobRoleChatHistory.types';
2
3
  export * from './jobRoles.types';
3
4
  export * from './meetingBots.types';
@@ -5,7 +6,9 @@ export * from './organizationDomains.types';
5
6
  export * from './organizationUsers.types';
6
7
  export * from './organizations.types';
7
8
  export * from './requirements.types';
9
+ export * from './shortlists.types';
8
10
  export * from './slackChannels.types';
9
11
  export * from './slackMessages.types';
10
12
  export * from './slackWorkspaces.types';
13
+ export * from './sourcingRuns.types';
11
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './candidateSearchResults.types';
1
2
  export * from './jobRoleChatHistory.types';
2
3
  export * from './jobRoles.types';
3
4
  export * from './meetingBots.types';
@@ -5,6 +6,8 @@ export * from './organizationDomains.types';
5
6
  export * from './organizationUsers.types';
6
7
  export * from './organizations.types';
7
8
  export * from './requirements.types';
9
+ export * from './shortlists.types';
8
10
  export * from './slackChannels.types';
9
11
  export * from './slackMessages.types';
10
12
  export * from './slackWorkspaces.types';
13
+ export * from './sourcingRuns.types';
@@ -0,0 +1,92 @@
1
+ import type { IResponse } from './utils.types';
2
+ export declare enum EShortlistSource {
3
+ /** Surfaced and selected by the sourcing search + scoring. */
4
+ SEARCH = "search",
5
+ /** Force-included because the recruiter shortlisted them during calibration. */
6
+ CALIBRATION = "calibration_shortlist"
7
+ }
8
+ /**
9
+ * Per-axis fit breakdown (each 0-100). Drives the composite `fitScore` and gives
10
+ * the recruiter an explainable "why this rank".
11
+ */
12
+ export type TFitSubScores = {
13
+ /** Depth + relevance of past and current experience. */
14
+ experience: number;
15
+ /** Tenure stability — penalizes excessive switching / very short recent stints. */
16
+ tenureStability: number;
17
+ /** Relevance of domain / industry / problem space to the role. */
18
+ domainRelevance: number;
19
+ /** Match against the role's location / work-type requirements. */
20
+ locationFit: number;
21
+ /** Fit against the team's revealed archetype (builder / big-tech / founder / etc.). */
22
+ archetypeFit: number;
23
+ };
24
+ /**
25
+ * A curated, ranked shortlist entry for a (role, requirementVersion). This is
26
+ * what the frontend shortlist page reads. The complete CrustData profile is
27
+ * retained in `fullProfile`.
28
+ */
29
+ export interface IShortlist {
30
+ _id: string;
31
+ organizationId: string;
32
+ jobRoleId: string;
33
+ requirementVersion: number;
34
+ sourcingRunId: string;
35
+ candidateKey: string;
36
+ crustdataPersonId: string | null;
37
+ linkedinUrl: string;
38
+ name: string;
39
+ headline: string;
40
+ avatarUrl: string | null;
41
+ location: string;
42
+ currentTitle: string;
43
+ currentCompany: string;
44
+ /** Composite fit score 0-100. */
45
+ fitScore: number;
46
+ subScores: TFitSubScores;
47
+ /** 1-based rank within this (role, requirementVersion); 1 = best fit. */
48
+ rank: number;
49
+ /** 3-4 short tags, ~3-4 words each (e.g. "Strong 0→1 builder", "Fintech domain"). */
50
+ remarks: string[];
51
+ /** One short paragraph on why this candidate made the shortlist. */
52
+ reasoning: string;
53
+ source: EShortlistSource;
54
+ /** Complete CrustData profile (stored verbatim). */
55
+ fullProfile: unknown;
56
+ internalTags: {
57
+ key: string;
58
+ value: string;
59
+ }[];
60
+ isDeleted: boolean;
61
+ createdAt: string;
62
+ updatedAt: string;
63
+ }
64
+ export type TShortlistEntry = {
65
+ id: string;
66
+ jobRoleId: string;
67
+ requirementVersion: number;
68
+ candidateKey: string;
69
+ linkedinUrl: string;
70
+ name: string;
71
+ headline: string;
72
+ avatarUrl: string | null;
73
+ location: string;
74
+ currentTitle: string;
75
+ currentCompany: string;
76
+ fitScore: number;
77
+ subScores: TFitSubScores;
78
+ rank: number;
79
+ remarks: string[];
80
+ reasoning: string;
81
+ source: EShortlistSource;
82
+ createdAt: string;
83
+ };
84
+ export declare namespace ShortlistsAPITypes {
85
+ type TGetShortlistResponse = IResponse<{
86
+ entries: TShortlistEntry[];
87
+ requirementVersion: number | null;
88
+ /** True when a newer requirement version exists than the one this shortlist was sourced from. */
89
+ stale: boolean;
90
+ } | null>;
91
+ }
92
+ //# sourceMappingURL=shortlists.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shortlists.types.d.ts","sourceRoot":"","sources":["../src/shortlists.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,oBAAY,gBAAgB;IAC1B,8DAA8D;IAC9D,MAAM,WAAW;IACjB,gFAAgF;IAChF,WAAW,0BAA0B;CACtC;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,eAAe,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,eAAe,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,U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AAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,yBAAiB,kBAAkB,CAAC;IAClC,KAAY,qBAAqB,GAAG,SAAS,CAAC;QAC5C,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,iGAAiG;QACjG,KAAK,EAAE,OAAO,CAAC;KAChB,GAAG,IAAI,CAAC,CAAC;CACX"}
@@ -0,0 +1,7 @@
1
+ export var EShortlistSource;
2
+ (function (EShortlistSource) {
3
+ /** Surfaced and selected by the sourcing search + scoring. */
4
+ EShortlistSource["SEARCH"] = "search";
5
+ /** Force-included because the recruiter shortlisted them during calibration. */
6
+ EShortlistSource["CALIBRATION"] = "calibration_shortlist";
7
+ })(EShortlistSource || (EShortlistSource = {}));
@@ -0,0 +1,95 @@
1
+ import type { IResponse } from './utils.types';
2
+ export declare enum ESourcingRunStatus {
3
+ QUEUED = "queued",
4
+ PROCESSING = "processing",
5
+ SUCCESS = "success",
6
+ FAILED = "failed"
7
+ }
8
+ /**
9
+ * What kicked off a run. `closeout` fires automatically when intake commits the
10
+ * first requirements version; `manual` is a recruiter-triggered re-run (e.g.
11
+ * after a post-closeout requirement change marked the shortlist stale).
12
+ */
13
+ export declare enum ESourcingRunTrigger {
14
+ CLOSEOUT = "closeout",
15
+ MANUAL = "manual"
16
+ }
17
+ /**
18
+ * One search the agent ran during the round. Searches are sequential and
19
+ * adaptive — each one is tailored from the previous results — and capped at 15
20
+ * per round.
21
+ */
22
+ export type TSourcingSearchEntry = {
23
+ /** 1-based order within the round (1..15). */
24
+ index: number;
25
+ /** CrustData tool used, e.g. "people_search_db" / "company_search_db". */
26
+ tool: string;
27
+ /** Why this query was run / how it was tailored from prior results. */
28
+ rationale: string;
29
+ /** Short human-readable summary of the filters applied. */
30
+ filtersSummary: string;
31
+ /** How many rows the search returned. */
32
+ resultsCount: number;
33
+ /** Net-new candidates added to the pool after dedup. */
34
+ newCandidatesCount: number;
35
+ ranAt: string;
36
+ };
37
+ export interface ISourcingRun {
38
+ _id: string;
39
+ organizationId: string;
40
+ jobRoleId: string;
41
+ /** The requirements document this run sourced against. */
42
+ requirementId: string;
43
+ /** Denormalized requirement version for tagging / querying. */
44
+ requirementVersion: number;
45
+ status: ESourcingRunStatus;
46
+ trigger: ESourcingRunTrigger;
47
+ /** Sourcing agent SDK session id (for debugging / resume). */
48
+ agentSessionId: string;
49
+ /** Log of the searches run this round (max 15). */
50
+ searches: TSourcingSearchEntry[];
51
+ searchCount: number;
52
+ /** Distinct candidates found across all searches. */
53
+ poolSize: number;
54
+ /** Candidates committed to the shortlist for this run. */
55
+ shortlistSize: number;
56
+ failureReason: string | null;
57
+ startedAt: Date | null;
58
+ completedAt: Date | null;
59
+ /** Org user who triggered a manual run; null for automatic closeout runs. */
60
+ triggeredBy: string | null;
61
+ internalTags: {
62
+ key: string;
63
+ value: string;
64
+ }[];
65
+ isDeleted: boolean;
66
+ createdAt: string;
67
+ updatedAt: string;
68
+ }
69
+ export type TSourcingRunStatus = {
70
+ id: string;
71
+ jobRoleId: string;
72
+ requirementVersion: number;
73
+ status: ESourcingRunStatus;
74
+ trigger: ESourcingRunTrigger;
75
+ searchCount: number;
76
+ poolSize: number;
77
+ shortlistSize: number;
78
+ failureReason: string | null;
79
+ startedAt: string | null;
80
+ completedAt: string | null;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ };
84
+ export declare namespace SourcingRunsAPITypes {
85
+ type TListSourcingRunsResponse = IResponse<{
86
+ runs: TSourcingRunStatus[];
87
+ /** True when the latest committed requirement version has no successful run yet. */
88
+ shortlistStale: boolean;
89
+ latestRequirementVersion: number | null;
90
+ } | null>;
91
+ type TTriggerSourcingRunResponse = IResponse<{
92
+ run: TSourcingRunStatus;
93
+ } | null>;
94
+ }
95
+ //# sourceMappingURL=sourcingRuns.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourcingRuns.types.d.ts","sourceRoot":"","sources":["../src/sourcingRuns.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,oBAAY,kBAAkB;IAC5B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED;;;;GAIG;AACH,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,cAAc,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,aAAa,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,8DAA8D;IAC9D,cAAc,EAAE,MAAM,CAAC;IACvB,mDAAmD;I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AAI,CAAC,CAAC;IAEV,KAAY,2BAA2B,GAAG,SAAS,CAAC;QAClD,GAAG,EAAE,kBAAkB,CAAC;KACzB,GAAG,IAAI,CAAC,CAAC;CACX"}
@@ -0,0 +1,17 @@
1
+ export var ESourcingRunStatus;
2
+ (function (ESourcingRunStatus) {
3
+ ESourcingRunStatus["QUEUED"] = "queued";
4
+ ESourcingRunStatus["PROCESSING"] = "processing";
5
+ ESourcingRunStatus["SUCCESS"] = "success";
6
+ ESourcingRunStatus["FAILED"] = "failed";
7
+ })(ESourcingRunStatus || (ESourcingRunStatus = {}));
8
+ /**
9
+ * What kicked off a run. `closeout` fires automatically when intake commits the
10
+ * first requirements version; `manual` is a recruiter-triggered re-run (e.g.
11
+ * after a post-closeout requirement change marked the shortlist stale).
12
+ */
13
+ export var ESourcingRunTrigger;
14
+ (function (ESourcingRunTrigger) {
15
+ ESourcingRunTrigger["CLOSEOUT"] = "closeout";
16
+ ESourcingRunTrigger["MANUAL"] = "manual";
17
+ })(ESourcingRunTrigger || (ESourcingRunTrigger = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brivioio/api-server-types",
3
- "version": "7.17.0",
3
+ "version": "7.18.0",
4
4
  "description": "TypeScript type definitions for Brivio API Server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",