@keystrokehq/recruitee 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-candidate.cjs +2 -2
- package/dist/actions/create-candidate.cjs.map +1 -1
- package/dist/actions/create-candidate.d.cts +2 -2
- package/dist/actions/create-candidate.d.mts +2 -2
- package/dist/actions/create-candidate.mjs +2 -2
- package/dist/actions/create-candidate.mjs.map +1 -1
- package/dist/actions/create-note.cjs +3 -3
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -3
- package/dist/actions/create-note.d.mts +3 -3
- package/dist/actions/create-note.mjs +3 -3
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-offer.cjs +1 -1
- package/dist/actions/create-offer.cjs.map +1 -1
- package/dist/actions/create-offer.d.cts +9 -9
- package/dist/actions/create-offer.d.mts +9 -9
- package/dist/actions/create-offer.mjs +1 -1
- package/dist/actions/create-offer.mjs.map +1 -1
- package/dist/actions/delete-candidate.cjs +1 -1
- package/dist/actions/delete-candidate.cjs.map +1 -1
- package/dist/actions/delete-candidate.d.cts +1 -1
- package/dist/actions/delete-candidate.d.cts.map +1 -1
- package/dist/actions/delete-candidate.d.mts +1 -1
- package/dist/actions/delete-candidate.d.mts.map +1 -1
- package/dist/actions/delete-candidate.mjs +1 -1
- package/dist/actions/delete-candidate.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +1 -1
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +1 -1
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/get-candidate.cjs +2 -2
- package/dist/actions/get-candidate.cjs.map +1 -1
- package/dist/actions/get-candidate.d.cts +2 -2
- package/dist/actions/get-candidate.d.mts +2 -2
- package/dist/actions/get-candidate.mjs +2 -2
- package/dist/actions/get-candidate.mjs.map +1 -1
- package/dist/actions/get-candidates.cjs +2 -2
- package/dist/actions/get-candidates.cjs.map +1 -1
- package/dist/actions/get-candidates.d.cts +2 -2
- package/dist/actions/get-candidates.d.mts +2 -2
- package/dist/actions/get-candidates.mjs +2 -2
- package/dist/actions/get-candidates.mjs.map +1 -1
- package/dist/actions/get-company-id.cjs +2 -2
- package/dist/actions/get-company-id.cjs.map +1 -1
- package/dist/actions/get-company-id.d.cts +2 -2
- package/dist/actions/get-company-id.d.mts +2 -2
- package/dist/actions/get-company-id.mjs +2 -2
- package/dist/actions/get-company-id.mjs.map +1 -1
- package/dist/actions/get-company-offer-public.cjs +2 -2
- package/dist/actions/get-company-offer-public.cjs.map +1 -1
- package/dist/actions/get-company-offer-public.d.cts +2 -2
- package/dist/actions/get-company-offer-public.d.mts +2 -2
- package/dist/actions/get-company-offer-public.mjs +2 -2
- package/dist/actions/get-company-offer-public.mjs.map +1 -1
- package/dist/actions/get-departments.cjs +2 -2
- package/dist/actions/get-departments.cjs.map +1 -1
- package/dist/actions/get-departments.d.cts +2 -2
- package/dist/actions/get-departments.d.mts +2 -2
- package/dist/actions/get-departments.mjs +2 -2
- package/dist/actions/get-departments.mjs.map +1 -1
- package/dist/actions/get-locations.cjs +3 -3
- package/dist/actions/get-locations.cjs.map +1 -1
- package/dist/actions/get-locations.d.cts +3 -3
- package/dist/actions/get-locations.d.mts +3 -3
- package/dist/actions/get-locations.mjs +3 -3
- package/dist/actions/get-locations.mjs.map +1 -1
- package/dist/actions/get-notes.cjs +5 -5
- package/dist/actions/get-notes.cjs.map +1 -1
- package/dist/actions/get-notes.d.cts +5 -5
- package/dist/actions/get-notes.d.mts +5 -5
- package/dist/actions/get-notes.mjs +5 -5
- package/dist/actions/get-notes.mjs.map +1 -1
- package/dist/actions/get-offers.cjs +2 -2
- package/dist/actions/get-offers.cjs.map +1 -1
- package/dist/actions/get-offers.d.cts +2 -2
- package/dist/actions/get-offers.d.mts +2 -2
- package/dist/actions/get-offers.mjs +2 -2
- package/dist/actions/get-offers.mjs.map +1 -1
- package/dist/actions/get-pipeline-stages.cjs +2 -2
- package/dist/actions/get-pipeline-stages.cjs.map +1 -1
- package/dist/actions/get-pipeline-stages.d.cts +2 -2
- package/dist/actions/get-pipeline-stages.d.mts +2 -2
- package/dist/actions/get-pipeline-stages.mjs +2 -2
- package/dist/actions/get-pipeline-stages.mjs.map +1 -1
- package/dist/actions/get-tags.cjs +2 -2
- package/dist/actions/get-tags.cjs.map +1 -1
- package/dist/actions/get-tags.d.cts +2 -2
- package/dist/actions/get-tags.d.mts +2 -2
- package/dist/actions/get-tags.mjs +2 -2
- package/dist/actions/get-tags.mjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.cjs +1 -1
- package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.cts +1 -1
- package/dist/actions/list-eeo-job-categories.d.mts +1 -1
- package/dist/actions/list-eeo-job-categories.mjs +1 -1
- package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +2 -2
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +2 -2
- package/dist/actions/list-invoices.d.mts +2 -2
- package/dist/actions/list-invoices.mjs +2 -2
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-localization-settings.cjs +1 -1
- package/dist/actions/list-localization-settings.cjs.map +1 -1
- package/dist/actions/list-localization-settings.d.cts +1 -1
- package/dist/actions/list-localization-settings.d.mts +1 -1
- package/dist/actions/list-localization-settings.mjs +1 -1
- package/dist/actions/list-localization-settings.mjs.map +1 -1
- package/dist/actions/list-share-countries.cjs +3 -3
- package/dist/actions/list-share-countries.cjs.map +1 -1
- package/dist/actions/list-share-countries.d.cts +3 -3
- package/dist/actions/list-share-countries.d.mts +3 -3
- package/dist/actions/list-share-countries.mjs +3 -3
- package/dist/actions/list-share-countries.mjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.cjs +2 -2
- package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.cts +2 -2
- package/dist/actions/list-share-eeo-answers.d.mts +2 -2
- package/dist/actions/list-share-eeo-answers.mjs +2 -2
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
- package/dist/actions/update-candidate.cjs +2 -2
- package/dist/actions/update-candidate.cjs.map +1 -1
- package/dist/actions/update-candidate.d.cts +2 -2
- package/dist/actions/update-candidate.d.mts +2 -2
- package/dist/actions/update-candidate.mjs +2 -2
- package/dist/actions/update-candidate.mjs.map +1 -1
- package/dist/actions/update-note.cjs +2 -2
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +2 -2
- package/dist/actions/update-note.d.mts +2 -2
- package/dist/actions/update-note.mjs +2 -2
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-offer.cjs +4 -4
- package/dist/actions/update-offer.cjs.map +1 -1
- package/dist/actions/update-offer.d.cts +12 -12
- package/dist/actions/update-offer.d.mts +12 -12
- package/dist/actions/update-offer.mjs +4 -4
- package/dist/actions/update-offer.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-candidate.mjs","names":[],"sources":["../../src/actions/update-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateCandidateInput = z.object({\n name: z.string().describe(\"Full name of the candidate.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the candidate.\").optional(),\n email: z.string().describe(\"Primary email address of the candidate. Note: The Recruitee API stores emails as an array, so this field may not update the candidate's email list as expected.\").optional(),\n phone: z.string().describe(\"Primary phone number of the candidate. Note: The Recruitee API stores phones as an array, so this field may not update the candidate's phone list as expected.\").optional(),\n photo: z.string().describe(\"URL to the candidate's photo.\").optional(),\n offers: z.array(z.number().int()).describe(\"List of offer IDs to associate with the candidate.\").optional(),\n resume: z.string().describe(\"URL to the candidate's resume.\").optional(),\n source: z.string().describe(\"Source from which the candidate was obtained. Must be a valid source defined in the Recruitee system. Common values include 'manual', 'career_site', etc. Invalid sources will result in a 422 error.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate to update.\"),\n cover_letter: z.string().describe(\"Cover letter text for the candidate.\").optional(),\n social_links: z.array(z.string().describe(\"URLs of the candidate's social profiles.\")).describe(\"List of social media profile links for the candidate.\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the candidate as defined by the company.\").optional(),\n}).describe(\"Request model for updating an existing candidate's profile.\");\nconst RecruiteeUpdateCandidate_CandidateSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n links: z.array(z.string()).describe(\"Additional URLs associated with the candidate.\").nullable().optional(),\n cv_url: z.string().describe(\"URL to view the candidate's CV/resume inline.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the candidate.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the candidate.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin user who owns this candidate.\").nullable().optional(),\n initials: z.string().describe(\"Candidate's initials derived from their name.\").nullable().optional(),\n photo_url: z.string().describe(\"URL of the candidate's full-size photo.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the candidate was created.\").nullable(),\n placements: z.array(z.unknown()).describe(\"List of job placements/applications for this candidate.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the candidate was last updated.\").nullable(),\n adminapp_url: z.string().describe(\"URL to view the candidate in the Recruitee admin interface.\").nullable().optional(),\n cover_letter: z.string().describe(\"Cover letter text.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"URLs of the candidate's social profiles.\").nullable().optional(),\n custom_fields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n cv_original_url: z.string().describe(\"URL to download the candidate's original CV/resume file.\").nullable().optional(),\n photo_thumb_url: z.string().describe(\"URL of the candidate's thumbnail photo.\").nullable().optional(),\n}).describe(\"Candidate schema returned by Recruitee.\");\nexport const RecruiteeUpdateCandidateOutput = z.object({\n candidate: RecruiteeUpdateCandidate_CandidateSchema.nullable(),\n}).describe(\"Response schema for the updated candidate.\");\n\nexport const recruiteeUpdateCandidate = action(\"RECRUITEE_UPDATE_CANDIDATE\", {\n slug: \"recruitee-update-candidate\",\n name: \"Update Candidate\",\n description: \"Updates an existing candidate's information in Recruitee. Use this to modify candidate details such as name, contact info, cover letter, tags, and social links. All fields except candidate_id are optional - only provide the fields you want to update. The API performs a partial update (PATCH), preserving any fields you don't specify.\",\n input: RecruiteeUpdateCandidateInput,\n output: RecruiteeUpdateCandidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACvM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACtM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,MAAM,EA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H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"update-candidate.mjs","names":[],"sources":["../../src/actions/update-candidate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateCandidateInput = z.object({\n name: z.string().describe(\"Full name of the candidate.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the candidate.\").optional(),\n email: z.string().describe(\"Primary email address of the candidate. Note: The Recruitee API stores emails as an array, so this field may not update the candidate's email list as expected.\").optional(),\n phone: z.string().describe(\"Primary phone number of the candidate. Note: The Recruitee API stores phones as an array, so this field may not update the candidate's phone list as expected.\").optional(),\n photo: z.string().describe(\"URL to the candidate's photo.\").optional(),\n offers: z.array(z.number().int()).describe(\"List of offer IDs to associate with the candidate.\").optional(),\n resume: z.string().describe(\"URL to the candidate's resume.\").optional(),\n source: z.string().describe(\"Source from which the candidate was obtained. Must be a valid source defined in the Recruitee system. Common values include 'manual', 'career_site', etc. Invalid sources will result in a 422 error.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate to update.\"),\n cover_letter: z.string().describe(\"Cover letter text for the candidate.\").optional(),\n social_links: z.array(z.string().describe(\"URLs of the candidate's social profiles.\")).describe(\"List of social media profile links for the candidate.\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the candidate as defined by the company.\").optional(),\n}).describe(\"Request model for updating an existing candidate's profile.\");\nconst RecruiteeUpdateCandidate_CandidateSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the candidate.\").nullable(),\n name: z.string().describe(\"Full name of the candidate.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the candidate.\").nullable().optional(),\n links: z.array(z.string()).describe(\"Additional URLs associated with the candidate.\").nullable().optional(),\n cv_url: z.string().describe(\"URL to view the candidate's CV/resume inline.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the candidate.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the candidate.\").nullable().optional(),\n source: z.string().describe(\"Source from which the candidate was obtained.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin user who owns this candidate.\").nullable().optional(),\n initials: z.string().describe(\"Candidate's initials derived from their name.\").nullable().optional(),\n photo_url: z.string().describe(\"URL of the candidate's full-size photo.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the candidate was created.\").nullable(),\n placements: z.array(z.unknown()).describe(\"List of job placements/applications for this candidate.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the candidate was last updated.\").nullable(),\n adminapp_url: z.string().describe(\"URL to view the candidate in the Recruitee admin interface.\").nullable().optional(),\n cover_letter: z.string().describe(\"Cover letter text.\").nullable().optional(),\n social_links: z.array(z.string()).describe(\"URLs of the candidate's social profiles.\").nullable().optional(),\n custom_fields: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n cv_original_url: z.string().describe(\"URL to download the candidate's original CV/resume file.\").nullable().optional(),\n photo_thumb_url: z.string().describe(\"URL of the candidate's thumbnail photo.\").nullable().optional(),\n}).passthrough().describe(\"Candidate schema returned by Recruitee.\");\nexport const RecruiteeUpdateCandidateOutput = z.object({\n candidate: RecruiteeUpdateCandidate_CandidateSchema.nullable(),\n}).passthrough().describe(\"Response schema for the updated candidate.\");\n\nexport const recruiteeUpdateCandidate = action(\"RECRUITEE_UPDATE_CANDIDATE\", {\n slug: \"recruitee-update-candidate\",\n name: \"Update Candidate\",\n description: \"Updates an existing candidate's information in Recruitee. Use this to modify candidate details such as name, contact info, cover letter, tags, and social links. All fields except candidate_id are optional - only provide the fields you want to update. The API performs a partial update (PATCH), preserving any fields you don't specify.\",\n input: RecruiteeUpdateCandidateInput,\n output: RecruiteeUpdateCandidateOutput,\n});\n"],"mappings":";;;AAIA,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,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,WAAW,yCAAyC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ const RecruiteeUpdateNote_NoteResponseSchema = zod.z.object({
|
|
|
19
19
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
20
20
|
reply_to_id: zod.z.number().int().describe("If reply, the parent note ID.").nullable().optional(),
|
|
21
21
|
candidate_id: zod.z.number().int().describe("ID of the candidate associated with the note.").nullable().optional()
|
|
22
|
-
}).describe("The note object returned by the API after update.");
|
|
23
|
-
const RecruiteeUpdateNoteOutput = zod.z.object({ note: RecruiteeUpdateNote_NoteResponseSchema.nullable() }).describe("Response model for the updated note.");
|
|
22
|
+
}).passthrough().describe("The note object returned by the API after update.");
|
|
23
|
+
const RecruiteeUpdateNoteOutput = zod.z.object({ note: RecruiteeUpdateNote_NoteResponseSchema.nullable() }).passthrough().describe("Response model for the updated note.");
|
|
24
24
|
const recruiteeUpdateNote = require_action.action("RECRUITEE_UPDATE_NOTE", {
|
|
25
25
|
slug: "recruitee-update-note",
|
|
26
26
|
name: "Update Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateNoteInput = z.object({\n body: z.string().describe(\"Updated text content of the note.\").optional(),\n pinned: z.boolean().describe(\"True to pin the note, false to unpin.\").optional(),\n note_id: z.number().int().describe(\"Unique identifier of the note to update.\"),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for updating an existing note for a candidate.\");\nconst RecruiteeUpdateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note.\").nullable(),\n body: z.string().describe(\"Text content of the note.\").nullable(),\n pinned: z.boolean().describe(\"Pin status of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created or updated the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created or updated the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML version of the note body, if any.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body, if any.\").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 reply_to_id: z.number().int().describe(\"If reply, the parent note ID.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the candidate associated with the note.\").nullable().optional(),\n}).describe(\"The note object returned by the API after update.\");\nexport const RecruiteeUpdateNoteOutput = z.object({\n note: RecruiteeUpdateNote_NoteResponseSchema.nullable(),\n}).describe(\"Response model for the updated note.\");\n\nexport const recruiteeUpdateNote = action(\"RECRUITEE_UPDATE_NOTE\", {\n slug: \"recruitee-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note for a candidate. Use when you need to modify note text or pin status after creation.\",\n input: RecruiteeUpdateNoteInput,\n output: RecruiteeUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateNoteInput = z.object({\n body: z.string().describe(\"Updated text content of the note.\").optional(),\n pinned: z.boolean().describe(\"True to pin the note, false to unpin.\").optional(),\n note_id: z.number().int().describe(\"Unique identifier of the note to update.\"),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for updating an existing note for a candidate.\");\nconst RecruiteeUpdateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note.\").nullable(),\n body: z.string().describe(\"Text content of the note.\").nullable(),\n pinned: z.boolean().describe(\"Pin status of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created or updated the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created or updated the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML version of the note body, if any.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body, if any.\").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 reply_to_id: z.number().int().describe(\"If reply, the parent note ID.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the candidate associated with the note.\").nullable().optional(),\n}).passthrough().describe(\"The note object returned by the API after update.\");\nexport const RecruiteeUpdateNoteOutput = z.object({\n note: RecruiteeUpdateNote_NoteResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const recruiteeUpdateNote = action(\"RECRUITEE_UPDATE_NOTE\", {\n slug: \"recruitee-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note for a candidate. Use when you need to modify note text or pin status after creation.\",\n input: RecruiteeUpdateNoteInput,\n output: RecruiteeUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5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: z.ZodNullable<z.ZodString>;
|
|
21
21
|
reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const recruiteeUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
note_id: number;
|
|
27
27
|
candidate_id: number;
|
|
@@ -20,8 +20,8 @@ declare const RecruiteeUpdateNoteOutput: z.ZodObject<{
|
|
|
20
20
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
21
21
|
reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const recruiteeUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
note_id: number;
|
|
27
27
|
candidate_id: number;
|
|
@@ -19,13 +19,13 @@ const RecruiteeUpdateNote_NoteResponseSchema = z.object({
|
|
|
19
19
|
updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
20
20
|
reply_to_id: z.number().int().describe("If reply, the parent note ID.").nullable().optional(),
|
|
21
21
|
candidate_id: z.number().int().describe("ID of the candidate associated with the note.").nullable().optional()
|
|
22
|
-
}).describe("The note object returned by the API after update.");
|
|
22
|
+
}).passthrough().describe("The note object returned by the API after update.");
|
|
23
23
|
const recruiteeUpdateNote = action("RECRUITEE_UPDATE_NOTE", {
|
|
24
24
|
slug: "recruitee-update-note",
|
|
25
25
|
name: "Update Note",
|
|
26
26
|
description: "Tool to update an existing note for a candidate. Use when you need to modify note text or pin status after creation.",
|
|
27
27
|
input: RecruiteeUpdateNoteInput,
|
|
28
|
-
output: z.object({ note: RecruiteeUpdateNote_NoteResponseSchema.nullable() }).describe("Response model for the updated note.")
|
|
28
|
+
output: z.object({ note: RecruiteeUpdateNote_NoteResponseSchema.nullable() }).passthrough().describe("Response model for the updated note.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { recruiteeUpdateNote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateNoteInput = z.object({\n body: z.string().describe(\"Updated text content of the note.\").optional(),\n pinned: z.boolean().describe(\"True to pin the note, false to unpin.\").optional(),\n note_id: z.number().int().describe(\"Unique identifier of the note to update.\"),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for updating an existing note for a candidate.\");\nconst RecruiteeUpdateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note.\").nullable(),\n body: z.string().describe(\"Text content of the note.\").nullable(),\n pinned: z.boolean().describe(\"Pin status of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created or updated the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created or updated the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML version of the note body, if any.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body, if any.\").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 reply_to_id: z.number().int().describe(\"If reply, the parent note ID.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the candidate associated with the note.\").nullable().optional(),\n}).describe(\"The note object returned by the API after update.\");\nexport const RecruiteeUpdateNoteOutput = z.object({\n note: RecruiteeUpdateNote_NoteResponseSchema.nullable(),\n}).describe(\"Response model for the updated note.\");\n\nexport const recruiteeUpdateNote = action(\"RECRUITEE_UPDATE_NOTE\", {\n slug: \"recruitee-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note for a candidate. Use when you need to modify note text or pin status after creation.\",\n input: RecruiteeUpdateNoteInput,\n output: RecruiteeUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateNoteInput = z.object({\n body: z.string().describe(\"Updated text content of the note.\").optional(),\n pinned: z.boolean().describe(\"True to pin the note, false to unpin.\").optional(),\n note_id: z.number().int().describe(\"Unique identifier of the note to update.\"),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for updating an existing note for a candidate.\");\nconst RecruiteeUpdateNote_NoteResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note.\").nullable(),\n body: z.string().describe(\"Text content of the note.\").nullable(),\n pinned: z.boolean().describe(\"Pin status of the note.\").nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created or updated the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created or updated the note.\").nullable().optional(),\n body_html: z.string().describe(\"HTML version of the note body, if any.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body, if any.\").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 reply_to_id: z.number().int().describe(\"If reply, the parent note ID.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the candidate associated with the note.\").nullable().optional(),\n}).passthrough().describe(\"The note object returned by the API after update.\");\nexport const RecruiteeUpdateNoteOutput = z.object({\n note: RecruiteeUpdateNote_NoteResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const recruiteeUpdateNote = action(\"RECRUITEE_UPDATE_NOTE\", {\n slug: \"recruitee-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note for a candidate. Use when you need to modify note text or pin status after creation.\",\n input: RecruiteeUpdateNoteInput,\n output: RecruiteeUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -54,11 +54,11 @@ const RecruiteeUpdateOffer_AttachmentInfoSchema = zod.z.object({
|
|
|
54
54
|
id: zod.z.number().int().describe("Unique attachment ID.").nullable(),
|
|
55
55
|
url: zod.z.string().describe("Download URL of the attachment.").nullable(),
|
|
56
56
|
filename: zod.z.string().describe("Uploaded filename.").nullable()
|
|
57
|
-
}).describe("Attachment metadata linked to the job offer.");
|
|
57
|
+
}).passthrough().describe("Attachment metadata linked to the job offer.");
|
|
58
58
|
const RecruiteeUpdateOffer_OfferCustomFieldSchema = zod.z.object({
|
|
59
59
|
value: zod.z.unknown().describe("Value of the custom field."),
|
|
60
60
|
field_key: zod.z.string().describe("Custom field identifier key.").nullable()
|
|
61
|
-
}).describe("Key/value pair for a custom field on the offer.");
|
|
61
|
+
}).passthrough().describe("Key/value pair for a custom field on the offer.");
|
|
62
62
|
const RecruiteeUpdateOffer_OfferSchema = zod.z.object({
|
|
63
63
|
id: zod.z.number().int().describe("Unique identifier of the offer.").nullable(),
|
|
64
64
|
ref: zod.z.string().describe("Internal reference code.").nullable().optional(),
|
|
@@ -81,8 +81,8 @@ const RecruiteeUpdateOffer_OfferSchema = zod.z.object({
|
|
|
81
81
|
employment_types: zod.z.array(zod.z.string()).describe("List of employment types for this offer.").nullable().optional(),
|
|
82
82
|
visibility_options: zod.z.array(zod.z.string()).describe("Visibility options for this offer.").nullable().optional(),
|
|
83
83
|
options_cover_letter: zod.z.string().describe("Cover letter requirement setting in application form.").nullable().optional()
|
|
84
|
-
}).describe("Schema for a job offer in Recruitee.");
|
|
85
|
-
const RecruiteeUpdateOfferOutput = zod.z.object({ offer: RecruiteeUpdateOffer_OfferSchema.nullable() }).describe("Response schema for the updated job offer.");
|
|
84
|
+
}).passthrough().describe("Schema for a job offer in Recruitee.");
|
|
85
|
+
const RecruiteeUpdateOfferOutput = zod.z.object({ offer: RecruiteeUpdateOffer_OfferSchema.nullable() }).passthrough().describe("Response schema for the updated job offer.");
|
|
86
86
|
const recruiteeUpdateOffer = require_action.action("RECRUITEE_UPDATE_OFFER", {
|
|
87
87
|
slug: "recruitee-update-offer",
|
|
88
88
|
name: "Update Offer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-offer.cjs","names":["z","action"],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateOfferInput = z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer: 'job' for standard job postings or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\").optional(),\n hybrid: z.boolean().describe(\"Display the job as hybrid (combination of on-site and remote) on the careers site.\").optional(),\n remote: z.boolean().describe(\"Display the job as fully remote on the careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer. Options: 'draft' (not visible), 'internal' (visible to team), 'published' (public), 'closed' (no longer accepting applications), 'archived' (hidden from all views).\").optional(),\n on_site: z.boolean().describe(\"Display the job as on-site on the careers site.\").optional(),\n offer_id: z.number().int().describe(\"The unique identifier of the offer to update. Required.\"),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV/resume upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n description: z.string().describe(\"Detailed description of the job offer. Supports HTML formatting.\").optional(),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use Get Locations action to retrieve valid IDs.\").optional(),\n requirements: z.string().describe(\"Job requirements and qualifications. Supports HTML formatting.\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use Get Departments action to retrieve valid IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone number field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n locations_question: z.string().describe(\"Custom question text for the location picker in the application form. Only used when 'locations_question' is in visibility_options.\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Job visibility and feature options. Include 'indeed' to post on Indeed, 'linkedin' for LinkedIn, 'social_share' for social media sharing, 'job_location' to show location, 'locations_question' to enable location picker in application form.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location selection in application form: 'single_choice' allows one location, 'multiple_choice' allows multiple.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether applicants must answer the location question to submit their application.\").optional(),\n}).describe(\"Request model for updating an existing job offer. All fields except offer_id are optional.\\nOnly provide fields you want to update - other fields will remain unchanged.\");\nconst RecruiteeUpdateOffer_AttachmentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique attachment ID.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Uploaded filename.\").nullable(),\n}).describe(\"Attachment metadata linked to the job offer.\");\nconst RecruiteeUpdateOffer_OfferCustomFieldSchema = z.object({\n value: z.unknown().describe(\"Value of the custom field.\"),\n field_key: z.string().describe(\"Custom field identifier key.\").nullable(),\n}).describe(\"Key/value pair for a custom field on the offer.\");\nconst RecruiteeUpdateOffer_OfferSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n ref: z.string().describe(\"Internal reference code.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer, e.g., 'job' or 'talent_pool'.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the offer.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to the offer.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.string().describe(\"Current status of the offer.\").nullable(),\n locations: z.array(z.string()).describe(\"List of locations for this offer.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 datetime when the offer was created.\").nullable(),\n expires_at: z.string().describe(\"ISO 8601 datetime when the offer expires.\").nullable().optional(),\n options_cv: z.string().describe(\"CV requirement setting in application form.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the offer was last updated.\").nullable(),\n attachments: z.array(RecruiteeUpdateOffer_AttachmentInfoSchema).describe(\"Attachments linked to the offer.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the job offer.\").nullable().optional(),\n custom_fields: z.array(RecruiteeUpdateOffer_OfferCustomFieldSchema).describe(\"Custom fields for the offer.\").nullable().optional(),\n department_id: z.number().int().describe(\"Department ID this offer belongs to.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone requirement setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo requirement setting in application form.\").nullable().optional(),\n employment_types: z.array(z.string()).describe(\"List of employment types for this offer.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Visibility options for this offer.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter requirement setting in application form.\").nullable().optional(),\n}).describe(\"Schema for a job offer in Recruitee.\");\nexport const RecruiteeUpdateOfferOutput = z.object({\n offer: RecruiteeUpdateOffer_OfferSchema.nullable(),\n}).describe(\"Response schema for the updated job offer.\");\n\nexport const recruiteeUpdateOffer = action(\"RECRUITEE_UPDATE_OFFER\", {\n slug: \"recruitee-update-offer\",\n name: \"Update Offer\",\n description: \"Updates an existing job offer or talent pool in Recruitee. Allows modification of offer details including title, description, requirements, status, locations, department assignment, work type (remote/hybrid/on-site), visibility settings, and application form field requirements. Only specified fields are updated; omitted fields remain unchanged. Requires the offer ID - use Get Offers or Get Offer actions to retrieve existing offer IDs.\",\n input: RecruiteeUpdateOfferInput,\n output: RecruiteeUpdateOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,QA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OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAO,iCAAiC,SAAS,EACnD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-offer.cjs","names":["z","action"],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateOfferInput = z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer: 'job' for standard job postings or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\").optional(),\n hybrid: z.boolean().describe(\"Display the job as hybrid (combination of on-site and remote) on the careers site.\").optional(),\n remote: z.boolean().describe(\"Display the job as fully remote on the careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer. Options: 'draft' (not visible), 'internal' (visible to team), 'published' (public), 'closed' (no longer accepting applications), 'archived' (hidden from all views).\").optional(),\n on_site: z.boolean().describe(\"Display the job as on-site on the careers site.\").optional(),\n offer_id: z.number().int().describe(\"The unique identifier of the offer to update. Required.\"),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV/resume upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n description: z.string().describe(\"Detailed description of the job offer. Supports HTML formatting.\").optional(),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use Get Locations action to retrieve valid IDs.\").optional(),\n requirements: z.string().describe(\"Job requirements and qualifications. Supports HTML formatting.\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use Get Departments action to retrieve valid IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone number field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n locations_question: z.string().describe(\"Custom question text for the location picker in the application form. Only used when 'locations_question' is in visibility_options.\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Job visibility and feature options. Include 'indeed' to post on Indeed, 'linkedin' for LinkedIn, 'social_share' for social media sharing, 'job_location' to show location, 'locations_question' to enable location picker in application form.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location selection in application form: 'single_choice' allows one location, 'multiple_choice' allows multiple.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether applicants must answer the location question to submit their application.\").optional(),\n}).describe(\"Request model for updating an existing job offer. All fields except offer_id are optional.\\nOnly provide fields you want to update - other fields will remain unchanged.\");\nconst RecruiteeUpdateOffer_AttachmentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique attachment ID.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Uploaded filename.\").nullable(),\n}).passthrough().describe(\"Attachment metadata linked to the job offer.\");\nconst RecruiteeUpdateOffer_OfferCustomFieldSchema = z.object({\n value: z.unknown().describe(\"Value of the custom field.\"),\n field_key: z.string().describe(\"Custom field identifier key.\").nullable(),\n}).passthrough().describe(\"Key/value pair for a custom field on the offer.\");\nconst RecruiteeUpdateOffer_OfferSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n ref: z.string().describe(\"Internal reference code.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer, e.g., 'job' or 'talent_pool'.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the offer.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to the offer.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.string().describe(\"Current status of the offer.\").nullable(),\n locations: z.array(z.string()).describe(\"List of locations for this offer.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 datetime when the offer was created.\").nullable(),\n expires_at: z.string().describe(\"ISO 8601 datetime when the offer expires.\").nullable().optional(),\n options_cv: z.string().describe(\"CV requirement setting in application form.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the offer was last updated.\").nullable(),\n attachments: z.array(RecruiteeUpdateOffer_AttachmentInfoSchema).describe(\"Attachments linked to the offer.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the job offer.\").nullable().optional(),\n custom_fields: z.array(RecruiteeUpdateOffer_OfferCustomFieldSchema).describe(\"Custom fields for the offer.\").nullable().optional(),\n department_id: z.number().int().describe(\"Department ID this offer belongs to.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone requirement setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo requirement setting in application form.\").nullable().optional(),\n employment_types: z.array(z.string()).describe(\"List of employment types for this offer.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Visibility options for this offer.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter requirement setting in application form.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a job offer in Recruitee.\");\nexport const RecruiteeUpdateOfferOutput = z.object({\n offer: RecruiteeUpdateOffer_OfferSchema.nullable(),\n}).passthrough().describe(\"Response schema for the updated job offer.\");\n\nexport const recruiteeUpdateOffer = action(\"RECRUITEE_UPDATE_OFFER\", {\n slug: \"recruitee-update-offer\",\n name: \"Update Offer\",\n description: \"Updates an existing job offer or talent pool in Recruitee. Allows modification of offer details including title, description, requirements, status, locations, department assignment, work type (remote/hybrid/on-site), visibility settings, and application form field requirements. Only specified fields are updated; omitted fields remain unchanged. Requires the offer ID - use Get Offers or Get Offer actions to retrieve existing offer IDs.\",\n input: RecruiteeUpdateOfferInput,\n output: RecruiteeUpdateOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAa;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CAChS,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F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AAS;CACzG,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAO,iCAAiC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
19
19
|
on_site: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
offer_id: z.ZodNumber;
|
|
21
21
|
options_cv: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
optional: "optional";
|
|
23
22
|
required: "required";
|
|
23
|
+
optional: "optional";
|
|
24
24
|
off: "off";
|
|
25
25
|
}>>;
|
|
26
26
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -28,13 +28,13 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
28
28
|
requirements: z.ZodOptional<z.ZodString>;
|
|
29
29
|
department_id: z.ZodOptional<z.ZodNumber>;
|
|
30
30
|
options_phone: z.ZodOptional<z.ZodEnum<{
|
|
31
|
-
optional: "optional";
|
|
32
31
|
required: "required";
|
|
32
|
+
optional: "optional";
|
|
33
33
|
off: "off";
|
|
34
34
|
}>>;
|
|
35
35
|
options_photo: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
optional: "optional";
|
|
37
36
|
required: "required";
|
|
37
|
+
optional: "optional";
|
|
38
38
|
off: "off";
|
|
39
39
|
}>>;
|
|
40
40
|
locations_question: z.ZodOptional<z.ZodString>;
|
|
@@ -46,8 +46,8 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
46
46
|
linkedin: "linkedin";
|
|
47
47
|
}>>>;
|
|
48
48
|
options_cover_letter: z.ZodOptional<z.ZodEnum<{
|
|
49
|
-
optional: "optional";
|
|
50
49
|
required: "required";
|
|
50
|
+
optional: "optional";
|
|
51
51
|
off: "off";
|
|
52
52
|
}>>;
|
|
53
53
|
locations_question_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -74,20 +74,20 @@ declare const RecruiteeUpdateOfferOutput: z.ZodObject<{
|
|
|
74
74
|
id: z.ZodNullable<z.ZodNumber>;
|
|
75
75
|
url: z.ZodNullable<z.ZodString>;
|
|
76
76
|
filename: z.ZodNullable<z.ZodString>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>>>;
|
|
78
78
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
80
80
|
value: z.ZodUnknown;
|
|
81
81
|
field_key: z.ZodNullable<z.ZodString>;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$loose>>>>;
|
|
83
83
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
84
84
|
options_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
85
|
options_photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
86
|
employment_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
87
87
|
visibility_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
88
88
|
options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
}, z.core.$
|
|
90
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>>;
|
|
90
|
+
}, z.core.$loose>;
|
|
91
91
|
declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
92
92
|
offer_id: number;
|
|
93
93
|
kind?: "job" | "talent_pool" | undefined;
|
|
@@ -96,16 +96,16 @@ declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowAction
|
|
|
96
96
|
remote?: boolean | undefined;
|
|
97
97
|
status?: "draft" | "internal" | "published" | "closed" | "archived" | undefined;
|
|
98
98
|
on_site?: boolean | undefined;
|
|
99
|
-
options_cv?: "
|
|
99
|
+
options_cv?: "required" | "optional" | "off" | undefined;
|
|
100
100
|
description?: string | undefined;
|
|
101
101
|
location_ids?: number[] | undefined;
|
|
102
102
|
requirements?: string | undefined;
|
|
103
103
|
department_id?: number | undefined;
|
|
104
|
-
options_phone?: "
|
|
105
|
-
options_photo?: "
|
|
104
|
+
options_phone?: "required" | "optional" | "off" | undefined;
|
|
105
|
+
options_photo?: "required" | "optional" | "off" | undefined;
|
|
106
106
|
locations_question?: string | undefined;
|
|
107
107
|
visibility_options?: ("locations_question" | "indeed" | "social_share" | "job_location" | "linkedin")[] | undefined;
|
|
108
|
-
options_cover_letter?: "
|
|
108
|
+
options_cover_letter?: "required" | "optional" | "off" | undefined;
|
|
109
109
|
locations_question_type?: "single_choice" | "multiple_choice" | undefined;
|
|
110
110
|
locations_question_required?: boolean | undefined;
|
|
111
111
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -19,8 +19,8 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
19
19
|
on_site: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
offer_id: z.ZodNumber;
|
|
21
21
|
options_cv: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
optional: "optional";
|
|
23
22
|
required: "required";
|
|
23
|
+
optional: "optional";
|
|
24
24
|
off: "off";
|
|
25
25
|
}>>;
|
|
26
26
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -28,13 +28,13 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
28
28
|
requirements: z.ZodOptional<z.ZodString>;
|
|
29
29
|
department_id: z.ZodOptional<z.ZodNumber>;
|
|
30
30
|
options_phone: z.ZodOptional<z.ZodEnum<{
|
|
31
|
-
optional: "optional";
|
|
32
31
|
required: "required";
|
|
32
|
+
optional: "optional";
|
|
33
33
|
off: "off";
|
|
34
34
|
}>>;
|
|
35
35
|
options_photo: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
optional: "optional";
|
|
37
36
|
required: "required";
|
|
37
|
+
optional: "optional";
|
|
38
38
|
off: "off";
|
|
39
39
|
}>>;
|
|
40
40
|
locations_question: z.ZodOptional<z.ZodString>;
|
|
@@ -46,8 +46,8 @@ declare const RecruiteeUpdateOfferInput: z.ZodObject<{
|
|
|
46
46
|
linkedin: "linkedin";
|
|
47
47
|
}>>>;
|
|
48
48
|
options_cover_letter: z.ZodOptional<z.ZodEnum<{
|
|
49
|
-
optional: "optional";
|
|
50
49
|
required: "required";
|
|
50
|
+
optional: "optional";
|
|
51
51
|
off: "off";
|
|
52
52
|
}>>;
|
|
53
53
|
locations_question_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -74,20 +74,20 @@ declare const RecruiteeUpdateOfferOutput: z.ZodObject<{
|
|
|
74
74
|
id: z.ZodNullable<z.ZodNumber>;
|
|
75
75
|
url: z.ZodNullable<z.ZodString>;
|
|
76
76
|
filename: z.ZodNullable<z.ZodString>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>>>;
|
|
78
78
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
80
80
|
value: z.ZodUnknown;
|
|
81
81
|
field_key: z.ZodNullable<z.ZodString>;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$loose>>>>;
|
|
83
83
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
84
84
|
options_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
85
|
options_photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
86
|
employment_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
87
87
|
visibility_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
88
88
|
options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
}, z.core.$
|
|
90
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>>;
|
|
90
|
+
}, z.core.$loose>;
|
|
91
91
|
declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
92
92
|
offer_id: number;
|
|
93
93
|
kind?: "job" | "talent_pool" | undefined;
|
|
@@ -96,16 +96,16 @@ declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowAction
|
|
|
96
96
|
remote?: boolean | undefined;
|
|
97
97
|
status?: "draft" | "internal" | "published" | "closed" | "archived" | undefined;
|
|
98
98
|
on_site?: boolean | undefined;
|
|
99
|
-
options_cv?: "
|
|
99
|
+
options_cv?: "required" | "optional" | "off" | undefined;
|
|
100
100
|
description?: string | undefined;
|
|
101
101
|
location_ids?: number[] | undefined;
|
|
102
102
|
requirements?: string | undefined;
|
|
103
103
|
department_id?: number | undefined;
|
|
104
|
-
options_phone?: "
|
|
105
|
-
options_photo?: "
|
|
104
|
+
options_phone?: "required" | "optional" | "off" | undefined;
|
|
105
|
+
options_photo?: "required" | "optional" | "off" | undefined;
|
|
106
106
|
locations_question?: string | undefined;
|
|
107
107
|
visibility_options?: ("locations_question" | "indeed" | "social_share" | "job_location" | "linkedin")[] | undefined;
|
|
108
|
-
options_cover_letter?: "
|
|
108
|
+
options_cover_letter?: "required" | "optional" | "off" | undefined;
|
|
109
109
|
locations_question_type?: "single_choice" | "multiple_choice" | undefined;
|
|
110
110
|
locations_question_required?: boolean | undefined;
|
|
111
111
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -54,11 +54,11 @@ const RecruiteeUpdateOffer_AttachmentInfoSchema = z.object({
|
|
|
54
54
|
id: z.number().int().describe("Unique attachment ID.").nullable(),
|
|
55
55
|
url: z.string().describe("Download URL of the attachment.").nullable(),
|
|
56
56
|
filename: z.string().describe("Uploaded filename.").nullable()
|
|
57
|
-
}).describe("Attachment metadata linked to the job offer.");
|
|
57
|
+
}).passthrough().describe("Attachment metadata linked to the job offer.");
|
|
58
58
|
const RecruiteeUpdateOffer_OfferCustomFieldSchema = z.object({
|
|
59
59
|
value: z.unknown().describe("Value of the custom field."),
|
|
60
60
|
field_key: z.string().describe("Custom field identifier key.").nullable()
|
|
61
|
-
}).describe("Key/value pair for a custom field on the offer.");
|
|
61
|
+
}).passthrough().describe("Key/value pair for a custom field on the offer.");
|
|
62
62
|
const RecruiteeUpdateOffer_OfferSchema = z.object({
|
|
63
63
|
id: z.number().int().describe("Unique identifier of the offer.").nullable(),
|
|
64
64
|
ref: z.string().describe("Internal reference code.").nullable().optional(),
|
|
@@ -81,13 +81,13 @@ const RecruiteeUpdateOffer_OfferSchema = z.object({
|
|
|
81
81
|
employment_types: z.array(z.string()).describe("List of employment types for this offer.").nullable().optional(),
|
|
82
82
|
visibility_options: z.array(z.string()).describe("Visibility options for this offer.").nullable().optional(),
|
|
83
83
|
options_cover_letter: z.string().describe("Cover letter requirement setting in application form.").nullable().optional()
|
|
84
|
-
}).describe("Schema for a job offer in Recruitee.");
|
|
84
|
+
}).passthrough().describe("Schema for a job offer in Recruitee.");
|
|
85
85
|
const recruiteeUpdateOffer = action("RECRUITEE_UPDATE_OFFER", {
|
|
86
86
|
slug: "recruitee-update-offer",
|
|
87
87
|
name: "Update Offer",
|
|
88
88
|
description: "Updates an existing job offer or talent pool in Recruitee. Allows modification of offer details including title, description, requirements, status, locations, department assignment, work type (remote/hybrid/on-site), visibility settings, and application form field requirements. Only specified fields are updated; omitted fields remain unchanged. Requires the offer ID - use Get Offers or Get Offer actions to retrieve existing offer IDs.",
|
|
89
89
|
input: RecruiteeUpdateOfferInput,
|
|
90
|
-
output: z.object({ offer: RecruiteeUpdateOffer_OfferSchema.nullable() }).describe("Response schema for the updated job offer.")
|
|
90
|
+
output: z.object({ offer: RecruiteeUpdateOffer_OfferSchema.nullable() }).passthrough().describe("Response schema for the updated job offer.")
|
|
91
91
|
});
|
|
92
92
|
//#endregion
|
|
93
93
|
export { recruiteeUpdateOffer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-offer.mjs","names":[],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateOfferInput = z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer: 'job' for standard job postings or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\").optional(),\n hybrid: z.boolean().describe(\"Display the job as hybrid (combination of on-site and remote) on the careers site.\").optional(),\n remote: z.boolean().describe(\"Display the job as fully remote on the careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer. Options: 'draft' (not visible), 'internal' (visible to team), 'published' (public), 'closed' (no longer accepting applications), 'archived' (hidden from all views).\").optional(),\n on_site: z.boolean().describe(\"Display the job as on-site on the careers site.\").optional(),\n offer_id: z.number().int().describe(\"The unique identifier of the offer to update. Required.\"),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV/resume upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n description: z.string().describe(\"Detailed description of the job offer. Supports HTML formatting.\").optional(),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use Get Locations action to retrieve valid IDs.\").optional(),\n requirements: z.string().describe(\"Job requirements and qualifications. Supports HTML formatting.\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use Get Departments action to retrieve valid IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone number field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n locations_question: z.string().describe(\"Custom question text for the location picker in the application form. Only used when 'locations_question' is in visibility_options.\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Job visibility and feature options. Include 'indeed' to post on Indeed, 'linkedin' for LinkedIn, 'social_share' for social media sharing, 'job_location' to show location, 'locations_question' to enable location picker in application form.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location selection in application form: 'single_choice' allows one location, 'multiple_choice' allows multiple.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether applicants must answer the location question to submit their application.\").optional(),\n}).describe(\"Request model for updating an existing job offer. All fields except offer_id are optional.\\nOnly provide fields you want to update - other fields will remain unchanged.\");\nconst RecruiteeUpdateOffer_AttachmentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique attachment ID.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Uploaded filename.\").nullable(),\n}).describe(\"Attachment metadata linked to the job offer.\");\nconst RecruiteeUpdateOffer_OfferCustomFieldSchema = z.object({\n value: z.unknown().describe(\"Value of the custom field.\"),\n field_key: z.string().describe(\"Custom field identifier key.\").nullable(),\n}).describe(\"Key/value pair for a custom field on the offer.\");\nconst RecruiteeUpdateOffer_OfferSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n ref: z.string().describe(\"Internal reference code.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer, e.g., 'job' or 'talent_pool'.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the offer.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to the offer.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.string().describe(\"Current status of the offer.\").nullable(),\n locations: z.array(z.string()).describe(\"List of locations for this offer.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 datetime when the offer was created.\").nullable(),\n expires_at: z.string().describe(\"ISO 8601 datetime when the offer expires.\").nullable().optional(),\n options_cv: z.string().describe(\"CV requirement setting in application form.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the offer was last updated.\").nullable(),\n attachments: z.array(RecruiteeUpdateOffer_AttachmentInfoSchema).describe(\"Attachments linked to the offer.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the job offer.\").nullable().optional(),\n custom_fields: z.array(RecruiteeUpdateOffer_OfferCustomFieldSchema).describe(\"Custom fields for the offer.\").nullable().optional(),\n department_id: z.number().int().describe(\"Department ID this offer belongs to.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone requirement setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo requirement setting in application form.\").nullable().optional(),\n employment_types: z.array(z.string()).describe(\"List of employment types for this offer.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Visibility options for this offer.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter requirement setting in application form.\").nullable().optional(),\n}).describe(\"Schema for a job offer in Recruitee.\");\nexport const RecruiteeUpdateOfferOutput = z.object({\n offer: RecruiteeUpdateOffer_OfferSchema.nullable(),\n}).describe(\"Response schema for the updated job offer.\");\n\nexport const recruiteeUpdateOffer = action(\"RECRUITEE_UPDATE_OFFER\", {\n slug: \"recruitee-update-offer\",\n name: \"Update Offer\",\n description: \"Updates an existing job offer or talent pool in Recruitee. Allows modification of offer details including title, description, requirements, status, locations, department assignment, work type (remote/hybrid/on-site), visibility settings, and application form field requirements. Only specified fields are updated; omitted fields remain unchanged. Requires the offer ID - use Get Offers or Get Offer actions to retrieve existing offer IDs.\",\n input: RecruiteeUpdateOfferInput,\n output: RecruiteeUpdateOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAY;EAAa;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CAChS,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC7F,YAAY,EAAE,KAAK;EAAC;EAAY;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC/M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,cAAc,EAAE,MAAM,EAAE,OA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AAC,CAAC,SAAS;CAC/F,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,iCAAiC,SAAS,EACnD,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-offer.mjs","names":[],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeUpdateOfferInput = z.object({\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer: 'job' for standard job postings or 'talent_pool' for talent pools.\").optional(),\n title: z.string().describe(\"The title of the job offer.\").optional(),\n hybrid: z.boolean().describe(\"Display the job as hybrid (combination of on-site and remote) on the careers site.\").optional(),\n remote: z.boolean().describe(\"Display the job as fully remote on the careers site.\").optional(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer. Options: 'draft' (not visible), 'internal' (visible to team), 'published' (public), 'closed' (no longer accepting applications), 'archived' (hidden from all views).\").optional(),\n on_site: z.boolean().describe(\"Display the job as on-site on the careers site.\").optional(),\n offer_id: z.number().int().describe(\"The unique identifier of the offer to update. Required.\"),\n options_cv: z.enum([\"required\", \"optional\", \"off\"]).describe(\"CV/resume upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n description: z.string().describe(\"Detailed description of the job offer. Supports HTML formatting.\").optional(),\n location_ids: z.array(z.number().int()).describe(\"List of location IDs for the job offer. Use Get Locations action to retrieve valid IDs.\").optional(),\n requirements: z.string().describe(\"Job requirements and qualifications. Supports HTML formatting.\").optional(),\n department_id: z.number().int().describe(\"Department ID to assign the offer to. Use Get Departments action to retrieve valid IDs.\").optional(),\n options_phone: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Phone number field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n options_photo: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Photo upload field setting in application form. Options: 'required' (must upload), 'optional' (can upload), 'off' (field hidden).\").optional(),\n locations_question: z.string().describe(\"Custom question text for the location picker in the application form. Only used when 'locations_question' is in visibility_options.\").optional(),\n visibility_options: z.array(z.enum([\"indeed\", \"social_share\", \"job_location\", \"linkedin\", \"locations_question\"])).describe(\"Job visibility and feature options. Include 'indeed' to post on Indeed, 'linkedin' for LinkedIn, 'social_share' for social media sharing, 'job_location' to show location, 'locations_question' to enable location picker in application form.\").optional(),\n options_cover_letter: z.enum([\"required\", \"optional\", \"off\"]).describe(\"Cover letter field setting in application form. Options: 'required' (must provide), 'optional' (can provide), 'off' (field hidden).\").optional(),\n locations_question_type: z.enum([\"single_choice\", \"multiple_choice\"]).describe(\"Type of location selection in application form: 'single_choice' allows one location, 'multiple_choice' allows multiple.\").optional(),\n locations_question_required: z.boolean().describe(\"Whether applicants must answer the location question to submit their application.\").optional(),\n}).describe(\"Request model for updating an existing job offer. All fields except offer_id are optional.\\nOnly provide fields you want to update - other fields will remain unchanged.\");\nconst RecruiteeUpdateOffer_AttachmentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique attachment ID.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Uploaded filename.\").nullable(),\n}).passthrough().describe(\"Attachment metadata linked to the job offer.\");\nconst RecruiteeUpdateOffer_OfferCustomFieldSchema = z.object({\n value: z.unknown().describe(\"Value of the custom field.\"),\n field_key: z.string().describe(\"Custom field identifier key.\").nullable(),\n}).passthrough().describe(\"Key/value pair for a custom field on the offer.\");\nconst RecruiteeUpdateOffer_OfferSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n ref: z.string().describe(\"Internal reference code.\").nullable().optional(),\n kind: z.string().describe(\"Type of the offer, e.g., 'job' or 'talent_pool'.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the offer.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to the offer.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.string().describe(\"Current status of the offer.\").nullable(),\n locations: z.array(z.string()).describe(\"List of locations for this offer.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 datetime when the offer was created.\").nullable(),\n expires_at: z.string().describe(\"ISO 8601 datetime when the offer expires.\").nullable().optional(),\n options_cv: z.string().describe(\"CV requirement setting in application form.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the offer was last updated.\").nullable(),\n attachments: z.array(RecruiteeUpdateOffer_AttachmentInfoSchema).describe(\"Attachments linked to the offer.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the job offer.\").nullable().optional(),\n custom_fields: z.array(RecruiteeUpdateOffer_OfferCustomFieldSchema).describe(\"Custom fields for the offer.\").nullable().optional(),\n department_id: z.number().int().describe(\"Department ID this offer belongs to.\").nullable().optional(),\n options_phone: z.string().describe(\"Phone requirement setting in application form.\").nullable().optional(),\n options_photo: z.string().describe(\"Photo requirement setting in application form.\").nullable().optional(),\n employment_types: z.array(z.string()).describe(\"List of employment types for this offer.\").nullable().optional(),\n visibility_options: z.array(z.string()).describe(\"Visibility options for this offer.\").nullable().optional(),\n options_cover_letter: z.string().describe(\"Cover letter requirement setting in application form.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a job offer in Recruitee.\");\nexport const RecruiteeUpdateOfferOutput = z.object({\n offer: RecruiteeUpdateOffer_OfferSchema.nullable(),\n}).passthrough().describe(\"Response schema for the updated job offer.\");\n\nexport const recruiteeUpdateOffer = action(\"RECRUITEE_UPDATE_OFFER\", {\n slug: \"recruitee-update-offer\",\n name: \"Update Offer\",\n description: \"Updates an existing job offer or talent pool in Recruitee. Allows modification of offer details including title, description, requirements, status, locations, department assignment, work type (remote/hybrid/on-site), visibility settings, and application form field requirements. Only specified fields are updated; omitted fields remain unchanged. Requires the offer ID - use Get Offers or Get Offer actions to retrieve existing offer IDs.\",\n input: RecruiteeUpdateOfferInput,\n output: RecruiteeUpdateOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CA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AS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,iCAAiC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const recruiteeCatalog = {
|
|
|
13
13
|
"label": "Company ID",
|
|
14
14
|
"description": "The unique identifier for your company in Recruitee, used to construct the base URL for API requests."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Recruitee API Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The personal API token generated in Recruitee for authenticating API requests."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const recruiteeCatalog = {\n \"slug\": \"recruitee\",\n \"name\": \"Recruitee\",\n \"description\": \"Recruitee is a collaborative hiring software that streamlines recruitment processes, enabling teams to source, interview, and hire candidates efficiently.\",\n \"category\": \"HR Talent & Recruitment\",\n \"logo\": \"https://logos.composio.dev/api/recruitee\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Company ID\",\n \"description\": \"The unique identifier for your company in Recruitee, used to construct the base URL for API requests.\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const recruiteeCatalog = {\n \"slug\": \"recruitee\",\n \"name\": \"Recruitee\",\n \"description\": \"Recruitee is a collaborative hiring software that streamlines recruitment processes, enabling teams to source, interview, and hire candidates efficiently.\",\n \"category\": \"HR Talent & Recruitment\",\n \"logo\": \"https://logos.composio.dev/api/recruitee\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Company ID\",\n \"description\": \"The unique identifier for your company in Recruitee, used to construct the base URL for API requests.\"\n },\n \"generic_api_key\": {\n \"label\": \"Recruitee API Token\",\n \"secret\": true,\n \"description\": \"The personal API token generated in Recruitee for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ declare const recruiteeCatalog: {
|
|
|
13
13
|
readonly label: "Company ID";
|
|
14
14
|
readonly description: "The unique identifier for your company in Recruitee, used to construct the base URL for API requests.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Recruitee API Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The personal API token generated in Recruitee for authenticating API requests.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const recruiteeCatalog: {
|
|
|
13
13
|
readonly label: "Company ID";
|
|
14
14
|
readonly description: "The unique identifier for your company in Recruitee, used to construct the base URL for API requests.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Recruitee API Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The personal API token generated in Recruitee for authenticating API requests.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -13,7 +13,7 @@ const recruiteeCatalog = {
|
|
|
13
13
|
"label": "Company ID",
|
|
14
14
|
"description": "The unique identifier for your company in Recruitee, used to construct the base URL for API requests."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Recruitee API Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The personal API token generated in Recruitee for authenticating API requests."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const recruiteeCatalog = {\n \"slug\": \"recruitee\",\n \"name\": \"Recruitee\",\n \"description\": \"Recruitee is a collaborative hiring software that streamlines recruitment processes, enabling teams to source, interview, and hire candidates efficiently.\",\n \"category\": \"HR Talent & Recruitment\",\n \"logo\": \"https://logos.composio.dev/api/recruitee\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Company ID\",\n \"description\": \"The unique identifier for your company in Recruitee, used to construct the base URL for API requests.\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const recruiteeCatalog = {\n \"slug\": \"recruitee\",\n \"name\": \"Recruitee\",\n \"description\": \"Recruitee is a collaborative hiring software that streamlines recruitment processes, enabling teams to source, interview, and hire candidates efficiently.\",\n \"category\": \"HR Talent & Recruitment\",\n \"logo\": \"https://logos.composio.dev/api/recruitee\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Company ID\",\n \"description\": \"The unique identifier for your company in Recruitee, used to construct the base URL for API requests.\"\n },\n \"generic_api_key\": {\n \"label\": \"Recruitee API Token\",\n \"secret\": true,\n \"description\": \"The personal API token generated in Recruitee for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|