@keystrokehq/recruitee 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) 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 +6 -6
  4. package/dist/actions/create-candidate.cjs.map +1 -1
  5. package/dist/actions/create-candidate.d.cts +43 -3
  6. package/dist/actions/create-candidate.d.cts.map +1 -1
  7. package/dist/actions/create-candidate.d.mts +43 -3
  8. package/dist/actions/create-candidate.d.mts.map +1 -1
  9. package/dist/actions/create-candidate.mjs +6 -6
  10. package/dist/actions/create-candidate.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +6 -6
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +39 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +39 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +6 -6
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-offer.cjs +4 -4
  20. package/dist/actions/create-offer.cjs.map +1 -1
  21. package/dist/actions/create-offer.d.cts +96 -3
  22. package/dist/actions/create-offer.d.cts.map +1 -1
  23. package/dist/actions/create-offer.d.mts +96 -3
  24. package/dist/actions/create-offer.d.mts.map +1 -1
  25. package/dist/actions/create-offer.mjs +4 -4
  26. package/dist/actions/create-offer.mjs.map +1 -1
  27. package/dist/actions/delete-candidate.cjs +1 -1
  28. package/dist/actions/delete-candidate.cjs.map +1 -1
  29. package/dist/actions/delete-candidate.d.cts +7 -3
  30. package/dist/actions/delete-candidate.d.cts.map +1 -1
  31. package/dist/actions/delete-candidate.d.mts +7 -3
  32. package/dist/actions/delete-candidate.d.mts.map +1 -1
  33. package/dist/actions/delete-candidate.mjs +1 -1
  34. package/dist/actions/delete-candidate.mjs.map +1 -1
  35. package/dist/actions/delete-tag.cjs +1 -1
  36. package/dist/actions/delete-tag.cjs.map +1 -1
  37. package/dist/actions/delete-tag.d.cts +7 -3
  38. package/dist/actions/delete-tag.d.cts.map +1 -1
  39. package/dist/actions/delete-tag.d.mts +7 -3
  40. package/dist/actions/delete-tag.d.mts.map +1 -1
  41. package/dist/actions/delete-tag.mjs +1 -1
  42. package/dist/actions/delete-tag.mjs.map +1 -1
  43. package/dist/actions/get-candidate.cjs +6 -6
  44. package/dist/actions/get-candidate.cjs.map +1 -1
  45. package/dist/actions/get-candidate.d.cts +30 -3
  46. package/dist/actions/get-candidate.d.cts.map +1 -1
  47. package/dist/actions/get-candidate.d.mts +30 -3
  48. package/dist/actions/get-candidate.d.mts.map +1 -1
  49. package/dist/actions/get-candidate.mjs +6 -6
  50. package/dist/actions/get-candidate.mjs.map +1 -1
  51. package/dist/actions/get-candidates.cjs +5 -5
  52. package/dist/actions/get-candidates.cjs.map +1 -1
  53. package/dist/actions/get-candidates.d.cts +48 -3
  54. package/dist/actions/get-candidates.d.cts.map +1 -1
  55. package/dist/actions/get-candidates.d.mts +48 -3
  56. package/dist/actions/get-candidates.d.mts.map +1 -1
  57. package/dist/actions/get-candidates.mjs +5 -5
  58. package/dist/actions/get-candidates.mjs.map +1 -1
  59. package/dist/actions/get-company-id.cjs +6 -6
  60. package/dist/actions/get-company-id.cjs.map +1 -1
  61. package/dist/actions/get-company-id.d.cts +10 -3
  62. package/dist/actions/get-company-id.d.cts.map +1 -1
  63. package/dist/actions/get-company-id.d.mts +10 -3
  64. package/dist/actions/get-company-id.d.mts.map +1 -1
  65. package/dist/actions/get-company-id.mjs +6 -6
  66. package/dist/actions/get-company-id.mjs.map +1 -1
  67. package/dist/actions/get-company-offer-public.cjs +5 -5
  68. package/dist/actions/get-company-offer-public.cjs.map +1 -1
  69. package/dist/actions/get-company-offer-public.d.cts +28 -3
  70. package/dist/actions/get-company-offer-public.d.cts.map +1 -1
  71. package/dist/actions/get-company-offer-public.d.mts +28 -3
  72. package/dist/actions/get-company-offer-public.d.mts.map +1 -1
  73. package/dist/actions/get-company-offer-public.mjs +5 -5
  74. package/dist/actions/get-company-offer-public.mjs.map +1 -1
  75. package/dist/actions/get-departments.cjs +5 -5
  76. package/dist/actions/get-departments.cjs.map +1 -1
  77. package/dist/actions/get-departments.d.cts +9 -3
  78. package/dist/actions/get-departments.d.cts.map +1 -1
  79. package/dist/actions/get-departments.d.mts +9 -3
  80. package/dist/actions/get-departments.d.mts.map +1 -1
  81. package/dist/actions/get-departments.mjs +5 -5
  82. package/dist/actions/get-departments.mjs.map +1 -1
  83. package/dist/actions/get-locations.cjs +11 -11
  84. package/dist/actions/get-locations.cjs.map +1 -1
  85. package/dist/actions/get-locations.d.cts +32 -3
  86. package/dist/actions/get-locations.d.cts.map +1 -1
  87. package/dist/actions/get-locations.d.mts +32 -3
  88. package/dist/actions/get-locations.d.mts.map +1 -1
  89. package/dist/actions/get-locations.mjs +11 -11
  90. package/dist/actions/get-locations.mjs.map +1 -1
  91. package/dist/actions/get-notes.cjs +14 -14
  92. package/dist/actions/get-notes.cjs.map +1 -1
  93. package/dist/actions/get-notes.d.cts +40 -3
  94. package/dist/actions/get-notes.d.cts.map +1 -1
  95. package/dist/actions/get-notes.d.mts +40 -3
  96. package/dist/actions/get-notes.d.mts.map +1 -1
  97. package/dist/actions/get-notes.mjs +14 -14
  98. package/dist/actions/get-notes.mjs.map +1 -1
  99. package/dist/actions/get-offers.cjs +6 -6
  100. package/dist/actions/get-offers.cjs.map +1 -1
  101. package/dist/actions/get-offers.d.cts +34 -3
  102. package/dist/actions/get-offers.d.cts.map +1 -1
  103. package/dist/actions/get-offers.d.mts +34 -3
  104. package/dist/actions/get-offers.d.mts.map +1 -1
  105. package/dist/actions/get-offers.mjs +6 -6
  106. package/dist/actions/get-offers.mjs.map +1 -1
  107. package/dist/actions/get-pipeline-stages.cjs +5 -5
  108. package/dist/actions/get-pipeline-stages.cjs.map +1 -1
  109. package/dist/actions/get-pipeline-stages.d.cts +16 -3
  110. package/dist/actions/get-pipeline-stages.d.cts.map +1 -1
  111. package/dist/actions/get-pipeline-stages.d.mts +16 -3
  112. package/dist/actions/get-pipeline-stages.d.mts.map +1 -1
  113. package/dist/actions/get-pipeline-stages.mjs +5 -5
  114. package/dist/actions/get-pipeline-stages.mjs.map +1 -1
  115. package/dist/actions/get-tags.cjs +6 -6
  116. package/dist/actions/get-tags.cjs.map +1 -1
  117. package/dist/actions/get-tags.d.cts +32 -3
  118. package/dist/actions/get-tags.d.cts.map +1 -1
  119. package/dist/actions/get-tags.d.mts +32 -3
  120. package/dist/actions/get-tags.d.mts.map +1 -1
  121. package/dist/actions/get-tags.mjs +6 -6
  122. package/dist/actions/get-tags.mjs.map +1 -1
  123. package/dist/actions/list-eeo-job-categories.cjs +1 -1
  124. package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
  125. package/dist/actions/list-eeo-job-categories.d.cts +5 -3
  126. package/dist/actions/list-eeo-job-categories.d.cts.map +1 -1
  127. package/dist/actions/list-eeo-job-categories.d.mts +5 -3
  128. package/dist/actions/list-eeo-job-categories.d.mts.map +1 -1
  129. package/dist/actions/list-eeo-job-categories.mjs +1 -1
  130. package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
  131. package/dist/actions/list-invoices.cjs +2 -2
  132. package/dist/actions/list-invoices.cjs.map +1 -1
  133. package/dist/actions/list-invoices.d.cts +21 -3
  134. package/dist/actions/list-invoices.d.cts.map +1 -1
  135. package/dist/actions/list-invoices.d.mts +21 -3
  136. package/dist/actions/list-invoices.d.mts.map +1 -1
  137. package/dist/actions/list-invoices.mjs +2 -2
  138. package/dist/actions/list-invoices.mjs.map +1 -1
  139. package/dist/actions/list-localization-settings.cjs +1 -1
  140. package/dist/actions/list-localization-settings.cjs.map +1 -1
  141. package/dist/actions/list-localization-settings.d.cts +6 -3
  142. package/dist/actions/list-localization-settings.d.cts.map +1 -1
  143. package/dist/actions/list-localization-settings.d.mts +6 -3
  144. package/dist/actions/list-localization-settings.d.mts.map +1 -1
  145. package/dist/actions/list-localization-settings.mjs +1 -1
  146. package/dist/actions/list-localization-settings.mjs.map +1 -1
  147. package/dist/actions/list-share-countries.cjs +4 -4
  148. package/dist/actions/list-share-countries.cjs.map +1 -1
  149. package/dist/actions/list-share-countries.d.cts +10 -3
  150. package/dist/actions/list-share-countries.d.cts.map +1 -1
  151. package/dist/actions/list-share-countries.d.mts +10 -3
  152. package/dist/actions/list-share-countries.d.mts.map +1 -1
  153. package/dist/actions/list-share-countries.mjs +4 -4
  154. package/dist/actions/list-share-countries.mjs.map +1 -1
  155. package/dist/actions/list-share-eeo-answers.cjs +2 -2
  156. package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
  157. package/dist/actions/list-share-eeo-answers.d.cts +10 -3
  158. package/dist/actions/list-share-eeo-answers.d.cts.map +1 -1
  159. package/dist/actions/list-share-eeo-answers.d.mts +10 -3
  160. package/dist/actions/list-share-eeo-answers.d.mts.map +1 -1
  161. package/dist/actions/list-share-eeo-answers.mjs +2 -2
  162. package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
  163. package/dist/actions/update-candidate.cjs +6 -6
  164. package/dist/actions/update-candidate.cjs.map +1 -1
  165. package/dist/actions/update-candidate.d.cts +52 -3
  166. package/dist/actions/update-candidate.d.cts.map +1 -1
  167. package/dist/actions/update-candidate.d.mts +52 -3
  168. package/dist/actions/update-candidate.d.mts.map +1 -1
  169. package/dist/actions/update-candidate.mjs +6 -6
  170. package/dist/actions/update-candidate.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +6 -6
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +27 -3
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +27 -3
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +6 -6
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-offer.cjs +13 -13
  180. package/dist/actions/update-offer.cjs.map +1 -1
  181. package/dist/actions/update-offer.d.cts +108 -3
  182. package/dist/actions/update-offer.d.cts.map +1 -1
  183. package/dist/actions/update-offer.d.mts +108 -3
  184. package/dist/actions/update-offer.d.mts.map +1 -1
  185. package/dist/actions/update-offer.mjs +13 -13
  186. package/dist/actions/update-offer.mjs.map +1 -1
  187. package/dist/catalog.cjs +13 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +12 -0
  190. package/dist/catalog.d.mts +12 -0
  191. package/dist/catalog.mjs +13 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1,9 +1,46 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const RecruiteeGetNotesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ candidate_id: z.ZodNumber;
8
+ }, z.core.$strip>;
9
+ declare const RecruiteeGetNotesOutput: z.ZodObject<{
10
+ notes: z.ZodArray<z.ZodObject<{
11
+ admin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ guest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodNumber>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ admin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ guest_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ body_json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ triggered: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ created_at: z.ZodNullable<z.ZodString>;
27
+ updated_at: z.ZodNullable<z.ZodString>;
28
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodNullable<z.ZodNumber>;
30
+ url: z.ZodNullable<z.ZodString>;
31
+ filename: z.ZodNullable<z.ZodString>;
32
+ created_at: z.ZodNullable<z.ZodString>;
33
+ updated_at: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>>;
35
+ reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
+ declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ candidate_id: number;
41
+ limit?: number | undefined;
42
+ offset?: number | undefined;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
44
  //#endregion
8
45
  export { recruiteeGetNotes };
9
46
  //# sourceMappingURL=get-notes.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-notes.d.cts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAoCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,46 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const RecruiteeGetNotesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ candidate_id: z.ZodNumber;
8
+ }, z.core.$strip>;
9
+ declare const RecruiteeGetNotesOutput: z.ZodObject<{
10
+ notes: z.ZodArray<z.ZodObject<{
11
+ admin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ guest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodNumber>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ admin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ guest_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ body_json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ triggered: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ created_at: z.ZodNullable<z.ZodString>;
27
+ updated_at: z.ZodNullable<z.ZodString>;
28
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodNullable<z.ZodNumber>;
30
+ url: z.ZodNullable<z.ZodString>;
31
+ filename: z.ZodNullable<z.ZodString>;
32
+ created_at: z.ZodNullable<z.ZodString>;
33
+ updated_at: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>>;
35
+ reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
+ declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ candidate_id: number;
41
+ limit?: number | undefined;
42
+ offset?: number | undefined;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
44
  //#endregion
8
45
  export { recruiteeGetNotes };
9
46
  //# sourceMappingURL=get-notes.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-notes.d.mts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAoCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -7,23 +7,23 @@ const RecruiteeGetNotesInput = z.object({
7
7
  candidate_id: z.number().int().describe("Unique identifier of the candidate.")
8
8
  }).describe("Request model for retrieving a list of notes for a specific candidate.");
9
9
  const RecruiteeGetNotes_NoteAdminSchema = z.object({
10
- id: z.number().int().describe("Unique identifier of the admin user."),
10
+ id: z.number().int().describe("Unique identifier of the admin user.").nullable(),
11
11
  email: z.string().describe("Admin user's email address.").nullable().optional(),
12
12
  last_name: z.string().describe("Admin user's last name.").nullable().optional(),
13
13
  first_name: z.string().describe("Admin user's first name.").nullable().optional()
14
- }).describe("Admin user object for a note.");
14
+ }).passthrough().describe("Admin user object for a note.");
15
15
  const RecruiteeGetNotes_NoteGuestSchema = z.object({
16
- id: z.number().int().describe("Unique identifier of the guest user."),
16
+ id: z.number().int().describe("Unique identifier of the guest user.").nullable(),
17
17
  name: z.string().describe("Guest user's name.").nullable().optional(),
18
18
  email: z.string().describe("Guest user's email address.").nullable().optional()
19
- }).describe("Guest user object for a note.");
19
+ }).passthrough().describe("Guest user object for a note.");
20
20
  const RecruiteeGetNotes_NoteAttachmentSchema = 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.");
21
+ id: z.number().int().describe("Unique identifier of the attachment.").nullable(),
22
+ url: z.string().describe("Download URL of the attachment.").nullable(),
23
+ filename: z.string().describe("Name of the attachment file.").nullable(),
24
+ created_at: z.string().describe("ISO 8601 timestamp when the attachment was created.").nullable(),
25
+ updated_at: z.string().describe("ISO 8601 timestamp when the attachment was last updated.").nullable()
26
+ }).passthrough().describe("Attachment object for a note.");
27
27
  const RecruiteeGetNotes_NoteSchema = z.object({
28
28
  admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
29
29
  guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),
@@ -31,18 +31,18 @@ const RecruiteeGetNotes_NoteSchema = z.object({
31
31
  guest_id: z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
32
32
  body_json: z.record(z.string(), z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
33
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."),
34
+ created_at: z.string().describe("ISO 8601 timestamp when the note was created.").nullable(),
35
+ updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
36
36
  attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
37
37
  reply_to_id: z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
38
38
  candidate_id: z.number().int().describe("ID of the associated candidate.").nullable().optional()
39
- }).describe("Note object.");
39
+ }).passthrough().describe("Note object.");
40
40
  const recruiteeGetNotes = action("RECRUITEE_GET_NOTES", {
41
41
  slug: "recruitee-get-notes",
42
42
  name: "Get Notes",
43
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
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.")
45
+ output: z.object({ notes: z.array(RecruiteeGetNotes_NoteSchema).describe("List of note objects.") }).passthrough().describe("Response model containing a list of notes for the candidate.")
46
46
  });
47
47
  //#endregion
48
48
  export { recruiteeGetNotes };
@@ -1 +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,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,M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AAC,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"}
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.object({\n limit: z.number().int().describe(\"Maximum number of notes to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of notes to skip.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for retrieving a list of notes for a specific candidate.\");\nconst RecruiteeGetNotes_NoteAdminSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\").nullable(),\n email: z.string().describe(\"Admin user's email address.\").nullable().optional(),\n last_name: z.string().describe(\"Admin user's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Admin user's first name.\").nullable().optional(),\n}).passthrough().describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\").nullable(),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).passthrough().describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Name of the attachment file.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\").nullable(),\n}).passthrough().describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema = z.object({\n admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),\n guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body.\").nullable().optional(),\n triggered: z.boolean().describe(\"Whether the note was triggered by an event.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\n attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe(\"List of attachments.\").nullable().optional(),\n reply_to_id: z.number().int().describe(\"ID of the note this one replies to.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the associated candidate.\").nullable().optional(),\n}).passthrough().describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).passthrough().describe(\"Response model containing a list of notes for the candidate.\");\n\nexport const recruiteeGetNotes = action(\"RECRUITEE_GET_NOTES\", {\n slug: \"recruitee-get-notes\",\n name: \"Get Notes\",\n description: \"Tool to retrieve a list of notes for a specific candidate. Use after confirming the candidate exists when you need to review their not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,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,YAAY,CAAC,CAAC,SAAS,cAAc;AAKxC,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uBAAuB,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -8,25 +8,25 @@ const RecruiteeGetOffersInput = zod.z.object({
8
8
  company_id: zod.z.union([zod.z.number().int(), zod.z.string()]).optional()
9
9
  }).describe("Query parameters for listing job offers. Use filters and pagination to narrow results.");
10
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')."),
11
+ id: zod.z.number().int().describe("Unique identifier of the offer.").nullable(),
12
+ kind: zod.z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool').").nullable(),
13
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."),
14
+ title: zod.z.string().describe("Title of the job offer.").nullable(),
15
15
  status: zod.z.enum([
16
16
  "draft",
17
17
  "internal",
18
18
  "published",
19
19
  "closed",
20
20
  "archived"
21
- ]).describe("Current status of the offer."),
21
+ ]).describe("Current status of the offer.").nullable(),
22
22
  location: zod.z.string().describe("Location of the job offer, if provided.").nullable().optional(),
23
23
  created_at: zod.z.string().describe("ISO 8601 timestamp when the offer was created.").nullable().optional(),
24
24
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the offer was last updated.").nullable().optional()
25
- }).describe("A single job offer.");
25
+ }).passthrough().describe("A single job offer.");
26
26
  const RecruiteeGetOffersOutput = zod.z.object({
27
27
  total: zod.z.number().int().describe("Total number of offers available.").nullable().optional(),
28
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.");
29
+ }).passthrough().describe("Response model containing a list of job offers and total count.");
30
30
  const recruiteeGetOffers = require_action.action("RECRUITEE_GET_OFFERS", {
31
31
  slug: "recruitee-get-offers",
32
32
  name: "Get Offers",
@@ -1 +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,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAa;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,qBAAqB;AAChF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer ('job' or 'talent_pool').\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the offer title.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer.\").nullable(),\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}).passthrough().describe(\"A single job offer.\");\nexport const RecruiteeGetOffersOutput = 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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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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]>;
4
+ declare const RecruiteeGetOffersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ offset: z.ZodOptional<z.ZodNumber>;
8
+ company_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
9
+ }, z.core.$strip>;
10
+ declare const RecruiteeGetOffersOutput: z.ZodObject<{
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ offers: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ kind: z.ZodNullable<z.ZodEnum<{
15
+ job: "job";
16
+ talent_pool: "talent_pool";
17
+ }>>;
18
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ title: z.ZodNullable<z.ZodString>;
20
+ status: z.ZodNullable<z.ZodEnum<{
21
+ draft: "draft";
22
+ internal: "internal";
23
+ published: "published";
24
+ closed: "closed";
25
+ archived: "archived";
26
+ }>>;
27
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
+ declare const recruiteeGetOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ limit?: number | undefined;
34
+ query?: string | undefined;
35
+ offset?: number | undefined;
36
+ company_id?: string | number | undefined;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { recruiteeGetOffers };
9
40
  //# sourceMappingURL=get-offers.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-offers.d.cts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,40 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const RecruiteeGetOffersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ offset: z.ZodOptional<z.ZodNumber>;
8
+ company_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
9
+ }, z.core.$strip>;
10
+ declare const RecruiteeGetOffersOutput: z.ZodObject<{
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ offers: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ kind: z.ZodNullable<z.ZodEnum<{
15
+ job: "job";
16
+ talent_pool: "talent_pool";
17
+ }>>;
18
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ title: z.ZodNullable<z.ZodString>;
20
+ status: z.ZodNullable<z.ZodEnum<{
21
+ draft: "draft";
22
+ internal: "internal";
23
+ published: "published";
24
+ closed: "closed";
25
+ archived: "archived";
26
+ }>>;
27
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
+ declare const recruiteeGetOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ limit?: number | undefined;
34
+ query?: string | undefined;
35
+ offset?: number | undefined;
36
+ company_id?: string | number | undefined;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { recruiteeGetOffers };
9
40
  //# sourceMappingURL=get-offers.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-offers.d.mts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -8,21 +8,21 @@ const RecruiteeGetOffersInput = z.object({
8
8
  company_id: z.union([z.number().int(), z.string()]).optional()
9
9
  }).describe("Query parameters for listing job offers. Use filters and pagination to narrow results.");
10
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')."),
11
+ id: z.number().int().describe("Unique identifier of the offer.").nullable(),
12
+ kind: z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool').").nullable(),
13
13
  slug: z.string().describe("URL-friendly slug of the offer title.").nullable().optional(),
14
- title: z.string().describe("Title of the job offer."),
14
+ title: z.string().describe("Title of the job offer.").nullable(),
15
15
  status: z.enum([
16
16
  "draft",
17
17
  "internal",
18
18
  "published",
19
19
  "closed",
20
20
  "archived"
21
- ]).describe("Current status of the offer."),
21
+ ]).describe("Current status of the offer.").nullable(),
22
22
  location: z.string().describe("Location of the job offer, if provided.").nullable().optional(),
23
23
  created_at: z.string().describe("ISO 8601 timestamp when the offer was created.").nullable().optional(),
24
24
  updated_at: z.string().describe("ISO 8601 timestamp when the offer was last updated.").nullable().optional()
25
- }).describe("A single job offer.");
25
+ }).passthrough().describe("A single job offer.");
26
26
  const recruiteeGetOffers = action("RECRUITEE_GET_OFFERS", {
27
27
  slug: "recruitee-get-offers",
28
28
  name: "Get Offers",
@@ -31,7 +31,7 @@ const recruiteeGetOffers = action("RECRUITEE_GET_OFFERS", {
31
31
  output: z.object({
32
32
  total: z.number().int().describe("Total number of offers available.").nullable().optional(),
33
33
  offers: z.array(RecruiteeGetOffers_OfferSchema).describe("List of job offers.")
34
- }).describe("Response model containing a list of job offers and total count.")
34
+ }).passthrough().describe("Response model containing a list of job offers and total count.")
35
35
  });
36
36
  //#endregion
37
37
  export { recruiteeGetOffers };
@@ -1 +1 @@
1
- {"version":3,"file":"get-offers.mjs","names":[],"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,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,IA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
+ {"version":3,"file":"get-offers.mjs","names":[],"sources":["../../src/actions/get-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetOffersInput = 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.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer ('job' or 'talent_pool').\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the offer title.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer.\").nullable(),\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}).passthrough().describe(\"A single job offer.\");\nexport const RecruiteeGetOffersOutput = 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}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IA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AAO;CACP,QAVsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,qBAAqB;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-pipeline-stages.ts
4
4
  const RecruiteeGetPipelineStagesInput = zod.z.object({ offer_id: zod.z.number().int().describe("ID of the job offer to retrieve pipeline stages for.") }).describe("Request model to retrieve pipeline stages for a specific job offer.");
5
5
  const RecruiteeGetPipelineStages_StageSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the pipeline stage."),
7
- name: zod.z.string().describe("Name of the pipeline stage."),
6
+ id: zod.z.number().int().describe("Unique identifier of the pipeline stage.").nullable(),
7
+ name: zod.z.string().describe("Name of the pipeline stage.").nullable(),
8
8
  category: zod.z.string().describe("Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').").nullable().optional(),
9
- position: zod.z.number().int().describe("Order position of the pipeline stage."),
9
+ position: zod.z.number().int().describe("Order position of the pipeline stage.").nullable(),
10
10
  time_limit: zod.z.number().int().describe("Time limit for the stage in days (if configured).").nullable().optional(),
11
11
  pipeline_template_id: zod.z.number().int().describe("ID of the pipeline template this stage belongs to.").nullable().optional()
12
- }).describe("Representation of a pipeline stage for a job offer.");
13
- const RecruiteeGetPipelineStagesOutput = zod.z.object({ stages: zod.z.array(RecruiteeGetPipelineStages_StageSchema).describe("List of pipeline stages for the specified job offer.") }).describe("Response model containing a list of pipeline stages for a job offer.");
12
+ }).passthrough().describe("Representation of a pipeline stage for a job offer.");
13
+ const RecruiteeGetPipelineStagesOutput = zod.z.object({ stages: zod.z.array(RecruiteeGetPipelineStages_StageSchema).describe("List of pipeline stages for the specified job offer.") }).passthrough().describe("Response model containing a list of pipeline stages for a job offer.");
14
14
  const recruiteeGetPipelineStages = require_action.action("RECRUITEE_GET_PIPELINE_STAGES", {
15
15
  slug: "recruitee-get-pipeline-stages",
16
16
  name: "Get Pipeline Stages",
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline-stages.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetPipelineStagesInput: z.ZodTypeAny = z.object({\n offer_id: z.number().int().describe(\"ID of the job offer to retrieve pipeline stages for.\"),\n}).describe(\"Request model to retrieve pipeline stages for a specific job offer.\");\nconst RecruiteeGetPipelineStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline stage.\"),\n name: z.string().describe(\"Name of the pipeline stage.\"),\n category: z.string().describe(\"Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').\").nullable().optional(),\n position: z.number().int().describe(\"Order position of the pipeline stage.\"),\n time_limit: z.number().int().describe(\"Time limit for the stage in days (if configured).\").nullable().optional(),\n pipeline_template_id: z.number().int().describe(\"ID of the pipeline template this stage belongs to.\").nullable().optional(),\n}).describe(\"Representation of a pipeline stage for a job offer.\");\nexport const RecruiteeGetPipelineStagesOutput: z.ZodTypeAny = z.object({\n stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe(\"List of pipeline stages for the specified job offer.\"),\n}).describe(\"Response model containing a list of pipeline stages for a job offer.\");\n\nexport const recruiteeGetPipelineStages = action(\"RECRUITEE_GET_PIPELINE_STAGES\", {\n slug: \"recruitee-get-pipeline-stages\",\n name: \"Get Pipeline Stages\",\n description: \"Tool to retrieve pipeline stages of a job offer. Use when you have the offer ID and need its stages to track candidate progression. Example: \\\"Get pipeline stages for offer ID 456.\\\"\",\n input: RecruiteeGetPipelineStagesInput,\n output: RecruiteeGetPipelineStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC5F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD,EACzH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-pipeline-stages.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetPipelineStagesInput = z.object({\n offer_id: z.number().int().describe(\"ID of the job offer to retrieve pipeline stages for.\"),\n}).describe(\"Request model to retrieve pipeline stages for a specific job offer.\");\nconst RecruiteeGetPipelineStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline stage.\").nullable(),\n name: z.string().describe(\"Name of the pipeline stage.\").nullable(),\n category: z.string().describe(\"Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').\").nullable().optional(),\n position: z.number().int().describe(\"Order position of the pipeline stage.\").nullable(),\n time_limit: z.number().int().describe(\"Time limit for the stage in days (if configured).\").nullable().optional(),\n pipeline_template_id: z.number().int().describe(\"ID of the pipeline template this stage belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a pipeline stage for a job offer.\");\nexport const RecruiteeGetPipelineStagesOutput = z.object({\n stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe(\"List of pipeline stages for the specified job offer.\"),\n}).passthrough().describe(\"Response model containing a list of pipeline stages for a job offer.\");\n\nexport const recruiteeGetPipelineStages = action(\"RECRUITEE_GET_PIPELINE_STAGES\", {\n slug: \"recruitee-get-pipeline-stages\",\n name: \"Get Pipeline Stages\",\n description: \"Tool to retrieve pipeline stages of a job offer. Use when you have the offer ID and need its stages to track candidate progression. Example: \\\"Get pipeline stages for offer ID 456.\\\"\",\n input: RecruiteeGetPipelineStagesInput,\n output: RecruiteeGetPipelineStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC5F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-pipeline-stages.d.ts
4
- declare const RecruiteeGetPipelineStagesInput: z.ZodTypeAny;
5
- declare const RecruiteeGetPipelineStagesOutput: z.ZodTypeAny;
6
- declare const recruiteeGetPipelineStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RecruiteeGetPipelineStagesInput: z.ZodObject<{
5
+ offer_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const RecruiteeGetPipelineStagesOutput: z.ZodObject<{
8
+ stages: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ position: z.ZodNullable<z.ZodNumber>;
13
+ time_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ pipeline_template_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const recruiteeGetPipelineStages: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ offer_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { recruiteeGetPipelineStages };
9
22
  //# sourceMappingURL=get-pipeline-stages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline-stages.d.cts","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEkC;AAAA,cASrE,gCAAA,EAAkC,CAAA,CAAE,UAEkC;AAAA,cAEtE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-pipeline-stages.d.cts","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-pipeline-stages.d.ts
4
- declare const RecruiteeGetPipelineStagesInput: z.ZodTypeAny;
5
- declare const RecruiteeGetPipelineStagesOutput: z.ZodTypeAny;
6
- declare const recruiteeGetPipelineStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RecruiteeGetPipelineStagesInput: z.ZodObject<{
5
+ offer_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const RecruiteeGetPipelineStagesOutput: z.ZodObject<{
8
+ stages: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ position: z.ZodNullable<z.ZodNumber>;
13
+ time_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ pipeline_template_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const recruiteeGetPipelineStages: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ offer_id: number;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { recruiteeGetPipelineStages };
9
22
  //# sourceMappingURL=get-pipeline-stages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline-stages.d.mts","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEkC;AAAA,cASrE,gCAAA,EAAkC,CAAA,CAAE,UAEkC;AAAA,cAEtE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-pipeline-stages.d.mts","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-pipeline-stages.ts
4
4
  const RecruiteeGetPipelineStagesInput = z.object({ offer_id: z.number().int().describe("ID of the job offer to retrieve pipeline stages for.") }).describe("Request model to retrieve pipeline stages for a specific job offer.");
5
5
  const RecruiteeGetPipelineStages_StageSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the pipeline stage."),
7
- name: z.string().describe("Name of the pipeline stage."),
6
+ id: z.number().int().describe("Unique identifier of the pipeline stage.").nullable(),
7
+ name: z.string().describe("Name of the pipeline stage.").nullable(),
8
8
  category: z.string().describe("Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').").nullable().optional(),
9
- position: z.number().int().describe("Order position of the pipeline stage."),
9
+ position: z.number().int().describe("Order position of the pipeline stage.").nullable(),
10
10
  time_limit: z.number().int().describe("Time limit for the stage in days (if configured).").nullable().optional(),
11
11
  pipeline_template_id: z.number().int().describe("ID of the pipeline template this stage belongs to.").nullable().optional()
12
- }).describe("Representation of a pipeline stage for a job offer.");
12
+ }).passthrough().describe("Representation of a pipeline stage for a job offer.");
13
13
  const recruiteeGetPipelineStages = action("RECRUITEE_GET_PIPELINE_STAGES", {
14
14
  slug: "recruitee-get-pipeline-stages",
15
15
  name: "Get Pipeline Stages",
16
16
  description: "Tool to retrieve pipeline stages of a job offer. Use when you have the offer ID and need its stages to track candidate progression. Example: \"Get pipeline stages for offer ID 456.\"",
17
17
  input: RecruiteeGetPipelineStagesInput,
18
- output: z.object({ stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe("List of pipeline stages for the specified job offer.") }).describe("Response model containing a list of pipeline stages for a job offer.")
18
+ output: z.object({ stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe("List of pipeline stages for the specified job offer.") }).passthrough().describe("Response model containing a list of pipeline stages for a job offer.")
19
19
  });
20
20
  //#endregion
21
21
  export { recruiteeGetPipelineStages };
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline-stages.mjs","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetPipelineStagesInput: z.ZodTypeAny = z.object({\n offer_id: z.number().int().describe(\"ID of the job offer to retrieve pipeline stages for.\"),\n}).describe(\"Request model to retrieve pipeline stages for a specific job offer.\");\nconst RecruiteeGetPipelineStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline stage.\"),\n name: z.string().describe(\"Name of the pipeline stage.\"),\n category: z.string().describe(\"Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').\").nullable().optional(),\n position: z.number().int().describe(\"Order position of the pipeline stage.\"),\n time_limit: z.number().int().describe(\"Time limit for the stage in days (if configured).\").nullable().optional(),\n pipeline_template_id: z.number().int().describe(\"ID of the pipeline template this stage belongs to.\").nullable().optional(),\n}).describe(\"Representation of a pipeline stage for a job offer.\");\nexport const RecruiteeGetPipelineStagesOutput: z.ZodTypeAny = z.object({\n stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe(\"List of pipeline stages for the specified job offer.\"),\n}).describe(\"Response model containing a list of pipeline stages for a job offer.\");\n\nexport const recruiteeGetPipelineStages = action(\"RECRUITEE_GET_PIPELINE_STAGES\", {\n slug: \"recruitee-get-pipeline-stages\",\n name: \"Get Pipeline Stages\",\n description: \"Tool to retrieve pipeline stages of a job offer. Use when you have the offer ID and need its stages to track candidate progression. Example: \\\"Get pipeline stages for offer ID 456.\\\"\",\n input: RecruiteeGetPipelineStagesInput,\n output: RecruiteeGetPipelineStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC5F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD,EACzH,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-pipeline-stages.mjs","names":[],"sources":["../../src/actions/get-pipeline-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetPipelineStagesInput = z.object({\n offer_id: z.number().int().describe(\"ID of the job offer to retrieve pipeline stages for.\"),\n}).describe(\"Request model to retrieve pipeline stages for a specific job offer.\");\nconst RecruiteeGetPipelineStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline stage.\").nullable(),\n name: z.string().describe(\"Name of the pipeline stage.\").nullable(),\n category: z.string().describe(\"Category/type of the stage (e.g., 'apply', 'phone_screen', 'interview', 'evaluation', 'offer', 'hire').\").nullable().optional(),\n position: z.number().int().describe(\"Order position of the pipeline stage.\").nullable(),\n time_limit: z.number().int().describe(\"Time limit for the stage in days (if configured).\").nullable().optional(),\n pipeline_template_id: z.number().int().describe(\"ID of the pipeline template this stage belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a pipeline stage for a job offer.\");\nexport const RecruiteeGetPipelineStagesOutput = z.object({\n stages: z.array(RecruiteeGetPipelineStages_StageSchema).describe(\"List of pipeline stages for the specified job offer.\"),\n}).passthrough().describe(\"Response model containing a list of pipeline stages for a job offer.\");\n\nexport const recruiteeGetPipelineStages = action(\"RECRUITEE_GET_PIPELINE_STAGES\", {\n slug: \"recruitee-get-pipeline-stages\",\n name: \"Get Pipeline Stages\",\n description: \"Tool to retrieve pipeline stages of a job offer. Use when you have the offer ID and need its stages to track candidate progression. Example: \\\"Get pipeline stages for offer ID 456.\\\"\",\n input: RecruiteeGetPipelineStagesInput,\n output: RecruiteeGetPipelineStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC5F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sDAAsD,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
@@ -9,18 +9,18 @@ const RecruiteeGetTagsInput = zod.z.object({
9
9
  sort_order: zod.z.enum(["asc", "desc"]).describe("Sort order: 'asc' or 'desc'.").optional()
10
10
  }).describe("Query parameters for retrieving a list of all tags. Use filters to narrow results or paginate.");
11
11
  const RecruiteeGetTags_TagSchema = zod.z.object({
12
- id: zod.z.number().int().describe("Unique identifier of the tag."),
13
- name: zod.z.string().describe("Name of the tag."),
12
+ id: zod.z.number().int().describe("Unique identifier of the tag.").nullable(),
13
+ name: zod.z.string().describe("Name of the tag.").nullable(),
14
14
  status: zod.z.string().describe("Status of the tag.").nullable().optional(),
15
- context: zod.z.string().describe("Context of the tag."),
16
- taggings_count: zod.z.number().int().describe("Number of times the tag has been used.")
17
- });
15
+ context: zod.z.string().describe("Context of the tag.").nullable(),
16
+ taggings_count: zod.z.number().int().describe("Number of times the tag has been used.").nullable()
17
+ }).passthrough();
18
18
  const RecruiteeGetTagsOutput = zod.z.object({
19
19
  page: zod.z.number().int().describe("Current page number.").nullable().optional(),
20
20
  tags: zod.z.array(RecruiteeGetTags_TagSchema).describe("List of tags."),
21
21
  total: zod.z.number().int().describe("Total number of tags available.").nullable().optional(),
22
22
  per_page: zod.z.number().int().describe("Number of tags returned per page.").nullable().optional()
23
- }).describe("Response containing a list of tags and pagination metadata.");
23
+ }).passthrough().describe("Response containing a list of tags and pagination metadata.");
24
24
  const recruiteeGetTags = require_action.action("RECRUITEE_GET_TAGS", {
25
25
  slug: "recruitee-get-tags",
26
26
  name: "Get Tags",