@keystrokehq/recruitee 0.1.5 → 0.1.6

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 (197) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-candidate.cjs +1 -0
  4. package/dist/actions/create-candidate.cjs.map +1 -1
  5. package/dist/actions/create-candidate.d.cts +3 -27
  6. package/dist/actions/create-candidate.d.cts.map +1 -1
  7. package/dist/actions/create-candidate.d.mts +3 -27
  8. package/dist/actions/create-candidate.d.mts.map +1 -1
  9. package/dist/actions/create-candidate.mjs +1 -0
  10. package/dist/actions/create-candidate.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +1 -0
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +3 -23
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -23
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +1 -0
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-offer.cjs +1 -0
  20. package/dist/actions/create-offer.cjs.map +1 -1
  21. package/dist/actions/create-offer.d.cts +3 -36
  22. package/dist/actions/create-offer.d.cts.map +1 -1
  23. package/dist/actions/create-offer.d.mts +3 -36
  24. package/dist/actions/create-offer.d.mts.map +1 -1
  25. package/dist/actions/create-offer.mjs +1 -0
  26. package/dist/actions/create-offer.mjs.map +1 -1
  27. package/dist/actions/delete-candidate.cjs +1 -0
  28. package/dist/actions/delete-candidate.cjs.map +1 -1
  29. package/dist/actions/delete-candidate.d.cts +3 -17
  30. package/dist/actions/delete-candidate.d.cts.map +1 -1
  31. package/dist/actions/delete-candidate.d.mts +3 -17
  32. package/dist/actions/delete-candidate.d.mts.map +1 -1
  33. package/dist/actions/delete-candidate.mjs +1 -0
  34. package/dist/actions/delete-candidate.mjs.map +1 -1
  35. package/dist/actions/delete-tag.cjs +1 -0
  36. package/dist/actions/delete-tag.cjs.map +1 -1
  37. package/dist/actions/delete-tag.d.cts +3 -17
  38. package/dist/actions/delete-tag.d.cts.map +1 -1
  39. package/dist/actions/delete-tag.d.mts +3 -17
  40. package/dist/actions/delete-tag.d.mts.map +1 -1
  41. package/dist/actions/delete-tag.mjs +1 -0
  42. package/dist/actions/delete-tag.mjs.map +1 -1
  43. package/dist/actions/get-candidate.cjs +1 -0
  44. package/dist/actions/get-candidate.cjs.map +1 -1
  45. package/dist/actions/get-candidate.d.cts +3 -18
  46. package/dist/actions/get-candidate.d.cts.map +1 -1
  47. package/dist/actions/get-candidate.d.mts +3 -18
  48. package/dist/actions/get-candidate.d.mts.map +1 -1
  49. package/dist/actions/get-candidate.mjs +1 -0
  50. package/dist/actions/get-candidate.mjs.map +1 -1
  51. package/dist/actions/get-candidates.cjs +1 -0
  52. package/dist/actions/get-candidates.cjs.map +1 -1
  53. package/dist/actions/get-candidates.d.cts +3 -27
  54. package/dist/actions/get-candidates.d.cts.map +1 -1
  55. package/dist/actions/get-candidates.d.mts +3 -27
  56. package/dist/actions/get-candidates.d.mts.map +1 -1
  57. package/dist/actions/get-candidates.mjs +1 -0
  58. package/dist/actions/get-candidates.mjs.map +1 -1
  59. package/dist/actions/get-company-id.cjs +1 -0
  60. package/dist/actions/get-company-id.cjs.map +1 -1
  61. package/dist/actions/get-company-id.d.cts +3 -15
  62. package/dist/actions/get-company-id.d.cts.map +1 -1
  63. package/dist/actions/get-company-id.d.mts +3 -15
  64. package/dist/actions/get-company-id.d.mts.map +1 -1
  65. package/dist/actions/get-company-id.mjs +1 -0
  66. package/dist/actions/get-company-id.mjs.map +1 -1
  67. package/dist/actions/get-company-offer-public.cjs +1 -0
  68. package/dist/actions/get-company-offer-public.cjs.map +1 -1
  69. package/dist/actions/get-company-offer-public.d.cts +3 -17
  70. package/dist/actions/get-company-offer-public.d.cts.map +1 -1
  71. package/dist/actions/get-company-offer-public.d.mts +3 -17
  72. package/dist/actions/get-company-offer-public.d.mts.map +1 -1
  73. package/dist/actions/get-company-offer-public.mjs +1 -0
  74. package/dist/actions/get-company-offer-public.mjs.map +1 -1
  75. package/dist/actions/get-departments.cjs +1 -0
  76. package/dist/actions/get-departments.cjs.map +1 -1
  77. package/dist/actions/get-departments.d.cts +3 -15
  78. package/dist/actions/get-departments.d.cts.map +1 -1
  79. package/dist/actions/get-departments.d.mts +3 -15
  80. package/dist/actions/get-departments.d.mts.map +1 -1
  81. package/dist/actions/get-departments.mjs +1 -0
  82. package/dist/actions/get-departments.mjs.map +1 -1
  83. package/dist/actions/get-locations.cjs +1 -0
  84. package/dist/actions/get-locations.cjs.map +1 -1
  85. package/dist/actions/get-locations.d.cts +3 -15
  86. package/dist/actions/get-locations.d.cts.map +1 -1
  87. package/dist/actions/get-locations.d.mts +3 -15
  88. package/dist/actions/get-locations.d.mts.map +1 -1
  89. package/dist/actions/get-locations.mjs +1 -0
  90. package/dist/actions/get-locations.mjs.map +1 -1
  91. package/dist/actions/get-notes.cjs +1 -0
  92. package/dist/actions/get-notes.cjs.map +1 -1
  93. package/dist/actions/get-notes.d.cts +3 -19
  94. package/dist/actions/get-notes.d.cts.map +1 -1
  95. package/dist/actions/get-notes.d.mts +3 -19
  96. package/dist/actions/get-notes.d.mts.map +1 -1
  97. package/dist/actions/get-notes.mjs +1 -0
  98. package/dist/actions/get-notes.mjs.map +1 -1
  99. package/dist/actions/get-offers.cjs +1 -0
  100. package/dist/actions/get-offers.cjs.map +1 -1
  101. package/dist/actions/get-offers.d.cts +3 -20
  102. package/dist/actions/get-offers.d.cts.map +1 -1
  103. package/dist/actions/get-offers.d.mts +3 -20
  104. package/dist/actions/get-offers.d.mts.map +1 -1
  105. package/dist/actions/get-offers.mjs +1 -0
  106. package/dist/actions/get-offers.mjs.map +1 -1
  107. package/dist/actions/get-pipeline-stages.cjs +1 -0
  108. package/dist/actions/get-pipeline-stages.cjs.map +1 -1
  109. package/dist/actions/get-pipeline-stages.d.cts +3 -17
  110. package/dist/actions/get-pipeline-stages.d.cts.map +1 -1
  111. package/dist/actions/get-pipeline-stages.d.mts +3 -17
  112. package/dist/actions/get-pipeline-stages.d.mts.map +1 -1
  113. package/dist/actions/get-pipeline-stages.mjs +1 -0
  114. package/dist/actions/get-pipeline-stages.mjs.map +1 -1
  115. package/dist/actions/get-tags.cjs +1 -0
  116. package/dist/actions/get-tags.cjs.map +1 -1
  117. package/dist/actions/get-tags.d.cts +3 -21
  118. package/dist/actions/get-tags.d.cts.map +1 -1
  119. package/dist/actions/get-tags.d.mts +3 -21
  120. package/dist/actions/get-tags.d.mts.map +1 -1
  121. package/dist/actions/get-tags.mjs +1 -0
  122. package/dist/actions/get-tags.mjs.map +1 -1
  123. package/dist/actions/list-eeo-job-categories.cjs +1 -0
  124. package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
  125. package/dist/actions/list-eeo-job-categories.d.cts +3 -15
  126. package/dist/actions/list-eeo-job-categories.d.cts.map +1 -1
  127. package/dist/actions/list-eeo-job-categories.d.mts +3 -15
  128. package/dist/actions/list-eeo-job-categories.d.mts.map +1 -1
  129. package/dist/actions/list-eeo-job-categories.mjs +1 -0
  130. package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
  131. package/dist/actions/list-invoices.cjs +1 -0
  132. package/dist/actions/list-invoices.cjs.map +1 -1
  133. package/dist/actions/list-invoices.d.cts +3 -17
  134. package/dist/actions/list-invoices.d.cts.map +1 -1
  135. package/dist/actions/list-invoices.d.mts +3 -17
  136. package/dist/actions/list-invoices.d.mts.map +1 -1
  137. package/dist/actions/list-invoices.mjs +1 -0
  138. package/dist/actions/list-invoices.mjs.map +1 -1
  139. package/dist/actions/list-localization-settings.cjs +1 -0
  140. package/dist/actions/list-localization-settings.cjs.map +1 -1
  141. package/dist/actions/list-localization-settings.d.cts +3 -15
  142. package/dist/actions/list-localization-settings.d.cts.map +1 -1
  143. package/dist/actions/list-localization-settings.d.mts +3 -15
  144. package/dist/actions/list-localization-settings.d.mts.map +1 -1
  145. package/dist/actions/list-localization-settings.mjs +1 -0
  146. package/dist/actions/list-localization-settings.mjs.map +1 -1
  147. package/dist/actions/list-share-countries.cjs +1 -0
  148. package/dist/actions/list-share-countries.cjs.map +1 -1
  149. package/dist/actions/list-share-countries.d.cts +3 -15
  150. package/dist/actions/list-share-countries.d.cts.map +1 -1
  151. package/dist/actions/list-share-countries.d.mts +3 -15
  152. package/dist/actions/list-share-countries.d.mts.map +1 -1
  153. package/dist/actions/list-share-countries.mjs +1 -0
  154. package/dist/actions/list-share-countries.mjs.map +1 -1
  155. package/dist/actions/list-share-eeo-answers.cjs +1 -0
  156. package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
  157. package/dist/actions/list-share-eeo-answers.d.cts +3 -15
  158. package/dist/actions/list-share-eeo-answers.d.cts.map +1 -1
  159. package/dist/actions/list-share-eeo-answers.d.mts +3 -15
  160. package/dist/actions/list-share-eeo-answers.d.mts.map +1 -1
  161. package/dist/actions/list-share-eeo-answers.mjs +1 -0
  162. package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
  163. package/dist/actions/update-candidate.cjs +1 -0
  164. package/dist/actions/update-candidate.cjs.map +1 -1
  165. package/dist/actions/update-candidate.d.cts +3 -28
  166. package/dist/actions/update-candidate.d.cts.map +1 -1
  167. package/dist/actions/update-candidate.d.mts +3 -28
  168. package/dist/actions/update-candidate.d.mts.map +1 -1
  169. package/dist/actions/update-candidate.mjs +1 -0
  170. package/dist/actions/update-candidate.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +1 -0
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +3 -20
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +3 -20
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +1 -0
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-offer.cjs +1 -0
  180. package/dist/actions/update-offer.cjs.map +1 -1
  181. package/dist/actions/update-offer.d.cts +3 -35
  182. package/dist/actions/update-offer.d.cts.map +1 -1
  183. package/dist/actions/update-offer.d.mts +3 -35
  184. package/dist/actions/update-offer.d.mts.map +1 -1
  185. package/dist/actions/update-offer.mjs +1 -0
  186. package/dist/actions/update-offer.mjs.map +1 -1
  187. package/dist/app.cjs +5 -4
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +4 -6
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +4 -6
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +0 -1
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { recruitee } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-note.d.ts
@@ -22,26 +24,7 @@ declare const RecruiteeUpdateNoteOutput: z.ZodObject<{
22
24
  candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const recruiteeUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- note_id: number;
27
- candidate_id: number;
28
- body?: string | undefined;
29
- pinned?: boolean | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- subdomain: z.ZodString;
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- subdomain: z.ZodString;
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
27
+ declare const recruiteeUpdateNote: AppAction<typeof RecruiteeUpdateNoteInput, typeof RecruiteeUpdateNoteOutput, typeof recruitee.credential>;
45
28
  //#endregion
46
29
  export { recruiteeUpdateNote };
47
30
  //# sourceMappingURL=update-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-note.ts
@@ -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}).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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ources":["../../src/actions/update-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { recruitee } from \"../app\";\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: AppAction<\n typeof RecruiteeUpdateNoteInput,\n typeof RecruiteeUpdateNoteOutput,\n typeof recruitee.credential\n> = 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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AC,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,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-offer.ts
@@ -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}).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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC7F,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAK,CAAC,CAAC,CAAC,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AAA,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"}
1
+ {"version":3,"file":"update-offer.cjs","names":["z","action"],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { recruitee } from \"../app\";\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: AppAction<\n typeof RecruiteeUpdateOfferInput,\n typeof RecruiteeUpdateOfferOutput,\n typeof recruitee.credential\n> = 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":";;;;AAMA,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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC7F,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAK,CAAC,CAAC,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BA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { recruitee } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-offer.d.ts
@@ -88,41 +90,7 @@ declare const RecruiteeUpdateOfferOutput: z.ZodObject<{
88
90
  options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
91
  }, z.core.$loose>>;
90
92
  }, z.core.$loose>;
91
- declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
92
- offer_id: number;
93
- kind?: "job" | "talent_pool" | undefined;
94
- title?: string | undefined;
95
- hybrid?: boolean | undefined;
96
- remote?: boolean | undefined;
97
- status?: "draft" | "internal" | "published" | "closed" | "archived" | undefined;
98
- on_site?: boolean | undefined;
99
- options_cv?: "optional" | "required" | "off" | undefined;
100
- description?: string | undefined;
101
- location_ids?: number[] | undefined;
102
- requirements?: string | undefined;
103
- department_id?: number | undefined;
104
- options_phone?: "optional" | "required" | "off" | undefined;
105
- options_photo?: "optional" | "required" | "off" | undefined;
106
- locations_question?: string | undefined;
107
- visibility_options?: ("locations_question" | "indeed" | "social_share" | "job_location" | "linkedin")[] | undefined;
108
- options_cover_letter?: "optional" | "required" | "off" | undefined;
109
- locations_question_type?: "single_choice" | "multiple_choice" | undefined;
110
- locations_question_required?: boolean | undefined;
111
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
112
- connectionId: z.ZodString;
113
- entityId: z.ZodString;
114
- instanceId: z.ZodString;
115
- }, z.core.$strip>, z.ZodObject<{
116
- subdomain: z.ZodString;
117
- generic_api_key: z.ZodString;
118
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
119
- connectionId: z.ZodString;
120
- entityId: z.ZodString;
121
- instanceId: z.ZodString;
122
- }, z.core.$strip>, z.ZodObject<{
123
- subdomain: z.ZodString;
124
- generic_api_key: z.ZodString;
125
- }, z.core.$strip>>]>;
93
+ declare const recruiteeUpdateOffer: AppAction<typeof RecruiteeUpdateOfferInput, typeof RecruiteeUpdateOfferOutput, typeof recruitee.credential>;
126
94
  //#endregion
127
95
  export { recruiteeUpdateOffer };
128
96
  //# sourceMappingURL=update-offer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-offer.d.cts","names":[],"sources":["../../src/actions/update-offer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-offer.d.cts","names":[],"sources":["../../src/actions/update-offer.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { recruitee } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-offer.d.ts
@@ -88,41 +90,7 @@ declare const RecruiteeUpdateOfferOutput: z.ZodObject<{
88
90
  options_cover_letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
91
  }, z.core.$loose>>;
90
92
  }, z.core.$loose>;
91
- declare const recruiteeUpdateOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
92
- offer_id: number;
93
- kind?: "job" | "talent_pool" | undefined;
94
- title?: string | undefined;
95
- hybrid?: boolean | undefined;
96
- remote?: boolean | undefined;
97
- status?: "draft" | "internal" | "published" | "closed" | "archived" | undefined;
98
- on_site?: boolean | undefined;
99
- options_cv?: "optional" | "required" | "off" | undefined;
100
- description?: string | undefined;
101
- location_ids?: number[] | undefined;
102
- requirements?: string | undefined;
103
- department_id?: number | undefined;
104
- options_phone?: "optional" | "required" | "off" | undefined;
105
- options_photo?: "optional" | "required" | "off" | undefined;
106
- locations_question?: string | undefined;
107
- visibility_options?: ("locations_question" | "indeed" | "social_share" | "job_location" | "linkedin")[] | undefined;
108
- options_cover_letter?: "optional" | "required" | "off" | undefined;
109
- locations_question_type?: "single_choice" | "multiple_choice" | undefined;
110
- locations_question_required?: boolean | undefined;
111
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
112
- connectionId: z.ZodString;
113
- entityId: z.ZodString;
114
- instanceId: z.ZodString;
115
- }, z.core.$strip>, z.ZodObject<{
116
- subdomain: z.ZodString;
117
- generic_api_key: z.ZodString;
118
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
119
- connectionId: z.ZodString;
120
- entityId: z.ZodString;
121
- instanceId: z.ZodString;
122
- }, z.core.$strip>, z.ZodObject<{
123
- subdomain: z.ZodString;
124
- generic_api_key: z.ZodString;
125
- }, z.core.$strip>>]>;
93
+ declare const recruiteeUpdateOffer: AppAction<typeof RecruiteeUpdateOfferInput, typeof RecruiteeUpdateOfferOutput, typeof recruitee.credential>;
126
94
  //#endregion
127
95
  export { recruiteeUpdateOffer };
128
96
  //# sourceMappingURL=update-offer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-offer.d.mts","names":[],"sources":["../../src/actions/update-offer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-offer.d.mts","names":[],"sources":["../../src/actions/update-offer.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-offer.ts
@@ -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}).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,CAAC,SAAS;CAC5H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CA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,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"}
1
+ {"version":3,"file":"update-offer.mjs","names":[],"sources":["../../src/actions/update-offer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { recruitee } from \"../app\";\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: AppAction<\n typeof RecruiteeUpdateOfferInput,\n typeof RecruiteeUpdateOfferOutput,\n typeof recruitee.credential\n> = 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":";;;;AAMA,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,OAAO,CAAC,CAAC,IAAI,C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
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
4
8
  const recruitee = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "recruitee",
6
10
  auth: "keystroke",
7
- credential: {
8
- subdomain: zod.z.string(),
9
- generic_api_key: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.recruitee = recruitee;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const recruitee = defineApp({\n slug: \"recruitee\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const recruitee: KeystrokeApp<\"recruitee\", typeof credential> = defineApp({\n slug: \"recruitee\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const recruitee: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  subdomain: z.ZodString;
10
7
  generic_api_key: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const recruitee: KeystrokeApp<"recruitee", typeof credential>;
12
10
  //#endregion
13
11
  export { recruitee };
14
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const recruitee: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"recruitee", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  subdomain: z.ZodString;
10
7
  generic_api_key: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const recruitee: KeystrokeApp<"recruitee", typeof credential>;
12
10
  //#endregion
13
11
  export { recruitee };
14
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const recruitee = defineApp({
5
4
  slug: "recruitee",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const recruitee = defineApp({\n slug: \"recruitee\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const recruitee: KeystrokeApp<\"recruitee\", typeof credential> = defineApp({\n slug: \"recruitee\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { recruitee } from "./app.cjs";
1
2
  import { recruiteeCreateCandidate } from "./actions/create-candidate.cjs";
2
3
  import { recruiteeCreateNote } from "./actions/create-note.cjs";
3
4
  import { recruiteeCreateOffer } from "./actions/create-offer.cjs";
@@ -21,6 +22,5 @@ import { recruiteeListShareEeoAnswers } from "./actions/list-share-eeo-answers.c
21
22
  import { recruiteeUpdateCandidate } from "./actions/update-candidate.cjs";
22
23
  import { recruiteeUpdateNote } from "./actions/update-note.cjs";
23
24
  import { recruiteeUpdateOffer } from "./actions/update-offer.cjs";
24
- import { recruitee } from "./app.cjs";
25
25
  import { recruiteeCatalog } from "./catalog.cjs";
26
26
  export { recruitee, recruiteeCatalog, recruiteeCreateCandidate, recruiteeCreateNote, recruiteeCreateOffer, recruiteeDeleteCandidate, recruiteeDeleteTag, recruiteeGetCandidate, recruiteeGetCandidates, recruiteeGetCompanyId, recruiteeGetCompanyOfferPublic, recruiteeGetDepartments, recruiteeGetLocations, recruiteeGetNotes, recruiteeGetOffers, recruiteeGetPipelineStages, recruiteeGetTags, recruiteeListEeoJobCategories, recruiteeListInvoices, recruiteeListLocalizationSettings, recruiteeListShareCountries, recruiteeListShareEeoAnswers, recruiteeUpdateCandidate, recruiteeUpdateNote, recruiteeUpdateOffer };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { recruitee } from "./app.mjs";
1
2
  import { recruiteeCreateCandidate } from "./actions/create-candidate.mjs";
2
3
  import { recruiteeCreateNote } from "./actions/create-note.mjs";
3
4
  import { recruiteeCreateOffer } from "./actions/create-offer.mjs";
@@ -21,6 +22,5 @@ import { recruiteeListShareEeoAnswers } from "./actions/list-share-eeo-answers.m
21
22
  import { recruiteeUpdateCandidate } from "./actions/update-candidate.mjs";
22
23
  import { recruiteeUpdateNote } from "./actions/update-note.mjs";
23
24
  import { recruiteeUpdateOffer } from "./actions/update-offer.mjs";
24
- import { recruitee } from "./app.mjs";
25
25
  import { recruiteeCatalog } from "./catalog.mjs";
26
26
  export { recruitee, recruiteeCatalog, recruiteeCreateCandidate, recruiteeCreateNote, recruiteeCreateOffer, recruiteeDeleteCandidate, recruiteeDeleteTag, recruiteeGetCandidate, recruiteeGetCandidates, recruiteeGetCompanyId, recruiteeGetCompanyOfferPublic, recruiteeGetDepartments, recruiteeGetLocations, recruiteeGetNotes, recruiteeGetOffers, recruiteeGetPipelineStages, recruiteeGetTags, recruiteeListEeoJobCategories, recruiteeListInvoices, recruiteeListLocalizationSettings, recruiteeListShareCountries, recruiteeListShareEeoAnswers, recruiteeUpdateCandidate, recruiteeUpdateNote, recruiteeUpdateOffer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/recruitee",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {