@keystrokehq/recruitee 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-candidate.cjs +43 -0
  7. package/dist/actions/create-candidate.cjs.map +1 -0
  8. package/dist/actions/create-candidate.d.cts +9 -0
  9. package/dist/actions/create-candidate.d.cts.map +1 -0
  10. package/dist/actions/create-candidate.d.mts +9 -0
  11. package/dist/actions/create-candidate.d.mts.map +1 -0
  12. package/dist/actions/create-candidate.mjs +42 -0
  13. package/dist/actions/create-candidate.mjs.map +1 -0
  14. package/dist/actions/create-note.cjs +34 -0
  15. package/dist/actions/create-note.cjs.map +1 -0
  16. package/dist/actions/create-note.d.cts +9 -0
  17. package/dist/actions/create-note.d.cts.map +1 -0
  18. package/dist/actions/create-note.d.mts +9 -0
  19. package/dist/actions/create-note.d.mts.map +1 -0
  20. package/dist/actions/create-note.mjs +33 -0
  21. package/dist/actions/create-note.mjs.map +1 -0
  22. package/dist/actions/create-offer.cjs +80 -0
  23. package/dist/actions/create-offer.cjs.map +1 -0
  24. package/dist/actions/create-offer.d.cts +9 -0
  25. package/dist/actions/create-offer.d.cts.map +1 -0
  26. package/dist/actions/create-offer.d.mts +9 -0
  27. package/dist/actions/create-offer.d.mts.map +1 -0
  28. package/dist/actions/create-offer.mjs +77 -0
  29. package/dist/actions/create-offer.mjs.map +1 -0
  30. package/dist/actions/delete-candidate.cjs +16 -0
  31. package/dist/actions/delete-candidate.cjs.map +1 -0
  32. package/dist/actions/delete-candidate.d.cts +9 -0
  33. package/dist/actions/delete-candidate.d.cts.map +1 -0
  34. package/dist/actions/delete-candidate.d.mts +9 -0
  35. package/dist/actions/delete-candidate.d.mts.map +1 -0
  36. package/dist/actions/delete-candidate.mjs +13 -0
  37. package/dist/actions/delete-candidate.mjs.map +1 -0
  38. package/dist/actions/delete-tag.cjs +16 -0
  39. package/dist/actions/delete-tag.cjs.map +1 -0
  40. package/dist/actions/delete-tag.d.cts +9 -0
  41. package/dist/actions/delete-tag.d.cts.map +1 -0
  42. package/dist/actions/delete-tag.d.mts +9 -0
  43. package/dist/actions/delete-tag.d.mts.map +1 -0
  44. package/dist/actions/delete-tag.mjs +13 -0
  45. package/dist/actions/delete-tag.mjs.map +1 -0
  46. package/dist/actions/get-candidate.cjs +39 -0
  47. package/dist/actions/get-candidate.cjs.map +1 -0
  48. package/dist/actions/get-candidate.d.cts +9 -0
  49. package/dist/actions/get-candidate.d.cts.map +1 -0
  50. package/dist/actions/get-candidate.d.mts +9 -0
  51. package/dist/actions/get-candidate.d.mts.map +1 -0
  52. package/dist/actions/get-candidate.mjs +38 -0
  53. package/dist/actions/get-candidate.mjs.map +1 -0
  54. package/dist/actions/get-candidates.cjs +47 -0
  55. package/dist/actions/get-candidates.cjs.map +1 -0
  56. package/dist/actions/get-candidates.d.cts +9 -0
  57. package/dist/actions/get-candidates.d.cts.map +1 -0
  58. package/dist/actions/get-candidates.d.mts +9 -0
  59. package/dist/actions/get-candidates.d.mts.map +1 -0
  60. package/dist/actions/get-candidates.mjs +46 -0
  61. package/dist/actions/get-candidates.mjs.map +1 -0
  62. package/dist/actions/get-company-id.cjs +22 -0
  63. package/dist/actions/get-company-id.cjs.map +1 -0
  64. package/dist/actions/get-company-id.d.cts +9 -0
  65. package/dist/actions/get-company-id.d.cts.map +1 -0
  66. package/dist/actions/get-company-id.d.mts +9 -0
  67. package/dist/actions/get-company-id.d.mts.map +1 -0
  68. package/dist/actions/get-company-id.mjs +21 -0
  69. package/dist/actions/get-company-id.mjs.map +1 -0
  70. package/dist/actions/get-company-offer-public.cjs +38 -0
  71. package/dist/actions/get-company-offer-public.cjs.map +1 -0
  72. package/dist/actions/get-company-offer-public.d.cts +9 -0
  73. package/dist/actions/get-company-offer-public.d.cts.map +1 -0
  74. package/dist/actions/get-company-offer-public.d.mts +9 -0
  75. package/dist/actions/get-company-offer-public.d.mts.map +1 -0
  76. package/dist/actions/get-company-offer-public.mjs +37 -0
  77. package/dist/actions/get-company-offer-public.mjs.map +1 -0
  78. package/dist/actions/get-departments.cjs +21 -0
  79. package/dist/actions/get-departments.cjs.map +1 -0
  80. package/dist/actions/get-departments.d.cts +9 -0
  81. package/dist/actions/get-departments.d.cts.map +1 -0
  82. package/dist/actions/get-departments.d.mts +9 -0
  83. package/dist/actions/get-departments.d.mts.map +1 -0
  84. package/dist/actions/get-departments.mjs +20 -0
  85. package/dist/actions/get-departments.mjs.map +1 -0
  86. package/dist/actions/get-locations.cjs +45 -0
  87. package/dist/actions/get-locations.cjs.map +1 -0
  88. package/dist/actions/get-locations.d.cts +9 -0
  89. package/dist/actions/get-locations.d.cts.map +1 -0
  90. package/dist/actions/get-locations.d.mts +9 -0
  91. package/dist/actions/get-locations.d.mts.map +1 -0
  92. package/dist/actions/get-locations.mjs +44 -0
  93. package/dist/actions/get-locations.mjs.map +1 -0
  94. package/dist/actions/get-notes.cjs +51 -0
  95. package/dist/actions/get-notes.cjs.map +1 -0
  96. package/dist/actions/get-notes.d.cts +9 -0
  97. package/dist/actions/get-notes.d.cts.map +1 -0
  98. package/dist/actions/get-notes.d.mts +9 -0
  99. package/dist/actions/get-notes.d.mts.map +1 -0
  100. package/dist/actions/get-notes.mjs +50 -0
  101. package/dist/actions/get-notes.mjs.map +1 -0
  102. package/dist/actions/get-offers.cjs +40 -0
  103. package/dist/actions/get-offers.cjs.map +1 -0
  104. package/dist/actions/get-offers.d.cts +9 -0
  105. package/dist/actions/get-offers.d.cts.map +1 -0
  106. package/dist/actions/get-offers.d.mts +9 -0
  107. package/dist/actions/get-offers.d.mts.map +1 -0
  108. package/dist/actions/get-offers.mjs +39 -0
  109. package/dist/actions/get-offers.mjs.map +1 -0
  110. package/dist/actions/get-pipeline-stages.cjs +24 -0
  111. package/dist/actions/get-pipeline-stages.cjs.map +1 -0
  112. package/dist/actions/get-pipeline-stages.d.cts +9 -0
  113. package/dist/actions/get-pipeline-stages.d.cts.map +1 -0
  114. package/dist/actions/get-pipeline-stages.d.mts +9 -0
  115. package/dist/actions/get-pipeline-stages.d.mts.map +1 -0
  116. package/dist/actions/get-pipeline-stages.mjs +23 -0
  117. package/dist/actions/get-pipeline-stages.mjs.map +1 -0
  118. package/dist/actions/get-tags.cjs +34 -0
  119. package/dist/actions/get-tags.cjs.map +1 -0
  120. package/dist/actions/get-tags.d.cts +9 -0
  121. package/dist/actions/get-tags.d.cts.map +1 -0
  122. package/dist/actions/get-tags.d.mts +9 -0
  123. package/dist/actions/get-tags.d.mts.map +1 -0
  124. package/dist/actions/get-tags.mjs +33 -0
  125. package/dist/actions/get-tags.mjs.map +1 -0
  126. package/dist/actions/index.cjs +47 -0
  127. package/dist/actions/index.d.cts +24 -0
  128. package/dist/actions/index.d.mts +24 -0
  129. package/dist/actions/index.mjs +24 -0
  130. package/dist/actions/list-eeo-job-categories.cjs +16 -0
  131. package/dist/actions/list-eeo-job-categories.cjs.map +1 -0
  132. package/dist/actions/list-eeo-job-categories.d.cts +9 -0
  133. package/dist/actions/list-eeo-job-categories.d.cts.map +1 -0
  134. package/dist/actions/list-eeo-job-categories.d.mts +9 -0
  135. package/dist/actions/list-eeo-job-categories.d.mts.map +1 -0
  136. package/dist/actions/list-eeo-job-categories.mjs +13 -0
  137. package/dist/actions/list-eeo-job-categories.mjs.map +1 -0
  138. package/dist/actions/list-invoices.cjs +29 -0
  139. package/dist/actions/list-invoices.cjs.map +1 -0
  140. package/dist/actions/list-invoices.d.cts +9 -0
  141. package/dist/actions/list-invoices.d.cts.map +1 -0
  142. package/dist/actions/list-invoices.d.mts +9 -0
  143. package/dist/actions/list-invoices.d.mts.map +1 -0
  144. package/dist/actions/list-invoices.mjs +28 -0
  145. package/dist/actions/list-invoices.mjs.map +1 -0
  146. package/dist/actions/list-localization-settings.cjs +19 -0
  147. package/dist/actions/list-localization-settings.cjs.map +1 -0
  148. package/dist/actions/list-localization-settings.d.cts +9 -0
  149. package/dist/actions/list-localization-settings.d.cts.map +1 -0
  150. package/dist/actions/list-localization-settings.d.mts +9 -0
  151. package/dist/actions/list-localization-settings.d.mts.map +1 -0
  152. package/dist/actions/list-localization-settings.mjs +16 -0
  153. package/dist/actions/list-localization-settings.mjs.map +1 -0
  154. package/dist/actions/list-share-countries.cjs +22 -0
  155. package/dist/actions/list-share-countries.cjs.map +1 -0
  156. package/dist/actions/list-share-countries.d.cts +9 -0
  157. package/dist/actions/list-share-countries.d.cts.map +1 -0
  158. package/dist/actions/list-share-countries.d.mts +9 -0
  159. package/dist/actions/list-share-countries.d.mts.map +1 -0
  160. package/dist/actions/list-share-countries.mjs +21 -0
  161. package/dist/actions/list-share-countries.mjs.map +1 -0
  162. package/dist/actions/list-share-eeo-answers.cjs +22 -0
  163. package/dist/actions/list-share-eeo-answers.cjs.map +1 -0
  164. package/dist/actions/list-share-eeo-answers.d.cts +9 -0
  165. package/dist/actions/list-share-eeo-answers.d.cts.map +1 -0
  166. package/dist/actions/list-share-eeo-answers.d.mts +9 -0
  167. package/dist/actions/list-share-eeo-answers.d.mts.map +1 -0
  168. package/dist/actions/list-share-eeo-answers.mjs +21 -0
  169. package/dist/actions/list-share-eeo-answers.mjs.map +1 -0
  170. package/dist/actions/update-candidate.cjs +51 -0
  171. package/dist/actions/update-candidate.cjs.map +1 -0
  172. package/dist/actions/update-candidate.d.cts +9 -0
  173. package/dist/actions/update-candidate.d.cts.map +1 -0
  174. package/dist/actions/update-candidate.d.mts +9 -0
  175. package/dist/actions/update-candidate.d.mts.map +1 -0
  176. package/dist/actions/update-candidate.mjs +50 -0
  177. package/dist/actions/update-candidate.mjs.map +1 -0
  178. package/dist/actions/update-note.cjs +34 -0
  179. package/dist/actions/update-note.cjs.map +1 -0
  180. package/dist/actions/update-note.d.cts +9 -0
  181. package/dist/actions/update-note.d.cts.map +1 -0
  182. package/dist/actions/update-note.d.mts +9 -0
  183. package/dist/actions/update-note.d.mts.map +1 -0
  184. package/dist/actions/update-note.mjs +33 -0
  185. package/dist/actions/update-note.mjs.map +1 -0
  186. package/dist/actions/update-offer.cjs +96 -0
  187. package/dist/actions/update-offer.cjs.map +1 -0
  188. package/dist/actions/update-offer.d.cts +9 -0
  189. package/dist/actions/update-offer.d.cts.map +1 -0
  190. package/dist/actions/update-offer.d.mts +9 -0
  191. package/dist/actions/update-offer.d.mts.map +1 -0
  192. package/dist/actions/update-offer.mjs +95 -0
  193. package/dist/actions/update-offer.mjs.map +1 -0
  194. package/dist/app.cjs +9 -0
  195. package/dist/app.cjs.map +1 -0
  196. package/dist/app.d.cts +5 -0
  197. package/dist/app.d.cts.map +1 -0
  198. package/dist/app.d.mts +5 -0
  199. package/dist/app.d.mts.map +1 -0
  200. package/dist/app.mjs +10 -0
  201. package/dist/app.mjs.map +1 -0
  202. package/dist/catalog.cjs +15 -0
  203. package/dist/catalog.cjs.map +1 -0
  204. package/dist/catalog.d.cts +14 -0
  205. package/dist/catalog.d.cts.map +1 -0
  206. package/dist/catalog.d.mts +14 -0
  207. package/dist/catalog.d.mts.map +1 -0
  208. package/dist/catalog.mjs +15 -0
  209. package/dist/catalog.mjs.map +1 -0
  210. package/dist/execute.cjs +18 -0
  211. package/dist/execute.cjs.map +1 -0
  212. package/dist/execute.mjs +18 -0
  213. package/dist/execute.mjs.map +1 -0
  214. package/dist/index.cjs +52 -0
  215. package/dist/index.d.cts +26 -0
  216. package/dist/index.d.mts +26 -0
  217. package/dist/index.mjs +27 -0
  218. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-company-offer-public.d.ts
4
+ declare const RecruiteeGetCompanyOfferPublicInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetCompanyOfferPublicOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetCompanyOfferPublic: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetCompanyOfferPublic };
9
+ //# sourceMappingURL=get-company-offer-public.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company-offer-public.d.mts","names":[],"sources":["../../src/actions/get-company-offer-public.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEuE;AAAA,cAS9G,oCAAA,EAAsC,CAAA,CAAE,UAcnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,37 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-company-offer-public.ts
4
+ const RecruiteeGetCompanyOfferPublicInput = z.object({ identifier: z.string().describe("Offer ID or slug, e.g., '12345' or 'software-engineer'.") }).describe("Request model to retrieve a specific published job offer by its ID or slug from the public Careers Site API.");
5
+ const RecruiteeGetCompanyOfferPublic_LocationSchema = z.object({
6
+ id: z.number().int().describe("Location ID.").nullable().optional(),
7
+ city: z.string().describe("City name.").nullable().optional(),
8
+ name: z.string().describe("Location name.").nullable().optional(),
9
+ state: z.string().describe("State/province name.").nullable().optional(),
10
+ country: z.string().describe("Country name.").nullable().optional(),
11
+ country_code: z.string().describe("ISO country code.").nullable().optional()
12
+ }).describe("Location details for a job offer.");
13
+ const recruiteeGetCompanyOfferPublic = action("RECRUITEE_GET_COMPANY_OFFER_PUBLIC", {
14
+ slug: "recruitee-get-company-offer-public",
15
+ name: "Get Company Offer Public",
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
+ input: RecruiteeGetCompanyOfferPublicInput,
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."),
22
+ status: z.string().describe("Current status of the offer.").nullable().optional(),
23
+ location: z.string().describe("Formatted location string for the job offer.").nullable().optional(),
24
+ locations: z.array(RecruiteeGetCompanyOfferPublic_LocationSchema).describe("Detailed list of locations where the job is available.").nullable().optional(),
25
+ created_at: z.string().describe("Offer creation date-time.").nullable().optional(),
26
+ department: z.string().describe("Department name for the job offer.").nullable().optional(),
27
+ careers_url: z.string().describe("URL to the job offer on the careers site.").nullable().optional(),
28
+ description: z.string().describe("Detailed job description in HTML format.").nullable().optional(),
29
+ published_at: z.string().describe("Offer publish date-time in ISO 8601 format.").nullable().optional(),
30
+ requirements: z.string().describe("Job requirements in HTML format.").nullable().optional(),
31
+ careers_apply_url: z.string().describe("Direct URL to apply for the job.").nullable().optional()
32
+ })
33
+ });
34
+ //#endregion
35
+ export { recruiteeGetCompanyOfferPublic };
36
+
37
+ //# sourceMappingURL=get-company-offer-public.mjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Location details for a job offer.\");\nexport const RecruiteeGetCompanyOfferPublicOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the job offer.\"),\n slug: z.string().describe(\"URL-friendly slug for the job offer.\"),\n title: z.string().describe(\"Title of the job offer.\"),\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});\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,sCAAoD,EAAE,OAAO,EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,8GAA8G;AAC1H,MAAM,gDAA8D,EAAE,OAAO;CAC3E,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,EA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,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,CAOU;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-departments.ts
4
+ const RecruiteeGetDepartmentsInput = zod.z.object({}).describe("Request model for retrieving a list of company departments. No parameters are required.");
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.");
11
+ const recruiteeGetDepartments = require_action.action("RECRUITEE_GET_DEPARTMENTS", {
12
+ slug: "recruitee-get-departments",
13
+ name: "Get Departments",
14
+ description: "Tool to retrieve a list of company departments. Use when you need to reference or assign offers or candidates to departments.",
15
+ input: RecruiteeGetDepartmentsInput,
16
+ output: RecruiteeGetDepartmentsOutput
17
+ });
18
+ //#endregion
19
+ exports.recruiteeGetDepartments = recruiteeGetDepartments;
20
+
21
+ //# sourceMappingURL=get-departments.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving a list of company departments. No parameters are required.\");\nconst RecruiteeGetDepartments_DepartmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the department.\"),\n name: z.string().describe(\"Name of the department.\"),\n offers_count: z.number().int().describe(\"Number of offers assigned to the department.\"),\n}).describe(\"Model representing a department within the company.\");\nexport const RecruiteeGetDepartmentsOutput: z.ZodTypeAny = z.object({\n departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe(\"List of company departments.\"),\n}).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,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACzK,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACxF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,aAAaA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACxG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-departments.d.ts
4
+ declare const RecruiteeGetDepartmentsInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetDepartmentsOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetDepartments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetDepartments };
9
+ //# sourceMappingURL=get-departments.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-departments.d.cts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA6H;AAAA,cAM7J,6BAAA,EAA+B,CAAA,CAAE,UAEiB;AAAA,cAElD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-departments.d.ts
4
+ declare const RecruiteeGetDepartmentsInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetDepartmentsOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetDepartments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetDepartments };
9
+ //# sourceMappingURL=get-departments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-departments.d.mts","names":[],"sources":["../../src/actions/get-departments.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA6H;AAAA,cAM7J,6BAAA,EAA+B,CAAA,CAAE,UAEiB;AAAA,cAElD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-departments.ts
4
+ const RecruiteeGetDepartmentsInput = z.object({}).describe("Request model for retrieving a list of company departments. No parameters are required.");
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.");
10
+ const recruiteeGetDepartments = action("RECRUITEE_GET_DEPARTMENTS", {
11
+ slug: "recruitee-get-departments",
12
+ name: "Get Departments",
13
+ description: "Tool to retrieve a list of company departments. Use when you need to reference or assign offers or candidates to departments.",
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.")
16
+ });
17
+ //#endregion
18
+ export { recruiteeGetDepartments };
19
+
20
+ //# sourceMappingURL=get-departments.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving a list of company departments. No parameters are required.\");\nconst RecruiteeGetDepartments_DepartmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the department.\"),\n name: z.string().describe(\"Name of the department.\"),\n offers_count: z.number().int().describe(\"Number of offers assigned to the department.\"),\n}).describe(\"Model representing a department within the company.\");\nexport const RecruiteeGetDepartmentsOutput: z.ZodTypeAny = z.object({\n departments: z.array(RecruiteeGetDepartments_DepartmentSchema).describe(\"List of company departments.\"),\n}).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,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACzK,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACxF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACxG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,45 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-locations.ts
4
+ const RecruiteeGetLocationsInput = zod.z.object({}).describe("Request model for retrieving company locations. No parameters required.");
5
+ const RecruiteeGetLocations_LocationTranslationSchema = zod.z.object({
6
+ city: zod.z.string().describe("Translated city name.").nullable().optional(),
7
+ name: zod.z.string().describe("Translated location name.").nullable().optional(),
8
+ street: zod.z.string().describe("Translated street address.").nullable().optional(),
9
+ lang_code: zod.z.string().describe("Language code of the translation."),
10
+ state_code: zod.z.string().describe("Translated state code.").nullable().optional(),
11
+ state_name: zod.z.string().describe("Translated state name.").nullable().optional(),
12
+ postal_code: zod.z.string().describe("Translated postal code.").nullable().optional(),
13
+ full_address: zod.z.string().describe("Translated full address.").nullable().optional()
14
+ });
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."),
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."),
22
+ state_code: zod.z.string().describe("State code.").nullable().optional(),
23
+ state_name: zod.z.string().describe("State name.").nullable().optional(),
24
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
25
+ archived_at: zod.z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
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)."),
29
+ is_deletable: zod.z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
30
+ translations: zod.z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
31
+ active_offers_count: zod.z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
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.");
35
+ const recruiteeGetLocations = require_action.action("RECRUITEE_GET_LOCATIONS", {
36
+ slug: "recruitee-get-locations",
37
+ name: "Get Locations",
38
+ description: "Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.",
39
+ input: RecruiteeGetLocationsInput,
40
+ output: RecruiteeGetLocationsOutput
41
+ });
42
+ //#endregion
43
+ exports.recruiteeGetLocations = recruiteeGetLocations;
44
+
45
+ //# sourceMappingURL=get-locations.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema: z.ZodTypeAny = 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.\"),\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});\nconst RecruiteeGetLocations_LocationSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\"),\n city: z.string().describe(\"City.\"),\n name: z.string().describe(\"Location name.\"),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\"),\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.\"),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\"),\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});\nexport const RecruiteeGetLocationsOutput: z.ZodTypeAny = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).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,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACvJ,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC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AC,SAAS;CAC/H,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-locations.d.ts
4
+ declare const RecruiteeGetLocationsInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetLocationsOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetLocations };
9
+ //# sourceMappingURL=get-locations.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-locations.d.cts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA6G;AAAA,cA8B3I,2BAAA,EAA6B,CAAA,CAAE,UAEyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-locations.d.ts
4
+ declare const RecruiteeGetLocationsInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetLocationsOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetLocations };
9
+ //# sourceMappingURL=get-locations.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-locations.d.mts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA6G;AAAA,cA8B3I,2BAAA,EAA6B,CAAA,CAAE,UAEyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,44 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-locations.ts
4
+ const RecruiteeGetLocationsInput = z.object({}).describe("Request model for retrieving company locations. No parameters required.");
5
+ const RecruiteeGetLocations_LocationTranslationSchema = z.object({
6
+ city: z.string().describe("Translated city name.").nullable().optional(),
7
+ name: z.string().describe("Translated location name.").nullable().optional(),
8
+ street: z.string().describe("Translated street address.").nullable().optional(),
9
+ lang_code: z.string().describe("Language code of the translation."),
10
+ state_code: z.string().describe("Translated state code.").nullable().optional(),
11
+ state_name: z.string().describe("Translated state name.").nullable().optional(),
12
+ postal_code: z.string().describe("Translated postal code.").nullable().optional(),
13
+ full_address: z.string().describe("Translated full address.").nullable().optional()
14
+ });
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."),
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."),
22
+ state_code: z.string().describe("State code.").nullable().optional(),
23
+ state_name: z.string().describe("State name.").nullable().optional(),
24
+ updated_at: z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
25
+ archived_at: z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
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)."),
29
+ is_deletable: z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
30
+ translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
31
+ active_offers_count: z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
32
+ active_requisitions_count: z.number().int().default(0).describe("Number of requisitions the location is assigned to.").nullable().optional()
33
+ });
34
+ const recruiteeGetLocations = action("RECRUITEE_GET_LOCATIONS", {
35
+ slug: "recruitee-get-locations",
36
+ name: "Get Locations",
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
+ 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.")
40
+ });
41
+ //#endregion
42
+ export { recruiteeGetLocations };
43
+
44
+ //# sourceMappingURL=get-locations.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema: z.ZodTypeAny = 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.\"),\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});\nconst RecruiteeGetLocations_LocationSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\"),\n city: z.string().describe(\"City.\"),\n name: z.string().describe(\"Location name.\"),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\"),\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.\"),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\"),\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});\nexport const RecruiteeGetLocationsOutput: z.ZodTypeAny = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).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,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACvJ,MAAM,kDAAg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AC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACtG,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC;AAKD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,WAAW,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-notes.ts
4
+ const RecruiteeGetNotesInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of notes to return per page.").optional(),
6
+ offset: zod.z.number().int().describe("Number of notes to skip.").optional(),
7
+ candidate_id: zod.z.number().int().describe("Unique identifier of the candidate.")
8
+ }).describe("Request model for retrieving a list of notes for a specific candidate.");
9
+ const RecruiteeGetNotes_NoteAdminSchema = zod.z.object({
10
+ id: zod.z.number().int().describe("Unique identifier of the admin user."),
11
+ email: zod.z.string().describe("Admin user's email address.").nullable().optional(),
12
+ last_name: zod.z.string().describe("Admin user's last name.").nullable().optional(),
13
+ first_name: zod.z.string().describe("Admin user's first name.").nullable().optional()
14
+ }).describe("Admin user object for a note.");
15
+ const RecruiteeGetNotes_NoteGuestSchema = zod.z.object({
16
+ id: zod.z.number().int().describe("Unique identifier of the guest user."),
17
+ name: zod.z.string().describe("Guest user's name.").nullable().optional(),
18
+ email: zod.z.string().describe("Guest user's email address.").nullable().optional()
19
+ }).describe("Guest user object for a note.");
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.");
27
+ const RecruiteeGetNotes_NoteSchema = zod.z.object({
28
+ admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
29
+ guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),
30
+ admin_id: zod.z.number().int().describe("ID of the admin who created the note.").nullable().optional(),
31
+ guest_id: zod.z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
32
+ body_json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
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."),
36
+ attachments: zod.z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
37
+ reply_to_id: zod.z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
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.");
41
+ const recruiteeGetNotes = require_action.action("RECRUITEE_GET_NOTES", {
42
+ slug: "recruitee-get-notes",
43
+ name: "Get Notes",
44
+ 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.",
45
+ input: RecruiteeGetNotesInput,
46
+ output: RecruiteeGetNotesOutput
47
+ });
48
+ //#endregion
49
+ exports.recruiteeGetNotes = recruiteeGetNotes;
50
+
51
+ //# sourceMappingURL=get-notes.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\"),\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}).describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\"),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\"),\n url: z.string().describe(\"Download URL of the attachment.\"),\n filename: z.string().describe(\"Name of the attachment file.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\"),\n}).describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema: z.ZodTypeAny = 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.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\"),\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}).describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput: z.ZodTypeAny = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).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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,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,cAAc;AAC1B,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uBAAuB,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-notes.d.ts
4
+ declare const RecruiteeGetNotesInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetNotesOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetNotes };
9
+ //# sourceMappingURL=get-notes.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-notes.d.cts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAI8C;AAAA,cAgCxE,uBAAA,EAAyB,CAAA,CAAE,UAEmC;AAAA,cAE9D,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-notes.d.ts
4
+ declare const RecruiteeGetNotesInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetNotesOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetNotes };
9
+ //# sourceMappingURL=get-notes.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-notes.d.mts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAI8C;AAAA,cAgCxE,uBAAA,EAAyB,CAAA,CAAE,UAEmC;AAAA,cAE9D,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-notes.ts
4
+ const RecruiteeGetNotesInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of notes to return per page.").optional(),
6
+ offset: z.number().int().describe("Number of notes to skip.").optional(),
7
+ candidate_id: z.number().int().describe("Unique identifier of the candidate.")
8
+ }).describe("Request model for retrieving a list of notes for a specific candidate.");
9
+ const RecruiteeGetNotes_NoteAdminSchema = z.object({
10
+ id: z.number().int().describe("Unique identifier of the admin user."),
11
+ email: z.string().describe("Admin user's email address.").nullable().optional(),
12
+ last_name: z.string().describe("Admin user's last name.").nullable().optional(),
13
+ first_name: z.string().describe("Admin user's first name.").nullable().optional()
14
+ }).describe("Admin user object for a note.");
15
+ const RecruiteeGetNotes_NoteGuestSchema = z.object({
16
+ id: z.number().int().describe("Unique identifier of the guest user."),
17
+ name: z.string().describe("Guest user's name.").nullable().optional(),
18
+ email: z.string().describe("Guest user's email address.").nullable().optional()
19
+ }).describe("Guest user object for a note.");
20
+ const RecruiteeGetNotes_NoteAttachmentSchema = z.object({
21
+ id: z.number().int().describe("Unique identifier of the attachment."),
22
+ url: z.string().describe("Download URL of the attachment."),
23
+ filename: z.string().describe("Name of the attachment file."),
24
+ created_at: z.string().describe("ISO 8601 timestamp when the attachment was created."),
25
+ updated_at: z.string().describe("ISO 8601 timestamp when the attachment was last updated.")
26
+ }).describe("Attachment object for a note.");
27
+ const RecruiteeGetNotes_NoteSchema = z.object({
28
+ admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
29
+ guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),
30
+ admin_id: z.number().int().describe("ID of the admin who created the note.").nullable().optional(),
31
+ guest_id: z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
32
+ body_json: z.record(z.string(), z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
33
+ triggered: z.boolean().describe("Whether the note was triggered by an event.").nullable().optional(),
34
+ created_at: z.string().describe("ISO 8601 timestamp when the note was created."),
35
+ updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated."),
36
+ attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
37
+ reply_to_id: z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
38
+ candidate_id: z.number().int().describe("ID of the associated candidate.").nullable().optional()
39
+ }).describe("Note object.");
40
+ const recruiteeGetNotes = action("RECRUITEE_GET_NOTES", {
41
+ slug: "recruitee-get-notes",
42
+ name: "Get Notes",
43
+ 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.",
44
+ input: RecruiteeGetNotesInput,
45
+ output: z.object({ notes: z.array(RecruiteeGetNotes_NoteSchema).describe("List of note objects.") }).describe("Response model containing a list of notes for the candidate.")
46
+ });
47
+ //#endregion
48
+ export { recruiteeGetNotes };
49
+
50
+ //# sourceMappingURL=get-notes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-notes.mjs","names":[],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\"),\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}).describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\"),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\"),\n url: z.string().describe(\"Download URL of the attachment.\"),\n filename: z.string().describe(\"Name of the attachment file.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\"),\n}).describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema: z.ZodTypeAny = 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.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\"),\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}).describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput: z.ZodTypeAny = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).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,yBAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC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AAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAa,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,cAAc;AAK1B,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uBAAuB,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-offers.ts
4
+ const RecruiteeGetOffersInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of offers to return (1-100).").optional(),
6
+ query: zod.z.string().describe("Search term to filter job offers.").optional(),
7
+ offset: zod.z.number().int().describe("Number of offers to skip (for pagination).").optional(),
8
+ company_id: zod.z.union([zod.z.number().int(), zod.z.string()]).optional()
9
+ }).describe("Query parameters for listing job offers. Use filters and pagination to narrow results.");
10
+ const RecruiteeGetOffers_OfferSchema = zod.z.object({
11
+ id: zod.z.number().int().describe("Unique identifier of the offer."),
12
+ kind: zod.z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool')."),
13
+ slug: zod.z.string().describe("URL-friendly slug of the offer title.").nullable().optional(),
14
+ title: zod.z.string().describe("Title of the job offer."),
15
+ status: zod.z.enum([
16
+ "draft",
17
+ "internal",
18
+ "published",
19
+ "closed",
20
+ "archived"
21
+ ]).describe("Current status of the offer."),
22
+ location: zod.z.string().describe("Location of the job offer, if provided.").nullable().optional(),
23
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the offer was created.").nullable().optional(),
24
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the offer was last updated.").nullable().optional()
25
+ }).describe("A single job offer.");
26
+ const RecruiteeGetOffersOutput = zod.z.object({
27
+ total: zod.z.number().int().describe("Total number of offers available.").nullable().optional(),
28
+ offers: zod.z.array(RecruiteeGetOffers_OfferSchema).describe("List of job offers.")
29
+ }).describe("Response model containing a list of job offers and total count.");
30
+ const recruiteeGetOffers = require_action.action("RECRUITEE_GET_OFFERS", {
31
+ slug: "recruitee-get-offers",
32
+ name: "Get Offers",
33
+ description: "Tool to retrieve a list of all job offers. Use after authentication to browse or paginate your company's complete set of offers.",
34
+ input: RecruiteeGetOffersInput,
35
+ output: RecruiteeGetOffersOutput
36
+ });
37
+ //#endregion
38
+ exports.recruiteeGetOffers = recruiteeGetOffers;
39
+
40
+ //# sourceMappingURL=get-offers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offers.cjs","names":["z","action"],"sources":["../../src/actions/get-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetOffersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of offers to return (1-100).\").optional(),\n query: z.string().describe(\"Search term to filter job offers.\").optional(),\n offset: z.number().int().describe(\"Number of offers to skip (for pagination).\").optional(),\n company_id: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Query parameters for listing job offers. Use filters and pagination to narrow results.\");\nconst RecruiteeGetOffers_OfferSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\"),\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer ('job' or 'talent_pool').\"),\n slug: z.string().describe(\"URL-friendly slug of the offer title.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\"),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer.\"),\n location: z.string().describe(\"Location of the job offer, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the offer was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the offer was last updated.\").nullable().optional(),\n}).describe(\"A single job offer.\");\nexport const RecruiteeGetOffersOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of offers available.\").nullable().optional(),\n offers: z.array(RecruiteeGetOffers_OfferSchema).describe(\"List of job offers.\"),\n}).describe(\"Response model containing a list of job offers and total count.\");\n\nexport const recruiteeGetOffers = action(\"RECRUITEE_GET_OFFERS\", {\n slug: \"recruitee-get-offers\",\n name: \"Get Offers\",\n description: \"Tool to retrieve a list of all job offers. Use after authentication to browse or paginate your company's complete set of offers.\",\n input: RecruiteeGetOffersInput,\n output: RecruiteeGetOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAA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ersOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetOffers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetOffers };
9
+ //# sourceMappingURL=get-offers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offers.d.cts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAK6D;AAAA,cAWxF,wBAAA,EAA0B,CAAA,CAAE,UAGqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-offers.d.ts
4
+ declare const RecruiteeGetOffersInput: z.ZodTypeAny;
5
+ declare const RecruiteeGetOffersOutput: z.ZodTypeAny;
6
+ declare const recruiteeGetOffers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { recruiteeGetOffers };
9
+ //# sourceMappingURL=get-offers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offers.d.mts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAK6D;AAAA,cAWxF,wBAAA,EAA0B,CAAA,CAAE,UAGqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-offers.ts
4
+ const RecruiteeGetOffersInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of offers to return (1-100).").optional(),
6
+ query: z.string().describe("Search term to filter job offers.").optional(),
7
+ offset: z.number().int().describe("Number of offers to skip (for pagination).").optional(),
8
+ company_id: z.union([z.number().int(), z.string()]).optional()
9
+ }).describe("Query parameters for listing job offers. Use filters and pagination to narrow results.");
10
+ const RecruiteeGetOffers_OfferSchema = z.object({
11
+ id: z.number().int().describe("Unique identifier of the offer."),
12
+ kind: z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool')."),
13
+ slug: z.string().describe("URL-friendly slug of the offer title.").nullable().optional(),
14
+ title: z.string().describe("Title of the job offer."),
15
+ status: z.enum([
16
+ "draft",
17
+ "internal",
18
+ "published",
19
+ "closed",
20
+ "archived"
21
+ ]).describe("Current status of the offer."),
22
+ location: z.string().describe("Location of the job offer, if provided.").nullable().optional(),
23
+ created_at: z.string().describe("ISO 8601 timestamp when the offer was created.").nullable().optional(),
24
+ updated_at: z.string().describe("ISO 8601 timestamp when the offer was last updated.").nullable().optional()
25
+ }).describe("A single job offer.");
26
+ const recruiteeGetOffers = action("RECRUITEE_GET_OFFERS", {
27
+ slug: "recruitee-get-offers",
28
+ name: "Get Offers",
29
+ description: "Tool to retrieve a list of all job offers. Use after authentication to browse or paginate your company's complete set of offers.",
30
+ input: RecruiteeGetOffersInput,
31
+ output: z.object({
32
+ total: z.number().int().describe("Total number of offers available.").nullable().optional(),
33
+ offers: z.array(RecruiteeGetOffers_OfferSchema).describe("List of job offers.")
34
+ }).describe("Response model containing a list of job offers and total count.")
35
+ });
36
+ //#endregion
37
+ export { recruiteeGetOffers };
38
+
39
+ //# sourceMappingURL=get-offers.mjs.map