@keystrokehq/recruitee 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-candidate.cjs +4 -4
- package/dist/actions/create-candidate.cjs.map +1 -1
- package/dist/actions/create-candidate.d.cts +43 -3
- package/dist/actions/create-candidate.d.cts.map +1 -1
- package/dist/actions/create-candidate.d.mts +43 -3
- package/dist/actions/create-candidate.d.mts.map +1 -1
- package/dist/actions/create-candidate.mjs +4 -4
- 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 +39 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +39 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +3 -3
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-offer.cjs +3 -3
- package/dist/actions/create-offer.cjs.map +1 -1
- package/dist/actions/create-offer.d.cts +96 -3
- package/dist/actions/create-offer.d.cts.map +1 -1
- package/dist/actions/create-offer.d.mts +96 -3
- package/dist/actions/create-offer.d.mts.map +1 -1
- package/dist/actions/create-offer.mjs +3 -3
- package/dist/actions/create-offer.mjs.map +1 -1
- package/dist/actions/delete-candidate.cjs.map +1 -1
- package/dist/actions/delete-candidate.d.cts +7 -3
- package/dist/actions/delete-candidate.d.cts.map +1 -1
- package/dist/actions/delete-candidate.d.mts +7 -3
- package/dist/actions/delete-candidate.d.mts.map +1 -1
- package/dist/actions/delete-candidate.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +7 -3
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +7 -3
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/get-candidate.cjs +4 -4
- package/dist/actions/get-candidate.cjs.map +1 -1
- package/dist/actions/get-candidate.d.cts +30 -3
- package/dist/actions/get-candidate.d.cts.map +1 -1
- package/dist/actions/get-candidate.d.mts +30 -3
- package/dist/actions/get-candidate.d.mts.map +1 -1
- package/dist/actions/get-candidate.mjs +4 -4
- package/dist/actions/get-candidate.mjs.map +1 -1
- package/dist/actions/get-candidates.cjs +3 -3
- package/dist/actions/get-candidates.cjs.map +1 -1
- package/dist/actions/get-candidates.d.cts +48 -3
- package/dist/actions/get-candidates.d.cts.map +1 -1
- package/dist/actions/get-candidates.d.mts +48 -3
- package/dist/actions/get-candidates.d.mts.map +1 -1
- package/dist/actions/get-candidates.mjs +3 -3
- package/dist/actions/get-candidates.mjs.map +1 -1
- package/dist/actions/get-company-id.cjs +4 -4
- package/dist/actions/get-company-id.cjs.map +1 -1
- package/dist/actions/get-company-id.d.cts +10 -3
- package/dist/actions/get-company-id.d.cts.map +1 -1
- package/dist/actions/get-company-id.d.mts +10 -3
- package/dist/actions/get-company-id.d.mts.map +1 -1
- package/dist/actions/get-company-id.mjs +4 -4
- package/dist/actions/get-company-id.mjs.map +1 -1
- package/dist/actions/get-company-offer-public.cjs +3 -3
- package/dist/actions/get-company-offer-public.cjs.map +1 -1
- package/dist/actions/get-company-offer-public.d.cts +28 -3
- package/dist/actions/get-company-offer-public.d.cts.map +1 -1
- package/dist/actions/get-company-offer-public.d.mts +28 -3
- package/dist/actions/get-company-offer-public.d.mts.map +1 -1
- package/dist/actions/get-company-offer-public.mjs +3 -3
- package/dist/actions/get-company-offer-public.mjs.map +1 -1
- package/dist/actions/get-departments.cjs +3 -3
- package/dist/actions/get-departments.cjs.map +1 -1
- package/dist/actions/get-departments.d.cts +9 -3
- package/dist/actions/get-departments.d.cts.map +1 -1
- package/dist/actions/get-departments.d.mts +9 -3
- package/dist/actions/get-departments.d.mts.map +1 -1
- package/dist/actions/get-departments.mjs +3 -3
- package/dist/actions/get-departments.mjs.map +1 -1
- package/dist/actions/get-locations.cjs +8 -8
- package/dist/actions/get-locations.cjs.map +1 -1
- package/dist/actions/get-locations.d.cts +32 -3
- package/dist/actions/get-locations.d.cts.map +1 -1
- package/dist/actions/get-locations.d.mts +32 -3
- package/dist/actions/get-locations.d.mts.map +1 -1
- package/dist/actions/get-locations.mjs +8 -8
- package/dist/actions/get-locations.mjs.map +1 -1
- package/dist/actions/get-notes.cjs +9 -9
- package/dist/actions/get-notes.cjs.map +1 -1
- package/dist/actions/get-notes.d.cts +40 -3
- package/dist/actions/get-notes.d.cts.map +1 -1
- package/dist/actions/get-notes.d.mts +40 -3
- package/dist/actions/get-notes.d.mts.map +1 -1
- package/dist/actions/get-notes.mjs +9 -9
- package/dist/actions/get-notes.mjs.map +1 -1
- package/dist/actions/get-offers.cjs +4 -4
- package/dist/actions/get-offers.cjs.map +1 -1
- package/dist/actions/get-offers.d.cts +34 -3
- package/dist/actions/get-offers.d.cts.map +1 -1
- package/dist/actions/get-offers.d.mts +34 -3
- package/dist/actions/get-offers.d.mts.map +1 -1
- package/dist/actions/get-offers.mjs +4 -4
- package/dist/actions/get-offers.mjs.map +1 -1
- package/dist/actions/get-pipeline-stages.cjs +3 -3
- package/dist/actions/get-pipeline-stages.cjs.map +1 -1
- package/dist/actions/get-pipeline-stages.d.cts +16 -3
- package/dist/actions/get-pipeline-stages.d.cts.map +1 -1
- package/dist/actions/get-pipeline-stages.d.mts +16 -3
- package/dist/actions/get-pipeline-stages.d.mts.map +1 -1
- package/dist/actions/get-pipeline-stages.mjs +3 -3
- package/dist/actions/get-pipeline-stages.mjs.map +1 -1
- package/dist/actions/get-tags.cjs +4 -4
- package/dist/actions/get-tags.cjs.map +1 -1
- package/dist/actions/get-tags.d.cts +32 -3
- package/dist/actions/get-tags.d.cts.map +1 -1
- package/dist/actions/get-tags.d.mts +32 -3
- package/dist/actions/get-tags.d.mts.map +1 -1
- package/dist/actions/get-tags.mjs +4 -4
- package/dist/actions/get-tags.mjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.cts +5 -3
- package/dist/actions/list-eeo-job-categories.d.cts.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.mts +5 -3
- package/dist/actions/list-eeo-job-categories.d.mts.map +1 -1
- package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +21 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +21 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-localization-settings.cjs.map +1 -1
- package/dist/actions/list-localization-settings.d.cts +6 -3
- package/dist/actions/list-localization-settings.d.cts.map +1 -1
- package/dist/actions/list-localization-settings.d.mts +6 -3
- package/dist/actions/list-localization-settings.d.mts.map +1 -1
- package/dist/actions/list-localization-settings.mjs.map +1 -1
- package/dist/actions/list-share-countries.cjs +1 -1
- package/dist/actions/list-share-countries.cjs.map +1 -1
- package/dist/actions/list-share-countries.d.cts +10 -3
- package/dist/actions/list-share-countries.d.cts.map +1 -1
- package/dist/actions/list-share-countries.d.mts +10 -3
- package/dist/actions/list-share-countries.d.mts.map +1 -1
- package/dist/actions/list-share-countries.mjs +1 -1
- package/dist/actions/list-share-countries.mjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.cts +10 -3
- package/dist/actions/list-share-eeo-answers.d.cts.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.mts +10 -3
- package/dist/actions/list-share-eeo-answers.d.mts.map +1 -1
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
- package/dist/actions/update-candidate.cjs +4 -4
- package/dist/actions/update-candidate.cjs.map +1 -1
- package/dist/actions/update-candidate.d.cts +52 -3
- package/dist/actions/update-candidate.d.cts.map +1 -1
- package/dist/actions/update-candidate.d.mts +52 -3
- package/dist/actions/update-candidate.d.mts.map +1 -1
- package/dist/actions/update-candidate.mjs +4 -4
- package/dist/actions/update-candidate.mjs.map +1 -1
- package/dist/actions/update-note.cjs +4 -4
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +27 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +27 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +4 -4
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-offer.cjs +9 -9
- package/dist/actions/update-offer.cjs.map +1 -1
- package/dist/actions/update-offer.d.cts +108 -3
- package/dist/actions/update-offer.d.cts.map +1 -1
- package/dist/actions/update-offer.d.mts +108 -3
- package/dist/actions/update-offer.d.mts.map +1 -1
- package/dist/actions/update-offer.mjs +9 -9
- package/dist/actions/update-offer.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,102 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-offer.d.ts
|
|
4
|
-
declare const RecruiteeCreateOfferInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeCreateOfferInput: z.ZodObject<{
|
|
5
|
+
offer: z.ZodObject<{
|
|
6
|
+
kind: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
job: "job";
|
|
8
|
+
talent_pool: "talent_pool";
|
|
9
|
+
}>>>;
|
|
10
|
+
title: z.ZodString;
|
|
11
|
+
hybrid: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
remote: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
draft: "draft";
|
|
15
|
+
internal: "internal";
|
|
16
|
+
published: "published";
|
|
17
|
+
closed: "closed";
|
|
18
|
+
archived: "archived";
|
|
19
|
+
}>>;
|
|
20
|
+
on_site: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
options_cv: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
optional: "optional";
|
|
23
|
+
required: "required";
|
|
24
|
+
off: "off";
|
|
25
|
+
}>>;
|
|
26
|
+
description: z.ZodString;
|
|
27
|
+
location_ids: z.ZodArray<z.ZodNumber>;
|
|
28
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
29
|
+
department_id: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
options_phone: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
optional: "optional";
|
|
32
|
+
required: "required";
|
|
33
|
+
off: "off";
|
|
34
|
+
}>>;
|
|
35
|
+
options_photo: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
optional: "optional";
|
|
37
|
+
required: "required";
|
|
38
|
+
off: "off";
|
|
39
|
+
}>>;
|
|
40
|
+
locations_question: z.ZodOptional<z.ZodString>;
|
|
41
|
+
visibility_options: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
42
|
+
locations_question: "locations_question";
|
|
43
|
+
indeed: "indeed";
|
|
44
|
+
social_share: "social_share";
|
|
45
|
+
job_location: "job_location";
|
|
46
|
+
linkedin: "linkedin";
|
|
47
|
+
}>>>;
|
|
48
|
+
options_cover_letter: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
optional: "optional";
|
|
50
|
+
required: "required";
|
|
51
|
+
off: "off";
|
|
52
|
+
}>>;
|
|
53
|
+
locations_question_type: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
single_choice: "single_choice";
|
|
55
|
+
multiple_choice: "multiple_choice";
|
|
56
|
+
}>>;
|
|
57
|
+
locations_question_required: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
declare const RecruiteeCreateOfferOutput: z.ZodObject<{
|
|
61
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
64
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
title: z.ZodNullable<z.ZodString>;
|
|
66
|
+
hybrid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
67
|
+
remote: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
68
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
on_site: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
70
|
+
options_cv: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
requirements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
options_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
options_photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
visibility_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
76
|
+
options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const recruiteeCreateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
|
+
offer: {
|
|
80
|
+
title: string;
|
|
81
|
+
description: string;
|
|
82
|
+
location_ids: number[];
|
|
83
|
+
kind?: "job" | "talent_pool" | undefined;
|
|
84
|
+
hybrid?: boolean | undefined;
|
|
85
|
+
remote?: boolean | undefined;
|
|
86
|
+
status?: "draft" | "internal" | "published" | "closed" | "archived" | undefined;
|
|
87
|
+
on_site?: boolean | undefined;
|
|
88
|
+
options_cv?: "optional" | "required" | "off" | undefined;
|
|
89
|
+
requirements?: string | undefined;
|
|
90
|
+
department_id?: number | undefined;
|
|
91
|
+
options_phone?: "optional" | "required" | "off" | undefined;
|
|
92
|
+
options_photo?: "optional" | "required" | "off" | undefined;
|
|
93
|
+
locations_question?: string | undefined;
|
|
94
|
+
visibility_options?: ("locations_question" | "indeed" | "social_share" | "job_location" | "linkedin")[] | undefined;
|
|
95
|
+
options_cover_letter?: "optional" | "required" | "off" | undefined;
|
|
96
|
+
locations_question_type?: "single_choice" | "multiple_choice" | undefined;
|
|
97
|
+
locations_question_required?: boolean | undefined;
|
|
98
|
+
};
|
|
99
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
100
|
//#endregion
|
|
8
101
|
export { recruiteeCreateOffer };
|
|
9
102
|
//# sourceMappingURL=create-offer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-offer.d.mts","names":[],"sources":["../../src/actions/create-offer.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-offer.d.mts","names":[],"sources":["../../src/actions/create-offer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmB1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -53,11 +53,11 @@ const recruiteeCreateOffer = action("RECRUITEE_CREATE_OFFER", {
|
|
|
53
53
|
locations_question_required: z.boolean().describe("Whether location selection is mandatory in application form.").optional()
|
|
54
54
|
}).describe("The offer object containing details for the new job offer.") }),
|
|
55
55
|
output: z.object({
|
|
56
|
-
id: z.number().int().describe("Unique identifier of the created offer."),
|
|
56
|
+
id: z.number().int().describe("Unique identifier of the created offer.").nullable(),
|
|
57
57
|
guid: z.string().describe("Globally unique identifier of the offer.").nullable().optional(),
|
|
58
|
-
kind: z.string().describe("Type of the offer (job or talent_pool)."),
|
|
58
|
+
kind: z.string().describe("Type of the offer (job or talent_pool).").nullable(),
|
|
59
59
|
slug: z.string().describe("URL-friendly slug generated from the offer title.").nullable().optional(),
|
|
60
|
-
title: z.string().describe("The title of the job offer."),
|
|
60
|
+
title: z.string().describe("The title of the job offer.").nullable(),
|
|
61
61
|
hybrid: z.boolean().describe("Whether job is hybrid.").nullable().optional(),
|
|
62
62
|
remote: z.boolean().describe("Whether job is remote.").nullable().optional(),
|
|
63
63
|
status: z.string().describe("Status of the job offer.").nullable().optional(),
|
|
@@ -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
|
|
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,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{ z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeDeleteCandidateInput
|
|
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.object({}).describe(\"Response model for delete candidate action.\\nEmpty response returned on successful deletion.\");\n\nexport const recruiteeDeleteCandidate = action(\"RECRUITEE_DELETE_CANDIDATE\", {\n slug: \"recruitee-delete-candidate\",\n name: \"Delete Candidate\",\n description: \"Tool to delete a candidate profile. Use when you need to permanently remove a candidate from your Recruitee account. Returns no content on success.\",\n input: RecruiteeDeleteCandidateInput,\n output: RecruiteeDeleteCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAElK,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-candidate.d.ts
|
|
4
|
-
declare const RecruiteeDeleteCandidateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeDeleteCandidateInput: z.ZodObject<{
|
|
5
|
+
candidate_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RecruiteeDeleteCandidateOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const recruiteeDeleteCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
candidate_id: number;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { recruiteeDeleteCandidate };
|
|
9
13
|
//# sourceMappingURL=delete-candidate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-candidate.d.cts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-candidate.d.ts
|
|
4
|
-
declare const RecruiteeDeleteCandidateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeDeleteCandidateInput: z.ZodObject<{
|
|
5
|
+
candidate_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RecruiteeDeleteCandidateOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const recruiteeDeleteCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
candidate_id: number;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { recruiteeDeleteCandidate };
|
|
9
13
|
//# sourceMappingURL=delete-candidate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-candidate.d.mts","names":[],"sources":["../../src/actions/delete-candidate.ts"],"mappings":";;;cAIa,6BAAA,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -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
|
|
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.object({}).describe(\"Response model for delete candidate action.\\nEmpty response returned on successful deletion.\");\n\nexport const recruiteeDeleteCandidate = action(\"RECRUITEE_DELETE_CANDIDATE\", {\n slug: \"recruitee-delete-candidate\",\n name: \"Delete Candidate\",\n description: \"Tool to delete a candidate profile. Use when you need to permanently remove a candidate from your Recruitee account. Returns no content on success.\",\n input: RecruiteeDeleteCandidateInput,\n output: RecruiteeDeleteCandidateOutput,\n});\n"],"mappings":";;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,CAAC,CAAC,CAAC,CAAC,SAAS,8FAO1D;AACV,CAAC"}
|
|
@@ -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
|
|
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.object({}).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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE/G,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-tag.d.ts
|
|
4
|
-
declare const RecruiteeDeleteTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeDeleteTagInput: z.ZodObject<{
|
|
5
|
+
tag_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RecruiteeDeleteTagOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const recruiteeDeleteTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
tag_id: number;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { recruiteeDeleteTag };
|
|
9
13
|
//# sourceMappingURL=delete-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.d.cts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-tag.d.ts
|
|
4
|
-
declare const RecruiteeDeleteTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeDeleteTagInput: z.ZodObject<{
|
|
5
|
+
tag_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RecruiteeDeleteTagOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const recruiteeDeleteTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
tag_id: number;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { recruiteeDeleteTag };
|
|
9
13
|
//# sourceMappingURL=delete-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tag.d.mts","names":[],"sources":["../../src/actions/delete-tag.ts"],"mappings":";;;cAIa,uBAAA,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -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
|
|
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.object({}).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,CAAC,CAAC,CAAC,CAAC,SAAS,iDAOpD;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const RecruiteeGetCandidateInput = zod.z.object({
|
|
|
6
6
|
candidate_id: zod.z.number().int().describe("Unique identifier of the candidate to retrieve.")
|
|
7
7
|
}).describe("Request model for retrieving a candidate by ID.");
|
|
8
8
|
const RecruiteeGetCandidate_CandidateDetailSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier of the candidate."),
|
|
10
|
-
name: zod.z.string().describe("Full name of the candidate."),
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the candidate.").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Full name of the candidate.").nullable(),
|
|
11
11
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the candidate.").nullable().optional(),
|
|
12
12
|
cv_url: zod.z.string().describe("URL to view the candidate's resume/CV (PDF format).").nullable().optional(),
|
|
13
13
|
emails: zod.z.array(zod.z.string()).describe("List of candidate email addresses.").nullable().optional(),
|
|
@@ -15,9 +15,9 @@ const RecruiteeGetCandidate_CandidateDetailSchema = zod.z.object({
|
|
|
15
15
|
source: zod.z.string().describe("Source from which the candidate was obtained.").nullable().optional(),
|
|
16
16
|
referrer: zod.z.string().describe("Specific referrer or referral source for the candidate.").nullable().optional(),
|
|
17
17
|
photo_url: zod.z.string().describe("URL of the candidate's profile photo.").nullable().optional(),
|
|
18
|
-
created_at: zod.z.string().describe("Timestamp when the candidate was created."),
|
|
18
|
+
created_at: zod.z.string().describe("Timestamp when the candidate was created.").nullable(),
|
|
19
19
|
placements: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of placement objects showing the candidate's applications to different job offers and their current pipeline stages.").nullable().optional(),
|
|
20
|
-
updated_at: zod.z.string().describe("Timestamp when the candidate was last updated."),
|
|
20
|
+
updated_at: zod.z.string().describe("Timestamp when the candidate was last updated.").nullable(),
|
|
21
21
|
adminapp_url: zod.z.string().describe("Direct URL to view the candidate's profile in the Recruitee admin application.").nullable().optional(),
|
|
22
22
|
cover_letter: zod.z.string().describe("Cover letter text of the candidate.").nullable().optional(),
|
|
23
23
|
social_links: zod.z.array(zod.z.string()).describe("Social profile URLs of the candidate.").nullable().optional(),
|
|
@@ -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
|
|
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,CA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|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetCandidateInput: z.ZodObject<{
|
|
5
|
+
company_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6
|
+
candidate_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RecruiteeGetCandidateOutput: z.ZodObject<{
|
|
9
|
+
candidate: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
cv_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15
|
+
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
20
|
+
placements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
adminapp_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
social_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
26
|
+
cv_original_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
photo_thumb_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const recruiteeGetCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
candidate_id: number;
|
|
32
|
+
company_id?: string | number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { recruiteeGetCandidate };
|
|
9
36
|
//# sourceMappingURL=get-candidate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-candidate.d.cts","names":[],"sources":["../../src/actions/get-candidate.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-candidate.d.cts","names":[],"sources":["../../src/actions/get-candidate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAwB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-candidate.d.ts
|
|
4
|
-
declare const RecruiteeGetCandidateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetCandidateInput: z.ZodObject<{
|
|
5
|
+
company_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6
|
+
candidate_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RecruiteeGetCandidateOutput: z.ZodObject<{
|
|
9
|
+
candidate: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
cv_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15
|
+
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
20
|
+
placements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
adminapp_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
social_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
26
|
+
cv_original_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
photo_thumb_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const recruiteeGetCandidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
candidate_id: number;
|
|
32
|
+
company_id?: string | number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { recruiteeGetCandidate };
|
|
9
36
|
//# sourceMappingURL=get-candidate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-candidate.d.mts","names":[],"sources":["../../src/actions/get-candidate.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-candidate.d.mts","names":[],"sources":["../../src/actions/get-candidate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAwB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const RecruiteeGetCandidateInput = z.object({
|
|
|
6
6
|
candidate_id: z.number().int().describe("Unique identifier of the candidate to retrieve.")
|
|
7
7
|
}).describe("Request model for retrieving a candidate by ID.");
|
|
8
8
|
const RecruiteeGetCandidate_CandidateDetailSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the candidate."),
|
|
10
|
-
name: z.string().describe("Full name of the candidate."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the candidate.").nullable(),
|
|
10
|
+
name: z.string().describe("Full name of the candidate.").nullable(),
|
|
11
11
|
tags: z.array(z.string()).describe("Tags associated with the candidate.").nullable().optional(),
|
|
12
12
|
cv_url: z.string().describe("URL to view the candidate's resume/CV (PDF format).").nullable().optional(),
|
|
13
13
|
emails: z.array(z.string()).describe("List of candidate email addresses.").nullable().optional(),
|
|
@@ -15,9 +15,9 @@ const RecruiteeGetCandidate_CandidateDetailSchema = z.object({
|
|
|
15
15
|
source: z.string().describe("Source from which the candidate was obtained.").nullable().optional(),
|
|
16
16
|
referrer: z.string().describe("Specific referrer or referral source for the candidate.").nullable().optional(),
|
|
17
17
|
photo_url: z.string().describe("URL of the candidate's profile photo.").nullable().optional(),
|
|
18
|
-
created_at: z.string().describe("Timestamp when the candidate was created."),
|
|
18
|
+
created_at: z.string().describe("Timestamp when the candidate was created.").nullable(),
|
|
19
19
|
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(),
|
|
20
|
-
updated_at: z.string().describe("Timestamp when the candidate was last updated."),
|
|
20
|
+
updated_at: z.string().describe("Timestamp when the candidate was last updated.").nullable(),
|
|
21
21
|
adminapp_url: z.string().describe("Direct URL to view the candidate's profile in the Recruitee admin application.").nullable().optional(),
|
|
22
22
|
cover_letter: z.string().describe("Cover letter text of the candidate.").nullable().optional(),
|
|
23
23
|
social_links: z.array(z.string()).describe("Social profile URLs of the candidate.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-candidate.mjs","names":[],"sources":["../../src/actions/get-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCandidateInput
|
|
1
|
+
{"version":3,"file":"get-candidate.mjs","names":[],"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,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAM,E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AC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,4CAA4C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const RecruiteeGetCandidatesInput = zod.z.object({
|
|
|
15
15
|
disqualified: zod.z.boolean().describe("If true, only disqualified candidates are returned.").optional()
|
|
16
16
|
}).describe("Query parameters for retrieving a list of all candidates. Use filters to narrow results.");
|
|
17
17
|
const RecruiteeGetCandidates_CandidateItemSchema = zod.z.object({
|
|
18
|
-
id: zod.z.number().int().describe("Candidate unique identifier."),
|
|
18
|
+
id: zod.z.number().int().describe("Candidate unique identifier.").nullable(),
|
|
19
19
|
name: zod.z.string().describe("Full name of the candidate.").nullable().optional(),
|
|
20
20
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the candidate.").nullable().optional(),
|
|
21
21
|
photo: zod.z.string().describe("URL of the candidate's photo.").nullable().optional(),
|
|
@@ -24,8 +24,8 @@ const RecruiteeGetCandidates_CandidateItemSchema = zod.z.object({
|
|
|
24
24
|
phones: zod.z.array(zod.z.string()).describe("Phone numbers of the candidate.").nullable().optional(),
|
|
25
25
|
resume: zod.z.string().describe("URL of the candidate's resume.").nullable().optional(),
|
|
26
26
|
source: zod.z.string().describe("Source from which the candidate was obtained.").nullable().optional(),
|
|
27
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the candidate was created."),
|
|
28
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the candidate was last updated."),
|
|
27
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the candidate was created.").nullable(),
|
|
28
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the candidate was last updated.").nullable(),
|
|
29
29
|
cover_letter: zod.z.string().describe("Cover letter text of the candidate.").nullable().optional(),
|
|
30
30
|
social_links: zod.z.array(zod.z.string()).describe("List of social profile URLs.").nullable().optional(),
|
|
31
31
|
custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields defined for the candidate.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-candidates.cjs","names":["z","action"],"sources":["../../src/actions/get-candidates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCandidatesInput
|
|
1
|
+
{"version":3,"file":"get-candidates.cjs","names":["z","action"],"sources":["../../src/actions/get-candidates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCandidatesInput = z.object({\n ids: z.array(z.number().int()).describe(\"List of candidate IDs to retrieve.\").optional(),\n sort: z.enum([\"by_date\", \"by_last_message\"]).describe(\"Sort by date or by last message.\").optional(),\n limit: z.number().int().describe(\"Maximum number of candidates to return.\").optional(),\n query: z.string().describe(\"Search term to filter candidates by name or offer.\").optional(),\n offset: z.number().int().describe(\"Number of candidates to skip before returning results (pagination offset).\").optional(),\n deleted: z.boolean().describe(\"If true, only deleted candidates are returned.\").optional(),\n offerId: z.number().int().describe(\"Filter candidates by specific offer ID.\").optional(),\n qualified: z.boolean().describe(\"If true, only qualified candidates are returned.\").optional(),\n company_id: z.union([z.number().int(), z.string()]).optional(),\n createdAfter: z.string().describe(\"Return candidates created after this ISO 8601 timestamp.\").optional(),\n disqualified: z.boolean().describe(\"If true, only disqualified candidates are returned.\").optional(),\n}).describe(\"Query parameters for retrieving a list of all candidates. Use filters to narrow results.\");\nconst RecruiteeGetCandidates_CandidateItemSchema = z.object({\n id: z.number().int().describe(\"Candidate unique identifier.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n photo: z.string().describe(\"URL of the candidate's photo.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"Email addresses of the candidate.\").nullable().optional(),\n offers: z.array(z.number().int()).describe(\"Offer IDs associated with the candidate.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers of the candidate.\").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(\"ISO 8601 timestamp when the candidate was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the candidate was last updated.\").nullable(),\n cover_letter: z.string().describe(\"Cover letter text of the candidate.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"List of social profile URLs.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields defined for the candidate.\").nullable().optional(),\n}).describe(\"Candidate information returned in list endpoints.\");\nexport const RecruiteeGetCandidatesOutput = z.object({\n total: z.number().int().describe(\"Total number of candidates available.\").nullable().optional(),\n candidates: z.array(RecruiteeGetCandidates_CandidateItemSchema).describe(\"List of candidates.\"),\n}).describe(\"Response model containing a list of candidates and the total count.\");\n\nexport const recruiteeGetCandidates = action(\"RECRUITEE_GET_CANDIDATES\", {\n slug: \"recruitee-get-candidates\",\n name: \"Get Candidates\",\n description: \"Tool to retrieve a list of all candidates in the company. Use when you need to fetch or filter candidates before proceeding.\",\n input: RecruiteeGetCandidatesInput,\n output: RecruiteeGetCandidatesOutput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