@keystrokehq/recruitee 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-candidate.cjs +6 -6
- 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 +6 -6
- package/dist/actions/create-candidate.mjs.map +1 -1
- package/dist/actions/create-note.cjs +6 -6
- 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 +6 -6
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-offer.cjs +4 -4
- 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 +4 -4
- 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 +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 +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 +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 +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/get-candidate.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-candidate.mjs.map +1 -1
- package/dist/actions/get-candidates.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-candidates.mjs.map +1 -1
- package/dist/actions/get-company-id.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-company-id.mjs.map +1 -1
- package/dist/actions/get-company-offer-public.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-company-offer-public.mjs.map +1 -1
- package/dist/actions/get-departments.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-departments.mjs.map +1 -1
- package/dist/actions/get-locations.cjs +11 -11
- 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 +11 -11
- package/dist/actions/get-locations.mjs.map +1 -1
- package/dist/actions/get-notes.cjs +14 -14
- 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 +14 -14
- package/dist/actions/get-notes.mjs.map +1 -1
- package/dist/actions/get-offers.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-offers.mjs.map +1 -1
- package/dist/actions/get-pipeline-stages.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-pipeline-stages.mjs.map +1 -1
- package/dist/actions/get-tags.cjs +6 -6
- 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 +6 -6
- 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 +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 +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 +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 +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 +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 +1 -1
- package/dist/actions/list-localization-settings.mjs.map +1 -1
- package/dist/actions/list-share-countries.cjs +4 -4
- 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 +4 -4
- 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 +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 +2 -2
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
- package/dist/actions/update-candidate.cjs +6 -6
- 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 +6 -6
- package/dist/actions/update-candidate.mjs.map +1 -1
- package/dist/actions/update-note.cjs +6 -6
- 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 +6 -6
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-offer.cjs +13 -13
- 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 +13 -13
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-offer-public.d.cts","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-company-offer-public.d.cts","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAWnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-company-offer-public.d.ts
|
|
4
|
-
declare const RecruiteeGetCompanyOfferPublicInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetCompanyOfferPublicInput: z.ZodObject<{
|
|
5
|
+
identifier: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RecruiteeGetCompanyOfferPublicOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
10
|
+
title: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
department: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
careers_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
requirements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
careers_apply_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const recruiteeGetCompanyOfferPublic: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
identifier: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { recruiteeGetCompanyOfferPublic };
|
|
9
34
|
//# sourceMappingURL=get-company-offer-public.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-offer-public.d.mts","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-company-offer-public.d.mts","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAWnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -9,16 +9,16 @@ const RecruiteeGetCompanyOfferPublic_LocationSchema = z.object({
|
|
|
9
9
|
state: z.string().describe("State/province name.").nullable().optional(),
|
|
10
10
|
country: z.string().describe("Country name.").nullable().optional(),
|
|
11
11
|
country_code: z.string().describe("ISO country code.").nullable().optional()
|
|
12
|
-
}).describe("Location details for a job offer.");
|
|
12
|
+
}).passthrough().describe("Location details for a job offer.");
|
|
13
13
|
const recruiteeGetCompanyOfferPublic = action("RECRUITEE_GET_COMPANY_OFFER_PUBLIC", {
|
|
14
14
|
slug: "recruitee-get-company-offer-public",
|
|
15
15
|
name: "Get Company Offer Public",
|
|
16
16
|
description: "Tool to retrieve a specific published job offer by ID or slug from the public Careers Site API. Use after you have the offer identifier.",
|
|
17
17
|
input: RecruiteeGetCompanyOfferPublicInput,
|
|
18
18
|
output: z.object({
|
|
19
|
-
id: z.number().int().describe("Unique identifier of the job offer."),
|
|
20
|
-
slug: z.string().describe("URL-friendly slug for the job offer."),
|
|
21
|
-
title: z.string().describe("Title of the job offer."),
|
|
19
|
+
id: z.number().int().describe("Unique identifier of the job offer.").nullable(),
|
|
20
|
+
slug: z.string().describe("URL-friendly slug for the job offer.").nullable(),
|
|
21
|
+
title: z.string().describe("Title of the job offer.").nullable(),
|
|
22
22
|
status: z.string().describe("Current status of the offer.").nullable().optional(),
|
|
23
23
|
location: z.string().describe("Formatted location string for the job offer.").nullable().optional(),
|
|
24
24
|
locations: z.array(RecruiteeGetCompanyOfferPublic_LocationSchema).describe("Detailed list of locations where the job is available.").nullable().optional(),
|
|
@@ -29,7 +29,7 @@ const recruiteeGetCompanyOfferPublic = action("RECRUITEE_GET_COMPANY_OFFER_PUBLI
|
|
|
29
29
|
published_at: z.string().describe("Offer publish date-time in ISO 8601 format.").nullable().optional(),
|
|
30
30
|
requirements: z.string().describe("Job requirements in HTML format.").nullable().optional(),
|
|
31
31
|
careers_apply_url: z.string().describe("Direct URL to apply for the job.").nullable().optional()
|
|
32
|
-
})
|
|
32
|
+
}).passthrough()
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { recruiteeGetCompanyOfferPublic };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-offer-public.mjs","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCompanyOfferPublicInput
|
|
1
|
+
{"version":3,"file":"get-company-offer-public.mjs","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetCompanyOfferPublicInput = z.object({\n identifier: z.string().describe(\"Offer ID or slug, e.g., '12345' or 'software-engineer'.\"),\n}).describe(\"Request model to retrieve a specific published job offer by its ID or slug from the public Careers Site API.\");\nconst RecruiteeGetCompanyOfferPublic_LocationSchema = z.object({\n id: z.number().int().describe(\"Location ID.\").nullable().optional(),\n city: z.string().describe(\"City name.\").nullable().optional(),\n name: z.string().describe(\"Location name.\").nullable().optional(),\n state: z.string().describe(\"State/province name.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n country_code: z.string().describe(\"ISO country code.\").nullable().optional(),\n}).passthrough().describe(\"Location details for a job offer.\");\nexport const RecruiteeGetCompanyOfferPublicOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the job offer.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug for the job offer.\").nullable(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.string().describe(\"Current status of the offer.\").nullable().optional(),\n location: z.string().describe(\"Formatted location string for the job offer.\").nullable().optional(),\n locations: z.array(RecruiteeGetCompanyOfferPublic_LocationSchema).describe(\"Detailed list of locations where the job is available.\").nullable().optional(),\n created_at: z.string().describe(\"Offer creation date-time.\").nullable().optional(),\n department: z.string().describe(\"Department name for the job offer.\").nullable().optional(),\n careers_url: z.string().describe(\"URL to the job offer on the careers site.\").nullable().optional(),\n description: z.string().describe(\"Detailed job description in HTML format.\").nullable().optional(),\n published_at: z.string().describe(\"Offer publish date-time in ISO 8601 format.\").nullable().optional(),\n requirements: z.string().describe(\"Job requirements in HTML format.\").nullable().optional(),\n careers_apply_url: z.string().describe(\"Direct URL to apply for the job.\").nullable().optional(),\n}).passthrough();\n\nexport const recruiteeGetCompanyOfferPublic = action(\"RECRUITEE_GET_COMPANY_OFFER_PUBLIC\", {\n slug: \"recruitee-get-company-offer-public\",\n name: \"Get Company Offer Public\",\n description: \"Tool to retrieve a specific published job offer by ID or slug from the public Careers Site API. Use after you have the offer identifier.\",\n input: RecruiteeGetCompanyOfferPublicInput,\n output: RecruiteeGetCompanyOfferPublicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,8GAA8G;AAC1H,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAiB7D,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-departments.ts
|
|
4
4
|
const RecruiteeGetDepartmentsInput = zod.z.object({}).describe("Request model for retrieving a list of company departments. No parameters are required.");
|
|
5
5
|
const RecruiteeGetDepartments_DepartmentSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the department."),
|
|
7
|
-
name: zod.z.string().describe("Name of the department."),
|
|
8
|
-
offers_count: zod.z.number().int().describe("Number of offers assigned to the department.")
|
|
9
|
-
}).describe("Model representing a department within the company.");
|
|
10
|
-
const RecruiteeGetDepartmentsOutput = zod.z.object({ departments: zod.z.array(RecruiteeGetDepartments_DepartmentSchema).describe("List of company departments.") }).describe("Response model containing a list of departments.");
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the department.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the department.").nullable(),
|
|
8
|
+
offers_count: zod.z.number().int().describe("Number of offers assigned to the department.").nullable()
|
|
9
|
+
}).passthrough().describe("Model representing a department within the company.");
|
|
10
|
+
const RecruiteeGetDepartmentsOutput = zod.z.object({ departments: zod.z.array(RecruiteeGetDepartments_DepartmentSchema).describe("List of company departments.") }).passthrough().describe("Response model containing a list of departments.");
|
|
11
11
|
const recruiteeGetDepartments = require_action.action("RECRUITEE_GET_DEPARTMENTS", {
|
|
12
12
|
slug: "recruitee-get-departments",
|
|
13
13
|
name: "Get Departments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-departments.cjs","names":["z","action"],"sources":["../../src/actions/get-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetDepartmentsInput
|
|
1
|
+
{"version":3,"file":"get-departments.cjs","names":["z","action"],"sources":["../../src/actions/get-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetDepartmentsInput = z.object({}).describe(\"Request model for retrieving a list of company departments. No parameters are required.\");\nconst RecruiteeGetDepartments_DepartmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the department.\").nullable(),\n name: z.string().describe(\"Name of the department.\").nullable(),\n offers_count: z.number().int().describe(\"Number of offers assigned to the department.\").nullable(),\n}).passthrough().describe(\"Model representing a department within the company.\");\nexport const RecruiteeGetDepartmentsOutput = z.object({\n departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe(\"List of company departments.\"),\n}).passthrough().describe(\"Response model containing a list of departments.\");\n\nexport const recruiteeGetDepartments = action(\"RECRUITEE_GET_DEPARTMENTS\", {\n slug: \"recruitee-get-departments\",\n name: \"Get Departments\",\n description: \"Tool to retrieve a list of company departments. Use when you need to reference or assign offers or candidates to departments.\",\n input: RecruiteeGetDepartmentsInput,\n output: RecruiteeGetDepartmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-departments.d.ts
|
|
4
|
-
declare const RecruiteeGetDepartmentsInput: z.
|
|
5
|
-
declare const RecruiteeGetDepartmentsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetDepartmentsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetDepartmentsOutput: z.ZodObject<{
|
|
6
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
offers_count: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const recruiteeGetDepartments: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { recruiteeGetDepartments };
|
|
9
15
|
//# sourceMappingURL=get-departments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-departments.d.cts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-departments.d.cts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-departments.d.ts
|
|
4
|
-
declare const RecruiteeGetDepartmentsInput: z.
|
|
5
|
-
declare const RecruiteeGetDepartmentsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetDepartmentsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetDepartmentsOutput: z.ZodObject<{
|
|
6
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
offers_count: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const recruiteeGetDepartments: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { recruiteeGetDepartments };
|
|
9
15
|
//# sourceMappingURL=get-departments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-departments.d.mts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-departments.d.mts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-departments.ts
|
|
4
4
|
const RecruiteeGetDepartmentsInput = z.object({}).describe("Request model for retrieving a list of company departments. No parameters are required.");
|
|
5
5
|
const RecruiteeGetDepartments_DepartmentSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier of the department."),
|
|
7
|
-
name: z.string().describe("Name of the department."),
|
|
8
|
-
offers_count: z.number().int().describe("Number of offers assigned to the department.")
|
|
9
|
-
}).describe("Model representing a department within the company.");
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the department.").nullable(),
|
|
7
|
+
name: z.string().describe("Name of the department.").nullable(),
|
|
8
|
+
offers_count: z.number().int().describe("Number of offers assigned to the department.").nullable()
|
|
9
|
+
}).passthrough().describe("Model representing a department within the company.");
|
|
10
10
|
const recruiteeGetDepartments = action("RECRUITEE_GET_DEPARTMENTS", {
|
|
11
11
|
slug: "recruitee-get-departments",
|
|
12
12
|
name: "Get Departments",
|
|
13
13
|
description: "Tool to retrieve a list of company departments. Use when you need to reference or assign offers or candidates to departments.",
|
|
14
14
|
input: RecruiteeGetDepartmentsInput,
|
|
15
|
-
output: z.object({ departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe("List of company departments.") }).describe("Response model containing a list of departments.")
|
|
15
|
+
output: z.object({ departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe("List of company departments.") }).passthrough().describe("Response model containing a list of departments.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { recruiteeGetDepartments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-departments.mjs","names":[],"sources":["../../src/actions/get-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetDepartmentsInput
|
|
1
|
+
{"version":3,"file":"get-departments.mjs","names":[],"sources":["../../src/actions/get-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetDepartmentsInput = z.object({}).describe(\"Request model for retrieving a list of company departments. No parameters are required.\");\nconst RecruiteeGetDepartments_DepartmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the department.\").nullable(),\n name: z.string().describe(\"Name of the department.\").nullable(),\n offers_count: z.number().int().describe(\"Number of offers assigned to the department.\").nullable(),\n}).passthrough().describe(\"Model representing a department within the company.\");\nexport const RecruiteeGetDepartmentsOutput = z.object({\n departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe(\"List of company departments.\"),\n}).passthrough().describe(\"Response model containing a list of departments.\");\n\nexport const recruiteeGetDepartments = action(\"RECRUITEE_GET_DEPARTMENTS\", {\n slug: \"recruitee-get-departments\",\n name: \"Get Departments\",\n description: \"Tool to retrieve a list of company departments. Use when you need to reference or assign offers or candidates to departments.\",\n input: RecruiteeGetDepartmentsInput,\n output: RecruiteeGetDepartmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -6,32 +6,32 @@ const RecruiteeGetLocations_LocationTranslationSchema = zod.z.object({
|
|
|
6
6
|
city: zod.z.string().describe("Translated city name.").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Translated location name.").nullable().optional(),
|
|
8
8
|
street: zod.z.string().describe("Translated street address.").nullable().optional(),
|
|
9
|
-
lang_code: zod.z.string().describe("Language code of the translation."),
|
|
9
|
+
lang_code: zod.z.string().describe("Language code of the translation.").nullable(),
|
|
10
10
|
state_code: zod.z.string().describe("Translated state code.").nullable().optional(),
|
|
11
11
|
state_name: zod.z.string().describe("Translated state name.").nullable().optional(),
|
|
12
12
|
postal_code: zod.z.string().describe("Translated postal code.").nullable().optional(),
|
|
13
13
|
full_address: zod.z.string().describe("Translated full address.").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const RecruiteeGetLocations_LocationSchema = zod.z.object({
|
|
16
|
-
id: zod.z.number().int().describe("Unique location ID - used in job offers to refer to a correct location."),
|
|
17
|
-
city: zod.z.string().describe("City."),
|
|
18
|
-
name: zod.z.string().describe("Location name."),
|
|
16
|
+
id: zod.z.number().int().describe("Unique location ID - used in job offers to refer to a correct location.").nullable(),
|
|
17
|
+
city: zod.z.string().describe("City.").nullable(),
|
|
18
|
+
name: zod.z.string().describe("Location name.").nullable(),
|
|
19
19
|
street: zod.z.string().describe("Street address.").nullable().optional(),
|
|
20
|
-
lang_code: zod.z.string().describe("Default language code of the location."),
|
|
21
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp of creation."),
|
|
20
|
+
lang_code: zod.z.string().describe("Default language code of the location.").nullable(),
|
|
21
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of creation.").nullable(),
|
|
22
22
|
state_code: zod.z.string().describe("State code.").nullable().optional(),
|
|
23
23
|
state_name: zod.z.string().describe("State name.").nullable().optional(),
|
|
24
24
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
|
|
25
25
|
archived_at: zod.z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
|
|
26
26
|
postal_code: zod.z.string().describe("Postal code.").nullable().optional(),
|
|
27
|
-
country_code: zod.z.string().describe("ISO 3166 country code."),
|
|
28
|
-
full_address: zod.z.string().describe("One line full address (country, state, city, postal code, street)."),
|
|
27
|
+
country_code: zod.z.string().describe("ISO 3166 country code.").nullable(),
|
|
28
|
+
full_address: zod.z.string().describe("One line full address (country, state, city, postal code, street).").nullable(),
|
|
29
29
|
is_deletable: zod.z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
|
|
30
30
|
translations: zod.z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
|
|
31
31
|
active_offers_count: zod.z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
|
|
32
32
|
active_requisitions_count: zod.z.number().int().default(0).describe("Number of requisitions the location is assigned to.").nullable().optional()
|
|
33
|
-
});
|
|
34
|
-
const RecruiteeGetLocationsOutput = zod.z.object({ locations: zod.z.array(RecruiteeGetLocations_LocationSchema).describe("List of company locations.") }).describe("Response model containing a list of company locations.");
|
|
33
|
+
}).passthrough();
|
|
34
|
+
const RecruiteeGetLocationsOutput = zod.z.object({ locations: zod.z.array(RecruiteeGetLocations_LocationSchema).describe("List of company locations.") }).passthrough().describe("Response model containing a list of company locations.");
|
|
35
35
|
const recruiteeGetLocations = require_action.action("RECRUITEE_GET_LOCATIONS", {
|
|
36
36
|
slug: "recruitee-get-locations",
|
|
37
37
|
name: "Get Locations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.cjs","names":["z","action"],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput
|
|
1
|
+
{"version":3,"file":"get-locations.cjs","names":["z","action"],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema = z.object({\n city: z.string().describe(\"Translated city name.\").nullable().optional(),\n name: z.string().describe(\"Translated location name.\").nullable().optional(),\n street: z.string().describe(\"Translated street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Language code of the translation.\").nullable(),\n state_code: z.string().describe(\"Translated state code.\").nullable().optional(),\n state_name: z.string().describe(\"Translated state name.\").nullable().optional(),\n postal_code: z.string().describe(\"Translated postal code.\").nullable().optional(),\n full_address: z.string().describe(\"Translated full address.\").nullable().optional(),\n}).passthrough();\nconst RecruiteeGetLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\").nullable(),\n city: z.string().describe(\"City.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable(),\n state_code: z.string().describe(\"State code.\").nullable().optional(),\n state_name: z.string().describe(\"State name.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code.\").nullable().optional(),\n country_code: z.string().describe(\"ISO 3166 country code.\").nullable(),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\").nullable(),\n is_deletable: z.boolean().default(true).describe(\"Indicates if the location can be deleted.\").nullable().optional(),\n translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe(\"List of objects containing translation fields and values.\").nullable().optional(),\n active_offers_count: z.number().int().default(0).describe(\"Number of offers the location is assigned to.\").nullable().optional(),\n active_requisitions_count: z.number().int().default(0).describe(\"Number of requisitions the location is assigned to.\").nullable().optional(),\n}).passthrough();\nexport const RecruiteeGetLocationsOutput = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).passthrough().describe(\"Response model containing a list of company locations.\");\n\nexport const recruiteeGetLocations = action(\"RECRUITEE_GET_LOCATIONS\", {\n slug: \"recruitee-get-locations\",\n name: \"Get Locations\",\n description: \"Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.\",\n input: RecruiteeGetLocationsInput,\n output: RecruiteeGetLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACzI,MAAM,kDAAkDA,IA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S;AAC7I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-locations.d.ts
|
|
4
|
-
declare const RecruiteeGetLocationsInput: z.
|
|
5
|
-
declare const RecruiteeGetLocationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetLocationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetLocationsOutput: z.ZodObject<{
|
|
6
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
city: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
19
|
+
full_address: z.ZodNullable<z.ZodString>;
|
|
20
|
+
is_deletable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
21
|
+
translations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
26
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
full_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
|
+
active_offers_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
|
+
active_requisitions_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { recruiteeGetLocations };
|
|
9
38
|
//# sourceMappingURL=get-locations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.d.cts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-locations.d.cts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-locations.d.ts
|
|
4
|
-
declare const RecruiteeGetLocationsInput: z.
|
|
5
|
-
declare const RecruiteeGetLocationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetLocationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetLocationsOutput: z.ZodObject<{
|
|
6
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
city: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
19
|
+
full_address: z.ZodNullable<z.ZodString>;
|
|
20
|
+
is_deletable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
21
|
+
translations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
26
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
full_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
|
+
active_offers_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
|
+
active_requisitions_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { recruiteeGetLocations };
|
|
9
38
|
//# sourceMappingURL=get-locations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.d.mts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-locations.d.mts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,37 +6,37 @@ const RecruiteeGetLocations_LocationTranslationSchema = z.object({
|
|
|
6
6
|
city: z.string().describe("Translated city name.").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Translated location name.").nullable().optional(),
|
|
8
8
|
street: z.string().describe("Translated street address.").nullable().optional(),
|
|
9
|
-
lang_code: z.string().describe("Language code of the translation."),
|
|
9
|
+
lang_code: z.string().describe("Language code of the translation.").nullable(),
|
|
10
10
|
state_code: z.string().describe("Translated state code.").nullable().optional(),
|
|
11
11
|
state_name: z.string().describe("Translated state name.").nullable().optional(),
|
|
12
12
|
postal_code: z.string().describe("Translated postal code.").nullable().optional(),
|
|
13
13
|
full_address: z.string().describe("Translated full address.").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const RecruiteeGetLocations_LocationSchema = z.object({
|
|
16
|
-
id: z.number().int().describe("Unique location ID - used in job offers to refer to a correct location."),
|
|
17
|
-
city: z.string().describe("City."),
|
|
18
|
-
name: z.string().describe("Location name."),
|
|
16
|
+
id: z.number().int().describe("Unique location ID - used in job offers to refer to a correct location.").nullable(),
|
|
17
|
+
city: z.string().describe("City.").nullable(),
|
|
18
|
+
name: z.string().describe("Location name.").nullable(),
|
|
19
19
|
street: z.string().describe("Street address.").nullable().optional(),
|
|
20
|
-
lang_code: z.string().describe("Default language code of the location."),
|
|
21
|
-
created_at: z.string().describe("ISO 8601 timestamp of creation."),
|
|
20
|
+
lang_code: z.string().describe("Default language code of the location.").nullable(),
|
|
21
|
+
created_at: z.string().describe("ISO 8601 timestamp of creation.").nullable(),
|
|
22
22
|
state_code: z.string().describe("State code.").nullable().optional(),
|
|
23
23
|
state_name: z.string().describe("State name.").nullable().optional(),
|
|
24
24
|
updated_at: z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
|
|
25
25
|
archived_at: z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
|
|
26
26
|
postal_code: z.string().describe("Postal code.").nullable().optional(),
|
|
27
|
-
country_code: z.string().describe("ISO 3166 country code."),
|
|
28
|
-
full_address: z.string().describe("One line full address (country, state, city, postal code, street)."),
|
|
27
|
+
country_code: z.string().describe("ISO 3166 country code.").nullable(),
|
|
28
|
+
full_address: z.string().describe("One line full address (country, state, city, postal code, street).").nullable(),
|
|
29
29
|
is_deletable: z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
|
|
30
30
|
translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
|
|
31
31
|
active_offers_count: z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
|
|
32
32
|
active_requisitions_count: z.number().int().default(0).describe("Number of requisitions the location is assigned to.").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const recruiteeGetLocations = action("RECRUITEE_GET_LOCATIONS", {
|
|
35
35
|
slug: "recruitee-get-locations",
|
|
36
36
|
name: "Get Locations",
|
|
37
37
|
description: "Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.",
|
|
38
38
|
input: RecruiteeGetLocationsInput,
|
|
39
|
-
output: z.object({ locations: z.array(RecruiteeGetLocations_LocationSchema).describe("List of company locations.") }).describe("Response model containing a list of company locations.")
|
|
39
|
+
output: z.object({ locations: z.array(RecruiteeGetLocations_LocationSchema).describe("List of company locations.") }).passthrough().describe("Response model containing a list of company locations.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { recruiteeGetLocations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.mjs","names":[],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput
|
|
1
|
+
{"version":3,"file":"get-locations.mjs","names":[],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema = z.object({\n city: z.string().describe(\"Translated city name.\").nullable().optional(),\n name: z.string().describe(\"Translated location name.\").nullable().optional(),\n street: z.string().describe(\"Translated street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Language code of the translation.\").nullable(),\n state_code: z.string().describe(\"Translated state code.\").nullable().optional(),\n state_name: z.string().describe(\"Translated state name.\").nullable().optional(),\n postal_code: z.string().describe(\"Translated postal code.\").nullable().optional(),\n full_address: z.string().describe(\"Translated full address.\").nullable().optional(),\n}).passthrough();\nconst RecruiteeGetLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\").nullable(),\n city: z.string().describe(\"City.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable(),\n state_code: z.string().describe(\"State code.\").nullable().optional(),\n state_name: z.string().describe(\"State name.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code.\").nullable().optional(),\n country_code: z.string().describe(\"ISO 3166 country code.\").nullable(),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\").nullable(),\n is_deletable: z.boolean().default(true).describe(\"Indicates if the location can be deleted.\").nullable().optional(),\n translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe(\"List of objects containing translation fields and values.\").nullable().optional(),\n active_offers_count: z.number().int().default(0).describe(\"Number of offers the location is assigned to.\").nullable().optional(),\n active_requisitions_count: z.number().int().default(0).describe(\"Number of requisitions the location is assigned to.\").nullable().optional(),\n}).passthrough();\nexport const RecruiteeGetLocationsOutput = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).passthrough().describe(\"Response model containing a list of company locations.\");\n\nexport const recruiteeGetLocations = action(\"RECRUITEE_GET_LOCATIONS\", {\n slug: \"recruitee-get-locations\",\n name: \"Get Locations\",\n description: \"Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.\",\n input: RecruiteeGetLocationsInput,\n output: RecruiteeGetLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACzI,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CA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AS;CAC/H,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -7,23 +7,23 @@ const RecruiteeGetNotesInput = zod.z.object({
|
|
|
7
7
|
candidate_id: zod.z.number().int().describe("Unique identifier of the candidate.")
|
|
8
8
|
}).describe("Request model for retrieving a list of notes for a specific candidate.");
|
|
9
9
|
const RecruiteeGetNotes_NoteAdminSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique identifier of the admin user."),
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier of the admin user.").nullable(),
|
|
11
11
|
email: zod.z.string().describe("Admin user's email address.").nullable().optional(),
|
|
12
12
|
last_name: zod.z.string().describe("Admin user's last name.").nullable().optional(),
|
|
13
13
|
first_name: zod.z.string().describe("Admin user's first name.").nullable().optional()
|
|
14
|
-
}).describe("Admin user object for a note.");
|
|
14
|
+
}).passthrough().describe("Admin user object for a note.");
|
|
15
15
|
const RecruiteeGetNotes_NoteGuestSchema = zod.z.object({
|
|
16
|
-
id: zod.z.number().int().describe("Unique identifier of the guest user."),
|
|
16
|
+
id: zod.z.number().int().describe("Unique identifier of the guest user.").nullable(),
|
|
17
17
|
name: zod.z.string().describe("Guest user's name.").nullable().optional(),
|
|
18
18
|
email: zod.z.string().describe("Guest user's email address.").nullable().optional()
|
|
19
|
-
}).describe("Guest user object for a note.");
|
|
19
|
+
}).passthrough().describe("Guest user object for a note.");
|
|
20
20
|
const RecruiteeGetNotes_NoteAttachmentSchema = zod.z.object({
|
|
21
|
-
id: zod.z.number().int().describe("Unique identifier of the attachment."),
|
|
22
|
-
url: zod.z.string().describe("Download URL of the attachment."),
|
|
23
|
-
filename: zod.z.string().describe("Name of the attachment file."),
|
|
24
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was created."),
|
|
25
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was last updated.")
|
|
26
|
-
}).describe("Attachment object for a note.");
|
|
21
|
+
id: zod.z.number().int().describe("Unique identifier of the attachment.").nullable(),
|
|
22
|
+
url: zod.z.string().describe("Download URL of the attachment.").nullable(),
|
|
23
|
+
filename: zod.z.string().describe("Name of the attachment file.").nullable(),
|
|
24
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was created.").nullable(),
|
|
25
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was last updated.").nullable()
|
|
26
|
+
}).passthrough().describe("Attachment object for a note.");
|
|
27
27
|
const RecruiteeGetNotes_NoteSchema = zod.z.object({
|
|
28
28
|
admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
|
|
29
29
|
guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),
|
|
@@ -31,13 +31,13 @@ const RecruiteeGetNotes_NoteSchema = zod.z.object({
|
|
|
31
31
|
guest_id: zod.z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
|
|
32
32
|
body_json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
|
|
33
33
|
triggered: zod.z.boolean().describe("Whether the note was triggered by an event.").nullable().optional(),
|
|
34
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the note was created."),
|
|
35
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated."),
|
|
34
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the note was created.").nullable(),
|
|
35
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
36
36
|
attachments: zod.z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
|
|
37
37
|
reply_to_id: zod.z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
|
|
38
38
|
candidate_id: zod.z.number().int().describe("ID of the associated candidate.").nullable().optional()
|
|
39
|
-
}).describe("Note object.");
|
|
40
|
-
const RecruiteeGetNotesOutput = zod.z.object({ notes: zod.z.array(RecruiteeGetNotes_NoteSchema).describe("List of note objects.") }).describe("Response model containing a list of notes for the candidate.");
|
|
39
|
+
}).passthrough().describe("Note object.");
|
|
40
|
+
const RecruiteeGetNotesOutput = zod.z.object({ notes: zod.z.array(RecruiteeGetNotes_NoteSchema).describe("List of note objects.") }).passthrough().describe("Response model containing a list of notes for the candidate.");
|
|
41
41
|
const recruiteeGetNotes = require_action.action("RECRUITEE_GET_NOTES", {
|
|
42
42
|
slug: "recruitee-get-notes",
|
|
43
43
|
name: "Get Notes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notes.cjs","names":["z","action"],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput
|
|
1
|
+
{"version":3,"file":"get-notes.cjs","names":["z","action"],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notes to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of notes to skip.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for retrieving a list of notes for a specific candidate.\");\nconst RecruiteeGetNotes_NoteAdminSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\").nullable(),\n email: z.string().describe(\"Admin user's email address.\").nullable().optional(),\n last_name: z.string().describe(\"Admin user's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Admin user's first name.\").nullable().optional(),\n}).passthrough().describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\").nullable(),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).passthrough().describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Name of the attachment file.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\").nullable(),\n}).passthrough().describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema = z.object({\n admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),\n guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body.\").nullable().optional(),\n triggered: z.boolean().describe(\"Whether the note was triggered by an event.\").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 attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe(\"List of attachments.\").nullable().optional(),\n reply_to_id: z.number().int().describe(\"ID of the note this one replies to.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the associated candidate.\").nullable().optional(),\n}).passthrough().describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).passthrough().describe(\"Response model containing a list of notes for the candidate.\");\n\nexport const recruiteeGetNotes = action(\"RECRUITEE_GET_NOTES\", {\n slug: \"recruitee-get-notes\",\n name: \"Get Notes\",\n description: \"Tool to retrieve a list of notes for a specific candidate. Use after confirming the candidate exists when you need to review their notes.\",\n input: RecruiteeGetNotesInput,\n output: RecruiteeGetNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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