@keystrokehq/recruitee 0.1.2 → 0.1.3
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/dist/actions/create-candidate.cjs +2 -2
- package/dist/actions/create-candidate.cjs.map +1 -1
- package/dist/actions/create-candidate.d.cts +2 -2
- package/dist/actions/create-candidate.d.mts +2 -2
- package/dist/actions/create-candidate.mjs +2 -2
- package/dist/actions/create-candidate.mjs.map +1 -1
- package/dist/actions/create-note.cjs +3 -3
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -3
- package/dist/actions/create-note.d.mts +3 -3
- package/dist/actions/create-note.mjs +3 -3
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-offer.cjs +1 -1
- package/dist/actions/create-offer.cjs.map +1 -1
- package/dist/actions/create-offer.d.cts +1 -1
- package/dist/actions/create-offer.d.mts +1 -1
- package/dist/actions/create-offer.mjs +1 -1
- package/dist/actions/create-offer.mjs.map +1 -1
- package/dist/actions/delete-candidate.cjs +1 -1
- package/dist/actions/delete-candidate.cjs.map +1 -1
- package/dist/actions/delete-candidate.d.cts +1 -1
- package/dist/actions/delete-candidate.d.cts.map +1 -1
- package/dist/actions/delete-candidate.d.mts +1 -1
- package/dist/actions/delete-candidate.d.mts.map +1 -1
- package/dist/actions/delete-candidate.mjs +1 -1
- package/dist/actions/delete-candidate.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +1 -1
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +1 -1
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/get-candidate.cjs +2 -2
- package/dist/actions/get-candidate.cjs.map +1 -1
- package/dist/actions/get-candidate.d.cts +2 -2
- package/dist/actions/get-candidate.d.mts +2 -2
- package/dist/actions/get-candidate.mjs +2 -2
- package/dist/actions/get-candidate.mjs.map +1 -1
- package/dist/actions/get-candidates.cjs +2 -2
- package/dist/actions/get-candidates.cjs.map +1 -1
- package/dist/actions/get-candidates.d.cts +2 -2
- package/dist/actions/get-candidates.d.mts +2 -2
- package/dist/actions/get-candidates.mjs +2 -2
- package/dist/actions/get-candidates.mjs.map +1 -1
- package/dist/actions/get-company-id.cjs +2 -2
- package/dist/actions/get-company-id.cjs.map +1 -1
- package/dist/actions/get-company-id.d.cts +2 -2
- package/dist/actions/get-company-id.d.mts +2 -2
- package/dist/actions/get-company-id.mjs +2 -2
- package/dist/actions/get-company-id.mjs.map +1 -1
- package/dist/actions/get-company-offer-public.cjs +2 -2
- package/dist/actions/get-company-offer-public.cjs.map +1 -1
- package/dist/actions/get-company-offer-public.d.cts +2 -2
- package/dist/actions/get-company-offer-public.d.mts +2 -2
- package/dist/actions/get-company-offer-public.mjs +2 -2
- package/dist/actions/get-company-offer-public.mjs.map +1 -1
- package/dist/actions/get-departments.cjs +2 -2
- package/dist/actions/get-departments.cjs.map +1 -1
- package/dist/actions/get-departments.d.cts +2 -2
- package/dist/actions/get-departments.d.mts +2 -2
- package/dist/actions/get-departments.mjs +2 -2
- package/dist/actions/get-departments.mjs.map +1 -1
- package/dist/actions/get-locations.cjs +3 -3
- package/dist/actions/get-locations.cjs.map +1 -1
- package/dist/actions/get-locations.d.cts +3 -3
- package/dist/actions/get-locations.d.mts +3 -3
- package/dist/actions/get-locations.mjs +3 -3
- package/dist/actions/get-locations.mjs.map +1 -1
- package/dist/actions/get-notes.cjs +5 -5
- package/dist/actions/get-notes.cjs.map +1 -1
- package/dist/actions/get-notes.d.cts +5 -5
- package/dist/actions/get-notes.d.mts +5 -5
- package/dist/actions/get-notes.mjs +5 -5
- package/dist/actions/get-notes.mjs.map +1 -1
- package/dist/actions/get-offers.cjs +2 -2
- package/dist/actions/get-offers.cjs.map +1 -1
- package/dist/actions/get-offers.d.cts +2 -2
- package/dist/actions/get-offers.d.mts +2 -2
- package/dist/actions/get-offers.mjs +2 -2
- package/dist/actions/get-offers.mjs.map +1 -1
- package/dist/actions/get-pipeline-stages.cjs +2 -2
- package/dist/actions/get-pipeline-stages.cjs.map +1 -1
- package/dist/actions/get-pipeline-stages.d.cts +2 -2
- package/dist/actions/get-pipeline-stages.d.mts +2 -2
- package/dist/actions/get-pipeline-stages.mjs +2 -2
- package/dist/actions/get-pipeline-stages.mjs.map +1 -1
- package/dist/actions/get-tags.cjs +2 -2
- package/dist/actions/get-tags.cjs.map +1 -1
- package/dist/actions/get-tags.d.cts +2 -2
- package/dist/actions/get-tags.d.mts +2 -2
- package/dist/actions/get-tags.mjs +2 -2
- package/dist/actions/get-tags.mjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.cjs +1 -1
- package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.cts +1 -1
- package/dist/actions/list-eeo-job-categories.d.mts +1 -1
- package/dist/actions/list-eeo-job-categories.mjs +1 -1
- package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +2 -2
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +2 -2
- package/dist/actions/list-invoices.d.mts +2 -2
- package/dist/actions/list-invoices.mjs +2 -2
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-localization-settings.cjs +1 -1
- package/dist/actions/list-localization-settings.cjs.map +1 -1
- package/dist/actions/list-localization-settings.d.cts +1 -1
- package/dist/actions/list-localization-settings.d.mts +1 -1
- package/dist/actions/list-localization-settings.mjs +1 -1
- package/dist/actions/list-localization-settings.mjs.map +1 -1
- package/dist/actions/list-share-countries.cjs +3 -3
- package/dist/actions/list-share-countries.cjs.map +1 -1
- package/dist/actions/list-share-countries.d.cts +3 -3
- package/dist/actions/list-share-countries.d.mts +3 -3
- package/dist/actions/list-share-countries.mjs +3 -3
- package/dist/actions/list-share-countries.mjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.cjs +2 -2
- package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.cts +2 -2
- package/dist/actions/list-share-eeo-answers.d.mts +2 -2
- package/dist/actions/list-share-eeo-answers.mjs +2 -2
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
- package/dist/actions/update-candidate.cjs +2 -2
- package/dist/actions/update-candidate.cjs.map +1 -1
- package/dist/actions/update-candidate.d.cts +2 -2
- package/dist/actions/update-candidate.d.mts +2 -2
- package/dist/actions/update-candidate.mjs +2 -2
- package/dist/actions/update-candidate.mjs.map +1 -1
- package/dist/actions/update-note.cjs +2 -2
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +2 -2
- package/dist/actions/update-note.d.mts +2 -2
- package/dist/actions/update-note.mjs +2 -2
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-offer.cjs +4 -4
- package/dist/actions/update-offer.cjs.map +1 -1
- package/dist/actions/update-offer.d.cts +4 -4
- package/dist/actions/update-offer.d.mts +4 -4
- package/dist/actions/update-offer.mjs +4 -4
- package/dist/actions/update-offer.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -28,8 +28,8 @@ const RecruiteeCreateCandidate_CandidateSchema = zod.z.object({
|
|
|
28
28
|
cover_letter: zod.z.string().describe("Cover letter text.").nullable().optional(),
|
|
29
29
|
social_links: zod.z.array(zod.z.string()).describe("URLs of the candidate's social profiles.").nullable().optional(),
|
|
30
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.");
|
|
31
|
+
}).passthrough();
|
|
32
|
+
const RecruiteeCreateCandidateOutput = zod.z.object({ candidate: RecruiteeCreateCandidate_CandidateSchema.nullable() }).passthrough().describe("Response schema for the created candidate.");
|
|
33
33
|
const recruiteeCreateCandidate = require_action.action("RECRUITEE_CREATE_CANDIDATE", {
|
|
34
34
|
slug: "recruitee-create-candidate",
|
|
35
35
|
name: "Create Candidate",
|
|
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\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.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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OA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,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC;
|
|
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\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}).passthrough();\nexport const RecruiteeCreateCandidateOutput = z.object({\n candidate: RecruiteeCreateCandidate_CandidateSchema.nullable(),\n}).passthrough().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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,C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odString>>>;
|
|
31
31
|
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const recruiteeCreateCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
tags?: string[] | undefined;
|
|
@@ -29,8 +29,8 @@ declare const RecruiteeCreateCandidateOutput: z.ZodObject<{
|
|
|
29
29
|
cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
social_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
31
31
|
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const recruiteeCreateCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
tags?: string[] | undefined;
|
|
@@ -28,13 +28,13 @@ const RecruiteeCreateCandidate_CandidateSchema = z.object({
|
|
|
28
28
|
cover_letter: z.string().describe("Cover letter text.").nullable().optional(),
|
|
29
29
|
social_links: z.array(z.string()).describe("URLs of the candidate's social profiles.").nullable().optional(),
|
|
30
30
|
custom_fields: z.unknown().describe("Custom fields defined by the company for the candidate.").nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const recruiteeCreateCandidate = action("RECRUITEE_CREATE_CANDIDATE", {
|
|
33
33
|
slug: "recruitee-create-candidate",
|
|
34
34
|
name: "Create Candidate",
|
|
35
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
36
|
input: RecruiteeCreateCandidateInput,
|
|
37
|
-
output: z.object({ candidate: RecruiteeCreateCandidate_CandidateSchema.nullable() }).describe("Response schema for the created candidate.")
|
|
37
|
+
output: z.object({ candidate: RecruiteeCreateCandidate_CandidateSchema.nullable() }).passthrough().describe("Response schema for the created candidate.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { recruiteeCreateCandidate };
|
|
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\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.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,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC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AS,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;
|
|
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\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}).passthrough();\nexport const RecruiteeCreateCandidateOutput = z.object({\n candidate: RecruiteeCreateCandidate_CandidateSchema.nullable(),\n}).passthrough().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,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CA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CAC3F,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,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,WAAW,yCAAyC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const RecruiteeCreateNoteInput = zod.z.object({
|
|
|
8
8
|
}).describe("The note object containing content and optional visibility."),
|
|
9
9
|
candidate_id: zod.z.string().describe("Unique identifier of the candidate to attach the note to.")
|
|
10
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.");
|
|
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() }).passthrough().describe("Visibility settings for a note.");
|
|
12
12
|
const RecruiteeCreateNote_NoteResponseSchema = zod.z.object({
|
|
13
13
|
id: zod.z.number().int().describe("Unique identifier of the created note.").nullable(),
|
|
14
14
|
body: zod.z.string().describe("Plain text content of the note.").nullable().optional(),
|
|
@@ -19,8 +19,8 @@ const RecruiteeCreateNote_NoteResponseSchema = zod.z.object({
|
|
|
19
19
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
20
20
|
visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),
|
|
21
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.");
|
|
22
|
+
}).passthrough().describe("The note object returned by the API.");
|
|
23
|
+
const RecruiteeCreateNoteOutput = zod.z.object({ note: RecruiteeCreateNote_NoteResponseSchema.nullable() }).passthrough().describe("Response model for a newly created note.");
|
|
24
24
|
const recruiteeCreateNote = require_action.action("RECRUITEE_CREATE_NOTE", {
|
|
25
25
|
slug: "recruitee-create-note",
|
|
26
26
|
name: "Create Note",
|
|
@@ -1 +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.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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\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.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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,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;
|
|
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.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.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}).passthrough().describe(\"Visibility settings for a note.\");\nconst RecruiteeCreateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\n visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),\n candidate_id: z.number().int().describe(\"ID of the candidate this note belongs to.\").nullable().optional(),\n}).passthrough().describe(\"The note object returned by the API.\");\nexport const RecruiteeCreateNoteOutput = z.object({\n note: RecruiteeCreateNote_NoteResponseSchema.nullable(),\n}).passthrough().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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,MA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odOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const recruiteeCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
note: {
|
|
36
36
|
body: string;
|
|
@@ -27,10 +27,10 @@ declare const RecruiteeCreateNoteOutput: z.ZodObject<{
|
|
|
27
27
|
public: "public";
|
|
28
28
|
private: "private";
|
|
29
29
|
}>>>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const recruiteeCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
note: {
|
|
36
36
|
body: string;
|
|
@@ -8,7 +8,7 @@ const RecruiteeCreateNoteInput = z.object({
|
|
|
8
8
|
}).describe("The note object containing content and optional visibility."),
|
|
9
9
|
candidate_id: z.string().describe("Unique identifier of the candidate to attach the note to.")
|
|
10
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.");
|
|
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() }).passthrough().describe("Visibility settings for a note.");
|
|
12
12
|
const RecruiteeCreateNote_NoteResponseSchema = z.object({
|
|
13
13
|
id: z.number().int().describe("Unique identifier of the created note.").nullable(),
|
|
14
14
|
body: z.string().describe("Plain text content of the note.").nullable().optional(),
|
|
@@ -19,13 +19,13 @@ const RecruiteeCreateNote_NoteResponseSchema = z.object({
|
|
|
19
19
|
updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
20
20
|
visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),
|
|
21
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.");
|
|
22
|
+
}).passthrough().describe("The note object returned by the API.");
|
|
23
23
|
const recruiteeCreateNote = action("RECRUITEE_CREATE_NOTE", {
|
|
24
24
|
slug: "recruitee-create-note",
|
|
25
25
|
name: "Create Note",
|
|
26
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
27
|
input: RecruiteeCreateNoteInput,
|
|
28
|
-
output: z.object({ note: RecruiteeCreateNote_NoteResponseSchema.nullable() }).describe("Response model for a newly created note.")
|
|
28
|
+
output: z.object({ note: RecruiteeCreateNote_NoteResponseSchema.nullable() }).passthrough().describe("Response model for a newly created note.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { recruiteeCreateNote };
|
|
@@ -1 +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.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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\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.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,2BAA2B,EAAE,OAAO;CAC/C,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,uCAAuC,EAAE,OAAO,EACpD,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;
|
|
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.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.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}).passthrough().describe(\"Visibility settings for a note.\");\nconst RecruiteeCreateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note.\").nullable(),\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.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\n visibility: RecruiteeCreateNote_VisibilitySchema.nullable(),\n candidate_id: z.number().int().describe(\"ID of the candidate this note belongs to.\").nullable().optional(),\n}).passthrough().describe(\"The note object returned by the API.\");\nexport const RecruiteeCreateNoteOutput = z.object({\n note: RecruiteeCreateNote_NoteResponseSchema.nullable(),\n}).passthrough().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,2BAA2B,EAAE,OAAO;CAC/C,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,uCAAuC,EAAE,OAAO,EACpD,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,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,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,YAAY,qCAAqC,SAAS;CAC1D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -66,7 +66,7 @@ const RecruiteeCreateOfferOutput = zod.z.object({
|
|
|
66
66
|
options_photo: zod.z.string().describe("Photo field setting in application form.").nullable().optional(),
|
|
67
67
|
visibility_options: zod.z.array(zod.z.string()).describe("Options for job visibility.").nullable().optional(),
|
|
68
68
|
options_cover_letter: zod.z.string().describe("Cover letter field setting in application form.").nullable().optional()
|
|
69
|
-
});
|
|
69
|
+
}).passthrough();
|
|
70
70
|
const recruiteeCreateOffer = require_action.action("RECRUITEE_CREATE_OFFER", {
|
|
71
71
|
slug: "recruitee-create-offer",
|
|
72
72
|
name: "Create Offer",
|
|
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\").nullable(),\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).\").nullable(),\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.\").nullable(),\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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO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B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,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;
|
|
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\").nullable(),\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).\").nullable(),\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.\").nullable(),\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}).passthrough();\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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,OAAO;CAChB,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACxD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAa;E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E,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,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -74,7 +74,7 @@ declare const RecruiteeCreateOfferOutput: z.ZodObject<{
|
|
|
74
74
|
options_photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
visibility_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
76
76
|
options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const recruiteeCreateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
offer: {
|
|
80
80
|
title: string;
|
|
@@ -74,7 +74,7 @@ declare const RecruiteeCreateOfferOutput: z.ZodObject<{
|
|
|
74
74
|
options_photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
visibility_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
76
76
|
options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const recruiteeCreateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
offer: {
|
|
80
80
|
title: string;
|
|
@@ -69,7 +69,7 @@ const recruiteeCreateOffer = action("RECRUITEE_CREATE_OFFER", {
|
|
|
69
69
|
options_photo: z.string().describe("Photo field setting in application form.").nullable().optional(),
|
|
70
70
|
visibility_options: z.array(z.string()).describe("Options for job visibility.").nullable().optional(),
|
|
71
71
|
options_cover_letter: z.string().describe("Cover letter field setting in application form.").nullable().optional()
|
|
72
|
-
})
|
|
72
|
+
}).passthrough()
|
|
73
73
|
});
|
|
74
74
|
//#endregion
|
|
75
75
|
export { recruiteeCreateOffer };
|
|
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\").nullable(),\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).\").nullable(),\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.\").nullable(),\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":";;AA6CA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7CuC,EAAE,OAAO,EAChD,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAY;GAAa;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,KAAK;GAAC;GAAY;GAAY;EAAK,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACzE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACvJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC5F,eAAe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EACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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,
|
|
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the created offer.\").nullable(),\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).\").nullable(),\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.\").nullable(),\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}).passthrough();\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":";;AA6CA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7CuC,EAAE,OAAO,EAChD,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SA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O,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-candidate.ts
|
|
4
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.
|
|
5
|
+
const RecruiteeDeleteCandidateOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for delete candidate action.\nEmpty response returned on successful deletion.");
|
|
6
6
|
const recruiteeDeleteCandidate = require_action.action("RECRUITEE_DELETE_CANDIDATE", {
|
|
7
7
|
slug: "recruitee-delete-candidate",
|
|
8
8
|
name: "Delete Candidate",
|
|
@@ -1 +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.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.
|
|
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.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.record(z.string(), z.unknown()).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,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,iCAAiCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAEvL,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RecruiteeDeleteCandidateInput: z.ZodObject<{
|
|
5
5
|
candidate_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RecruiteeDeleteCandidateOutput: z.
|
|
7
|
+
declare const RecruiteeDeleteCandidateOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const recruiteeDeleteCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
candidate_id: number;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-candidate.d.cts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-candidate.d.cts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RecruiteeDeleteCandidateInput: z.ZodObject<{
|
|
5
5
|
candidate_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RecruiteeDeleteCandidateOutput: z.
|
|
7
|
+
declare const RecruiteeDeleteCandidateOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const recruiteeDeleteCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
candidate_id: number;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-candidate.d.mts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-candidate.d.mts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const recruiteeDeleteCandidate = action("RECRUITEE_DELETE_CANDIDATE", {
|
|
|
5
5
|
name: "Delete Candidate",
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ candidate_id: z.number().int().describe("Unique identifier of the candidate to delete.") }).describe("Request model for deleting a candidate profile."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Response model for delete candidate action.\nEmpty response returned on successful deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { recruiteeDeleteCandidate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-candidate.mjs","names":[],"sources":["../../src/actions/delete-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteCandidateInput = 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.
|
|
1
|
+
{"version":3,"file":"delete-candidate.mjs","names":[],"sources":["../../src/actions/delete-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteCandidateInput = 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.record(z.string(), z.unknown()).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":";;AASA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,EACpD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,iDAOH;CACP,QAP4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAO/E;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-tag.ts
|
|
4
4
|
const RecruiteeDeleteTagInput = zod.z.object({ tag_id: zod.z.number().int().describe("The unique numeric identifier of the tag to delete. Must be a positive integer.") }).describe("Request parameters for deleting a tag in Recruitee.");
|
|
5
|
-
const RecruiteeDeleteTagOutput = zod.z.
|
|
5
|
+
const RecruiteeDeleteTagOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response returned on successful deletion.");
|
|
6
6
|
const recruiteeDeleteTag = require_action.action("RECRUITEE_DELETE_TAG", {
|
|
7
7
|
slug: "recruitee-delete-tag",
|
|
8
8
|
name: "Delete Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteTagInput = z.object({\n tag_id: z.number().int().describe(\"The unique numeric identifier of the tag to delete. Must be a positive integer.\"),\n}).describe(\"Request parameters for deleting a tag in Recruitee.\");\nexport const RecruiteeDeleteTagOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteTagInput = z.object({\n tag_id: z.number().int().describe(\"The unique numeric identifier of the tag to delete. Must be a positive integer.\"),\n}).describe(\"Request parameters for deleting a tag in Recruitee.\");\nexport const RecruiteeDeleteTagOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const recruiteeDeleteTag = action(\"RECRUITEE_DELETE_TAG\", {\n slug: \"recruitee-delete-tag\",\n name: \"Delete Tag\",\n description: \"Permanently deletes a tag from Recruitee by its ID. This action requires appropriate API permissions to delete tags. Use this when you need to remove unused or obsolete tags. Note: Deleting a tag removes it from all associated candidates and offers.\",\n input: RecruiteeDeleteTagInput,\n output: RecruiteeDeleteTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,EACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEpI,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RecruiteeDeleteTagInput: z.ZodObject<{
|
|
5
5
|
tag_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RecruiteeDeleteTagOutput: z.
|
|
7
|
+
declare const RecruiteeDeleteTagOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const recruiteeDeleteTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
tag_id: number;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.d.cts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-tag.d.cts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RecruiteeDeleteTagInput: z.ZodObject<{
|
|
5
5
|
tag_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RecruiteeDeleteTagOutput: z.
|
|
7
|
+
declare const RecruiteeDeleteTagOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const recruiteeDeleteTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
tag_id: number;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.d.mts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-tag.d.mts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const recruiteeDeleteTag = action("RECRUITEE_DELETE_TAG", {
|
|
|
5
5
|
name: "Delete Tag",
|
|
6
6
|
description: "Permanently deletes a tag from Recruitee by its ID. This action requires appropriate API permissions to delete tags. Use this when you need to remove unused or obsolete tags. Note: Deleting a tag removes it from all associated candidates and offers.",
|
|
7
7
|
input: z.object({ tag_id: z.number().int().describe("The unique numeric identifier of the tag to delete. Must be a positive integer.") }).describe("Request parameters for deleting a tag in Recruitee."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response returned on successful deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { recruiteeDeleteTag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.mjs","names":[],"sources":["../../src/actions/delete-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteTagInput = z.object({\n tag_id: z.number().int().describe(\"The unique numeric identifier of the tag to delete. Must be a positive integer.\"),\n}).describe(\"Request parameters for deleting a tag in Recruitee.\");\nexport const RecruiteeDeleteTagOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-tag.mjs","names":[],"sources":["../../src/actions/delete-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteTagInput = z.object({\n tag_id: z.number().int().describe(\"The unique numeric identifier of the tag to delete. Must be a positive integer.\"),\n}).describe(\"Request parameters for deleting a tag in Recruitee.\");\nexport const RecruiteeDeleteTagOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const recruiteeDeleteTag = action(\"RECRUITEE_DELETE_TAG\", {\n slug: \"recruitee-delete-tag\",\n name: \"Delete Tag\",\n description: \"Permanently deletes a tag from Recruitee by its ID. This action requires appropriate API permissions to delete tags. Use this when you need to remove unused or obsolete tags. Note: Deleting a tag removes it from all associated candidates and offers.\",\n input: RecruiteeDeleteTagInput,\n output: RecruiteeDeleteTagOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,EACrH,CAAC,CAAC,CAAC,SAAS,qDAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAOzE;AACV,CAAC"}
|
|
@@ -24,8 +24,8 @@ const RecruiteeGetCandidate_CandidateDetailSchema = zod.z.object({
|
|
|
24
24
|
custom_fields: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Custom fields for the candidate as defined by the company.").nullable().optional(),
|
|
25
25
|
cv_original_url: zod.z.string().describe("URL to download the original resume/CV file uploaded by the candidate.").nullable().optional(),
|
|
26
26
|
photo_thumb_url: zod.z.string().describe("URL of the candidate's profile photo thumbnail.").nullable().optional()
|
|
27
|
-
}).describe("Detailed information about a candidate.");
|
|
28
|
-
const RecruiteeGetCandidateOutput = zod.z.object({ candidate: RecruiteeGetCandidate_CandidateDetailSchema.nullable() }).describe("Response model containing the retrieved candidate details.");
|
|
27
|
+
}).passthrough().describe("Detailed information about a candidate.");
|
|
28
|
+
const RecruiteeGetCandidateOutput = zod.z.object({ candidate: RecruiteeGetCandidate_CandidateDetailSchema.nullable() }).passthrough().describe("Response model containing the retrieved candidate details.");
|
|
29
29
|
const recruiteeGetCandidate = require_action.action("RECRUITEE_GET_CANDIDATE", {
|
|
30
30
|
slug: "recruitee-get-candidate",
|
|
31
31
|
name: "Get Candidate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-candidate.cjs","names":["z","action"],"sources":["../../src/actions/get-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCandidateInput = z.object({\n company_id: z.union([z.number().int(), z.string()]).optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate to retrieve.\"),\n}).describe(\"Request model for retrieving a candidate by ID.\");\nconst RecruiteeGetCandidate_CandidateDetailSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n cv_url: z.string().describe(\"URL to view the candidate's resume/CV (PDF format).\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of candidate email addresses.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"List of candidate phone numbers.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n referrer: z.string().describe(\"Specific referrer or referral source for the candidate.\").nullable().optional(),\n photo_url: z.string().describe(\"URL of the candidate's profile photo.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the candidate was created.\").nullable(),\n placements: z.array(z.record(z.string(), z.unknown())).describe(\"List of placement objects showing the candidate's applications to different job offers and their current pipeline stages.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\n adminapp_url: z.string().describe(\"Direct URL to view the candidate's profile in the Recruitee admin application.\").nullable().optional(),\n cover_letter: z.string().describe(\"Cover letter text of the candidate.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"Social profile URLs of the candidate.\").nullable().optional(),\n custom_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Custom fields for the candidate as defined by the company.\").nullable().optional(),\n cv_original_url: z.string().describe(\"URL to download the original resume/CV file uploaded by the candidate.\").nullable().optional(),\n photo_thumb_url: z.string().describe(\"URL of the candidate's profile photo thumbnail.\").nullable().optional(),\n}).describe(\"Detailed information about a candidate.\");\nexport const RecruiteeGetCandidateOutput = z.object({\n candidate: RecruiteeGetCandidate_CandidateDetailSchema.nullable(),\n}).describe(\"Response model containing the retrieved candidate details.\");\n\nexport const recruiteeGetCandidate = action(\"RECRUITEE_GET_CANDIDATE\", {\n slug: \"recruitee-get-candidate\",\n name: \"Get Candidate\",\n description: \"Tool to retrieve detailed information about a specific candidate. Use when you need the candidate's full profile before proceeding.\",\n input: RecruiteeGetCandidateInput,\n output: RecruiteeGetCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-candidate.cjs","names":["z","action"],"sources":["../../src/actions/get-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCandidateInput = z.object({\n company_id: z.union([z.number().int(), z.string()]).optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate to retrieve.\"),\n}).describe(\"Request model for retrieving a candidate by ID.\");\nconst RecruiteeGetCandidate_CandidateDetailSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n cv_url: z.string().describe(\"URL to view the candidate's resume/CV (PDF format).\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of candidate email addresses.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"List of candidate phone numbers.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n referrer: z.string().describe(\"Specific referrer or referral source for the candidate.\").nullable().optional(),\n photo_url: z.string().describe(\"URL of the candidate's profile photo.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the candidate was created.\").nullable(),\n placements: z.array(z.record(z.string(), z.unknown())).describe(\"List of placement objects showing the candidate's applications to different job offers and their current pipeline stages.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the candidate was last updated.\").nullable(),\n adminapp_url: z.string().describe(\"Direct URL to view the candidate's profile in the Recruitee admin application.\").nullable().optional(),\n cover_letter: z.string().describe(\"Cover letter text of the candidate.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"Social profile URLs of the candidate.\").nullable().optional(),\n custom_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Custom fields for the candidate as defined by the company.\").nullable().optional(),\n cv_original_url: z.string().describe(\"URL to download the original resume/CV file uploaded by the candidate.\").nullable().optional(),\n photo_thumb_url: z.string().describe(\"URL of the candidate's profile photo thumbnail.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a candidate.\");\nexport const RecruiteeGetCandidateOutput = z.object({\n candidate: RecruiteeGetCandidate_CandidateDetailSchema.nullable(),\n}).passthrough().describe(\"Response model containing the retrieved candidate details.\");\n\nexport const recruiteeGetCandidate = action(\"RECRUITEE_GET_CANDIDATE\", {\n slug: \"recruitee-get-candidate\",\n name: \"Get Candidate\",\n description: \"Tool to retrieve detailed information about a specific candidate. Use when you need the candidate's full profile before proceeding.\",\n input: RecruiteeGetCandidateInput,\n output: RecruiteeGetCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CA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AAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAW,4CAA4C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,8 +25,8 @@ declare const RecruiteeGetCandidateOutput: z.ZodObject<{
|
|
|
25
25
|
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
26
26
|
cv_original_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
photo_thumb_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const recruiteeGetCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
candidate_id: number;
|
|
32
32
|
company_id?: string | number | undefined;
|