@keystrokehq/recruitee 0.1.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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-candidate.cjs +43 -0
- package/dist/actions/create-candidate.cjs.map +1 -0
- package/dist/actions/create-candidate.d.cts +9 -0
- package/dist/actions/create-candidate.d.cts.map +1 -0
- package/dist/actions/create-candidate.d.mts +9 -0
- package/dist/actions/create-candidate.d.mts.map +1 -0
- package/dist/actions/create-candidate.mjs +42 -0
- package/dist/actions/create-candidate.mjs.map +1 -0
- package/dist/actions/create-note.cjs +34 -0
- package/dist/actions/create-note.cjs.map +1 -0
- package/dist/actions/create-note.d.cts +9 -0
- package/dist/actions/create-note.d.cts.map +1 -0
- package/dist/actions/create-note.d.mts +9 -0
- package/dist/actions/create-note.d.mts.map +1 -0
- package/dist/actions/create-note.mjs +33 -0
- package/dist/actions/create-note.mjs.map +1 -0
- package/dist/actions/create-offer.cjs +80 -0
- package/dist/actions/create-offer.cjs.map +1 -0
- package/dist/actions/create-offer.d.cts +9 -0
- package/dist/actions/create-offer.d.cts.map +1 -0
- package/dist/actions/create-offer.d.mts +9 -0
- package/dist/actions/create-offer.d.mts.map +1 -0
- package/dist/actions/create-offer.mjs +77 -0
- package/dist/actions/create-offer.mjs.map +1 -0
- package/dist/actions/delete-candidate.cjs +16 -0
- package/dist/actions/delete-candidate.cjs.map +1 -0
- package/dist/actions/delete-candidate.d.cts +9 -0
- package/dist/actions/delete-candidate.d.cts.map +1 -0
- package/dist/actions/delete-candidate.d.mts +9 -0
- package/dist/actions/delete-candidate.d.mts.map +1 -0
- package/dist/actions/delete-candidate.mjs +13 -0
- package/dist/actions/delete-candidate.mjs.map +1 -0
- package/dist/actions/delete-tag.cjs +16 -0
- package/dist/actions/delete-tag.cjs.map +1 -0
- package/dist/actions/delete-tag.d.cts +9 -0
- package/dist/actions/delete-tag.d.cts.map +1 -0
- package/dist/actions/delete-tag.d.mts +9 -0
- package/dist/actions/delete-tag.d.mts.map +1 -0
- package/dist/actions/delete-tag.mjs +13 -0
- package/dist/actions/delete-tag.mjs.map +1 -0
- package/dist/actions/get-candidate.cjs +39 -0
- package/dist/actions/get-candidate.cjs.map +1 -0
- package/dist/actions/get-candidate.d.cts +9 -0
- package/dist/actions/get-candidate.d.cts.map +1 -0
- package/dist/actions/get-candidate.d.mts +9 -0
- package/dist/actions/get-candidate.d.mts.map +1 -0
- package/dist/actions/get-candidate.mjs +38 -0
- package/dist/actions/get-candidate.mjs.map +1 -0
- package/dist/actions/get-candidates.cjs +47 -0
- package/dist/actions/get-candidates.cjs.map +1 -0
- package/dist/actions/get-candidates.d.cts +9 -0
- package/dist/actions/get-candidates.d.cts.map +1 -0
- package/dist/actions/get-candidates.d.mts +9 -0
- package/dist/actions/get-candidates.d.mts.map +1 -0
- package/dist/actions/get-candidates.mjs +46 -0
- package/dist/actions/get-candidates.mjs.map +1 -0
- package/dist/actions/get-company-id.cjs +22 -0
- package/dist/actions/get-company-id.cjs.map +1 -0
- package/dist/actions/get-company-id.d.cts +9 -0
- package/dist/actions/get-company-id.d.cts.map +1 -0
- package/dist/actions/get-company-id.d.mts +9 -0
- package/dist/actions/get-company-id.d.mts.map +1 -0
- package/dist/actions/get-company-id.mjs +21 -0
- package/dist/actions/get-company-id.mjs.map +1 -0
- package/dist/actions/get-company-offer-public.cjs +38 -0
- package/dist/actions/get-company-offer-public.cjs.map +1 -0
- package/dist/actions/get-company-offer-public.d.cts +9 -0
- package/dist/actions/get-company-offer-public.d.cts.map +1 -0
- package/dist/actions/get-company-offer-public.d.mts +9 -0
- package/dist/actions/get-company-offer-public.d.mts.map +1 -0
- package/dist/actions/get-company-offer-public.mjs +37 -0
- package/dist/actions/get-company-offer-public.mjs.map +1 -0
- package/dist/actions/get-departments.cjs +21 -0
- package/dist/actions/get-departments.cjs.map +1 -0
- package/dist/actions/get-departments.d.cts +9 -0
- package/dist/actions/get-departments.d.cts.map +1 -0
- package/dist/actions/get-departments.d.mts +9 -0
- package/dist/actions/get-departments.d.mts.map +1 -0
- package/dist/actions/get-departments.mjs +20 -0
- package/dist/actions/get-departments.mjs.map +1 -0
- package/dist/actions/get-locations.cjs +45 -0
- package/dist/actions/get-locations.cjs.map +1 -0
- package/dist/actions/get-locations.d.cts +9 -0
- package/dist/actions/get-locations.d.cts.map +1 -0
- package/dist/actions/get-locations.d.mts +9 -0
- package/dist/actions/get-locations.d.mts.map +1 -0
- package/dist/actions/get-locations.mjs +44 -0
- package/dist/actions/get-locations.mjs.map +1 -0
- package/dist/actions/get-notes.cjs +51 -0
- package/dist/actions/get-notes.cjs.map +1 -0
- package/dist/actions/get-notes.d.cts +9 -0
- package/dist/actions/get-notes.d.cts.map +1 -0
- package/dist/actions/get-notes.d.mts +9 -0
- package/dist/actions/get-notes.d.mts.map +1 -0
- package/dist/actions/get-notes.mjs +50 -0
- package/dist/actions/get-notes.mjs.map +1 -0
- package/dist/actions/get-offers.cjs +40 -0
- package/dist/actions/get-offers.cjs.map +1 -0
- package/dist/actions/get-offers.d.cts +9 -0
- package/dist/actions/get-offers.d.cts.map +1 -0
- package/dist/actions/get-offers.d.mts +9 -0
- package/dist/actions/get-offers.d.mts.map +1 -0
- package/dist/actions/get-offers.mjs +39 -0
- package/dist/actions/get-offers.mjs.map +1 -0
- package/dist/actions/get-pipeline-stages.cjs +24 -0
- package/dist/actions/get-pipeline-stages.cjs.map +1 -0
- package/dist/actions/get-pipeline-stages.d.cts +9 -0
- package/dist/actions/get-pipeline-stages.d.cts.map +1 -0
- package/dist/actions/get-pipeline-stages.d.mts +9 -0
- package/dist/actions/get-pipeline-stages.d.mts.map +1 -0
- package/dist/actions/get-pipeline-stages.mjs +23 -0
- package/dist/actions/get-pipeline-stages.mjs.map +1 -0
- package/dist/actions/get-tags.cjs +34 -0
- package/dist/actions/get-tags.cjs.map +1 -0
- package/dist/actions/get-tags.d.cts +9 -0
- package/dist/actions/get-tags.d.cts.map +1 -0
- package/dist/actions/get-tags.d.mts +9 -0
- package/dist/actions/get-tags.d.mts.map +1 -0
- package/dist/actions/get-tags.mjs +33 -0
- package/dist/actions/get-tags.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/list-eeo-job-categories.cjs +16 -0
- package/dist/actions/list-eeo-job-categories.cjs.map +1 -0
- package/dist/actions/list-eeo-job-categories.d.cts +9 -0
- package/dist/actions/list-eeo-job-categories.d.cts.map +1 -0
- package/dist/actions/list-eeo-job-categories.d.mts +9 -0
- package/dist/actions/list-eeo-job-categories.d.mts.map +1 -0
- package/dist/actions/list-eeo-job-categories.mjs +13 -0
- package/dist/actions/list-eeo-job-categories.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +29 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +28 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-localization-settings.cjs +19 -0
- package/dist/actions/list-localization-settings.cjs.map +1 -0
- package/dist/actions/list-localization-settings.d.cts +9 -0
- package/dist/actions/list-localization-settings.d.cts.map +1 -0
- package/dist/actions/list-localization-settings.d.mts +9 -0
- package/dist/actions/list-localization-settings.d.mts.map +1 -0
- package/dist/actions/list-localization-settings.mjs +16 -0
- package/dist/actions/list-localization-settings.mjs.map +1 -0
- package/dist/actions/list-share-countries.cjs +22 -0
- package/dist/actions/list-share-countries.cjs.map +1 -0
- package/dist/actions/list-share-countries.d.cts +9 -0
- package/dist/actions/list-share-countries.d.cts.map +1 -0
- package/dist/actions/list-share-countries.d.mts +9 -0
- package/dist/actions/list-share-countries.d.mts.map +1 -0
- package/dist/actions/list-share-countries.mjs +21 -0
- package/dist/actions/list-share-countries.mjs.map +1 -0
- package/dist/actions/list-share-eeo-answers.cjs +22 -0
- package/dist/actions/list-share-eeo-answers.cjs.map +1 -0
- package/dist/actions/list-share-eeo-answers.d.cts +9 -0
- package/dist/actions/list-share-eeo-answers.d.cts.map +1 -0
- package/dist/actions/list-share-eeo-answers.d.mts +9 -0
- package/dist/actions/list-share-eeo-answers.d.mts.map +1 -0
- package/dist/actions/list-share-eeo-answers.mjs +21 -0
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -0
- package/dist/actions/update-candidate.cjs +51 -0
- package/dist/actions/update-candidate.cjs.map +1 -0
- package/dist/actions/update-candidate.d.cts +9 -0
- package/dist/actions/update-candidate.d.cts.map +1 -0
- package/dist/actions/update-candidate.d.mts +9 -0
- package/dist/actions/update-candidate.d.mts.map +1 -0
- package/dist/actions/update-candidate.mjs +50 -0
- package/dist/actions/update-candidate.mjs.map +1 -0
- package/dist/actions/update-note.cjs +34 -0
- package/dist/actions/update-note.cjs.map +1 -0
- package/dist/actions/update-note.d.cts +9 -0
- package/dist/actions/update-note.d.cts.map +1 -0
- package/dist/actions/update-note.d.mts +9 -0
- package/dist/actions/update-note.d.mts.map +1 -0
- package/dist/actions/update-note.mjs +33 -0
- package/dist/actions/update-note.mjs.map +1 -0
- package/dist/actions/update-offer.cjs +96 -0
- package/dist/actions/update-offer.cjs.map +1 -0
- package/dist/actions/update-offer.d.cts +9 -0
- package/dist/actions/update-offer.d.cts.map +1 -0
- package/dist/actions/update-offer.d.mts +9 -0
- package/dist/actions/update-offer.d.mts.map +1 -0
- package/dist/actions/update-offer.mjs +95 -0
- package/dist/actions/update-offer.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/recruitee
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `recruitee`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 23
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { recruiteeCreateCandidate } from "@keystrokehq/recruitee/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "recruitee-agent",
|
|
15
|
+
tools: [recruiteeCreateCandidate],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.recruitee.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeRecruiteeTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["recruitee","executeRecruiteeTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { recruitee } from \"./app\";\nimport { executeRecruiteeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return recruitee.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRecruiteeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { recruitee } from "./app.mjs";
|
|
2
|
+
import { executeRecruiteeTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return recruitee.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeRecruiteeTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { recruitee } from \"./app\";\nimport { executeRecruiteeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return recruitee.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRecruiteeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-candidate.ts
|
|
4
|
+
const RecruiteeCreateCandidateInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Full name of the candidate."),
|
|
6
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the candidate.").optional(),
|
|
7
|
+
email: zod.z.string().describe("Email address of the candidate").optional(),
|
|
8
|
+
phone: zod.z.string().describe("Phone number of the candidate.").optional(),
|
|
9
|
+
photo: zod.z.string().describe("URL to the candidate's photo").optional(),
|
|
10
|
+
offers: zod.z.array(zod.z.number().int()).describe("List of offer IDs to associate with the candidate.").optional(),
|
|
11
|
+
resume: zod.z.string().describe("URL to the candidate's resume").optional(),
|
|
12
|
+
source: zod.z.string().describe("The source from which the candidate was obtained.").optional(),
|
|
13
|
+
cover_letter: zod.z.string().describe("Cover letter text for the candidate.").optional(),
|
|
14
|
+
social_links: zod.z.array(zod.z.string().describe("URL to candidate's social profile")).describe("List of social media profile links for the candidate.").optional(),
|
|
15
|
+
custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the candidate as defined by the company.").optional()
|
|
16
|
+
}).describe("Fields required to create a new candidate in Recruitee.");
|
|
17
|
+
const RecruiteeCreateCandidate_CandidateSchema = zod.z.object({
|
|
18
|
+
id: zod.z.number().int().describe("Unique identifier of the candidate."),
|
|
19
|
+
name: zod.z.string().describe("Full name of the candidate."),
|
|
20
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the candidate.").nullable().optional(),
|
|
21
|
+
email: zod.z.string().describe("Email address of the candidate.").nullable().optional(),
|
|
22
|
+
phone: zod.z.string().describe("Phone number of the candidate.").nullable().optional(),
|
|
23
|
+
photo: zod.z.string().describe("URL of the candidate's photo.").nullable().optional(),
|
|
24
|
+
resume: zod.z.string().describe("URL of the candidate's resume.").nullable().optional(),
|
|
25
|
+
source: zod.z.string().describe("Source from which the candidate was obtained.").nullable().optional(),
|
|
26
|
+
created_at: zod.z.string().describe("Timestamp when the candidate was created."),
|
|
27
|
+
updated_at: zod.z.string().describe("Timestamp when the candidate was last updated."),
|
|
28
|
+
cover_letter: zod.z.string().describe("Cover letter text.").nullable().optional(),
|
|
29
|
+
social_links: zod.z.array(zod.z.string()).describe("URLs of the candidate's social profiles.").nullable().optional(),
|
|
30
|
+
custom_fields: zod.z.unknown().describe("Custom fields defined by the company for the candidate.").nullable().optional()
|
|
31
|
+
});
|
|
32
|
+
const RecruiteeCreateCandidateOutput = zod.z.object({ candidate: RecruiteeCreateCandidate_CandidateSchema.nullable() }).describe("Response schema for the created candidate.");
|
|
33
|
+
const recruiteeCreateCandidate = require_action.action("RECRUITEE_CREATE_CANDIDATE", {
|
|
34
|
+
slug: "recruitee-create-candidate",
|
|
35
|
+
name: "Create Candidate",
|
|
36
|
+
description: "Tool to create a new candidate profile. Use after gathering all candidate details. Example: \"Create a new candidate named Jane Doe with email jane.doe@example.com.\"",
|
|
37
|
+
input: RecruiteeCreateCandidateInput,
|
|
38
|
+
output: RecruiteeCreateCandidateOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.recruiteeCreateCandidate = recruiteeCreateCandidate;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=create-candidate.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-candidate.cjs","names":["z","action"],"sources":["../../src/actions/create-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateCandidateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the candidate.\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the candidate.\").optional(),\n email: z.string().describe(\"Email address of the candidate\").optional(),\n phone: z.string().describe(\"Phone number of the candidate.\").optional(),\n photo: z.string().describe(\"URL to the candidate's photo\").optional(),\n offers: z.array(z.number().int()).describe(\"List of offer IDs to associate with the candidate.\").optional(),\n resume: z.string().describe(\"URL to the candidate's resume\").optional(),\n source: z.string().describe(\"The source from which the candidate was obtained.\").optional(),\n cover_letter: z.string().describe(\"Cover letter text for the candidate.\").optional(),\n social_links: z.array(z.string().describe(\"URL to candidate's social profile\")).describe(\"List of social media profile links for the candidate.\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the candidate as defined by the company.\").optional(),\n}).describe(\"Fields required to create a new candidate in Recruitee.\");\nconst RecruiteeCreateCandidate_CandidateSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n name: z.string().describe(\"Full name of the candidate.\"),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n email: z.string().describe(\"Email address of the candidate.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the candidate.\").nullable().optional(),\n photo: z.string().describe(\"URL of the candidate's photo.\").nullable().optional(),\n resume: z.string().describe(\"URL of the candidate's resume.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the candidate was created.\"),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\"),\n cover_letter: z.string().describe(\"Cover letter text.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"URLs of the candidate's social profiles.\").nullable().optional(),\n custom_fields: z.unknown().describe(\"Custom fields defined by the company for the candidate.\").nullable().optional(),\n});\nexport const RecruiteeCreateCandidateOutput: z.ZodTypeAny = z.object({\n candidate: RecruiteeCreateCandidate_CandidateSchema.nullable(),\n}).describe(\"Response schema for the created candidate.\");\n\nexport const recruiteeCreateCandidate = action(\"RECRUITEE_CREATE_CANDIDATE\", {\n slug: \"recruitee-create-candidate\",\n name: \"Create Candidate\",\n description: \"Tool to create a new candidate profile. Use after gathering all candidate details. Example: \\\"Create a new candidate named Jane Doe with email jane.doe@example.com.\\\"\",\n input: RecruiteeCreateCandidateInput,\n output: RecruiteeCreateCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CA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reateCandidateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateCandidate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateCandidate };
|
|
9
|
+
//# sourceMappingURL=create-candidate.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-candidate.d.cts","names":[],"sources":["../../src/actions/create-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAYwB;AAAA,cAgBzD,8BAAA,EAAgC,CAAA,CAAE,UAEU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-candidate.d.ts
|
|
4
|
+
declare const RecruiteeCreateCandidateInput: z.ZodTypeAny;
|
|
5
|
+
declare const RecruiteeCreateCandidateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateCandidate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateCandidate };
|
|
9
|
+
//# sourceMappingURL=create-candidate.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-candidate.d.mts","names":[],"sources":["../../src/actions/create-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAYwB;AAAA,cAgBzD,8BAAA,EAAgC,CAAA,CAAE,UAEU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-candidate.ts
|
|
4
|
+
const RecruiteeCreateCandidateInput = z.object({
|
|
5
|
+
name: z.string().describe("Full name of the candidate."),
|
|
6
|
+
tags: z.array(z.string()).describe("List of tags associated with the candidate.").optional(),
|
|
7
|
+
email: z.string().describe("Email address of the candidate").optional(),
|
|
8
|
+
phone: z.string().describe("Phone number of the candidate.").optional(),
|
|
9
|
+
photo: z.string().describe("URL to the candidate's photo").optional(),
|
|
10
|
+
offers: z.array(z.number().int()).describe("List of offer IDs to associate with the candidate.").optional(),
|
|
11
|
+
resume: z.string().describe("URL to the candidate's resume").optional(),
|
|
12
|
+
source: z.string().describe("The source from which the candidate was obtained.").optional(),
|
|
13
|
+
cover_letter: z.string().describe("Cover letter text for the candidate.").optional(),
|
|
14
|
+
social_links: z.array(z.string().describe("URL to candidate's social profile")).describe("List of social media profile links for the candidate.").optional(),
|
|
15
|
+
custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields for the candidate as defined by the company.").optional()
|
|
16
|
+
}).describe("Fields required to create a new candidate in Recruitee.");
|
|
17
|
+
const RecruiteeCreateCandidate_CandidateSchema = z.object({
|
|
18
|
+
id: z.number().int().describe("Unique identifier of the candidate."),
|
|
19
|
+
name: z.string().describe("Full name of the candidate."),
|
|
20
|
+
tags: z.array(z.string()).describe("Tags associated with the candidate.").nullable().optional(),
|
|
21
|
+
email: z.string().describe("Email address of the candidate.").nullable().optional(),
|
|
22
|
+
phone: z.string().describe("Phone number of the candidate.").nullable().optional(),
|
|
23
|
+
photo: z.string().describe("URL of the candidate's photo.").nullable().optional(),
|
|
24
|
+
resume: z.string().describe("URL of the candidate's resume.").nullable().optional(),
|
|
25
|
+
source: z.string().describe("Source from which the candidate was obtained.").nullable().optional(),
|
|
26
|
+
created_at: z.string().describe("Timestamp when the candidate was created."),
|
|
27
|
+
updated_at: z.string().describe("Timestamp when the candidate was last updated."),
|
|
28
|
+
cover_letter: z.string().describe("Cover letter text.").nullable().optional(),
|
|
29
|
+
social_links: z.array(z.string()).describe("URLs of the candidate's social profiles.").nullable().optional(),
|
|
30
|
+
custom_fields: z.unknown().describe("Custom fields defined by the company for the candidate.").nullable().optional()
|
|
31
|
+
});
|
|
32
|
+
const recruiteeCreateCandidate = action("RECRUITEE_CREATE_CANDIDATE", {
|
|
33
|
+
slug: "recruitee-create-candidate",
|
|
34
|
+
name: "Create Candidate",
|
|
35
|
+
description: "Tool to create a new candidate profile. Use after gathering all candidate details. Example: \"Create a new candidate named Jane Doe with email jane.doe@example.com.\"",
|
|
36
|
+
input: RecruiteeCreateCandidateInput,
|
|
37
|
+
output: z.object({ candidate: RecruiteeCreateCandidate_CandidateSchema.nullable() }).describe("Response schema for the created candidate.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { recruiteeCreateCandidate };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=create-candidate.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-candidate.mjs","names":[],"sources":["../../src/actions/create-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateCandidateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the candidate.\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the candidate.\").optional(),\n email: z.string().describe(\"Email address of the candidate\").optional(),\n phone: z.string().describe(\"Phone number of the candidate.\").optional(),\n photo: z.string().describe(\"URL to the candidate's photo\").optional(),\n offers: z.array(z.number().int()).describe(\"List of offer IDs to associate with the candidate.\").optional(),\n resume: z.string().describe(\"URL to the candidate's resume\").optional(),\n source: z.string().describe(\"The source from which the candidate was obtained.\").optional(),\n cover_letter: z.string().describe(\"Cover letter text for the candidate.\").optional(),\n social_links: z.array(z.string().describe(\"URL to candidate's social profile\")).describe(\"List of social media profile links for the candidate.\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the candidate as defined by the company.\").optional(),\n}).describe(\"Fields required to create a new candidate in Recruitee.\");\nconst RecruiteeCreateCandidate_CandidateSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n name: z.string().describe(\"Full name of the candidate.\"),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n email: z.string().describe(\"Email address of the candidate.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the candidate.\").nullable().optional(),\n photo: z.string().describe(\"URL of the candidate's photo.\").nullable().optional(),\n resume: z.string().describe(\"URL of the candidate's resume.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the candidate was created.\"),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\"),\n cover_letter: z.string().describe(\"Cover letter text.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"URLs of the candidate's social profiles.\").nullable().optional(),\n custom_fields: z.unknown().describe(\"Custom fields defined by the company for the candidate.\").nullable().optional(),\n});\nexport const RecruiteeCreateCandidateOutput: z.ZodTypeAny = z.object({\n candidate: RecruiteeCreateCandidate_CandidateSchema.nullable(),\n}).describe(\"Response schema for the created candidate.\");\n\nexport const recruiteeCreateCandidate = action(\"RECRUITEE_CREATE_CANDIDATE\", {\n slug: \"recruitee-create-candidate\",\n name: \"Create Candidate\",\n description: \"Tool to create a new candidate profile. Use after gathering all candidate details. Example: \\\"Create a new candidate named Jane Doe with email jane.doe@example.com.\\\"\",\n input: RecruiteeCreateCandidateInput,\n output: RecruiteeCreateCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,C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jF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC;AAKD,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,WAAW,yCAAyC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-note.ts
|
|
4
|
+
const RecruiteeCreateNoteInput = zod.z.object({
|
|
5
|
+
note: zod.z.object({
|
|
6
|
+
body: zod.z.string().describe("The content of the note."),
|
|
7
|
+
visibility: zod.z.object({ level: zod.z.enum(["public", "private"]).default("public").describe("Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.").optional() }).describe("Visibility settings for a note.").optional()
|
|
8
|
+
}).describe("The note object containing content and optional visibility."),
|
|
9
|
+
candidate_id: zod.z.string().describe("Unique identifier of the candidate to attach the note to.")
|
|
10
|
+
}).describe("Request model for creating a new note for a candidate.");
|
|
11
|
+
const RecruiteeCreateNote_VisibilitySchema = zod.z.object({ level: zod.z.enum(["public", "private"]).default("public").describe("Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.").nullable().optional() }).describe("Visibility settings for a note.");
|
|
12
|
+
const RecruiteeCreateNote_NoteResponseSchema = zod.z.object({
|
|
13
|
+
id: zod.z.number().int().describe("Unique identifier of the created note."),
|
|
14
|
+
body: zod.z.string().describe("Plain text content of the note.").nullable().optional(),
|
|
15
|
+
admin_id: zod.z.number().int().describe("ID of the admin user who created the note.").nullable().optional(),
|
|
16
|
+
body_html: zod.z.string().describe("HTML formatted content of the note.").nullable().optional(),
|
|
17
|
+
body_json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON representation of the note content.").nullable().optional(),
|
|
18
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the note was created."),
|
|
19
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated."),
|
|
20
|
+
visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),
|
|
21
|
+
candidate_id: zod.z.number().int().describe("ID of the candidate this note belongs to.").nullable().optional()
|
|
22
|
+
}).describe("The note object returned by the API.");
|
|
23
|
+
const RecruiteeCreateNoteOutput = zod.z.object({ note: RecruiteeCreateNote_NoteResponseSchema.nullable() }).describe("Response model for a newly created note.");
|
|
24
|
+
const recruiteeCreateNote = require_action.action("RECRUITEE_CREATE_NOTE", {
|
|
25
|
+
slug: "recruitee-create-note",
|
|
26
|
+
name: "Create Note",
|
|
27
|
+
description: "Creates a new note for a candidate in Recruitee. Notes can be used to record interview feedback, assessments, or any observations about the candidate. Use this when you need to add commentary or documentation to a candidate's profile.",
|
|
28
|
+
input: RecruiteeCreateNoteInput,
|
|
29
|
+
output: RecruiteeCreateNoteOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.recruiteeCreateNote = recruiteeCreateNote;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=create-note.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-note.cjs","names":["z","action"],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateNoteInput: z.ZodTypeAny = z.object({\n note: z.object({\n body: z.string().describe(\"The content of the note.\"),\n visibility: z.object({\n level: z.enum([\"public\", \"private\"]).default(\"public\").describe(\"Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.\").optional(),\n}).describe(\"Visibility settings for a note.\").optional(),\n}).describe(\"The note object containing content and optional visibility.\"),\n candidate_id: z.string().describe(\"Unique identifier of the candidate to attach the note to.\"),\n}).describe(\"Request model for creating a new note for a candidate.\");\nconst RecruiteeCreateNote_VisibilitySchema: z.ZodTypeAny = z.object({\n level: z.enum([\"public\", \"private\"]).default(\"public\").describe(\"Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.\").nullable().optional(),\n}).describe(\"Visibility settings for a note.\");\nconst RecruiteeCreateNote_NoteResponseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\"),\n body: z.string().describe(\"Plain text content of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin user who created the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML formatted content of the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note content.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the note was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\"),\n visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),\n candidate_id: z.number().int().describe(\"ID of the candidate this note belongs to.\").nullable().optional(),\n}).describe(\"The note object returned by the API.\");\nexport const RecruiteeCreateNoteOutput: z.ZodTypeAny = z.object({\n note: RecruiteeCreateNote_NoteResponseSchema.nullable(),\n}).describe(\"Response model for a newly created note.\");\n\nexport const recruiteeCreateNote = action(\"RECRUITEE_CREATE_NOTE\", {\n slug: \"recruitee-create-note\",\n name: \"Create Note\",\n description: \"Creates a new note for a candidate in Recruitee. Notes can be used to record interview feedback, assessments, or any observations about the candidate. Use this when you need to add commentary or documentation to a candidate's profile.\",\n input: RecruiteeCreateNoteInput,\n output: RecruiteeCreateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,YAAYA,IAAAA,EAAE,OAAO,EACrB,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxD,CAAC,CAAC,CAAC,SAAS,6DAA6D;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC/F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO,EAClE,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrM,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAY,qCAAqC,SAAS;CAC1D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-note.d.ts
|
|
4
|
+
declare const RecruiteeCreateNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const RecruiteeCreateNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateNote };
|
|
9
|
+
//# sourceMappingURL=create-note.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-note.d.cts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQ4B;AAAA,cAexD,yBAAA,EAA2B,CAAA,CAAE,UAEa;AAAA,cAE1C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-note.d.ts
|
|
4
|
+
declare const RecruiteeCreateNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const RecruiteeCreateNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateNote };
|
|
9
|
+
//# sourceMappingURL=create-note.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-note.d.mts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQ4B;AAAA,cAexD,yBAAA,EAA2B,CAAA,CAAE,UAEa;AAAA,cAE1C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-note.ts
|
|
4
|
+
const RecruiteeCreateNoteInput = z.object({
|
|
5
|
+
note: z.object({
|
|
6
|
+
body: z.string().describe("The content of the note."),
|
|
7
|
+
visibility: z.object({ level: z.enum(["public", "private"]).default("public").describe("Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.").optional() }).describe("Visibility settings for a note.").optional()
|
|
8
|
+
}).describe("The note object containing content and optional visibility."),
|
|
9
|
+
candidate_id: z.string().describe("Unique identifier of the candidate to attach the note to.")
|
|
10
|
+
}).describe("Request model for creating a new note for a candidate.");
|
|
11
|
+
const RecruiteeCreateNote_VisibilitySchema = z.object({ level: z.enum(["public", "private"]).default("public").describe("Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.").nullable().optional() }).describe("Visibility settings for a note.");
|
|
12
|
+
const RecruiteeCreateNote_NoteResponseSchema = z.object({
|
|
13
|
+
id: z.number().int().describe("Unique identifier of the created note."),
|
|
14
|
+
body: z.string().describe("Plain text content of the note.").nullable().optional(),
|
|
15
|
+
admin_id: z.number().int().describe("ID of the admin user who created the note.").nullable().optional(),
|
|
16
|
+
body_html: z.string().describe("HTML formatted content of the note.").nullable().optional(),
|
|
17
|
+
body_json: z.record(z.string(), z.unknown()).describe("JSON representation of the note content.").nullable().optional(),
|
|
18
|
+
created_at: z.string().describe("ISO 8601 timestamp when the note was created."),
|
|
19
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated."),
|
|
20
|
+
visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),
|
|
21
|
+
candidate_id: z.number().int().describe("ID of the candidate this note belongs to.").nullable().optional()
|
|
22
|
+
}).describe("The note object returned by the API.");
|
|
23
|
+
const recruiteeCreateNote = action("RECRUITEE_CREATE_NOTE", {
|
|
24
|
+
slug: "recruitee-create-note",
|
|
25
|
+
name: "Create Note",
|
|
26
|
+
description: "Creates a new note for a candidate in Recruitee. Notes can be used to record interview feedback, assessments, or any observations about the candidate. Use this when you need to add commentary or documentation to a candidate's profile.",
|
|
27
|
+
input: RecruiteeCreateNoteInput,
|
|
28
|
+
output: z.object({ note: RecruiteeCreateNote_NoteResponseSchema.nullable() }).describe("Response model for a newly created note.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { recruiteeCreateNote };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=create-note.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-note.mjs","names":[],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateNoteInput: z.ZodTypeAny = z.object({\n note: z.object({\n body: z.string().describe(\"The content of the note.\"),\n visibility: z.object({\n level: z.enum([\"public\", \"private\"]).default(\"public\").describe(\"Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.\").optional(),\n}).describe(\"Visibility settings for a note.\").optional(),\n}).describe(\"The note object containing content and optional visibility.\"),\n candidate_id: z.string().describe(\"Unique identifier of the candidate to attach the note to.\"),\n}).describe(\"Request model for creating a new note for a candidate.\");\nconst RecruiteeCreateNote_VisibilitySchema: z.ZodTypeAny = z.object({\n level: z.enum([\"public\", \"private\"]).default(\"public\").describe(\"Visibility level of the note. 'public' is visible to anyone with candidate access; 'private' is restricted.\").nullable().optional(),\n}).describe(\"Visibility settings for a note.\");\nconst RecruiteeCreateNote_NoteResponseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\"),\n body: z.string().describe(\"Plain text content of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin user who created the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML formatted content of the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note content.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the note was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\"),\n visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),\n candidate_id: z.number().int().describe(\"ID of the candidate this note belongs to.\").nullable().optional(),\n}).describe(\"The note object returned by the API.\");\nexport const RecruiteeCreateNoteOutput: z.ZodTypeAny = z.object({\n note: RecruiteeCreateNote_NoteResponseSchema.nullable(),\n}).describe(\"Response model for a newly created note.\");\n\nexport const recruiteeCreateNote = action(\"RECRUITEE_CREATE_NOTE\", {\n slug: \"recruitee-create-note\",\n name: \"Create Note\",\n description: \"Creates a new note for a candidate in Recruitee. Notes can be used to record interview feedback, assessments, or any observations about the candidate. Use this when you need to add commentary or documentation to a candidate's profile.\",\n input: RecruiteeCreateNoteInput,\n output: RecruiteeCreateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,YAAY,EAAE,OAAO,EACrB,OAAO,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxD,CAAC,CAAC,CAAC,SAAS,6DAA6D;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC/F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAqD,EAAE,OAAO,EAClE,OAAO,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrM,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAY,qCAAqC,SAAS;CAC1D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-offer.ts
|
|
4
|
+
const RecruiteeCreateOfferInput = zod.z.object({ offer: zod.z.object({
|
|
5
|
+
kind: zod.z.enum(["job", "talent_pool"]).default("job").describe("Type of the offer: 'job' for standard positions or 'talent_pool' for talent pools.").optional(),
|
|
6
|
+
title: zod.z.string().describe("The title of the job offer."),
|
|
7
|
+
hybrid: zod.z.boolean().describe("Shows location as hybrid on careers site.").optional(),
|
|
8
|
+
remote: zod.z.boolean().default(false).describe("Shows location as remote on careers site.").optional(),
|
|
9
|
+
status: zod.z.enum([
|
|
10
|
+
"draft",
|
|
11
|
+
"internal",
|
|
12
|
+
"published",
|
|
13
|
+
"closed",
|
|
14
|
+
"archived"
|
|
15
|
+
]).describe("Status of the job offer.").optional(),
|
|
16
|
+
on_site: zod.z.boolean().describe("Shows location as on-site on careers site.").optional(),
|
|
17
|
+
options_cv: zod.z.enum([
|
|
18
|
+
"required",
|
|
19
|
+
"optional",
|
|
20
|
+
"off"
|
|
21
|
+
]).describe("CV upload field setting in application form.").optional(),
|
|
22
|
+
description: zod.z.string().describe("Detailed description of the job offer."),
|
|
23
|
+
location_ids: zod.z.array(zod.z.number().int()).describe("List of location IDs for the job offer. Use the Get Locations action to retrieve valid location IDs."),
|
|
24
|
+
requirements: zod.z.string().describe("Job requirements (optional for talent pools).").optional(),
|
|
25
|
+
department_id: zod.z.number().int().describe("Department ID to assign the offer to. Use the Get Departments action to retrieve valid department IDs.").optional(),
|
|
26
|
+
options_phone: zod.z.enum([
|
|
27
|
+
"required",
|
|
28
|
+
"optional",
|
|
29
|
+
"off"
|
|
30
|
+
]).describe("Phone field setting in application form.").optional(),
|
|
31
|
+
options_photo: zod.z.enum([
|
|
32
|
+
"required",
|
|
33
|
+
"optional",
|
|
34
|
+
"off"
|
|
35
|
+
]).describe("Photo field setting in application form.").optional(),
|
|
36
|
+
locations_question: zod.z.string().describe("Question text for the location picker in application form (only if 'locations_question' is in visibility_options).").optional(),
|
|
37
|
+
visibility_options: zod.z.array(zod.z.enum([
|
|
38
|
+
"indeed",
|
|
39
|
+
"social_share",
|
|
40
|
+
"job_location",
|
|
41
|
+
"linkedin",
|
|
42
|
+
"locations_question"
|
|
43
|
+
])).describe("Options for job visibility and features. Use 'locations_question' to enable location picker.").optional(),
|
|
44
|
+
options_cover_letter: zod.z.enum([
|
|
45
|
+
"required",
|
|
46
|
+
"optional",
|
|
47
|
+
"off"
|
|
48
|
+
]).describe("Cover letter field setting in application form.").optional(),
|
|
49
|
+
locations_question_type: zod.z.enum(["single_choice", "multiple_choice"]).describe("Type of location question in application form.").optional(),
|
|
50
|
+
locations_question_required: zod.z.boolean().describe("Whether location selection is mandatory in application form.").optional()
|
|
51
|
+
}).describe("The offer object containing details for the new job offer.") });
|
|
52
|
+
const RecruiteeCreateOfferOutput = zod.z.object({
|
|
53
|
+
id: zod.z.number().int().describe("Unique identifier of the created offer."),
|
|
54
|
+
guid: zod.z.string().describe("Globally unique identifier of the offer.").nullable().optional(),
|
|
55
|
+
kind: zod.z.string().describe("Type of the offer (job or talent_pool)."),
|
|
56
|
+
slug: zod.z.string().describe("URL-friendly slug generated from the offer title.").nullable().optional(),
|
|
57
|
+
title: zod.z.string().describe("The title of the job offer."),
|
|
58
|
+
hybrid: zod.z.boolean().describe("Whether job is hybrid.").nullable().optional(),
|
|
59
|
+
remote: zod.z.boolean().describe("Whether job is remote.").nullable().optional(),
|
|
60
|
+
status: zod.z.string().describe("Status of the job offer.").nullable().optional(),
|
|
61
|
+
on_site: zod.z.boolean().describe("Whether job is on-site.").nullable().optional(),
|
|
62
|
+
options_cv: zod.z.string().describe("CV upload field setting in application form.").nullable().optional(),
|
|
63
|
+
description: zod.z.string().describe("Job offer description.").nullable().optional(),
|
|
64
|
+
requirements: zod.z.string().describe("Job requirements.").nullable().optional(),
|
|
65
|
+
options_phone: zod.z.string().describe("Phone field setting in application form.").nullable().optional(),
|
|
66
|
+
options_photo: zod.z.string().describe("Photo field setting in application form.").nullable().optional(),
|
|
67
|
+
visibility_options: zod.z.array(zod.z.string()).describe("Options for job visibility.").nullable().optional(),
|
|
68
|
+
options_cover_letter: zod.z.string().describe("Cover letter field setting in application form.").nullable().optional()
|
|
69
|
+
});
|
|
70
|
+
const recruiteeCreateOffer = require_action.action("RECRUITEE_CREATE_OFFER", {
|
|
71
|
+
slug: "recruitee-create-offer",
|
|
72
|
+
name: "Create Offer",
|
|
73
|
+
description: "Creates a new job offer or talent pool in Recruitee. Required fields include title, location IDs, and description. Use Get Locations action to retrieve valid location IDs before creating an offer. The offer status can be set to draft, internal, published, closed, or archived.",
|
|
74
|
+
input: RecruiteeCreateOfferInput,
|
|
75
|
+
output: RecruiteeCreateOfferOutput
|
|
76
|
+
});
|
|
77
|
+
//#endregion
|
|
78
|
+
exports.recruiteeCreateOffer = recruiteeCreateOffer;
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=create-offer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-offer.cjs","names":["z","action"],"sources":["../../src/actions/create-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateOfferInput: z.ZodTypeAny = z.object({\n offer: z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).default(\"job\").describe(\"Type of the offer: 'job' for standard positions or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\"),\n hybrid: z.boolean().describe(\"Shows location as hybrid on careers site.\").optional(),\n remote: z.boolean().default(false).describe(\"Shows location as remote on careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Status of the job offer.\").optional(),\n on_site: z.boolean().describe(\"Shows location as on-site on careers site.\").optional(),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV upload field setting in application form.\").optional(),\n description: z.string().describe(\"Detailed description of the job offer.\"),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use the Get Locations action to retrieve valid location IDs.\"),\n requirements: z.string().describe(\"Job requirements (optional for talent pools).\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use the Get Departments action to retrieve valid department IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone field setting in application form.\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo field setting in application form.\").optional(),\n locations_question: z.string().describe(\"Question text for the location picker in application form (only if 'locations_question' is in visibility_options).\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Options for job visibility and features. Use 'locations_question' to enable location picker.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form.\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location question in application form.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether location selection is mandatory in application form.\").optional(),\n}).describe(\"The offer object containing details for the new job offer.\"),\n});\nexport const RecruiteeCreateOfferOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\"),\n guid: z.string().describe(\"Globally unique identifier of the offer.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer (job or talent_pool).\"),\n slug: z.string().describe(\"URL-friendly slug generated from the offer title.\").nullable().optional(),\n title: z.string().describe(\"The title of the job offer.\"),\n hybrid: z.boolean().describe(\"Whether job is hybrid.\").nullable().optional(),\n remote: z.boolean().describe(\"Whether job is remote.\").nullable().optional(),\n status: z.string().describe(\"Status of the job offer.\").nullable().optional(),\n on_site: z.boolean().describe(\"Whether job is on-site.\").nullable().optional(),\n options_cv: z.string().describe(\"CV upload field setting in application form.\").nullable().optional(),\n description: z.string().describe(\"Job offer description.\").nullable().optional(),\n requirements: z.string().describe(\"Job requirements.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone field setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo field setting in application form.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Options for job visibility.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter field setting in application form.\").nullable().optional(),\n});\n\nexport const recruiteeCreateOffer = action(\"RECRUITEE_CREATE_OFFER\", {\n slug: \"recruitee-create-offer\",\n name: \"Create Offer\",\n description: \"Creates a new job offer or talent pool in Recruitee. Required fields include title, location IDs, and description. Use Get Locations action to retrieve valid location IDs before creating an offer. The offer status can be set to draft, internal, published, closed, or archived.\",\n input: RecruiteeCreateOfferInput,\n output: RecruiteeCreateOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,OAAO;CAChB,M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,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-offer.d.ts
|
|
4
|
+
declare const RecruiteeCreateOfferInput: z.ZodTypeAny;
|
|
5
|
+
declare const RecruiteeCreateOfferOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateOffer };
|
|
9
|
+
//# sourceMappingURL=create-offer.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-offer.d.cts","names":[],"sources":["../../src/actions/create-offer.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAqBxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAiBzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-offer.d.ts
|
|
4
|
+
declare const RecruiteeCreateOfferInput: z.ZodTypeAny;
|
|
5
|
+
declare const RecruiteeCreateOfferOutput: z.ZodTypeAny;
|
|
6
|
+
declare const recruiteeCreateOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { recruiteeCreateOffer };
|
|
9
|
+
//# sourceMappingURL=create-offer.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-offer.d.mts","names":[],"sources":["../../src/actions/create-offer.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAqBxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAiBzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const recruiteeCreateOffer = action("RECRUITEE_CREATE_OFFER", {
|
|
4
|
+
slug: "recruitee-create-offer",
|
|
5
|
+
name: "Create Offer",
|
|
6
|
+
description: "Creates a new job offer or talent pool in Recruitee. Required fields include title, location IDs, and description. Use Get Locations action to retrieve valid location IDs before creating an offer. The offer status can be set to draft, internal, published, closed, or archived.",
|
|
7
|
+
input: z.object({ offer: z.object({
|
|
8
|
+
kind: z.enum(["job", "talent_pool"]).default("job").describe("Type of the offer: 'job' for standard positions or 'talent_pool' for talent pools.").optional(),
|
|
9
|
+
title: z.string().describe("The title of the job offer."),
|
|
10
|
+
hybrid: z.boolean().describe("Shows location as hybrid on careers site.").optional(),
|
|
11
|
+
remote: z.boolean().default(false).describe("Shows location as remote on careers site.").optional(),
|
|
12
|
+
status: z.enum([
|
|
13
|
+
"draft",
|
|
14
|
+
"internal",
|
|
15
|
+
"published",
|
|
16
|
+
"closed",
|
|
17
|
+
"archived"
|
|
18
|
+
]).describe("Status of the job offer.").optional(),
|
|
19
|
+
on_site: z.boolean().describe("Shows location as on-site on careers site.").optional(),
|
|
20
|
+
options_cv: z.enum([
|
|
21
|
+
"required",
|
|
22
|
+
"optional",
|
|
23
|
+
"off"
|
|
24
|
+
]).describe("CV upload field setting in application form.").optional(),
|
|
25
|
+
description: z.string().describe("Detailed description of the job offer."),
|
|
26
|
+
location_ids: z.array(z.number().int()).describe("List of location IDs for the job offer. Use the Get Locations action to retrieve valid location IDs."),
|
|
27
|
+
requirements: z.string().describe("Job requirements (optional for talent pools).").optional(),
|
|
28
|
+
department_id: z.number().int().describe("Department ID to assign the offer to. Use the Get Departments action to retrieve valid department IDs.").optional(),
|
|
29
|
+
options_phone: z.enum([
|
|
30
|
+
"required",
|
|
31
|
+
"optional",
|
|
32
|
+
"off"
|
|
33
|
+
]).describe("Phone field setting in application form.").optional(),
|
|
34
|
+
options_photo: z.enum([
|
|
35
|
+
"required",
|
|
36
|
+
"optional",
|
|
37
|
+
"off"
|
|
38
|
+
]).describe("Photo field setting in application form.").optional(),
|
|
39
|
+
locations_question: z.string().describe("Question text for the location picker in application form (only if 'locations_question' is in visibility_options).").optional(),
|
|
40
|
+
visibility_options: z.array(z.enum([
|
|
41
|
+
"indeed",
|
|
42
|
+
"social_share",
|
|
43
|
+
"job_location",
|
|
44
|
+
"linkedin",
|
|
45
|
+
"locations_question"
|
|
46
|
+
])).describe("Options for job visibility and features. Use 'locations_question' to enable location picker.").optional(),
|
|
47
|
+
options_cover_letter: z.enum([
|
|
48
|
+
"required",
|
|
49
|
+
"optional",
|
|
50
|
+
"off"
|
|
51
|
+
]).describe("Cover letter field setting in application form.").optional(),
|
|
52
|
+
locations_question_type: z.enum(["single_choice", "multiple_choice"]).describe("Type of location question in application form.").optional(),
|
|
53
|
+
locations_question_required: z.boolean().describe("Whether location selection is mandatory in application form.").optional()
|
|
54
|
+
}).describe("The offer object containing details for the new job offer.") }),
|
|
55
|
+
output: z.object({
|
|
56
|
+
id: z.number().int().describe("Unique identifier of the created offer."),
|
|
57
|
+
guid: z.string().describe("Globally unique identifier of the offer.").nullable().optional(),
|
|
58
|
+
kind: z.string().describe("Type of the offer (job or talent_pool)."),
|
|
59
|
+
slug: z.string().describe("URL-friendly slug generated from the offer title.").nullable().optional(),
|
|
60
|
+
title: z.string().describe("The title of the job offer."),
|
|
61
|
+
hybrid: z.boolean().describe("Whether job is hybrid.").nullable().optional(),
|
|
62
|
+
remote: z.boolean().describe("Whether job is remote.").nullable().optional(),
|
|
63
|
+
status: z.string().describe("Status of the job offer.").nullable().optional(),
|
|
64
|
+
on_site: z.boolean().describe("Whether job is on-site.").nullable().optional(),
|
|
65
|
+
options_cv: z.string().describe("CV upload field setting in application form.").nullable().optional(),
|
|
66
|
+
description: z.string().describe("Job offer description.").nullable().optional(),
|
|
67
|
+
requirements: z.string().describe("Job requirements.").nullable().optional(),
|
|
68
|
+
options_phone: z.string().describe("Phone field setting in application form.").nullable().optional(),
|
|
69
|
+
options_photo: z.string().describe("Photo field setting in application form.").nullable().optional(),
|
|
70
|
+
visibility_options: z.array(z.string()).describe("Options for job visibility.").nullable().optional(),
|
|
71
|
+
options_cover_letter: z.string().describe("Cover letter field setting in application form.").nullable().optional()
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { recruiteeCreateOffer };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=create-offer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-offer.mjs","names":[],"sources":["../../src/actions/create-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeCreateOfferInput: z.ZodTypeAny = z.object({\n offer: z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).default(\"job\").describe(\"Type of the offer: 'job' for standard positions or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\"),\n hybrid: z.boolean().describe(\"Shows location as hybrid on careers site.\").optional(),\n remote: z.boolean().default(false).describe(\"Shows location as remote on careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Status of the job offer.\").optional(),\n on_site: z.boolean().describe(\"Shows location as on-site on careers site.\").optional(),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV upload field setting in application form.\").optional(),\n description: z.string().describe(\"Detailed description of the job offer.\"),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use the Get Locations action to retrieve valid location IDs.\"),\n requirements: z.string().describe(\"Job requirements (optional for talent pools).\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use the Get Departments action to retrieve valid department IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone field setting in application form.\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo field setting in application form.\").optional(),\n locations_question: z.string().describe(\"Question text for the location picker in application form (only if 'locations_question' is in visibility_options).\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Options for job visibility and features. Use 'locations_question' to enable location picker.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form.\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location question in application form.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether location selection is mandatory in application form.\").optional(),\n}).describe(\"The offer object containing details for the new job offer.\"),\n});\nexport const RecruiteeCreateOfferOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\"),\n guid: z.string().describe(\"Globally unique identifier of the offer.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer (job or talent_pool).\"),\n slug: z.string().describe(\"URL-friendly slug generated from the offer title.\").nullable().optional(),\n title: z.string().describe(\"The title of the job offer.\"),\n hybrid: z.boolean().describe(\"Whether job is hybrid.\").nullable().optional(),\n remote: z.boolean().describe(\"Whether job is remote.\").nullable().optional(),\n status: z.string().describe(\"Status of the job offer.\").nullable().optional(),\n on_site: z.boolean().describe(\"Whether job is on-site.\").nullable().optional(),\n options_cv: z.string().describe(\"CV upload field setting in application form.\").nullable().optional(),\n description: z.string().describe(\"Job offer description.\").nullable().optional(),\n requirements: z.string().describe(\"Job requirements.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone field setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo field setting in application form.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Options for job visibility.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter field setting in application form.\").nullable().optional(),\n});\n\nexport const recruiteeCreateOffer = action(\"RECRUITEE_CREATE_OFFER\", {\n slug: \"recruitee-create-offer\",\n name: \"Create Offer\",\n description: \"Creates a new job offer or talent pool in Recruitee. Required fields include title, location IDs, and description. Use Get Locations action to retrieve valid location IDs before creating an offer. The offer status can be set to draft, internal, published, closed, or archived.\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AS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-candidate.ts
|
|
4
|
+
const RecruiteeDeleteCandidateInput = zod.z.object({ candidate_id: zod.z.number().int().describe("Unique identifier of the candidate to delete.") }).describe("Request model for deleting a candidate profile.");
|
|
5
|
+
const RecruiteeDeleteCandidateOutput = zod.z.object({}).describe("Response model for delete candidate action.\nEmpty response returned on successful deletion.");
|
|
6
|
+
const recruiteeDeleteCandidate = require_action.action("RECRUITEE_DELETE_CANDIDATE", {
|
|
7
|
+
slug: "recruitee-delete-candidate",
|
|
8
|
+
name: "Delete Candidate",
|
|
9
|
+
description: "Tool to delete a candidate profile. Use when you need to permanently remove a candidate from your Recruitee account. Returns no content on success.",
|
|
10
|
+
input: RecruiteeDeleteCandidateInput,
|
|
11
|
+
output: RecruiteeDeleteCandidateOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.recruiteeDeleteCandidate = recruiteeDeleteCandidate;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-candidate.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-candidate.cjs","names":["z","action"],"sources":["../../src/actions/delete-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteCandidateInput: z.ZodTypeAny = z.object({\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate to delete.\"),\n}).describe(\"Request model for deleting a candidate profile.\");\nexport const RecruiteeDeleteCandidateOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for delete candidate action.\\nEmpty response returned on successful deletion.\");\n\nexport const recruiteeDeleteCandidate = action(\"RECRUITEE_DELETE_CANDIDATE\", {\n slug: \"recruitee-delete-candidate\",\n name: \"Delete Candidate\",\n description: \"Tool to delete a candidate profile. Use when you need to permanently remove a candidate from your Recruitee account. Returns no content on success.\",\n input: RecruiteeDeleteCandidateInput,\n output: RecruiteeDeleteCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAEhL,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|